Abstract:
A color image information processing apparatus includes a plurality of color separation circuits for separating input information into image information for the respective colors on the basis of constants and a CPU for comparing the image information for each color with a predetermined value, wherein each separation circuit changes a corresponding constant in accordance with the result of the comparison by the CPU.

Description:
This application is a continuation of application Ser. No. 300,728 filed Jan. 25, 1989 which is a continuation of application Ser No. 923,639 filed Oct. 27, 1986, both now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to color image processing apparatus such as, for example, digital color copying devices or digital color facsimile devices. 
     2. Related Background Art 
     In conventional color image processing apparatus of this type, a color original document is input as three different color signals, so that three different color (red, green and blue) filters are sequentially selected to separate corresponding colors, the corresponding images are scaled down by optical systems and collected on photo receptors such as a one-dimensional CCD to read the color signals. 
     Recently, a one-dimensional contact-type color sensor is often used in order to increase the quantity of light impinging on a CCD to enhance the S/N ratio, reduce the external dimensions of the color-document reader and facilitate the adjustment of optical systems such as lenses. 
     As shown in FIG. 2A, the contact-type color sensor includes a total of five CCD chips 200-204, about 50 mm long, arranged in staggered relationship so as to be able to read the 297 mm lateral range of an A-4 sized page. The filters for color separation are formed by putting down three layers of red, green and blue coloring matter on the CCD, as shown in FIG. 2B. 
     There is the problem that if a sheet of a document is read by those five CCD sensors 200-204, the balance among three colors for the five channels will be lost due to variations in the characteristics of the color separation filters among the five channels, the spectral sensitivity of the photo receptors, etc., thus, colors will vary from channel to channel. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a color image information processing apparatus which eliminates the above drawback. 
     It is another object of the present invention to provide a color image information processing apparatus which is capable of adjusting the balance in color among the read elements to obtain balanced color signals. 
     It is a further object of the present invention to provide a color image information processing apparatus which is capable of automatically adjusting the balance in color among input color image signals. 
     Other objects of the present invention will be apparent from the drawings and a detailed description to be given hereinafter. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of a signal processing system of a color copying device which is one embodiment of the present invention; 
     FIG. 2A illustrates a color contact sensor using five CCDs; 
     FIG. 2B illustrates r, g and b (red, green, blue) color filters layered on the CCDs; 
     FIG. 3 is a block diagram of a signal adjustment device; 
     FIGS. 4A and 4B are flowcharts for explaining the adjustment of color signals; 
     FIG. 5 illustrates the relationship between the document dotted area rate and the Di signal; 
     FIG. 6 is a block diagram of a color separation circuit; and 
     FIG. 7 is a block diagram of a coefficient adjustment device. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     One embodiment of the present invention will now be described in more detail. 
     COLOR COPYING DEVICE (FIG. 1) 
     FIG. 1 is a block diagram of a signal processing system of a color copying device which is one embodiment of the present invention. 
     Reference numerals 1-5 denote five channel CCDs and correspond to reference numerals 201-205 in FIG. 2. The light reflected by an original document is collected on CCDs 1-5 arranged in the main scan direction of the document. The color signals of red, green and blue (to be referred to as the r, g, and b signals hereinafter) from CCDs 1-5 are input in series to color separation circuits 6 and converted to signals having the same phase. Color separation correction is performed in accordance with the following linear matrix Equation (1): ##EQU1## 
     The r 1 , g 1  and b 1  are converted by A/D converters 7 to corresponding 8-bit digital signals, converted by LOG conversion circuits 8 from intensity data to density data and then input to a one-line processing circuit 11. This circuit 11 corrects the differences in spatial phase among the data from 5 channel CCDs 1-5 due to the disposition of CCDs 1-5 and produces one-line of data including 8-bit Dr, Dg Db density data. 
     A color correction circuit 12 digitally performs a corrective operation on deviations from the ideal spectral characteristics of three coloring matters of yellow (Y), magenta (M) and cyan (C), used at a printer 15 to form Y, M and C signals. Signal γ conversion circuit 13 adjusts the balance of a grey color obtained by overlapping three colors Y, M and C to output Y 1 , M 1  and C 1  signals. A dither circuit 14 performs halftone processing to supply to printer 15 one-bit data Y 2 , M 2  and C 2  corresponding to the presence/absence of a dot. 
     A color signal adjustment device 10 receives 8-bit digital data after LOG conversion, performs an adjustment operation, to be described later, on the data, and returns the result as 8-bit digital data to color separation circuits 6. It can select respective pieces of input data using a selector to adjust color separation circuits 6 for the 5 channels. 
     COLOR SIGNAL ADJUSTMENT DEVICE (FIGS. 3-5) 
     FIG. 3 is a block diagram of one embodiment of color signal adjustment circuit 10. 
     This circuit includes a CPU 30, a ROM 31 in which an adjustment program, data, etc., are stored, a RAM 32 which stores measured data and calculated data, an output port 33 which outputs an adjustment coefficient data to color separation circuit 6, an input port 34 which receives color signal data from LOG conversion circuit 8, an operation panel 35 and an internal bus 36 connecting these elements. Output and input ports 33 and 34 have output and input terminals 37-41 and 42-46, respectively, connected thereto and corresponding to the channels, whereby the respective input and output data are selectively output and input, respectively. 
     The adjustment of color signal adjustment device 10 will now be described. 
     Generally, color density signals D r , D g  and D b  output from LOG conversion circuits 8 are in proportional relationship to the dotted area rate of a color-printed document which is an original document. They are different from each other due to variations in the performance of the color separation filters and in the spectral sensitivity of the CCDs for the five channels. Color adjustment device 10 performs an adjustment operation to limit the differences among these signals and an objective value to within a predetermined range ±ε. 
     FIG. 4A is a flowchart of a main processing loop including three subroutines of steps S10-12. 
     At step S10, a r signal is processed with a cyan color patch; at step 11, a g signal with a magenta color patch; and at step 12, a b signal with a yellow color patch. 
     FIG. 4B is a flow chart of a subroutine for processing color signals shown in FIG. 4A. It should be noted that signals D r , D g  and D b  are generally designated as a signal D i . 
     Here, adjustment of red density signal D r  will be described. First, at step S1, a color patch of cyan complementary to red is used as an original and the cyan patch is read using CCDs 1-5. At step S2, input port channel 1, shown by reference numeral 42, is selected, and data D r  is input through this channel and the difference between the data and an objective value D t  is calculated (step S3). At step S4, when the measured value is larger than the objective value, control passes to step S5 where data D 1  -D 3  are output so as to make smaller the coefficient α in Equation (1). On the contrary, when at step S6 the measured value is smaller than the objective value, control passes to Step S7 where data to make the coefficient α larger is output to color separation circuit 6. The above operations are looped until the difference falls within ±ε. At step 8, this operation is repeated up to input port channel 5. 
     Similarly, color patches of magenta and yellow are used for green and blue density signals E g  and D b , respectively, and converged to the corresponding objective values. If the color patch used at this time has a dotted area rate of 90% or so, adjustment will become easy. 
     FIG. 5 shows the relationship between dotted area (%) of an original document plotted on the abscissa axis and D r , D g  and D b  signals (represented as D i   signal in FIG. 5) plotted on the ordinate axis. The ordinate axis represents the values normalized by a signal required for the printer to form dots on the entire surface of a printing sheet, i.e., the density of the normalizing signal being used as 100%. 
     In FIG. 5, the direction of changing and adjusting the objective value D t  and coefficient α when the dotted area rate is 90% is indicated by the arrow. 
     COLOR SEPARATION CIRCUIT (FIG. 6) 
     FIG. 6 is a block diagram of a color separation circuit 6. 
     r, g and b signals 60 output serially by CCDs 1-5 are amplified by a preamplifier 61 by a predetermined gain and converted to r, g and b signals 63-65 having the same phase by a sample and hold circuit 62 by changing the sampling timing. Now r, signal 63 will be considered. After signal 63 has passed a buffer 66, noise is removed by a low-pass filter 67. The signal is multiplied by the factors of 1 and -1 at multipliers 68 and 69 and subjected at an adder 70 to the matrix calculation shown in Equation (1). The resulting signal is passed through a buffer 71 and delivered as a r 1  signal 72 (r 1  =r-α 1 .g) to A/D converter 7. 
     A coefficient adjustment device 73 outputs the coefficient α 2  of Equation (1). It receives 8-bit data corresponding to the coefficient α 2  by signal D 1  from color adjustment device 10 and forms a signal 76 indicative of -α 2  r. Similarly, coefficient adjustment devices 74 and 75 form signals 77 and 78 indicative of -α 1  g and -α 3  g using signals D 2  and D 3 , respectively. 
     In adders 79 and 80, g 1  and b 1  signals 81 and 82 become g -α 2  r and b -α 3  g, respectively. 
     COEFFICIENT ADJUSTMENT DEVICE (FIG. 7) 
     FIG. 7 is a detailed block diagram of coefficient adjustment devices 73, 74 and 75. 
     A digital gain controller 91 (for example, AD 7524 available from Analog Devices Corporation) adjusts the gain on an input voltage Vin 90. 
     The relationship between the output V&#39; 92 from controller 91 and the input voltage Vin is represented by V&#39;=Vin/D where D is 8-bit data from color signal adjustment device 10. The D and the respective bits DB 0  -DB 7  have the following relationship: ##EQU2## Thus if DB 0  -DB 7  are changed in hexadecimal notation between 80 and FF, the gain will be set between 1 and 2. The signal from gain controller 91 is sign-inverted by an inverter 93. A differential amplifier 94 forms the difference between Vin and the signal from inverter 93 and outputs it as a Vout 96 via a buffer 95. 
     As a result, the input signal Vin 90 and the output signal Vout 96 have the relationship represented by the following Equation: 
     
         Vout=-αVin                                           (3) 
    
     where α is a value between 0 and 1. 
     In the particular embodiment, the set objective value D t  of a color signal when the complementary color patch is read is fixed. However, it is preferable to reduce the difference between the read signal value of a black patch and the read signal value of complementary-color patch by using black patches whose complementary colors have the same dotted area rate. It is obvious that this is easily realizable by adding to the particular embodiment the sequence of reading the color signal of a black patch. 
     As described above, according to the particular embodiment, automatic adjustment of the color balance in the color separation circuit renders inconspicuous a deviation of the balance in color among the channels and serves to greatly shorten the time required for the adjustment. 
     It should be noted that the present invention is not limited to the above embodiment and that various changes and modifications could be made within the scope of the attached claims.