Abstract:
There is disclosed an image processing apparatus for processing an image signal in which the mode of image processing is rendered variable to adapt to plural input devices. More specifically, a conversion matrix circuit receives image signals from one of a plurality of different input devices and converts the image signals into corrected additive primary color signals red, green and blue. The conversion matrix circuit compensates for any differences in the spectral characteristics of the different input devices. The matrix includes a plurality of conversion tables stored in memory for performing the conversion. A selected one of the conversion tables is addressed by the image signals.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to an image processing apparatus for processing image data entered from input devices. 
     2. Description of the Prior Art 
     There are recently known image forming apparatus for printing color image data entered from input devices, for example, color television cameras, color scanners, or magnetic tapes containing an image data base. 
     Such image forming apparatus generally has a single input device and is designed to realize faithful color reproduction in consideration of the spectral characteristics of that input device. In the case of printing color image data entered from another input device, such conventional image forming apparatus, lacking means for correcting the spectral characteristic of such different input device, results in a deviation in color in the output print. Thus, different color prints are obtained even from the same original since the spectral characteristics of the color separation filters, conditions of the illuminating light source, spectral characteristics of the photoreceptors, etc., are not standardized. It has been recently desired to print image data supplied from various input devices by means of a single image forming apparatus. It is, difficult however, to standardize the overall spectral characteristics of various input devices, since each input device is generally designed in a form most suitable for an image forming apparatus for which the input device is principally used. 
     SUMMARY OF THE INVENTION 
     The principal object of the present invention is to eliminate the drawbacks mentioned above. 
     Another object of the present invention is to provide an image processing apparatus capable of providing images of high quality from various input devices. 
     Still another object of the present invention is to provide an image processing apparatus capable of selecting a desired input device. 
     Still another object of the present invention is to provide an image processing apparatus capable of correcting image data with a limited memory capacity. 
     Still another object of the present invention is to provide an image processing apparatus capable of providing images of high quality even from different input devices simply by changing parameters of a designated processing circuit. 
     Still another object of the present invention is to provide an inexpensive image processing apparatus capable of switching input devices. 
    
    
     The foregoing and still other objects of the present invention will become fully apparent from the following description which should be taken in conjunction with the attached drawings, and also from the appended claims. 
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of a color image processing apparatus to which the present invention is applicable; 
     FIG. 2A is a chart showing a conversion matrix; 
     FIG. 2B is a diagram showing a conversion table memory; 
     FIG. 2C is a diagram showing another embodiment of the conversion matrix in circuit form; and 
     FIG. 3 is a block diagram of an image forming apparatus equipped with a plurality of input devices of different types. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Now the present invention will be explained, in detail, by preferred embodiments thereof shown in the attached drawings. 
     FIG. 1 shows a color image forming apparatus in which the present invention is applicable, wherein an input device 101 is composed, in the present embodiment, of a color television camera, which supplies color-separated signals of red (R), green (G) and blue (B) to a conversion matrix circuit 102. The conversion matrix circuit 102 functions as a color correction circuit for correcting the input image data in case the input device 101 has different spectral characteristics from other input devices which may be used with the present invention, i.e., the spectral characteristic of color separation filters, the conditions of the illuminating light source, the spectral characteristic of the photoreceptor (photosensor), etc., and constitutes an interface between the input device and an image processing unit, such as a complementary color converter, etc., to be explained later. The signals R, G, B entered from the input device 101 are converted, by means of said conversion matrix circuit 102, into corrected additive primary color signals, r, g, b, which are further converted, by a complementary color converter 103, into subtractive primary colors of yellow (Y), magenta (M) and cyan (C). A first tonality correction circuit 104 corrects the tonality (γ) or gamma characteristic of the color television camera 101. Since γ 1  =0.45 in an NTSC television camera, the first tonality correction circuit 104 adjusts to γ 2  =2.2 so that γ 1  ·γ 2  becomes equal to unity. The first tonality correction circuit 104 is provided with a tonality correction table for each color. A black extraction circuit 105 extracts the minimum value of the signals Y, M, C subjected to tonality correction in the first tonality correction circuit 104, thus determining a black signal BK or the amount of black ink. An undercolor removal circuit (UCR) 106 subtracts the amount of black ink, determined by the black extraction circuit, from the tonality-corrected signals supplied from the first tonality correction circuit 104, thus supplying signals of colored components Y, M and C to a masking circuit 107. Also a black signal BK supplied from the black extraction circuit 105 is processed in accordance with known techniques, through various circuits such as a table conversion circuit and a tonality (γ) correction circuit (not shown) to a second tonality correction circuit 108. Said signal, being an uncolored component, does not go through the masking circuit 107, which performs color correction on the color signals processed in the undercolor removal circuit 106. The second tonality correction circuit 108 corrects the color signals Y, M, C, BK, according to the printing characteristic of a pattern generator 109, for example containing a dither matrix, and a printer 110. 
     Since the conversion matrix circuit 102 immediately follows the input device in the present embodiment, an adjustment on the conversion matrix circuit 102 for a different input device 101, or for a different spectral characteristic of the image data entered from the input device, enables one to obtain an optimum color image without any change in the parameters from the complementary color converter 103 to the printer. Stated differently, in the present embodiment, the differences in the spectral characteristic among different input devices are compensated in the conversion matrix circuit 102 and do not affect the parameters of the complementary color converter 103 and the ensuing circuits. As an example, when the color television camera employed as the input device 101 is replaced by a color scanner, an adjustment of the conversion matrix circuit 102 alone enables one to obtain an optimum color image, without any change in the complementary color converter 103 and the ensuing circuits. 
     Now reference is made to FIGS. 2A-2C for explaining the details of the conversion matrix circuit 102. FIG. 2A shows a matrix for converting the spectral characteristics from the (R, G, B) system to the (r, g, b) system. FIG. 2B shows a conversion table memory for realizing the conversion shown in FIG. 2A and is composed of a read-only memory (ROM) or a programmable read-only memor (PROM) which is addressed by the image signals R, G, B themselves. Consequently the conversion table memory 201 needs 2 12  =4096 addresses if each image signal R, G or B is of 4 bits. However, if the image signal is of 8 bits, there will be required 2 24  =16,777,216 addresses corresponding to excessively costly large memory capacity. In such a case the conversion is achieved by a structure as shown in FIG. 2C, wherein the multiplications in the calculation according to the matrix shown in FIG. 2A are achieved by table converters 202-210 while the additions are achieved by adders 301-306. If any of the coefficients A12, A13, A21, A23, A31 and A32 becomes negative, a complementary number calculator is inserted between the table converter and the adder and provides the obtained result to the adder. The structure shown in FIG. 2C requires 2 8  ×9=2304 addresses for an image signal of 8 bits and is therefore advantageous from a cost viewpoint. The conversion matrix circuit 102 may contain either the conversion table memory 201 or a circuit as shown in FIG. 2C. More specifically, the conversion matrix circuit 102 may contain correction tables as shown in FIG. 2A in a number corresponding to the species of the connectable input devices. Also, the conversion matrix is not limited to the kind shown in FIG. 2A but may include second-order terms of the signals R, G, B for achieving non-linear conversion of the image data. Thus, the conversion matrix circuit constitutes an interface capable of exactly performing gamma correction, correction of spectral characteristics, etc. 
     FIG. 3 shows an embodiment of the image forming apparatus equipped with a plurality of input devices of different types, wherein shown are a color television camera 101 having color signals R1, G1 and B1; a magnetic video tape player 402 having color signals R2, G2 and B2; a color scanner 403 having color signals R3, G3 and B3; an input device selector switch 404; an input correction device 405 including the aforementioned conversion matrix circuit 102; a table setter 406 for selecting the correction tables as shown in FIG. 2A corresponding to the selected input device; a processing circuit 407 including the circuit units 103-109 shown in FIG. 1; and a color printer 110. 
     The input devices 101, 402, 403 are suitably selected by the selector switch 404, and in response to the selection made, the correction tables in the input correction device 405 are selected by the table setter 406, in order to achieve a conversion matching the selected input device since the input devices 101, 402, 403 are different in the spectral characteristics of color separation filters, photoreceptors etc. and therefore provide image data of different properties. The separated signals r, g, b converted in the input correction device are processed in the processing circuit 407 as explained before and recorded as an image in the printer 110. 
     The table setter 406 can be composed of a keyboard or a selector switch. 
     The table setter 406 may be linked with the input device selector switch 404 in such a manner that a correction table is automatically selected in response to the selection of an input device, thus avoiding the trouble of selecting the correction table or of resetting the values thereof. 
     In the present embodiment, the output device is composed of a printer, but a cathode ray tube may be employed for this purpose. The conversion matrix circuit need not be placed in the position shown in FIG. 1 but may be placed in other positions. In such a case, the parameters of the circuits preceding the conversion matrix circuit should be suitably altered simultaneously with the switching of the correction table when the input device is changed. 
     In the foregoing embodiments the correction of the input image data is achieved by a conversion table memory composed for example of a read-only memory, however the present invention is not limited to such a method and includes corrections by other suitable methods. 
     As explained in the foregoing, the present invention allows one to select parameters of the processing circuit in response to the selected input device to correct the characteristic of the image data entered from said input device, thus enabling one to obtain an excellent image without distortion in color. 
     Also, the present invention enables one to provide an inexpensive image processing apparatus capable of providing high image quality, since, in response to the selection of a new input device, adjustment is made only on the conversion matrix circuit, without affecting the parameters of the data processing circuits. 
     The present invention is not limited to the foregoing embodiments but is subject to various modifications within the scope and spirit of the appended claims.