Image processing apparatus

Abstract: An image processing apparatus having a function for detecting presence of a specific original decides the degree of similarity between the image represented by input image signals and the image of a specific original which should not be legally copied, e.g., bills. The image processing apparatus determines the content of the image processing in accordance with the result of the decision, and processes the input image signals on the basis of the determined content.

Description: The present invention relates to forgery-prevention, and to an image processing apparatus and a detachable discriminating device having a function for detecting specific originals (bills, securities etc.). Nowadays, copying machines are available which can produce color copies of extremely high quality, and this has given a rise to the demand for prevention of forgery of bills, securities and other valuable papers. To cope with this demand, it has been proposed to adopt pattern matching technique in copying machines to detect and reject any original which should not be copied. In such a technique, the image pattern of the original input to a copying machine, after correction of any inclination, is compared with image patterns which have been registered in the machine, for the purpose of recognition and evaluation of matching of the pattern. The present applicant also has proposed a method for preventing illegal copying of bills, securities and so forth which is a critical problem noticed in recent years due to high reproducibility of original images offered by current copying machines. According to this method, data concerning specific originals such as bills and securities are beforehand stored in terms of color space. Any original set on the copying machine is rejected when this original exhibits the same distribution of data in the color space as that of one of the above-mentioned specific originals. EP-A-0342060 discloses a color copier having money detecting means which makes it possible to discriminate a specific original for the sake of prevention of forgery of a banknote, a negotiable instrument, or the like. The money detecting means operates by comparing the image pattern or the distribution of color spectra of a document to be copied with data on specific originals stored in advance. If a specific original is detected, faithful reproduction is prevented. According to a first aspect of the invention, there is provided an image processing apparatus as set out in claim 1. The invention further provides a detachable discriminating device as set out in claim 7. The invention yet further provides a method of forgery-prevention as set out in claim 10. An embodiment of the present invention provides an image processing apparatus, as well as a copying apparatus, wherein the apparatus itself can examine the state of the function for recognizing specific original patterns, thereby to prevent illegal copying of such specific originals. An embodiment of the present invention provides an image processing apparatus, as well as a copying machine, which enables a check by a service man or an administrator for any dismissal or invalidation of anti-forgery function, thus ensuring administration of the machine against illegal use such as forgery. An embodiment of the present invention provides an image processing apparatus, comprising: processing means for processing input image signals; connecting means for connecting a preventing means for preventing someone from copying a predetermined original; detecting means for detecting a state of connection between said connecting means and said preventing means; and control means for controlling the apparatus in accordance with the result of the detection made by said detecting means. An embodiment of the present invention provides an image processing apparatus, comprising: processing means for processing input image signals; connecting means for connecting a deciding means for deciding similarity between an image represented by said input image signals and an image of a specific original; detecting means for detecting a state of connection between said connecting means and said deciding means; and control means for controlling the apparatus in accordance with the result of the detection made by said detecting means. An embodiment of the present invention provides an image processing apparatus, comprising: input means for inputting image signals; deciding means for deciding whether an image represented by the image signal input through said input means contains an image corresponding to a predetermined specific original; memory means for storing the result of the decision made by said deciding means; and transmitting means for transmitting the result stored in said memory means to an external device. An embodiment of the present invention provides an image processing apparatus, comprising: deciding means for deciding whether an image represented by input image signals contain an image corresponding to a predetermined specific original; memory means for storing a plurality of sectioned decision results obtained as a result of the decision; and transmitting means for transmitting the results stored in said memory means. An embodiment of the present invention provides an image processing apparatus, comprising: input means for inputting image signals; deciding means for deciding whether an image represented by the image signals input through said input means contain an image corresponding to a specific original; and memory means for storing the results of the decision made by said deciding means together with other types of information. These and other objects, features and advantages will become clear from the following description of preferred embodiments, as well as from the statement of claims, when the same are read in conjunction with the accompanying drawings; in which, Fig. 1 is a block diagram of a decision circuit 409 used in a first embodiment of the present invention; Fig. 2 is a sectional side elevational view of the first embodiment of a copying apparatus; Fig. 3 is a block diagram of an image scanner unit 201 used in the first embodiment; Fig. 4 is a block diagram of the decision circuit 409 used in the first embodiment; Fig. 5 is a circuit diagram of a thinning circuit used in the first embodiment; Fig. 6 is a circuit diagram of a frequency-dividing circuit used in the first embodiment; Fig. 7 is a block diagram of an integrator 306 used in the first embodiment; Fig. 8 is a timing chart showing timings of signals in a main scanning performed in the first embodiment; Fig. 9 is an illustration of signals input to and output from the integrator 306; Fig. 10 is an illustration of another forms of signals input to and output from the integrator 306; Fig. 11 is an illustration of the result of processing performed in the first embodiment; Fig. 12 is a flow chart illustrating principal image processing operations performed by the first embodiment; Fig. 13 is a block diagram of a second embodiment of the copying machine; Fig. 14 is a block diagram of an image processing system incorporating an image processing apparatus as a third embodiment of the present invention; Fig. 15 is a block diagram of a modem board used in the third embodiment; Fig. 16 is a block diagram of the image processing apparatus of the third embodiment; Fig. 17 is a block diagram of a normalizing circuit used in the third embodiment; Fig. 18 is a block diagram of a decision circuit used in the third embodiment; Fig. 19 is a block diagram of a color space decision circuit used in the third embodiment; Fig. 20 is an illustration of the content of a programmable ROM used in the third embodiment; Fig. 21 is an illustration of operation of a smoothing circuit used in the third embodiment; Fig. 22 is an illustration of the relationship between an input Xn and an output value Yn obtained through the smoothing operation used in the third embodiment; Fig. 23 is an illustration of the construction of a decision signal generating circuit used in the third embodiment; Fig. 24 is a flow chart illustrating the operation of a CPU incorporated in the third embodiment; Fig 25 is a circuit diagram of a counter circuit used in the third embodiment; Fig. 26 is a top plan view of the manipulating portion of the third embodiment; Figs. 27 and 28 are illustrations of copy prohibition messages produced in the third embodiment; Fig. 29 is a block diagram of the copying machine using the third embodiment; Fig.30 is a circuit diagram of a counter portion of a fourth embodiment of the present invention; and Fig. 31 is an illustration of the relationship between select signal and the input image processing device in the fourth embodiment. Embodiments of the present invention will be described in detail with reference to the accompanying drawings. Although copying machines are specifically mentioned in the following description, it is to be understood that embodiments can be a variety of types of apparatus. The embodiments described hereinunder are intended for preventing copying of specific originals such as bills, securities and so forth, for the purpose of prohibiting forgery. (First Embodiment) A description will now be given of the whole construction of a copying machine. Fig. 2 is a sectional side elevational view of a copying machine as a first embodiment of the present invention. The copying machine has an image scanner 201 which reads an original and converts the read image into digital signals. Numeral 202 designates a printer which produces a full-color print of an image corresponding to the image of the original read by the image scanner 201. The image scanner 201 has a pressing plate 200 with a mirror surface. An original 204 on an original table glass 203 (referred to as "platen" hereinunder) is illuminated by a lamp 205. The light reflected by the original 205 is led to mirrors 206, 207 and is focused on a line sensor 210 (referred to as "CCD", hereinafter) through a lens 209. The full-color information components red (R), green (G) and blue (B) of the image formed on the CCD are delivered to a signal processing section 211. The lamp 205 and the mirror 206 mechanically move at a velocity V in the directions perpendicular to the direction of an electric scan of the line sensor. Similarly, the mirrors 207, 208 move at a velocity V/2 in the directions perpendicular to the direction of an electric scan of the line sensor. Consequently, the entire area of the original is scanned. The signal processing section 211 electrically processes the image signals of the read original image, so as to decompose the image signals into components of magenta (M), cyan (C), yellow (Y) and black (Bk) and delivers these components to the printer 202. One of the components M, C, Y and Bk is delivered to the printer 202 per each scan performed by the image scanner 201. Thus, one printing cycle requires four cycles of scanning of the original. The components M, C, Y and black Bk, supplied from the image scanner 201, are delivered to a laser driver 212. The laser driver 212 drives a semiconductor 213 while modulating it in accordance with the image signal. The laser beam is deflected by a polygonal mirror 21 and applied to the surface of a photosensitive drum 217 through an f- lens and a mirror 216, thereby scanning the surface of the photosensitive drum 217. A rotary developing device 218 has a magenta developing unit 219, a cyan developing unit 220, an yellow developing unit 221 and a black developing unit 222. Four developing units are alternately and successively brought into contact with the photosensitive drum 217 so as to develop, by respective color toners, an electrostatic latent image formed on the surface of the photosensitive drum 217. Numeral 223 denotes a transfer drum for winding thereon a paper fed from a paper cassette 224 or 225 so that the image developed on the photosensitive drum is transferred to the paper. Image components of four colors M, C, Y and Bk are successively transferred to the paper. The paper is then made to pass through a fixing unit 226 so that the transferred full-color image is fixed. The paper is then ejected. <Image Scanner> Fig. 3 is a block diagram showing the construction of the image scanner 201 used in the first embodiment. Referring to this Figure, the image scanner 201 has CCDs (solid state imaging devices) 210-1, 210-2 and 210-3 having red (R), green (G) and blue (B) spectro-sensitivity characteristics, respectively. Each of the CCDs produces a signal quantized into 8 bits which represent 256 vales from 0 to 255. The CCDs 210-1, 2102 and 21-3 are disposed at predetermined distances, so that delay elements 401 and 402 are used for the purpose of correcting spatial offset. Log converters 403, 404 and 405 each is composed of a look-up table ROM or RAM, which converts an illuminance signal into a density signal. Numeral 406 denotes a masking and UCR (undercolor removal) circuit. Detailed description of this circuit is omitted since this circuit is well known in this field. Upon receipt of three primary color signals, this circuit 406 produces Y, M, C and Bk signals in the form of bit trains of a predetermined length, e.g., 8 bits, thereby forming an output. Numeral 407 designates a space filter which also is known. This filter performs correction of space frequency of the output signals. Numeral 408 designates a density conversion circuit 408 which is used for correcting density characteristics of the printer 202. As is the case of the Log converters 403 to 405, the density conversion circuit 408 is composed of a look-up table ROM or RAM. Numeral 409 designates a decision circuit for deciding whether an original placed on the copying machine is one of the aforesaid specific originals. This circuit 409 delivers the result of the decision in the form of a decision signal H of 0 or 1 level. Namely, when the input image is determined as being the image of one of the specific originals, the decision circuit 409 produces a signal H = 1, otherwise H = 0. An OR gate circuit 410 produces an OR of each 8-bit output V of the density conversion circuit 408 and the decision signal H which is the output of the decision circuit 409, thereby outputting a signal V'. When the output of the decision circuit 409 is H = 1, i.e., when the original which is being read is determined as being one of the specific originals, the output of the OR gate 410 is V' = FF (H: hexadecimal), regardless of the value of the input signal V. Conversely, when the decision signal is H = 0, i. e., when the original which is being read is determined an original which is difference from the specific originals, the input signal V is passed and output as an output V' from the OR circuit 410. Fig. 5 illustrates a thinning circuit used in the first embodiment, while Fig. 6 is a circuit diagram of a frequency dividing circuit used in the same. Fig. 8 is a timing signal of signals appearing direction of the main scan in the first embodiment. The timing at which each main scan is commenced is determined by a main scan synchronizing signal HSYNC. CLK shows transfer clock signals in accordance with which the image signals are transferred. The clock signals CLK also are used as the basic clocks in various image processing operations performed in this embodiment. CLK' represents a signal which is obtained by 1/4 demultiplication of the clock signal CLK and which is used for giving a time reference to the deciding operation performed by the decision circuit 409. A signal SEL is a timing signal used in the above-mentioned thinning circuit 301. These signals are generated by circuits shown in Fig. 6. The circuit comprises an inverter 451, a 2-bit counter 452, an inverter 453 and an AND gate 454. The 2-bit counter 452, after being cleared (initialized) by the main scanning synchronizing signal HSYNC, counts the clock signals CLK and delivers the counted value in the form of a 2-bit signal (D0, D1). The significant bit D1 is output as the clock signal CLK'. The AND of the signal obtained by inverting the less significant bit D0 and the significant bit D1 is delivered as the SEL signal. The thinning circuit shown in Fig.5, is constructed by flip-flops 455, 456, 457, 461, 462, 463 which hold data in accordance with the clock signal CLK, selectors 458, 459, 460, and flip-flops 464,465,466 which hold data in accordance with the clock signals CLK'. Consequently, signal R' (or G' or B') is thinned out at a rate 1/4 from the signal R (or G or B) transferred in accordance with the clock signals CLK. The timing of the signal thus thinned out is synchronous with the clock signal CLK'. <Decision circuit> Fig. 4 is a block diagram of the decision circuit 409 used in the first embodiment. In this Figure, numeral 301 designates a thinning circuit which has a construction as shown in Fig. 5. The thinning circuit 301 performs thinning of the data in order to reduce burden on the decision circuit. Numeral 302 designates a color matching look-up table (referred to as "color matching LUT") which performs color matching operation by comparing the image which is being read with a plurality of original images, i.e., the aforementioned specific originals. Numeral 303-1, 303-2 and 303-8 denote color decision circuits which have the same hardwares. Each of the color decision circuit is composed of an integrator 306, a register 307 and a comparator 308, as shown in Fig. 6. Each color decision circuit determines whether the original which is being read contains specific color equal to the color of one of the specific originals. Different registers 307 for the color decision circuits 303-1 to 303-8 hold different contents. Numeral 309 denotes an OR circuit which, when existence of the image of one of the specific originals is sensed by at least one of the color decision circuit 303-1 to 303-8, produces an output "0" and otherwise "1". Although in the described embodiment a 1-bit signal is used for the evaluation of the degree of similarity, this is only illustrative and the arrangement may be such that the degree of similarity is expressed by a multi-value deciding signal. To this end, a plurality of registers 307 is used for each color decision circuit, so as to set a plurality of slice levels. <Integrator> Fig. 7 is a block diagram of an integrator 360 used in the first embodiment. Numerals 501 and 505 denote flip-flops which hold the data at the moment of rise of the signal CLK'. A multiplier 502 receives a pair of 8-bit input signals (A, B) and produces, as a result of the multiplication, an 8-bit signal (A × B/255). Numeral 503 also represents a multiplier which receives 1-bit input signal (A) and an 8-bit input signal so as to deliver an 8-bit output signal (A × B) as a result of the multiplication. As adder 504 receives a pair of 8-bit signals (A, B) and produces an 8-bit signal (A + B) as a result of the addition. Consequently, this integrator produces an 8-bit output signal y i which is given by the following equation, in response to a binary input signal x i : y i = (α/255)·y i-1 + β·x i-1 Symbols α and β represent constants of values which are determined beforehand. Characteristics of the integrator 306 is determined by the values of these constants. Figs. 9 and 10 illustrate input to and output from the integrator 306 used in the first embodiment. The integrator 308 produces an output yi shown in Fig. 10 in response to an input x i-1 shown in Fig. 9, when the constants α and β are respectively 247 and 8. Inputs at point 701, 702 are "1" while substantially all the inputs therearound are "1". Conversely, the input at the point 703 is "0" despite the inputs at all other points therearound are "1". In such cases, the inputs at the points 701, 702 and 703 are considered as being noises. These noises are processed by the integrator 306. Namely, a threshold value as at 704 is set in the register 307 so as to binarizing the output y i of the integrator 306, thereby removing noises. <Processing Result> Fig. 11 illustrates an example of the processing result. Referring to Fig. 11 numeral 801 designates an original. It is assumed here that a specific image 803 to be detected and determined by the copying machine of the embodiment exists in a portion of the image of the original 801. When this original is copied, an output result 802 is obtained in which the portion corresponding to the specific image 803 has been painted in black as denoted by 804 which indicates invalid portion. This means that the portion of the original image corresponding to the specific image is not copied to provide any recognizable image pattern. Thus, in this embodiment, presence of any original image conforming with one of specific originals is detected by by the decision circuit, and copying of such original image is prohibited, thereby preventing any forgery of bills or the like. A description will now be given of the decision circuit 409. Fig. 1 is a block diagram showing the connections of components of the decision circuit 409 used in the first embodiment, while Fig. 12 is a flow chart illustrating principal image processing operations performed in the first embodiment. Referring to Fig. 1, numeral 101 designates an image decision circuit board for deciding degree of similarity of an original to a specific original, while 102 designates a scanner control circuit board. The image decision circuit board 101 carries a circuit for conducting decision of the image. In this embodiment, this circuit board 101 carries no circuit or component other than the image decision circuit. The scanner control circuit board 102 carries image processing portion of Fig. 3 which has been explained before. CCDs 210-1 to 210-3 have been omitted from this circuit board 102. The scanner control circuit board 201 also carries a CPU 103 and peripheral circuits for conducting controls of the scanner 201. The image decision circuit board 101 and the scanner control circuit board 102 are connected to each other through a connector which is not shown. The arrangement is such that, when the image deciding substrate 101 has been correctly connected to the scanner control circuit board 102,, a connection recognition signal 108 is set to "0", whereas, when the image decision circuit board 101 is not connected to the scanner control circuit board 102, the connection recognition signal 108 is set to "1". The operation of the first embodiment will be described briefly. In response to pressing of a copy start key, the CPU 103 on the scanner control circuit board 102 reads the state of the connection recognition signal 108 connected to the input portion of the I/O port 106 (Step S1), thereby confirming the presence of the image decision circuit board 101 (Step S2). When the level of the connection recognition signal 108 is "1", i.e., when the image decision circuit board 101 is not connected, the CPU 103 sets the output port of the I/O port to "0" (Step 3). As a consequence, the image signal V' is gated by the AND gate 107 so that the output of the gate circuit is 0 in all cases. In this case, the CPU 103 simultaneously operates to display, in a manipulating portion (not shown) of the image scanner 201, an error message indicating that "copy is prohibited" and controls the copying machine so as to prohibit the copying operation (Step S4). The display of the above-mentioned error message on the manipulating portion may be conducted by lighting up or flickering of a lamp or indication by letters formed by a liquid crystal display. Message also may be given by a voice message. The checking of the state of connection of the image decision circuit board 101 is executed in response to each pressing of the copy start key. Obviously, the copying machine performs ordinary copying operation while checking for presence of an original image conforming with a specific original, when the image decision circuit board 101 is correctly connected. Thus, the copying machine of the first embodiment prohibits copying operation when the image decision circuit board 101 has been removed or disconnected. It is therefore possible to prevent forgery, i.e., copying of bills and securities, even when the function for recognizing any specific original has been dismissed. (Second Embodiment) The first embodiment described hereinbefore is a copying machine which is composed mainly of an image scanner and a printer. This, however, is only illustrative and embodiments may comprise various other types of devices such as those having communication function, e.g., a facsimile. Fig. 13 shows a second embodiment of the invention which also is a copying machine. Numeral 1101 denotes an image scanner having a construction and functions similar to those of the image scanner 201 shown in Fig. 2. Numeral 1102 designates a printer which also has a construction and functions similar to those of the printer 202 shown in Fig. 2. Numeral 1105 designates a decision circuit having a construction and functions similar to those of the decision circuit 409 shown in Fig. 3. Numerals 1103 and 1104 denote OR gates having a construction and functions similar to those of the OR circuit 410 used in the first embodiment. Numeral 1107 designates a connection recognition signal which has the same significance as the connection recognition signal 109 shown in Fig. 1. Numeral 1106 designates a BUS selector which interconnects the image scanner 1101, printer 1102 and a communication line. The BUS selector selects one of the following three connection modes: (1) Image scanner - printer (copying mode) (2) Image scanner-communication line (facsimile transmission mode) (3) Communication line - printer (facsimile receiving mode) When the circuit board of the decision circuit 1105 has been removed, operation is prohibited in all the three modes, i.e., copying, facsimile transmission and facsimile receiving modes, by processing the output image of the image scanner 1101 and the input image of the printer 1102 by means of the AND gates 1108 and 1109, in accordance with the result of checking of the state of the connection recognition signal 1107. According to this embodiment, it is thus possible to control, not only the copying output but also the outputs to and from the communication line, by evaluating the state of the connection recognition signal 1107 which indicates whether the image decision circuit board is connected correctly. Therefore, when a user has willfully disconnected the image decision circuit board, the outputting of specific images corresponding to specific originals such as bills or securities is avoided, thus preventing forgery. The circuit board carrying the circuit for deciding presence of a specific original may be composed of a plurality of separate boards. In such a case, the copying machines is so constructed that the image processing operation is prohibited when at least one of such boards has been removed, Although a laser beam printer is used in the described embodiments, it will be clear that the printer other than the laser beam printer, e.g., an ink jet printer or a thermal transfer printer, may be used as the printer in the described embodiments of the invention. It is also to be understood that the described method for evaluating he degree of similarity is not exclusive. The decision may be conducted by a method other than the described method, e.g., by a pattern matching. (Third Embodiment) A third embodiment which will be described hereinunder is to provide an effective anti-forgery measure, by the use of means for storing sections of decision information and communication means which enable communication of the stored sections of the decision information. More specifically, the third embodiment is adapted for storing type of the specific original which is to be illegally copied and the user's ID code and for displaying and informing such information through, for example, a public telephone line. Furthermore, the third embodiment is adapted for storing deciding information of a plurality of input devices (copying machines) and for displaying and informing the information via a public telephone line or through a wireless communication system. Although a digital color copying machine is specifically mentioned in the following description of the third embodiment, it is to be understood that the third embodiment can be applied to other types of copying machines equally well. The description will refer to Fig. 14 which is a block diagram of an image processing system used in the third embodiment, Fig. 15 which is a block diagram of the modem board in the third embodiment, Fig. 16 which is a block diagram of an image processing apparatus as the third embodiment, Fig. 17 which is a block diagram of a normalizing circuit used in the third embodiment, and Fig. 18 which is a block diagram of decision circuit used in the third embodiment. Throughout these Figures, the same reference numerals are used to denote the same components or functions. The internal structure of the copying machine is not described because it is materially the same as that described before in connection with the first embodiment with reference to Fig. 1. Referring to Fig. 14, numeral 3101 denotes an image scanner, 3102 denotes an interface board, for storing read image data, 3103 denotes a host computer, 3104 denotes a still video camera (referred to as "SV"), 3105 denotes a video taperecorder (referred to as "VTR"), 3107 denotes an image processing device having a communication function, 3106 denotes a host computer which is placed at a central administration section, 3108 designates a public telephone line as an external communication line, 3113 denotes a modem board through which data is exchanged between the image processing apparatus and the external communication line, and S represents a decision signal which is transmitted from a memory circuit 3311 in an image processing section 3114. Referring to Fig. 15, numeral 3109 designates a CPU which receives the decision signal S. The decision signal S is stored in a RAM 3110. The decision signal read from the RAM 3110 is sent to a MODEM 3111 and is delivered to the public telephone line 3108 as the communication path, by the operation of a communication controller (referred to as "NCR") 3112. Referring now to Fig. 16, numeral 3301 denotes an image input device, 3302 denotes a normalizing circuit, 3303 denotes a circuit for discriminating a specific original, 3304 denotes a color processing circuit, 3305 denotes an undercolor removing circuit (referred to as "UCR"), 3306 denotes an image output device, 3307 denotes a counter portion, 3308 denotes a CPU, 3309 denotes a 24 h power supply as a back-up power source, 3310 denotes an operating portion, 3311 denotes a memory circuit and 3312 denotes a display section for displaying stored data. Referring to Fig. 17, numerals 3301 to 3309 denote multipliers, while 3310 to 3312 denote adders. As a result of operations of the circuits shown in Figs. 1, 14, 15, 16 and 17 a color image is read by the image scanner 3101 and is color-separated into digital images of three colors R, G and B. The thus obtained image signals are delivered to the IPU 3102 and to a device having an image processing function, e.g., a host computer 3103. The IPU 3102 and the host computer 3103 perform ordinary image processing operations such as logarithmic conversion, masking computation and CUR. Consequently, the R, G and B image signals are converted into Y, M, C and Bk signals. In particular, the host computer 3103 can handle the image in various color spaces such as XYZ space and L*a*b* space. Therefore, the host computer 3103 can deliver signals of all type of color spaces to the image processing apparatus 3107. The R,G and B signals which are input from SV 3104, VTR 3105 and the image scanner 3101 are to be considered to be of different types of signals when read with different spectral characteristic. Thus, the image processing apparatus 3107 receives image data of various color spaces. The image processing apparatus 3104 has a construction which is the same as that shown in Fig. 2. The signal delivered from the image input device 3301 includes an 8-bit image signal I and an additional information signal h. The additional information signal h is a signal indicating the color space to which the input image signal belongs, and is used also as a matrix for a later-mentioned conversion. These input signals are delivered to the normalizing circuit 3302 which, in accordance with the additional information signal h, converts the input image signal I into a color space of a color matching data which is stored beforehand in the decision circuit 3303. It is assumed here that the aforementioned matching data is R, G and B signals according to NTSC (National Television System Committee) system. In such a case, the R, G and B signals can be converted into three stimulus values X, Y and Z of XYZ color specification system, in accordance with the following formula (2). These three stimulus values X, Y and Z are further converted into L*, a* and b* values of L*a*b* color specification system, in accordance with the following formula (3): L* = 116(Y/Y 0 ) 1/3 - 16 a* = 504.3 [(X/X 0 ) 1/3 - (Z/Z0) 1/3 ] b* = 201.7 [(Y/Y 0 ) 1/3 - (Z/Z0) 1/3 ] (X 0 , Y 0 , Z 0 = CONST) The image signal I and the additional information signal h which are output from the image input device 3301 are delivered to the normalizing circuit 3302. The construction of the normalizing circuit 3302 is shown in Fig. 16. When the image signal I is given in the form of three stimulus values X, Y and Z of the XYZ color specification system, these values X, Y and Z are delivered to the multipliers 3321 to 3329. Values all to a 33 are written in the multipliers from the additional information signal h. The outputs from the multipliers 3321 to 3329 are delivered to the adders 3330 to 3332 as illustrated and are output from these adders as signals R, G and B. These conversions are expressed by the following matrix: The 3 x 3 matrix which forms the right side of the formula (4) is an inverse matrix of the matrix of coefficients which are used in the formula for converting R,G,B signals under NTSC system into three stimulus values X,Y,Z of the XYZ color specification system. Thus, when the signals are of different color spaces or when the same color space is used but distortion of axes has been caused due to influence of spectral characteristics of the reading system, coefficients for conversion into standard signals such s R,G,B signals under NTSC system are input as the additional information together with the image signals, thus normalizing the input signals, whereby the signals are converted into those of a predetermined color space to which the matching data stored in the decision circuit 3303 belongs. The output from the normalizing circuit is divided into two sub-systems: one is given to the color processing circuit 3304, while the other is sent to the decision circuit 3303. The R,G and B signals delivered to the color processing circuit 3304 are subjected to processings such as logarithmic conversion, masking computation and UCR, and are delivered in the form of screen-sequential signals Y, M, C and Bk into the UCR circuit 3305. Meanwhile, the signals delivered to the decision circuit 3303 is checked for presence of image of any registered specific original in the input signal, by a method which will be described later. Symbol INH represents the result of the decision. When the image of any registered specific original is found, 1 is delivered as the decision result INH to the UCR circuit 3305, whereas, when no such image is found, 0 is delivered to the UCR circuit 3305. When decision result INH is "1", the undercolor removing circuit 3305 delivers the image signal to the image output device 3306 with the Bk portion changed into solid black image. At the same time, signals are delivered to the memory circuit 3311 which indicate the degree of probability of decision (probability of presence of the image of a specific original), type of the candidate specific original, ID number of the user or operator, and so forth. In the memory circuit 3311, a signal S from the CPU 3308 is delivered to the MODEM board 33113 and is further transmitted therefrom to the host computer 3106 through the public telephone line 3108. Conversely, when the decision result INH is "0", the image processing process is set to "thru" mode so that the output from the color processing circuit 3304 is delivered to the image output device 3306 which produces a hard copy by a printing technique such as electrophotography, thermal transfer or ink jet printing. Thus, in this embodiment, a hard copy true to the original cannot be produced when the read image contains an image of any registered specific original. A description will now be given of the operation of the decision circuit 3303. The decision circuit 3303 is composed of a color space matching circuit (Fig. 18) and a decision signal generating circuit (Fig. 23). Thus, the construction of the decision circuit 3303 is as shown in Figs. 18 and 23. Referring to Figs. 18 and 20 numeral 3401 designates data of significant 5 bits in the 8-bit R (red) signal derived from the normalizing circuit 3302. Similarly, 3402 and 3403 denote significant 5-bit data of G (green) and B (blue) signals. Numeral 3404 designates a ROM (Read Only Memory) which stores information concerning the color of each of a plurality of specific originals. The aforementioned R, G and B signals are input to the addresses A 0 to A 14 , and decision signals indicative of whether these R,G and B signals conform with the color of specific originals are delivered as data D 0 to D 7 . A PROM 3404 stores information concerning colors of specific originals in the form of R, G and B signals following NTSC system. When the input R,G and B signals conform with the colors of specific originals, "1" is output as the data D 0 to D 7 , otherwise "0" is delivered to the same. These outputs D 0 to D 7 are delivered for each of the color space decision circuits 3420 to 3427. Fig.20 illustrates the relationships between the data of a plurality of specific originals stored in the PROM 3404 and bit positions in the PROM 3404. It will be seen from this Figure that decision result information (0 or 1) concerning 8 types of specific originals (originals A to H) are delivered in a bit-parallel manner from the outputs D 0 to D 7 . Numerals 3410 to 3417 denote smoothing circuits which perform smoothing operations shown in Figs. 20 and 21 on the color deciding signals X 0 to X 7 . Numerals 3901 to 3907 indicate AND gates, while 3910 designates an OR circuit. Fig. 21 is a block diagram of each of the smoothing circuits 3410 to 3417. In this Figure, numeral 3701, 3702 denote multipliers, 3703 denotes an adder, 3704 denotes a flip-flop and 3705 denotes a comparator. Fig. 22 illustrates the relationship between the input Xn and the output value Yn obtained through the smoothing operation. It will be seen that the value of the output Yn increases when "1" is successively input as the inputs Xn. Conversely, the value of the output Yn progressively decreases when Xn is 0. When the R, G and B signals input to the apparatus conform with the colors of one of the registered originals, "1" is successively input as the inputs Xn so that the output value Yn increases until it exceeds a predetermined level. The outputs C 0 to C 7 of the smoothing circuits are obtained by binarizing the output Yn with a predetermined threshold value. Thus, "1" is successively delivered from the outputs C 0 to C 7 only when successive pixels conform with the colors of one of the registered specific originals, whereby the reliability of decision is enhanced. Numerals 3420 to 3427 denote color space decision circuits which compute, in real time, the degrees of similarity between the input color signals and the data of specific originals in terms of the RGB color space values. The degrees of similarity are output in the forms of decision signals MK 0 to MK 7 . Fig. 19 is a block diagram of one of the color space decision circuits 3420 to 3427. In this Figure, numeral 3501 denotes a NOT circuit, 3502 denotes an AND circuit, 3503 denotes an OR circuit, 3504 denotes a counter, 3505 denotes a maximum value holding circuit, 3506 denotes a register and 3507 denotes a comparator. The OR gate 3503 computes OR of the data Dn from the SRAM 3430 and the signal Cn derived from the smoothing circuit, and the result of the computation is written again in the SRAM 3430 as the data Dn. Meanwhile, the AND gate 3502 computes AND of the data Dn, signal Cn and the data Xn from the PROM 3404. The AND gate 3502 produces an output "1" only when the data Dn is being changed from "0" to "1" while the data Xn and Cn are "1". The counter starts up-counting in response to the output "1" from the AND gate 3502. This counter 3504 is cleared by each rise of the sub-scan section signal VS. The maximum value of the counter output which is the output from the maximum value holding circuit 3505 is compared by the comparator 3507 with a predetermined constant δn. When the maximum value exceeds this constant value δn, the comparator 3507 produces an output "1" as the signal MKn, otherwise it produces "0" as the signal MKn. The constant value δn is set as the percentage (%) S of the volume occupied by the color of the specific original in the color space. More specifically, representing the number 1 in the PROM 3404 shown in Fig. 29 by Vorg, Vorg is determined by the following formula (5): δn = Vorg x S/100 The value S in the formula shown above is determined such that the decision signal MKn becomes "1" when about half of a specific original placed on the document table of the copying machine has been read. As a result o the processing described above, the color space similarity decision signals MK 0 to MK 7 are set to "1" when the input image data substantially conforms with data of one of the specific documents in terms of values on the RGB tertiary color space. Fig. 23 shows the construction of the aforementioned decision signal generating circuit. When input image data is determined to conform with the data of any one of the registered specific originals stored in the PROM 3404, the decision signal INH is changed into "1" in real time and is fed back to the undercolor removing circuit 205 without delay. In the foregoing description of the third embodiment, the image input device 3301 delivers X, Y and Z signals of XYZ color specification system, and these signals are converted into R,G and B signals under NTSC system. This, however, is only illustrative and input image signals of any color spaces, such as M, Y, C and Bk color signals or L*a*b* color space signals can be converted into color signals of the same color space as the matching data stored in the decision circuit 3303 by the addition of the additional information, thereby to prohibit copying of any original which should not copied from legal point of view. Fig. 29 is a block diagram of the copying machine used in this embodiment. A CCD color sensor 5001 reads, in a line-by-line fashion, a color original which is not shown, and delivers the read data to an analog amplifier 5002. An A/D converter 5003 sample-holds the analog output of the analog amplifier 5002 and converts the same into digital data. A shading correction circuit 5004 effects a correction for any gradient of brightness due to position of reading of the original, as well as for any unevenness of sensitivity of the CCD sensor. Numerals 5005, 5006 and 5007 denote, respectively, a logarithmic conversion circuit, a black component extraction circuit and a masking/UCR circuit which perform known color correction processings for changing the RGB signals into YMCBk signals suitable for the printer used as the output device. Numeral 5008 designates a circuit for generating reading synchronizing signals HS, CLK and VS. These synchronizing signals are delivered to all circuit blocks. For information, HS represents a main scanning section signal, CLK represents a fundamental clock signal for reading the image on pixel basis and VS represents a section signal indicative of the effective region in the direction of the sub-scan. Numeral 5009 designates a normalizing circuit which normalizes the input image signals into spectral characteristic or color space conforming with that of the matching data stored in a discrimination circuit 5012. Numeral 5010 designate a color space matching circuit which performs a real-time computation of the similarity between the read image data and the color space of each specific original. Numeral 5011 designates a decision signal generating circuit which produces a signal "1" when the color space matching circuit 5010 has determined that one of the specific originals is being read, otherwise the circuit 5011 generates an output "0". The decision output signal from the circuit 5011 is delivered to, for example, the masking/UCR circuit 5007. Consequently, when any original which should not be copied from a legal point of view is being read, the masking/UCR circuit deviates the masking coefficients from correct values, thereby degrading the color reproduction of the copy output, thus impeding any attempt of forgery. Fig. 25 is a circuit diagram of the counter portion 3307 shown in Fig. 16. In this Figure, numerals 4310 to 4317 and 4320 to 4327 denote flip-flops, 4330 to 4337 denote AND gates, 4340 to 4347 denote inverters and 4300 to 4307 denote 12-bit counters. When one of the color space decisions signals MK 0 4004 to MK7 4007 is changed from "0" to "1", corresponding 12-bit counter, i.e., one of the counters 4300 to 4307, starts to up-count. Thus, a counter is used for each of the decisions signals MK 0 to MK 7 , so that decision is performed for each of a plurality of specific originals. The counters 4300 to 4307 are cleared by the CPU 3308. More specifically, the counters 4300 to 4307 are cleared only when specific code is input through a secret code key and ten keys on the operating portion 3301 shown in Fig. 26. The counter portion 3307 is always supplied with electrical power from the 24-h power supply 3309 (back-up power source), so that the contents of the 12-bit counters 4300 to 4307 are retained without being lost even when the power of the copying machine has been turned off. Fig. 24 shows the flow chart illustrative of the operation of the CPU 3308. Figs. 27 and 28 illustrate examples of message which is displayed when the copying operation should not be performed. When a copy key 4501 in the operating portion 3301 is pressed (S1401), the CPU 3308 reads the values of the counters 1300 to 1307 shown in Fig. 25 (Step S1402) and determines whether the maximum value of the counter contents exceed the predetermined value n. If the value n is exceeded, the process proceeds to Step S1404 in which a message shown in Fig.27 indicative of illegal use is displayed. Conversely, when the maximum value n is not exceeded, the process proceeds to Step S1405 in which copying operation is executed and, in Step S1406, the contents of the counters 4300 to 4307 are examined. If the result of the examination has proved that the values in the counters have increased from the values which were read in Step S1402, the process proceeds to Step S1407 in which the message of Fig. 28 indicating illegal use is displayed. In addition, in Step S1408, the same message or an equivalent information is transmitted to the host computer in the administration center trough, for example, a public telephone line. Fig. 26 is a top plan view of the manipulating portion 3310. The operating portion 3310 has a liquid crystal display portion 4504, a ten-key device 4503, and a secret code key 4502. The operator can enter a specific code by suitably manipulating the ten-key and the secret code key, so that the values in the counters 4300 to 4307 are displayed. According to the process described hereinabove, it is possible to administrate and monitor information concerning each of a plurality of type of specific originals, whereby the reliability of anti-forgery function can be enhanced. As will be understood from the foregoing description, the third embodiment of the present invention stores deciding information together with other information, thus enabling a service man or other user to check the content of the information at the time of, for example, a periodical check. In addition, the decision information on a plurality of copying machines can be monitored and administrated centrally from an administration center, thus offering a greater coverage of anti-forgery monitoring system. (Fourth Embodiment) Fig. 30 illustrates a block diagram of a counter section used in a fourth embodiment of the present invention, while Fig. 31 illustrates select signals and type of the input device used in the fourth embodiment. While the third embodiment described before is intended for storing decision information for each of a plurality of types of specific originals, the fourth embodiment is intended for storing decision information on the basis of the image input device. A description will be given of the construction of the counter section used in this embodiment. Referring to Fig. 30, numeral 5721 and 5722 denote flip-flops, 5723 denotes an inverter, 5724 and 5730 to 5733 denote AND gates and 5701 to 5704 denote counters. Select signals 5705 (se00 to se03) are signals which are under the control of the CPU 5750 and which are indicative of the machine from which image data is being entered. Counters 5701 to 5704 are adapted for reading the decision information for the respective machines. The contents of these counters are read by the CPU 5750. Fig. 31 is an illustration of the relationships between the select signals 5705 (se00 to se03) and the machines through which the image data are entered. According to this arrangement, decision information is stored for each of a plurality of copying machines, so that the prevention of forgery can be effected on the basis of the individual copying machine. In this embodiment, masking coefficients are deviated from correct values when the input image contains an image approximating the image of one of a plurality of specific originals, so as to degrade the quality of the produced copy. This, however, is only illustrative and various invalidation measures such as blackening of a portion of the image, add-on of line patterns or the like may be adopted to make the copy unusable, upon detection of the presence of an image similar to the image of any one of the registered specific originals. It is also possible to completely disable the copying machine by stopping a processing function such as motor operation in the copying machine. In order to inform the fact of any illegal use of the coping machine, it is possible to use various communication functions such as a wireless communication device or a LAN (Local Area Network), as well as public telephone line which is employed in the described embodiment. Embodiments of the present invention may be applied to a system composed of a plurality of apparatuses and also to a single apparatus. Needless to say, embodiments can be achieved by employing programs in the system or the apparatus. The image output function used in embodiments may be an ink jet printer, a thermal transfer printer or the like, although a laser beam printer has been specifically mentioned. It is also possible to use, as the image output means, a bubble jet printer which uses a head capable of jetting liquid droplets by the force generated as a result of film boiling caused by the supply of heat energy. It is also to be noted that the output device may be of dot-sequential type. Furthermore, embodiments can employ, as the input device, various types of information input devices such as a host computer, a video camera, a still video camera, a color film reader or the like, as well as the described image scanner which scans an original by a CCD scanner. Furthermore, the input data may be image data which has been formed by a computer graphics technique. The present invention is not limited to the above embodiments and various changes and modifications can be made within the scope of the present invention.

