Image processing apparatus and method, and image reading apparatus

Abstract: An object of the present invention is to provide an image processing apparatus and an image processing method both offering a high-precision and general-purpose capability of identifying an image and performing appropriate processing depending on whether identification is effected. In the image processing apparatus and image processing method, image data is detected in visible and invisible light reflected from each of a target pixel and surrounding pixels. Based on the image data detected in visible and invisible light, a specific pattern is identified. The specific pattern appears substantially the same in color as a surrounding area under visible light but different in characteristic therefrom under invisible light, which is identified using the image data of the target pixel and surrounding pixels provided by a detector. The image processing apparatus is controlled depending on whether the identification is effected.

Description: The present invention relates to an image processing apparatus and an image processing method both applicable to a digital copying machine, an image reading scanner, a facsimile machine, or the like. Heretofore, it has been known that the image processing apparatus or the like identifies securities by detecting visible patterns or visible characteristics of images, and thus contributes to prevention of forgery. The above patterns drawn in securities for prevention of forgery of securities are so visible that it is hard to design an identification pattern usable in common among numerous securities. To distinguish N kinds of securities, N types of characteristics must be predetermined for the respective securities. The securities are therefore to be identified independently. It is hard to realize an image processing apparatus at a low cost. US-A-4 739 377 discloses copying security documents. Each document is marked with a bar code which encodes the security level of the document. When a document is to be copied, the user must enter an identification card which has encoded thereon a machine readable number indicating his securitv clearance; in case of a match between both codes a copy is made, otherwise not. In detail the bar code is read and stored as binary data in a bitmap memory. EP-A-0 342 060 discloses a method of preventing forgery of documents bearing coloured visible images, in which the images of documents which are not to be copied are stored in a memory in the copying device. As each original document is scanned by the copier, the scanned image is compared to the stored images and if coincidence is noted, then the outputting of a faithful copy image is prevented. According to the present invention, there is provided an image processing apparatus as set out in claim 1. The present invention also provides an image processing method as set out in claim 6. Optional features are set out in claims 2 to 5 and 7 to 10. Embodiments, of the present invention provide an image processing apparatus and an image processing method both offering a high-precision and general-purpose image identification capability. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing an overall configuration of an image processing apparatus in the first embodiment of the present invention; Fig. 2 shows a characteristic of a material absorbing infrared light; Figs. 3A to 3D show examples of pattern formation in the first embodiment; Fig. 4 shows a configuration of an identifying unit 1; Fig. 5 shows locations of reference pixels in a determining unit (judging unit) 12; Fig. 6 shows a configuration of the determining unit 12; Fig. 7 shows another configuration of the determining unit 12; and Fig. 8 shows a configuration of the determining unit 112 in the fourth embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS Embodiments of the invention in its various aspects will now be described, by way of example only. In the preferred embodiments described below, a copying apparatus is used as an example of application of the present invention. The application range thereof is not limited to the copying apparatus but may extend to other various apparatuses including a facsimile apparatus. [First Embodiment] Fig. 1 is a block diagram of an embodiment of the present invention. An image reading sensor 2 represented by a charge coupled device (CCD) decomposes a single point in an original into light having color components of red (R), green (G), and blue (B) as well as an infrared component sensitive to wavelengths of about 1000 nm, and reads image data from the light at a pixel density of 400 dpi. The outputs of the image reading sensor 2 are passed through a white plate or an infrared reference plate to undergo so-called shading correction, and then supplied as 8-bit image signals to an identifying unit 1 and an image processing unit 3. The image processing unit 3 performs magnification variation, masking, UCR, and other processing similarly to a general color copying machine, and produces recording signals that are four color signals of cyan (C), magenta (M), yellow (Y), and black (K). The identifying unit 1 detects a specific pattern in an original, outputs the result of the detection to a recording control unit 4, and modifies the recording signals to, for example, paint the corresponding point in the original in a specific color. A recorder 5 then records the processed signal data on recording paper or stops recording. Thus, faithful image reproduction is disabled. Next, an image pattern that the embodiment attempts to detect will be described in conjunction with Figs. 2 to 3D. Fig. 2 shows a spectral characteristic of a transparent coloring matter that transmits visible light and absorbs infrared light having wavelengths of about 800 nm. A typical transparent coloring matter is SIR-159 manufactured by Mitsui Toatsu Liquid Carbonic Co., Ltd. Fig. 3A shows an example of a pattern produced using a transparent ink made of the above transparent infrared absorptive coloring matter. Specifically, a microscopic square pattern b, each of which sides is about 120 micrometers long, is printed in a triangular pattern, which is recorded in an ink a that reflects specific light or infrared light, using the above transparent ink characteristic of absorbing infrared light. The square pattern b applied the transparent ink appears, as shown in Fig. 2, in substantially the same in color as a surrounding area under visible light. The microscopic pattern b is therefore indiscernible to human eyes. As for infrared light, the ink a is characteristic of reflection while the transparent ink b is characteristic of absorption. The microscopic pattern b is therefore detectable under infrared light. For the succeeding description, a square pattern, each of which sides is about 120 micrometers long, is illustrated as an example. Assuming that the area b is read at 400 dpi, the area b is represented with about four pixels. The pattern formation method is not limited to this example. As long as the area b can be identified by 400-dpi scanning, a circular pattern shown in Figs. 3B to 3D and not oriented in any particular direction may be employed. Using Fig. 4, the identifying unit 1 shown in Fig. 1 will be described in detail. Reference numeral 10 in Fig. 4 denotes image data delay units that are FIFO buffers. Each of the image data delay units 10 holds 32-bit (8 bits by 4 components) image data for a time interval corresponding to one line. An input image signal is delayed or held for a time interval corresponding to two pixels by flip-flops 11-1 and 11-2. Resultant image data A is delayed or held for a time interval corresponding to two lines by means of memories 10-1 and 10-2. Resultant image data C is delayed or held for a time interval corresponding to two pixels by flip-flops 11-3 and 11-4. Resultant pixel-of-interest data X is delayed for a time interval corresponding to two pixels by flip-flops 11-5 and 11-6. Resultant image data B is delayed or held similarly, whereby image data D is produced. These image data A to D are fed to a determining unit (judging unit) 12. Fig. 5 shows the positional relationships of the pixels A to D to the pixel of interest X. Assuming that the pixel of interest X represents the portion b shown in Figs. 3A to 3D, the above pixels A, B, C, and D represent the pattern a surrounding the portion b. In this embodiment, a determination pattern or a specific pattern is detected in a combination of the pixel of interest X and surrounding four pixels A, B, C, and D. Even when the pattern is modified, if the positions of the pixels are modified in association with the modified pattern, the pixel applied the ink b should be read as a pixel of interest (target pixel) and the pixels applied the ink a should be read as surrounding pixels. If a circuitry permitting this reading is available, an algorithm presented below can be employed as a pattern determination algorithm. The pattern determination algorithm will be described below. (Determination algorithm 1) Assume that a red (R) component of a pixel signal A is A R , a green (G) component thereof is A G , a blue (B) component thereof is A B , and an infrared component thereof is A IR . The R, G, B, and IR components of each of pixel signals B, C, and D are defined in a similar manner. Average voltage values of color components of the pixel signals A, B, C, and D: that is, Y R , Y G , Y B , and Y IR are provided as follows: Y R = 1/4(A R + B R + C R + D R ) Y G = 1/4(A G + B G + C G + D G ) Y B = 1/4(A B + B B + C B + D B ) Y IR = 1/4(A IR + B IR + C IR + D IR ) Pattern determination in this embodiment is achieved by checking a difference of a voltage value of a pixel-of-interest signal from the average voltage values Y calculated according to the above expressions. Assuming that: ΔR = Y R - X R , ΔG = Y G - X G , ΔB = Y B - X B , ΔIR = Y IR - X IR when the following conditions are met: ΔR < K, ΔG < K, ΔB < K, ΔIR > L (L is a constant, and K is a constant approximate to zero.), it is determined in this embodiment that a determination pattern is identified. According to this algorithm, if even one pixel satisfies these determination conditions, it is determined that a determination pattern is identified. For precautions against incorrect determination, only when a predetermined number of pixels or more satisfy the conditions, it may be determined that a determination pattern is identified. In other words, when a difference in color tone of a pixel of interest from surrounding pixels under visible light is too small to discern, if the infrared absorbance of the pixel of interest differs by a constant L or more from those of the surrounding pixels, the pixel of interest is recognized as a determination pattern. Fig. 6 shows an example of hardware required to implement the foregoing determination algorithm. Each of adders 121 simply add up voltage values of color components of four pixel signals and outputs the eight high-order bits of the sum. This results in signals Y R , Y G , Y B , and Y IR . Subtracters 122 calculate differences ΔR, ΔG, ΔB, and ΔIR between the voltage values of the Y R , Y G , Y B , and Y IR signals and those of the components of the pixel-of-interest signal; that is, X R , X G X C , and X IR . Among the calculated differences, the absolute values of ΔR, ΔG, and ΔB are compared with a constant K by comparators 123, 124, and 125. The data of the eight high-order bits of the sum of the voltage values of infrared components is compared with a constant L by a comparator 126. The outputs of the comparators are fed to an AND gate 127. When the output terminal of the AND gate 127 provides "1"; that is, the aforesaid determination conditions are met in all the color components and the infrared component of the pixels concerned, it is determined that a specific pattern is identified. [Second Embodiment] In practice, when determination is carried out, a stain may be present in a specific pattern in a printed matter or in an area near the specific pattern. In this case, the inks used for a stain area and an area surrounding the stain area may deteriorate by a certain ratio in terms of the characteristic of reflecting infrared light. Depending on the components of the stain, a ratio of the reflectance relative to infrared light of the ink used in the stain area to that of the ink used in the surrounding area, which is a quotient of Y IR by X IR , is held unchanged but the reflectances thereof deteriorate. When consideration is taken into this event, the following determination conditions should be adopted: ΔR < K, ΔG < K, ΔB < K, ΔIR > L1 or Y IR /X IR > L2 (L1 and L2 are constants.) The adoption of these determination conditions will improve determination precision. Fig. 7 shows a variant of the circuitry shown in Fig. 6. A ROM 1 is used to check visible light and a ROM 2 is used to check infrared spectrum. Each of the ΔR, ΔG, and ΔB values consists of 5 bits which are smaller in number than the above 8 bits. Each of the 32-bit ROMs contains a look-up table listing results of determination. As for infrared light, the 8-bit data Y IR and X IR are fed to an address terminal of a determination ROM 129. Thus, determination can be achieved. The ROMs may be replaced with RAMs, which brings about the same advantages. [Third Embodiment] Even when an attempt is made to detect the aforesaid pattern in an original, if a substantially transparent material that absorbs infrared light is interposed between the original and a sensor, it becomes impossible to detect a difference in infrared absorbance between the patterns a and b. As measures against this event, the following conditions are added to the aforesaid algorithm: X IR < L3 min (X R , X G , X B ) > M min (Y R , Y G , Y B ) > M When all the conditions are met, it is determined that a specific pattern is identified. In general, a white portion of, for example, recording paper reflects infrared light. However, when a material absorbing infrared light is interposed between an original and a sensor, even a substantially white area of ordinary recording paper is prevented from reflecting infrared light. When both the X and Y image signals represent substantially white under visible light, if the X IR value is small; that is, if the infrared light reflected by a pixel of interest is small in ratio, pattern detection is obviously interfered. It is then determined that a material absorbing infrared light is inserted in any form. If "pattern identified" is determined even in this event, an action of interference with pattern detection can be prevented effectively. For higher precision, only when a predetermined number of pixels or more satisfy the above determination conditions, it may be determined that an interferential action is identified. [Fourth Embodiment] When carbon black or other coloring material is adhered on a specific original or printed on the back face of the original, the overall reflectance of the original deteriorates. However, the reflectance of the portion of the original not applied infrared absorptive elements of red (R), green (G), and blue (B) deteriorates minutely differently from the portion thereof bearing the elements. It becomes very hard to specify a threshold for determination based on an output difference or ratio. Incorrect determination is likely to occur. Accordingly, this embodiment distinguishes the portion of an original, in which carbon black or the like is adhered or printed, on the basis of the fact that when carbon black or the like is adhered or printed, the voltage values of red, green, and blue components of a signal acquired from the portion of the original deteriorate without exception. Inks a and b appear almost the same in color under visible light. When the inks a and b are decomposed into three colors of red, green, and blue, as shown in Table 1, the red component of the ink b shows a higher reflectance than that of the ink a. For comparison, when carbon black is adhered or printed in a back face, the red component of the ink b shows a lower reflectance than that of the ink a. When these kinds of ink materials; that is, those having the characteristics of the inks a and b are employed, determination can be achieved by comparing the visible components of the ink b applied to a pixel of interest with those of the ink a applied to areas surrounding the pixel of interest in terms of reflectance. Thus, the determination is conditioned on neither what is a difference in reflectance between the inks nor what is a ratio of the reflectance of one ink to that of the other ink, but whether the reflectance of one ink is higher or smaller than that of the other ink. Ink a Ink b Component R 50 70 Component G 113 110 Component B 75 73 Infrared Component 200 100 (255 upon 100% reflection) In other words, the reflectance of at least one of the color components of red, green, and blue of an infrared absorptive ink applied to a pixel of interest is made higher than that of an ink applied to pixels surrounding the pixel of interest. Thus, even when carbon black or other coloring material is adhered or printed on the back face of an original, it is determined whether the reflectances of the visible components of red, green, and blue of a pixel of interest are higher or lower than those of surrounding pixels. Thus, incorrect determination concerning pattern detection can be prevented. Specifically, when a pixel of interest differs minutely in color tone from pixels surrounding the pixel of interest under visible light, if at least one color component of the pixel of interest is higher in reflectance than those of the surrounding pixels, and if the infrared absorbance of the pixel of interest differs by a constant L or more from that of the surrounding pixels, the pixel of interest is identified as a specific pixel. Pattern detection in this embodiment is based on a difference of the voltage value X of a pixel-of-interest signal from average voltage values Y calculated in the embodiment 1. Assuming that: ΔR = Y R X R , ΔG = Y G - X G , ΔB = Y B - X B , and ΔIR = Y IR - X IR when the following conditions are satisfied: ΔR < K, ΔG < K, and ΔB < K ΔIR > L (K and L are constants.), and ΔG < 0, ΔR < 0, or ΔB < 0, it is determined that a determination pattern is identifies. Fig. 8 shows an example of a determining unit 112 in which the determination algorithm of the fourth embodiment is implemented. Each of adders 221 simply adds up voltage values of color components of four pixel signals and outputs the eight high-order bits of the sum. This results in signals Y R , Y G , Y B , and Y IR . Subtracters calculate differences of the voltage values of these signals from those of the color components of a pixel-of-interest signal. The absolute values of the differences between the voltage values of red, green, and blue components are compared with a constant K by comparators 223, 224, and 225. The sign bits in the outputs of the subtracters 222-1, 222-2, and 222-3 are fed to an OR circuit 228. When the sign bit of at least one of three color component signals represents a minus, the output of the OR gate 228 becomes "1". The output is then fed to an AND gate 227. Voltage values of infrared components of the pixel signals are compared with a constant L by a comparator 226. The outputs of the comparators are then fed to the AND gate 227. When "1" is provided through the output terminal of the AND gate 227, a determination pattern is identified. Similarly to the embodiment 2, the reflectances of an ink applied to a specific patter or determination pattern in a printed matter and of an ink applied to a surrounding area therein may deteriorate by only a certain value due to a stain. The constant L must therefore be specified in consideration of this event. Depending on the components of the stain, although the ratio of the reflectance relative to infrared light of one ink to that of the other ink, which is provided as a quotient of Y IR by X IR , is held unchanged, the reflectances of the inks deteriorate. The determination conditions should therefore be defined as follows: ΔR < K, ΔG < K, and ΔB < K, ΔG < 0, ΔR < 0, or ΔB < 0, and ΔIR > L1, or Y IR / X IR > L2 (L1 and L2 are constants.) When determination is performed under these conditions, improved determination precision ensues. [Another Embodiment] (1) Color signal In the aforesaid embodiments, a signal representing visible light is decomposed into red, green, and blue components. As long as it is recognized that a pixel of interest X has no difference in visible color tone from surrounding pixels, the signal representing reflected light may be converted into coordinates in other color space; such as, (L, a*, b*) or (Y, I, Q), and then subjected to the processing described above. This variant also provides the same advantages. (2) Surrounding reference area In the aforesaid embodiments, four pixels including a pixel of interest and surrounding pixels are employed. The number of pixels may be 8 consisting of the four pixels and another four diagonal pixels. Alternatively, the number of pixels may be 16 to enclose the pixel of interest in a rectangle. This enables detection of a color tone Y of a surrounding area with higher precision. In the embodiments, voltage values of color components of surrounding pixel signals are averaged to detect the color tone of a surrounding area. To determine precisely that the surrounding area has not undergone line mesh-point printing, variances of the voltage values of the color component signals from an average value must be taken into consideration. For easy description, a microscopic pattern is defined to consist of four pixels. When the number of pixels is 9, surrounding pixels must be located in a wider area. The positions of surrounding pixels to be referenced should be determined according to the size of a pattern. (3) Result of determination In the description of the aforesaid embodiments, a pixel of interest alone is checked to make determination. When a pattern to be identified as a result of determination; that is, a determination pattern (microscopic pattern of b) is composed of four pixels, if the four pixels are checked for the determination pattern, final determination is made on four successive results of determination on the four pixels to thereby permit more precise identification. If many patterns are present scatteringly, the number of patterns in a unit area is counted, final determination is made on the basis of the results of determination concerning whether or not a predetermined number of patterns are identified. This leads to more precise identification. The pattern may be made by printing a transparent infrared ink in a base of an original that is an unprinted area. (4) Preprocessing In order to detect a difference in infrared absorbance between patterns a and b in more stable manner, edge emphasis based on Laplacian filtering may be performed to enhance an infrared spectrum prior to determination, Surrounding pixels to be referenced in this case are pixels A, B, C, and D in Fig. 5, whereby the hardware in the aforesaid embodiments can be used in common for this variant. This variant can therefore be realized at a low cost. Determination in the embodiments is based on image information acquired from visible light and infrared light. Needless to say, a specific image may be identified by checking in combination the reflectances or absorbances relative to visible light and invisible light except infrared light. As described so far, the determination pattern mentioned in the embodiments can be identified irrelevant of the orientation of an original. Since the determination pattern permits high-precision identification and cannot be discerned by human eyes, it can be used for any kind of image. The application range of the present invention is not limited to the aforesaid embodiments, Apparently, various applications and variants of the present invention are available without departing from the scope defined with the appended claims,

