Image processing apparatus

Abstract: Disclosed is an image processing apparatus having plural types of input devices (scanners, a still-video camera, a film scanner, etc.) for inputting image data. The type of input device which has entered the image data is identified, and an image judging processing method is decided from plural types of such methods based upon the type of input device identified. In accordance with the image judging processing method decided, the identity is judged between the image data inputted from the input device of the type identified and a specific image.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention: This invention relates to an image processing apparatus and, more particularly, to an image processing apparatus capable of being applied to a device such as a copying machine equipped with a function for detecting a specific original. 2. Prior Art: Recent improvements in the picture quality of copying machines which now have a color capability have been accompanied by the fear of counterfeiting of specific originals such as bank notes and securities. A proposed method of detecting a specific original in a copying machine is pattern matching in which an input image and the shape of a specific image are compared. In order to determine whether an original placed at any position on a platen is a specific original, the position at which the original has been placed or the angle of the original is calculated and then pattern matching is performed. In the example of the prior art described above, however, the reader is merely a scanner. For example, in a case where a plurality of input devices such as film scanners or still-video cameras are connected, an accurate judgment concerning a specific original cannot be made owing to differences in the conditions of the input sensors. Further, in the example of the prior art described above, a color original is judged based solely upon R. G, B signals obtained by separation into three colors using an RGB CCD sensor. Consequently, when, say, an image output apparatus is connected to a host computer or the like, image processing is executed by the computer and Y, M, C, Bk signals are sent to the image output apparatus, detection of a specific original of interest cannot be carried out. In other words, detection cannot be performed in case of a color space in which the data of the inputted color components differs from the color-component data used in detection. A system for detecting a specific original in colour image data, and controlling the output according to whether a specific original is detected, is shown in EP-A-0342060. According to the present invention there is provided an image processing apparatus as set out in claim 1, and an image processing method as set out in claim 14. The remaining claims set out optional features. An embodiment of the present invention provides an image processing apparatus capable of distinguishing a specific original, irrespective of the form of an input signal, in an ordinary image copying operation or in a case where an image is outputted upon receiving a signal from an external device. An embodiment of the present invention provides an image processing apparatus comprising input means for inputting an image signal corresponding to an original image, converting means for converting the signal form of the image signal inputted by the input means, judging means for judging identity between the original image and a specific image based upon the signal converted by the converting means, and processing means for processing the image signal, which has been inputted by the input means, based upon the results of judgment performed by the judging means. An embodiment of the present invention provides an image processing apparatus having an interface connected to a plurality of input devices which handle image signals of different color spaces, the apparatus comprising input means for inputting an image signal, which corresponds to an original, from one of the connected input devices, converting means for converting the image signal, which has been inputted by by the input means, into an image signal in a prescribed color space, discriminating means for determining whether a previous registered specific original is present based upon the image signal converted by the converting means, and processing means for processing the image signal, which has been inputted by the input means, based upon the results of the determination made by the discriminating means. Embodiments of the present invention, given by way of non-limiting example, will now be described with reference to the accompanying drawings, in which: Fig. 1 is block diagram showing a first embodiment of a copying machine to which the image processing apparatus of the present invention is applied; Fig. 2 is a block diagram showing the construction of a specific-original identifying circuit 1106 according to a first embodiment of the present invention; Fig. 3 is a block diagram showing the construction of a judging circuit 1203 illustrated in Fig. 2; Fig. 4 is a block diagram showing the construction of an OR writing circuit 1511 according to the first embodiment; Fig. 5 is a timing chart of a timing generating circuit 5112 according to the first embodiment; Fig. 6 is a diagram for describing a method of judging a specific original according to the first embodiment; Figs. 7 and 8 are diagrams for describing the relationship between a specific original and color space in the first embodiment; Fig. 9 is a diagram showing the relationship between color-space data of a specific original and data in judging ROM 1501 in the first embodiment; Fig. 10 is a diagram showing the positional relationship between a specific original and a recognition zone in the first embodiment; Fig. 11 is a flowchart for describing the operation performed by a CPU in the first embodiment; Fig. 12 is a block diagram showing the construction of an arithmetic circuit 1202 according to the first embodiment; Fig.13 is a side sectional view showing the construction of a copying machine; Fig. 14 is a block diagram showing the construction of an integrator 5011 according to the first embodiment; Figs. 15A and 15B are diagrams for describing the results of integration according to the first embodiment; Fig. 16 is a block diagram showing a third embodiment of a copying machine to which the image processing apparatus of the present invention is applied; and Fig. 17 is a diagram for describing the relationship between various color spaces and a common color space according to the third embodiment. Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the term "specific original" as used hereinafter refers to originals the duplication of which is prohibited, such as securities, gift certificates and bank notes, and includes also originals which are contrary to public order and good customs and originals for specific applications. Though a copying machine is illustrated as an example of application of the present invention in each of the following embodiments, it goes without saying that this does not impose a limitation upon the invention, which can be applied also to various other apparatus, such as printers. (First Embodiment) Fig. 1 is a block diagram showing a first embodiment of a copying machine to which the image processing apparatus of the present invention is applied. Shown in Fig. 1 are a scanner 1101 for optically reading an original image and obtaining R, G, B signals for every pixel and outputting the signals parallely, an image processing unit (IPU) 1102 for converting the R, G, B signals into frame-sequence (meaning that one page of image data is sequentially transmitted for every color component, where one page includes various sizes of image for example A4, A3, B4 and B5) Y, M, C, Bk color image signals in accordance with the R, G, B parallel signals from the scanner 1101, a scanner 1105 having a function similar to that of the scanner 1101, a host computer 1103 for converting the R, G, B signals into frame-sequence Y, M, C, Bk color image signals in the same manner as the IPU 1102, an image output unit 1104 for controlling an image output conforming to the read original in accordance with the frame-sequence Y, M, C, Bk color image signals from the IPU 1102 or host computer 1103, a specific-original identifying circuit 1106, provided within the image output unit 1104, for identifying a specific original in accordance with the frame-sequence Y, M, C, Bk color image signals from the IPU 1102 or host computer 1103, and a scanner 1107 inputting dot-sequence (meaning that a plurality of pixel data is transmitted for every pixel R, G, B parallel) data directly to the specific-original identifying circuit 1106. Though the image output unit 1104 in Fig. 1 has an interface connected to two types of input devices, namely the IPU 1102 and the host computer 1103, connection to three or more types of input devices also is possible. Furthermore, connection can be made to a host computer 1108 for inputting RGB serial signals. In addition, connection can be made not only to a computer but also to an input device such an SV (still-video) camera or VTR. Operation will now be described. A color original is separated into the three colors R, G, B and digitally read by the image scanner 1101 (or 1105), and the resulting R, G, B signals are sent to an apparatus, which has an image processing function, such as the IPU 1102 (or host computer 1103). In the IPU 1102 or host computer 1103, the inputted R, G, B signals are converted into the frame-sequential color image signals Y, M, C, Bk by processing such as performed by the image processor of an ordinary digital color copying apparatus. This processing includes a logarithmic conversion, a masking operation and UCR (under-color rejection). The converted Y, M, C, Bk signals are sent to the image output unit 1104, where a hard copy is outputted by a laser beams, LED or other system. In the first embodiment, a copying machine is illustrated in which the image output unit 1104 is equipped with the specific-original identifying circuit 1106 for identifying a specific original. As a result, it is possible to prevent a specific original, namely one which is not desired to be copied, from being outputted as a hard copy. Fig. 2 is a block diagram illustrating the construction of the specific-original identifying circuit 1106 according to the first embodiment. In Fig. 2, numeral 1201 denotes a memory for accumulating the frame-sequential color image signals Y, M, C, Bk sent from the IPU 1102 and the host computer 1103. The memory 1201 converts the accumulated color image signals into dot-sequence signals and outputs the latter. Numeral 1202 denotes an arithmetic circuit having the construction shown in Fig. 12 and 1203 a judging circuit having the construction shown in Fig. 3 These circuits will be described later. Numeral 1204 designates an arithmetic circuit which, in accordance with address data distinguished by the judging circuit 1203 as being indicative of a specific original, converts the pixels, at the pertinent addresses, of the Y, M, C, Bk output signals into black signals and then outputs the black signals. Numeral 1205 represents a color processing circuit for processing the RGB dot-sequence data from the scanner 1107 and inputting the Y, M, C, Bk frame-sequence data to the arithmetic circuit 1204 at a predetermined timing. Since the dot-sequence data from the scanner 1107 already has a form capable of being discriminated, it is inputted to the judging circuit 1203 directly. Fig. 12 is a block diagram illustrating the construction of the arithmetic circuit 1202 according to the first embodiment. In Fig. 12 numerals 1901, 1902, 1903 denote adders for adding the C and Bk signals, the M and Bk signals and the Y and Bk signals, respectively. Numerals 1904, 1907 and 1910 denote multipliers for multiplying the output of the adder 1901 by predetermined constants a 11 , a 21 and a 31 , respectively. Numerals 1905, 1908 and 1911 denote multipliers for multiplying the output of the adder 1902 by predetermined constants a 12 , a 22 and a 32 , respectively. Numerals 1906, 1909 and 1912 denote multipliers for multiplying the output of the adder 1903 by predetermined constants a 13 , a 23 and a 33 , respectively. Numerals 1913, 1914, 1915 denote adders for adding the outputs of the multipliers 1904, 1905 and 1906; the outputs of the multipliers 1907, 1908 and 1909; and the outputs of the multipliers 1910, 1911 and 1912; respectively. The adders 1913, 1914, 1915 output R, G, B signals, respectively. In operation, the C, M, Y signals converted in dot-sequence fashion by the memory 1201 are sent to the adders 1901, 1902, 1903, respectively. The Bk signal is branched to enter the adders 1901, 1902, 1903 separately. Based on the input signals applied thereto, the adders 1901, 1902, 1903 perform the calculations C' = C + Bk, M' = M + Bk, Y' = Y + B, respectively, and output C', M', Y' to the multipliers 1904 - 1912. The outputs of the multipliers 1904 - 1912 are delivered to the adders 1913 - 1915 in manner illustrated, and the calculated sums are outputted as R, G, B. The operation described above may by expressed by the following equation: In this embodiment the matrix shown by the equation (2) is the inverse matrix of a matrix of coefficients at the time of masking processing carried out in conventional color processing. The R, G, B signals obtained by the foregoing operations are sent to the judging circuit 1203. Fig. 3 is a block diagram illustrating the construction of the judging circuit 1203 shown in Fig. 2, Fig 6 is a diagram for describing a method of judging a specific original according to the first embodiment, Figs. 7 and 8 are diagrams for describing the relationship between a specific original and color space in the first embodiment, Fig. 9 is a diagram showing the relationship between color-space data of a specific original and data in a judging ROM in the first embodiment, and Fig. 10 is a diagram showing the positional relationship between a specific original and a recognition zone in the first embodiment. <Judging ROM> A judging ROM 1501 stores written information indicating whether the image data of specific originals illustrated in Figs. 7, 8 and 9 exist in the corresponding color space R, G, B. In a case where input color signals 313, 314, 315 match the image portions of specific originals indicated by the hatched portions in the RGB spaces shown in Figs. 7 and 8, "1" is the output signal of the judging ROM 1501; otherwise, "0" is the output signal of the ROM. In this embodiment, the judging ROM 1501 is constituted by a read-only memory having a data width of eight bits and an address width of 15 bits and stores data corresponding to eight types of specific originals. The above-mentioned judgment information outputted by the judging ROM 1501 enters integrators 5011 - 5018 through a latch circuit 1502. The integrators 5011 - 5018 are of identical construction, and therefore only the integrator 5011 will be described as an example. Fig. 14 is a block diagram for describing the integrator 5011 according to the first embodiment. In Fig. 14 numerals 1601, 1602 denote multipliers, 1603 an adder, and 1604 a latch circuit for timing adjustment. In response to an inputted i th signal x i ("0" or "1"), the multiplier 1602 performs the multiplication x i x 255 (1- β ) using a predetermined weighting coefficient β . The product is inputted to the B-side of the adder 1603. On the other hand, in response to an (i-1) th output signal y i-1 from the latch circuit 1604, the multiplier 1601 performs the multiplication y i-1 x β and inputs the product to the Aside of the adder 1603. The latter performs the addition operation x i x 255 (1- β ) + y i-1 x β and outputs the result as y i . In other words, the integrator 5011 performs the operation indicated by equation (3) below: y i = x i x 255 (1-β) + β · y i-1 That is, the integrator 5011 is a circuit which executes the integration processing of Eq. (3) with regard to all input data. Fig. 15A and Fig. 15B are diagrams for describing the effects of integration according to the first embodiment. In a case where an input value "1" to the integrator 5011 continues, as shown in Fig. 15A, the output value from the integrator 5011 approaches 255, as shown in Fig.15B, owing to execution of the foregoing operations. In a case where the input value "0" continues, the output value approaches "0". Comparing arithmetic units 5001 - 5008 (Fig. 3) are identically constructed, and therefore only the comparing arithmetic unit 5001 will be described as an example. The comparing arithmetic unit 5001 compares the output value A1 from the integrator 5011 and a value B1 of a predetermined constant stored in a register 5021, and outputs a judgment signal indicated at C1. The values of C1 are as follows, in accordance with Eq. (4) : C1 = 1 : A1 > B1 C1 = 0 : A1 ≤ B1 By virtue of this processing, the output C1 of the comparing arithmetic unit 5001 becomes "1" in a case where the input color signal continuously matches the image data of the specific original. It should be noted that the comparing arithmetic units 5002 - 5008 and registers 5022 - 5028 function in the same manner as the comparing arithmetic unit 5001 and register 5021, respectively. Counters 1521 - 1528 are identically constructed and therefore only the counter 1521 will be described as an example. The counter 1521 is counted up only when the output C1 is "1". The number of pixels contained in the specific-original recognition zone indicated by the hatched -line portion in Fig.10 is calculated by the counter 1521. An OR writing circuit 1511 writes the OR of the output signals C1 - C8 of the comparing arithmetic units 5001 - 5008 in a RAM 1512. The RAM 1512 has a bit width of eight bits and an address width of 16 bits, namely a size identical with that of the ROM 1501. Fig. 4 is a block diagram showing the construction of the OR writing circuit 1511 according to the first embodiment, and Fig. 5 is a timing chart of a timing generating circuit according to the first embodiment. In Fig. 4, the RAM 1512, which is constituted by a 32K SRAM, is addressed by three five-bit signals R, G, B, with the 15 bits being inputted to A 0 - A 14 serving as an address bus. Also inputted to D 0 - D 7 of the RAM 1512 as data are items of data 5021 - 5028 resulting from an OR operation, described below. Numeral 5112 denotes a timing generating circuit for generating the timing signal shown in Fig. 5. About OR arithmetic unit within the broken lines, stored data is read out from D 0 - D 7 in dependence upon a read-enable signal OE at the timing of a clock CLK', with regard to addresses designated by A 0 - A 14 . The data is latched in respective latch circuits. The inputted signals 5021 - 5028 and the latched memory data are OR-ed by respective OR gates, and outputs are obtained from respective buffers at an inverter timing Rio. Thus, with respect to each address stipulated by five bits of each of the R, G, B signals, if at least one item of the data sequentially inputted by the signals 5021 - 5028 is "1", this data is stored in the RAM 1512. Since Do - D7 are stored at mutually independent addresses, judgment processing can be performed with regard to eight types of specific originals. The volume of the R, G, B space of the hatched portion, which is the observed data in Fig 6, is calculated by measuring the number of bits of the judgment result "1" stored in the RAM 1512. Numeral 1515 represents a CPU which performs control of the overall specific-original judging unit 1403. The CPU 1515 has a ROM 1515a storing a program in accordance with the flowchart of Fig. 11 for operating the CPU 1515, and a RAM 1515b used as the working area of various programs. The CPU 1515 mainly reads data from the counters 1521 - 1528 and RAM 1512, and determines whether an original of interest is present in an input original. The input to the integrator of Fig. 3 is indicated by X i , and the output from the integrator is indicated by Y i (1 ≤ i ≤ 8) . An operation in accordance with equation (5) below is performed as processing: Y i+1 = β · Y 1 + 255(1-β)X i In Eq. (5), β represents a constant for controlling the integrating effect of the integrator. Further, the following relation holds in the range 0 < β < 1: In other words, a curve indicative of the change in the integrated value varies more gently the closer the set value of β shown in Fig. 15B approaches 1. Conversely, the curve varies more sharply the closer the set value of β approaches 0. In the first embodiment, β = 31/32. Here the subject to undergo recognition is assumed to be an original whose size is approximately that of a bank note. However, in case of a subject which is a smaller original image, such as a postage stamp, a smaller value of β , such as 7/8, would be appropriate. It is permissible to adopt an arrangement in which the value of β can be set at will by a scanning unit (not shown) in dependence upon the subject to undergo recognition. Fig. 11 is a flowchart for describing the operation performed by the CPU according to the first embodiment. First, when information indicative of the start of reading of an original is sensed, an INH 1404 signal indicating the start of reading of the original is set to "0" at step S21. Thereafter, reading of the original is designated at step S22. A variable n is set to 1 at step S23. That is, the counter value of an n th counter is successively stored in the RAM 1512. Next, at step S24, the value in the counter of Fig. 3 which, in this case, is the counter 1521 because n=1 holds, is read, and this value is stored as a variable area set in the RAM 1512. Then, at step S25, the total number of 1's stored as the variable area in the RAM 1512 of Fig. 3 is calculated, and this value is set as a variable vol . Here the volume vol is a value which indicates the volume of the hatched portion in Fig. 6. In other words, vol = T jd . It is determined at step S26 whether the value of the variable area exceeds a predetermined constant K. The value of the variable area corresponds to the number of pixels in the recognition zone shown in the hatched portion of Fig. 10 Accordingly, by comparing the value of the variable area with the constant K, it is determined whether or not there is a possibility that the original is a bank-note original. In other words, if variable area > K holds, then it is judged that there is a possibility that the original is a bank-note original. Next, at step S27, the value of the variable vol set at step S25, and the degree of similarity r (indicated by equation 6 shown below) of the observed image data in the color space and the image data in the specific original are calculated, and r is compared with the constant γ. In Fig 6, T ORG represents the image data (hereinafter referred to as "specific image data") of an already registered specific original. T ORG corresponds to the hatched portion expressed in R, G, B space and indicates the volume in R, G, B coordinate space. T jd represents image data (hereinafter referred to as "observed image data") of a read original. T jd corresponds to the hatched portion, in which the observed image data for which the output signals of the comparing arithmetic units 5001 - 5008 become "1" is expressed in R, G, B space, and indicates the volume in R, G, B coordinate space. The degree of similarity r in this case is indicated by the following equation: r = T jd T ORG This means that the more the value of the degree of similarity r approaches 1, the higher the similarity between the observed image data and the specific image data. By establishing the relation vol = T jd , r = vol T ORG ≥ γ is judged (where γ is a constant determined by experimentation and indicates the matching factor in color space; here γ = 0.7 is assumed to hold). If Eq. (7) holds true, the similarity between the observed image data and the specific image data is high and it is decided that duplication of the original should be prohibited. In a case where a specific original is judged to be present through the foregoing method, the address data of the portion at which the specific original exists is sent to the arithmetic circuit 1204. In the arithmetic circuit 1204, at step S28 the pixels at the pertinent addresses of the separately transmitted Y, M, C, Bk output signals are converted into black signals, which are then outputted. Against this, in steps 29 and 30, the above-mentioned process (the steps 24-27) is repeated about eight types of specific originals. In accordance with the first embodiment, as described above, a specific original is judged by the Y, M, C, Bk signals, whereby a specific original can be distinguished even in an ordinary image copying operation using an image output unit or in a system which outputs an image upon receiving a signal from an external device. Fig. 13 is a side sectional view showing the construction of an ordinary copying machine having a function for detecting a specific original. In Fig. 13 numeral 2201 denotes an image scanning section for scanning an original and performing digital signal processing. Numeral 2202 designates a printing section for printing out an image, which corresponds to the original image read by the scanning section 2201, on paper in full color. The image scanning section 2201 includes a pressure plate 2200 having a mirror surface. An original 2204 on a glass platen 2203 is irradiated by means of lamps 2205, an image is formed on a three-line sensor (hereinafter referred to as a "CCD") 2210 via mirrors 2206, 2207, 2208 and a lens 2209, and the image is sent to a signal processor 2211 as full-color information red (R), green (G) and blue (B) components. The entire original is scanned by mechanically moving the lamps 2205 and mirror 2206 at a velocity v as well as the mirrors 2207, 2208 at a velocity 1/2 v in a direction perpendicular to the electrical scanning direction of the line sensor. The signal processor 2211 electrically processes the read signal, separates the signal into magenta (M), cyan (C), yellow (Y) and black (Bk) components and sends these components to the printing section 2202. At least one component among the M, C, Y, Bk components is sent to the printing section 2202 per scan of the original in the image scanning section 2201, and a signal print-out is completed by a total of four scans of the original. The M, C, Y or Bk image signal received from the image scanning section 2201 is sent to a laser driver 2212. The laser driver 2212 modulates and drives a semiconductor laser 2213 in dependence upon the particular image signal. The laser light is made to scan across a photosensitive drum 2217 via a polygon mirror 2214, an f-  lens 2215 and a mirror 2216. Numeral 2218 denotes a revolving developer comprising a magenta developing section 2219, a cyan developing section 2220, a yellow developing section 2221 and a black developing section 2222. These four developers come into alternate contact with the photosensitive drum 2217 so that an electrostatic latent image formed on the photosensitive drum 2217 is developed by means of toners. Numeral 2223 denotes a transfer drum upon which paper fed from a paper cassette 2224 or 2225 is wound so that the image developed on the photosensitive drum 2217 may be transferred to the paper. After the four colors M, C, Y, Bk have thus been transferred successively, the paper is ejected through a fixing unit 2226. In an ordinary color-image copying machine of the above-described kind, an original judging circuit 2227 is provided in front of the laser driver 2212 according to Fig. 13. The construction of the original judging circuit 2227 is the same as that illustrated in the first embodiment. This makes it possible to prevent copying of a specific original, namely an original whose duplication is undesirable. (Second Embodiment) The present invention covers also a second embodiment in which, in each of the first embodiment and the apparatus of Fig. 13, a frame-sequence signal, namely an input signal from an image output unit, is converted into the point-sequence Y, M, C, Bk signals by the memory 1201 and arithmetic circuit 1202 of Fig. 2, the signal values of Y, M, C are compared with the specific-original Y, M, C information stored in the judging ROM 1501 of Fig. 3, and the specific original is distinguished based upon the comparison. In accordance with the second embodiment described above, the specific original is distinguished after the form of the signal is changed, as by converting the frame-sequence signal into the point-sequence signals or changing the YMC color space to RGB color space. As a result, it is possible to distinguish a specific original irrespective of the form of the signal in the input device. (Third Embodiment) Fig. 16 is a block diagram showing a third embodiment of a copying machine to which the image processing apparatus of the present invention is applied. Numerals 7101, 7101' denote scanners for optically reading an original image and converting the read image into dot-sequential R, G, B parallel signals. Numeral 7102 represents an image processing unit (IPU), to which the R, G, B signals from the corresponding scanner 7101 are inputted, for performing a conversion from a luminance signal to a density signal and outputting Y, M, C, Bk signals. Numeral 7103 denotes a host computer, to which the R, G, B signals from the corresponding scanner 7101' are inputted, for performing a conversion from a luminance signal to a colorimetric system and outputting dot-sequential L*a*b* serial signals. Numeral 7104 denotes a still-video camera (hereinafter referred to as an "SV"), and 7105 a video tape recorder (hereinafter referred to as a "VTR"). Shown at 7100 is a signal processor connected to the IPU 7102, the host computer 7103, the SV 7104 and the VTR 7105, and to other input devices as well. An image signal is inputted to the signal processor 7100 in the form of the color space handled by each input device, and the signal processor 7100 converts this signal into a print signal. Numeral 7112 denotes an image output unit, such as a printer. The signal processor 7100 includes an arithmetic circuit 7106 having a memory, a converting circuit 7107, a color processing circuit 7108, a specific-original identifying circuit 7109, and an inking circuit 7110. INH7404 indicates the result of the identification operation performed by the specific-original identifying circuit 7109. In the operation of the signal processor 7100, a color original is separated into the three colors R, G, B and digitally read by the image scanner 7101, and the resulting R, G, B signals are sent to an apparatus, which has an image processing function, such as the IPU 7102 and host computer 7103. In the IPU 7102 or host computer 7103, the input RGB signals are converted into various color spaces by processing such as performed by the image processor of an ordinary digital color copying apparatus. This processing includes a logarithmic conversion, a masking operation and UCR. Thus, the input R, G, B signals are converted into Y, M, C, Bk signals; the R, G, B signals inputted to the IPU 7102 or host computer 7103 are converted into XYZ coordinates of an XYZ colorimetric system; and the image signals converted into XYZ are converted into L*a*b* of the L*a*b* colorimetric system. When a conversion is made from R, G, B to the tri-stimulus values X, Y, Z of the XYZ colorimetric system and from the tri-stimulus values X, Y, Z to L*a*b*, the conversion equations are as expressed by equations (8), (9) below in a case where the R, G, B signals are in line with the NTSC system. L* = 166 (Y/Y 0 ) 1/3 - 16 a* = 504.3 [(X/X 0 ) 1/3 - (Y/Y 0 ) 1/3 ] b* = 201.7 [(Y/Y 0 ) 1/3 - (Z/Z 0 ) 1/3 ] (X 0 Y 0 Z 0 = const) Image signals converted into various color-space signals are outputted to the signal processor 7100 by the IPU 7102, host computer 7103, etc., as described above. Meanwhile, the dot-sequential R, G, B parallel signals are outputted to the signal processor 7100 from the devices SV 7104, VTR 7105. In a case where the image signals outputted by the various devices such as the IPU 7102, host computer 7103, SV 7104 and VTR 7105 are the frame-sequence Y, M, C, Bk signals, these signals are branched to two paths. One leads to the inking circuit 7110, and the other leads to the arithmetic circuit 7106. In a case where inputs to the signal processor 7100 are signals other than the Y, M, C, Bk signals, these signals enter the arithmetic circuit 7106. The latter is equipped with a memory through which the input signals are passed if they are dot-sequence image signals. If the input signals are frame-sequence signals, these are accumulated in the memory and converted into dot-sequence signals. The signals outputted by the arithmetic circuit 7106 are R, G, B signals, Y, M, C, Bk signals, L*a*b* signals, X, Y, Z signals, etc. These signals are delivered to the converting circuit 7107, which converts the inputted image signals into image signals (R, G, B signals in this embodiment) having a certain common color space. The signals from the converting circuit, which have been converted into image signals of the common color space, are branched in two directions, one to the color processing circuit 7108 and the other to the specific-original identifying circuit 7109. Since the construction and processing function of the converting circuit 7101 basically are similar to those of the arithmetic circuit 1202 (Fig. 12) described in the first embodiment, a detailed illustration and description are omitted. Fig. 17 is a diagram for describing the relationship between the various color spaces and the common color space according to the third embodiment. The operation of the converting circuit 7107 will be described in simple terms taking YMCBk accepted from the arithmetic circuit 7106. The processing of the C, M, Y signals and Bk signal outputted by the arithmetic circuit 7106 is the same as in the first embodiment. That is, R, G, B are calculated based upon the C, M, Y signals and the Bk signal. The matrix used here is the inverse matrix of a matrix of coefficients at the time of masking processing carried out in conventional color processing. More specifically, in a case where distortion occurs along the axes owing to the effects of spectral characteristics when an original is read, even when the image signals are image signals of different color spaces or of the same color space, signal conversion or normalization is performed to effect a conversion into image signals of a predetermined color space, as shown in Fig. 17. The color processing circuit 7108 receives the R,G,B signals from the converting circuit 7107, performs a logarithmic conversion, masking and UCR processing and outputs frame-sequence Y, M, C, Bk signals. Meanwhile, the signals sent to the specific-original identifying circuit 7109 are judged, by a method described below, to determine whether there is a specific original in the input image signal. In a case where the specific original is present, this address data is sent to the inking circuit 7110, where a black header image is outputted based upon the address data. In a case where the input image signal does not contain a specific original, a signal indicative of this fact is sent to the inking circuit 7110, which responds by passing the output signal from the color processing circuit 7108 to the image output unit 7112. Here a hard copy is outputted in conformity with a PWM, thermal transfer or ink jet system. Since the details of the specific-original identifying circuit 7109 are similar to those shown in Figs. 3 - 11 discussed in connection with the first embodiment and those shown in Figs. 14, 15A and 15B these need not be described again. In brief, in accordance with the third embodiment, various input signals are converted once into common color-space signals, after which a specific original is identified. As a result, identification of a specific original can be carried out in any system whatsoever. In addition, specific-original data stored in advance also may be data of a common color space, and therefore memory capacity may be reduced. In a case where a variety of external devices are connected, it is possible to identify a specific original, without fear of erroneous judgments, irrespective of the spectral characteristics of the image readers of these external devices. ( Fourth Embodiment) In a fourth embodiment of the present invention, a specific-original judging circuit is provided in front of the laser driver in the color-image copying machine (third embodiment). The construction of the specific-original judging circuit is similar to that illustrated in the third embodiment. This arrangement makes it possible to prevent copying of a specific original, namely an original whose duplication is undesirable. Embodiments of the present invention may comprise a system constructed of a plurality of devices or an apparatus comprising a single device. It goes without saying that embodiments can be obtained by supplying a program to a system or apparatus. The scanner may have not only an RGB parallel type of output but also an RGB dot-sequential type of output. SV or VTR may be an S terminal output or composite type of output. Color components can be not only RGB, YMCBk or L*a*b* but also YIQ, Yuv, LCrCb, L*u*v* or the like. Input can be not only frame-sequential, dot-sequential or parallel, but also line-sequential or block-sequential. Many apparently widely different embodiments of the present invention can be made and combinations of specific embodiments can be made, as will be apparent to those skilled in the art.