Claims: An image processing apparatus (211; 3114) comprising processing means (406; 407; 408; 3302; 3304; 3305) for processing electrical image signals defining an input image, characterised by: connecting means adapted to receive a detachable discriminating device (101) to be mounted within the apparatus for providing the apparatus with a forgery-prevention function, the discriminating device being operable to discriminate whether the input image represented in the electrical image signals represents a specific original image and to generate a control signal in dependence upon the result of discrimination for use in controlling the apparatus to prevent faithful output of the input image if the input image represents the specific original image, the connecting means being arranged to convey the electrical image signals from the image processing apparatus to the discriminating device and to convey the control signal from the discriminating device to the image processing apparatus; detecting means (102) for detecting whether the detachable discriminating device is connected to the connecting means; and control means (102) for controlling the apparatus in accordance with the result of the detection made by the detecting means. An image processing apparatus according to claim 1, further comprising communication means (3113) for transmitting a signal to a remote apparatus indicating the result of the discrimination performed by the detachable discriminating device. An image processing apparatus according to claim 1 or claim 2, further comprising image reading means (201; 3101-3105; 3301) for reading an image to produce the electrical image signals. An image processing apparatus according to any preceding claim, further comprising image forming means (202; 3306) for producing a reproduction of the input image on a paper medium using the processed electrical image signals. An image processing apparatus according to claim 4, wherein the image forming means comprises a bubble jet printer. An apparatus according to any preceding claim, further including the detachable discriminating device (101) mounted therein. A detachable discriminating device (101) adapted for mounting within an image processing apparatus as described in claim 1, comprising: discriminating means (302; 303-1 - 303-8) arranged to discriminate whether an input image represented in electrical image signals represents a specific original image for providing the apparatus with a forgery-prevention function ; means (309) arranged to generate a control signal for use in controlling the image processing apparatus in dependence upon the result of the discrimination; and a connector for connecting the discriminating device to the image processing apparatus to convey the electrical image signals from the image processing apparatus to the discriminating device and to convey the control signal from the discriminating device to the image processing apparatus. A device according to claim 7, including means arranged for use by the image processing apparatus in generating a connection recognition signal (108) for use by the detecting means of the image processing apparatus in detecting whether the discriminating device is connected to the connecting means. A device according to claim 7 or claim 8, wherein the discriminating means discriminates whether the input image represents a specific original image based on the colour distribution of the input image. A method of forgery-prevention characterised by the steps of: providing an image processing apparatus according to claim 1; providing a detachable discriminating device to enable operation of the image processing apparatus; operating the image processing apparatus to detect whether the discriminating device is mounted therein; operating the discriminating device to determine whether an input image represented in electrical image signals to be processed by the image processing apparatus represents a specific original image; and controlling the operation of the image processing apparatus in dependence upon (i) whether the detachable discriminating device is mounted in the image processing apparatus and (ii) whether it is determined that the input image represents a specific original image.

Inventors: FUNADA MASAHIRO, KITAMURA TOSHIYUKI, OHTA EIJI, OHTA KEN-ICHI, TAKARAGI YOICHI, UDAGAWA YUTAKA, FUNADA, MASAHIRO, KITAMURA, TOSHIYUKI, OHTA, EIJI, OHTA, KEN-ICHI, TAKARAGI, YOICHI, UDAGAWA, YUTAKA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1992
Main classification: H04N1
IPC codes: H04N1, G07D7, G03G21