Claims: An image processing apparatus for detecting a specific pattern (b) in an original, characterised by : detecting means (2) for detecting visible and invisible light from the original; identifying means (1) for determining whether the specific pattern (b) is present, the identifying means (1) comprising means for using the visible and the invisible light image data from the detecting means (2) of a pixel of interest (X) and surrounding pixels (A, B, C, D) to determine whether the pixel of interest has substantially the same colour as the surrounding pixels under visible light but differs therefrom in its characteristic under invisible light; and control means (4) for controlling the image processing apparatus on the basis of whether or not the specific pattern (b) is detected. An image processing apparatus according to claim 1, wherein the identifying means (1) comprises: first determining means (121-1,2,3; 122-1,2,3; 123; 124; 125; 128; 221-1,2,3; 222-1,2,3; 223; 224; 225) for comparing visible data comprising a plurality of color components for the pixel of interest and the surrounding pixels to determine whether the pixel of interest appears substantially the same in color as the surrounding pixels in visible light; second determining means (121-4; 122-4; 126; 129; 222-4; 226) for determining whether the image data detected in the invisible light from the pixel of interest and surrounding pixels differ by more than a predetermined value; and distinguishing means (127; 130; 227) for detecting the specific pattern using the results from the first and second determining means. An image processing apparatus according to any preceding claim, wherein the control means (4) is arranged to prevent normal operation of the image processing apparatus if the specific pattern is detected. An image processing apparatus according to any preceding claim, wherein the identifying means (1) is arranged to consider surrounding pixels (A, B, C, D) which are at a distance from the pixel of interest (X) which is predetermined according to the size of the specific pattern (b) to be detected. An image processing apparatus according to any preceding claim, wherein the specific pattern (b) is a circle. An image processing method for detecting a specific pattern (b) in an original, characterised by : detecting visible and invisible light from the original; determining whether the specific pattern (b) is present by using the visible and the invisible light image data from the detecting step of a pixel of interest (X) and surrounding pixels (A, B, C, D) to determine whether the pixel of interest has substantially the same colour as the surrounding pixels under visible light but differs therefrom in its characteristic under invisible light; and controlling an image processing apparatus on the basis of whether or not the specific pattern (b) is detected. An image processing method according to claim 6, wherein the step of determining whether the specific pattern is present comprises: a first determination of comparing visible data comprising a plurality of color components for the pixel of interest and the surrounding pixels to determine whether the pixel of interest appears substantially the same in color as the surrounding pixels in visible light; a second determination of determining whether the image data detected in the invisible light from the pixel of interest and surrounding pixels differ by more than a predetermined value; and a step of determining whether the specific pattern is present using the results from the first and second determination. An image processing method according to claim 6 or claim 7, wherein the control step is performed so as to prevent normal operation of the image processing apparatus if the specific pattern is detected. An image processing method according to any preceding of claims 6 to 8, wherein, in the step of determining whether the specific pattern (b) is present, surrounding pixels (A, B, C, D) are considered which are at a distance from the pixel of interest (X) which is predetermined according to the size of said specific pattern to be detected. An image processing method according to any of claims 6 to 9, wherein the specific pattern (b) is a circle.

