Abstract:
A color image processing apparatus comprises a detector for detecting an edge of an image and a control unit for controlling a black reproduction quantity for the edge in accordance with an output of the detector.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a color image processing apparatus for reproducing a color image. 
     2. Description of the Prior Art 
     In a prior art color image processing apparatus of this type, when a color image is to be read and reproduced, a text image is read by a scanner which decomposes it to red, green and blue component color images which are primary colors in an additive coloring system. Then, the component color images are processed by complementary color conversion, masking or undercolor removal to produce color image data of yellow, mazenta, cyan and black which are three primary colors in a substractive coloring system. The color image data are combined to produce the color image. 
     The color processing is performed prior to the combination of the color image data because inks of the respective component colors used to reproduce the color image, for example, yellow, magenta and cyan ink have spectram reflection factor characteristics which are different from ideal ones. 
     In the undercolor removal processing, undercolors of equal amount which form black are removed from the yellow, mazenta and cyan image data, and the black quantity (or black component) is calculated to obtain image data corresponding to a black. The processing is necessary to precisely reproduce gray which is hardly reproduced precisely by the three colors, yellow, mazenta and cyan. It is important in a printing technique that the same amount of inks are used in changing the three primary color inks into the black ink. 
     In the undercolor removal processing, a minimum density of the yellow, mazenta and cyan color component densities is set to 100% and undercolors of equal amount less than the minimum density are removed from the respective color component densities and the undercolors of the equal amount less than the minimum density represent the black quantity. The amount of undercolor removal in a normal color image processing is less than 50% of the minimum density, and a shadow area is reproduced by the black quantity calculated by the undercolor removal and the black formed by mixing the three remaining primary colors. If all of the minimum density (100%) were used as the black quantity a highlight area would appear too dark. In the prior art color image processing apparatus which reproduces the shadow area by the black produced by the undercolor removal processing and the black produced by the combination of the three colors, a full color image such as a color photograph which is colorful and includes gray areas can be reproduced by multi-color printing without any serious problems. However, when a color image text which includes the full color image and a monochromatic binary image such as black characters, or a detail area including fine lines drawn on a shadow area is to be read and reproduced, a problem is encountered. Since the black in the character or detail area is reproduced by superposition of the three colors and the black produced by the undercolor removal processing, the color becomes muddy and the edges of the characters or the detail areas become dim. 
     The black reproduction by the superposition of colors raises a problem of color offset. In an ink jet recording system which has recently been used as a color image recording system or a high speed recording system such as an electrophotographic system or thermal transfer recording system, the color offset by the superposition of colors raises a problem. When a text image which includes black characters in a half-tone color image is to be read and reproduced, the color offset of yellow, mazenta, cyan and black at the edges of the black characters is remarkable and the color of the characters becomes muddy or dim. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to improve a color image processing apparatus. 
     It is another object of the present invention to provide a color image processing apparatus having a high reproduceability for an edge of an image. 
     It is another object of the present invention to provide a color image processing apparatus having a reduced color offset. 
     It is another object of the present invention to provide a color image processing apparatus which clearly reproduces a black image in a shadow area or a character in a color image with a reduced color offset. 
     It is another object of the present invention to provide a color image processing apparatus which clearly reproduces a detail area in a shadow area or a black character in a color image by increasing a proportion of black produced by undercolor removal processing. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing a basic configuration of one embodiment of a color image processing apparatus of the present invention, 
     FIG. 2 is a block diagram of a detailed configuration of the embodiment, 
     FIGS. 3A and 3B are block diagram and characteristic curves of a black level detector and a reference threshold, 
     FIG. 3C shows an output data of an encoder 19, 
     FIG. 4 shows edge detection, and 
     FIGS. 5A to 5G show signal waveforms in the configuration of FIG. 2. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     FIG. 1 shows a basic configuration of one embodiment of the color image processing apparatus of the present invention. An edge detector 1 detects an edge quantity ED which represents a change in density at an edge of an image, and a black level detector 2 detects a black level BL of the image. The edge quantity ED and black level BL are supplied to a multiplier MUL which calculates undercolor removal quantity UCR and a black quantity (or a black component) CB which are proportional to the product of ED and BL. The UCR and CB are supplied to a subtractor SUB and an adder ADD, respectively. Yellow, mazenta and cyan densities Y, M and C are supplied to the subtractor SUB, which calculates three primary color densities YY, MM and CC by subtracting the undercolor removal quantity UCR from the respective densities Y, M and C. A black density K is supplied to the adder ADD, which produces a black density KK by adding the black quantity CB to the black density K. In this manner, variable undercolor removal is effected in accordance with the edge quantity of the image and the black level. 
     The principle of operation of the present embodiment can be readily understood by considering a black character in a half-tone full color image. A change of density at the edge of the black character is larger than that in other half-tone areas and a larger edge quantity is detected by the edge detector. Because of the black character, a black density K which corresponds to a minimum one of the yellow, mazenta and cyan densities Y, M and C is large. Accordingly, at the edge of the black character, the undercolor removal quantity UCR is large and the black character image having a larger UCR than other half-tone areas is reproduced so that the black character in the half-tone full color image is clearly reproduced. If the black quantity CB is larger than UCR, the edge of the black character is further emphasized. This principle of operation can be equally applied to the shadow area in the half-tone full color image. 
     FIG. 2 shows a detailed configuration of the color image processing apparatus of the present invention. Signal waveforms thereof will be explained later with reference to FIGS. 5A-5G. 
     In FIG. 2, a digital color image density signal is decomposed to yellow, mazenta and cyan color density signals Y, M and C, which are applied to input terminals 4, 5 and 6 and supplied to a minimum detector 7, an edge detector 8 and adders 12, 13 and 14 for the respective colors. The minimum detector 7 detects a minimum one of the digital color signals Y, M and C as a color signal black density K=Min {Y, M, C} which is supplied to the edge detector 8 and a black level detector 9. The black level detector calculates a black density level BL which is proportional to the color signal black density K. 
     The black density level BL is set to this level in order to effectively reduce color image information quantity. FIGS. 3A and 3B show an example thereof. FIG. 3A shows the black level detector 9. The 8-bit color signal black density K from the minimum detector 7 is supplied to first input terminals A of the comparators 16, 17 and 18, and different reference thresholds TH1, TH2 and TH3 are supplied to second input terminals B for comparison with the color signal black density K. 
     The reference thresholds TH1, TH2 and TH3 are set at unequal pitches as shown in FIG. 3B, and output signals from the comparators 16-18 are encoded by an encoder 19 which produces 2-bit signals as shown in FIGS. 3B and 3C. In this manner, the density levels in the shadow area can be represented with a smaller information quantity. 
     The edge detector 8 detects edges in the color signals Y, M and C by Laplacian. FIG. 4 shows an example of edge detection. In FIG. 4, pixels are shown around a pixel (i, j), and the edge quantity E which is a sum of differences between a density level P(i, j) of the pixel (i, j) and densities of adjacent pixels is obtained in the following manner. ##EQU1## where m≠i, n≠j and P(i, j) is the digital density data. 
     FIGS. 5A-5G show signal waveforms of the edge detector. The waveforms in FIG. 5 are digital signal waveforms. Let us assume that the color signal Y, M or C has edges of the signal waveform as shown in FIG. 5A. The rising edge and the falling edge are divided into two portions, respectively, around the centers thereof. The front portions and the rear portions are designated by A, B and C, D, respectively. The half-edge portions A, B, C and D are processed in accordance with the formula (1) so that the edge detector 8 produces signal waveforms EY, EM, EC and EK as shown in FIG. 5B. The result of the process to the non-edge area is always zero. Those signals are supplied to function converters 10 and 11 to which the black density level B shown in FIG. 5C from the black level detector 9 is applied. The function converters 10 and 11 produce functions f(EY.B), f(EM.B), f(EC.B) shown in FIG. 5D and f(EK.B) shown in FIG. 5E, using the edge quantity E and the black density level B as parameters. In FIG. 2, the functions for the color signals Y, M and C are proportional to both the edge quantity E and the black density level B for the half edges A and D, and the functions for the half edges B and C are converted to negative signals in proportion to both the edge quantity E and the black density level B. The color signal black density K is converted to a function proportional to both the edge quantity E and the color signal black density K, for the half edges A, B, C and D. 
     The functions for the respective color signals are supplied to signal addresses 12, 13 and 14 where they are added to the color signals Y, M and C, respectively. The function for the black signal K is supplied to a signal adder 15 where it is added to the black signal K. 
     
         YY=Y+f(EY.B)                                               (2) 
    
     
         MM=M+f(EM.B)                                               (3) 
    
     
         CC=C+f(EC.B)                                               (4) 
    
     
         KK=K+f(EK.B)                                               (5) 
    
     The signals YY, MM, CC and KK shown in FIGS. 5F and 5G represent the edges for the signals Y, M and C. For the edges, the densities of the color signals Y, M and C are reduced in accordance with the edge quantity to increase the black density or the UCR quantity. The signal waveforms shown by broken lines in FIGS. 5F and 5G are that shown in FIG. 5A. 
     In the color image processing apparatus of the present embodiment, the edge in the shadow area can be emphasized and the degree of edge emphasis can be changed in accordance with the black density level. 
     In accordance with the present invention, the proportion of the undercolor removed at the edge of the color image is increased and the black quantity is increased to emphasize the edge so that the black character in the half-tone color image or the detail area in the shadow area can be clearly reproduced without mud. 
     The present invention is not restricted to the illustrated embodiment but various modifications may be made within the scope of the appended claims.