Claims: An image processing apparatus having a forgery prevention function for inhibiting faithful output of an input colour image if it is determined that the input colour image is a specific original image, the apparatus comprising: input means for receiving input colour image data defining the input colour image; and discriminating means (1203; 7109) for discriminating whether the input colour image represents the specific original image using the input colour image data in a predetermined colour data format, and for generating a control signal (INH 1404; INH 7404) for use in inhibiting faithful output of the input colour image in dependence upon the result of the discrimination; characterised in that: the input means comprises means for receiving input colour image data in any of a plurality of colour data formats; the apparatus further comprises format conversion means (1201; 1202; 7106; 7107) for converting input colour image data in at least one of the plurality of colour data formats into a common predetermined colour data format which is suitable for discrimination by said discriminating means and for supplying the image data in the common predetermined colour data format to the discrimination means, such that said discriminating means performs discrimination on the input colour image data received in any of the plurality of colour data formats, using the common predetermined colour data format; and said common predetermined colour data format defines a transmission sequence of different components of the colour image data. Apparatus according to claim 1 in which the plurality of colour data formats comprises a frame-sequential format and a dot-sequential format. Apparatus according to claim 2 in which the format conversion means converts input colour image data in the frame-sequential format to the dot-sequential format. Apparatus according to claim 1 in which the plurality of colour data formats comprises a serial format and a parallel format. Apparatus according to claim 4 in which the format conversion means converts input colour image data in the serial format to the parallel format. Apparatus according to any one of claims 1 to 5 in which the discriminating means performs its discrimination with reference to the colour distribution in the input colour image data. Apparatus according to claim 6 in which the discriminating means includes a memory means (1501) storing colour distribution data characteristic of the specific original image. Apparatus according to any one of claims 1 to 7, wherein the input means is operable to obtain the input colour image data from a plurality of different supply means. Apparatus according to claim 8 in which the plurality of supply means includes a host computer (1103; 7103) for providing input colour image data to the input means, and at least one of an image reader (1101; 1105; 1107; 7101; 7101; 7101') which scans an original, a still video camera (7104) and a video camera, for providing input colour image data to the input means. Apparatus according to claim 3, wherein the format conversion means includes memory means (1201; 7107). Apparatus according to any one of claims 1 to 10 in which the specific original is a banknote. Apparatus according to any one of claims 1 to 11 further comprising means (7112) for printing an image from the input colour image data. An apparatus according to claim 12 in the form of a digital colour copying machine. An image processing method providing a forgery prevention function for inhibiting faithful output of an input colour image if it is determined that the input colour image is a specific original image, the method comprising: an inputting step of receiving input colour image data defining a plurality of input colour images; and a discriminating step of discriminating whether each input colour image represents the specific original image based on colour image data in a predetermined colour data format, and of generating a control signal for use in inhibiting faithful output of the input colour image in dependence upon the result of the discrimination; characterized in that: in the inputting step, input colour image data for the different input colour images is received in a plurality of colour data formats; and further comprising a format converting step of converting input colour image data in at least one of the plurality of colour data formats into a common predetermined colour data format, such that in said discriminating step, discrimination is performed on the input colour image data received in any one of the plurality of colour data formats, using the common predetermined colour data format; and said common predetermined colour data format defines a transmission sequence of different components of the colour image data.

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