Inventors: ARIMOTO SHINOBU, HAYASHI TOSHIO, KURAMOCHI JUNKO, NAGASE TETSUYA, NAKAI TAKEHIKO, SASANUMA NOBUATSU, SATO YOSHINOBU, TANIOKA HIROSHI, UCHIDA YOSHIKI, UTAGAWA TSUTOMU, YOSHINAGA KAZUO, ARIMOTO, SHINOBU, HAYASHI, TOSHIO, KURAMOCHI, JUNKO, NAGASE, TETSUYA, NAKAI, TAKEHIKO, SASANUMA, NOBUATSU, SATO, YOSHINOBU, TANIOKA, HIROSHI, UCHIDA, YOSHIKI, UTAGAWA, TSUTOMU, YOSHINAGA, KAZUO, ARIMOTO, SHINOBU, C/O CANON KABUSHIKI KAISHA, HAYASHI, TOSHIO, C/O CANON KABUSHIKI KAISHA, KURAMOCHI, JUNKO, C/O CANON KABUSHIKI KAISHA, NAGASE, TETSUYA, C/O CANON KABUSHIKI KAISHA, NAKAI, TAKEHIKO, C/O CANON KABUSHIKI KAISHA, SASANUMA, NOBUATSU, C/O CANON KABUSHIKI KAISHA, SATO, YOSHINOBU, C/O CANON KABUSHIKI KAISHA, TANIOKA, HIROSHI, C/O CANON KABUSHIKI KAISHA, UCHIDA, YOSHIKI, C/O CANON KABUSHIKI KAISHA, UTAGAWA, TSUTOMU, C/O CANON KABUSHIKI KAISHA, YOSHINAGA, KAZUO, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1993
Main classification: H04N1
IPC codes: H04N1, G07D7