Color image processing

Abstract: Interpolation processing is applied to the output of a look-up table in which a correlation between color-separation signals and density signals ideal for these color-separation signals are stored, with a quantization error produced when quantizing the color-separation signals being adopted as an interpolation coefficient. The quantization and the interpolation processing are executed in a uniform coordinate space.

Description: This invention relates to color image processing in which input signals are received as colour component signals. A method of color reproduction processing by a conventional digital color image copying apparatus using electrostatic photography or ink-jet printing includes color processing in which a color image output signal is obtained by referring to a table memory storing corresponding relationships for converting quantized color image signals of the colors red (R), green (G) and blue (B) into output printing signals of the colors cyan (C), magenta (M) and yellow (Y), respectively. However, in the conventional method of reproducing colors mentioned above, the following problems arise: (1) The method requires the provision of the aforementioned table memory, which is the equivalent of color processing for applying a masking operation to RGB density signals Dr, Dg, Db consisting of eight bits per color, and obtaining Y, M, C, K output signals also consisting of eight bits per color. As a consequence, a large memory capacity is required and cost is high. (2) Quantizing the memory input signal and reducing memory capacity means reducing the tone quality of the read image signal. As a result, the tone quality of the output image is eliminated and a false contour is produced, thereby greatly detracting from picture quality. (3) Reducing memory capacity while maintaining tone quality in an effort to solve the foregoing problems involves narrowing the reproduction range of the read image signal. This results in greatly diminished picture quality, such as deterioration of the output image at portions where saturation is high. EP-A-0273398 discloses a color image correction apparatus in which look-up tables are provided for color correction in which are stored accurate color correction data corresponding to input C, M and Y color components. An article by Kanamori et al (SPIE Image Processing Algorithms and Techniques, Santa Clara, California, 12-14th Feb 1990, Vol 1244, pages 272-281 entitled 'A novel color transformation algorithm and its application') discloses a color transformation algorithm which comprises a table look-up method and a color space interpolation method for realizing a simple structured real time color processor. GB-A-2053619 discloses an interpolation method using a unit cube of three dimensional color space which is divided into pyramids for performing the interpolation. The required output-input relationship is maintained by the interpolation in a level permitted by data stored in look-up tables. GB-A-2050751 discloses the production of color separated and color corrected images using look-up tables to perform a linear-to-logarithmic transformation. In accordance with one aspect the present invention provides a color image processing apparatus for converting color component data comprising color coordinates for a first color space into color density data comprising color coordinates for a second color space, the apparatus comprising: quantisation means (106) for quantising the color component data and for calculating a quantisation error which arises when the color component data is quantised; a look-up table means (107) for storing quantised color density data for said second color space addressed by the quantised color component data, said look-up table means (107) being responsive to the quantised color component data from said quantisation means (106) to output quantised color density data of equivalent color; interpolation means (108) for interpolating said quantised color density data using the calculated quantisation error to generate the color density data; and output means (103) for outputting the color density data; characterised in that: said quantised color component data uses coordinates of a cylindrical coordinate system expressed as a luminance component and an argument component and said look-up table means (107) comprises means for storing (107) said quantised color density data addressed by said quantised color component data. In accordance with another aspect the present invention provides a color image processing method for converting color component data comprising color coordinates for a first color space into color density data comprising color coordinates for a second color space, the method comprising the steps of: quantising the color component data; calculating a quantisation error which arises when the color component data is quantised; storing quantised color density data for said second color space addressed by the quantised color component data in a look-up table (107); looking up the quantised color density data of equivalent color to the quantised color component data; interpolating the quantised color density data using the calculated quantisation error to generate the color density data; and outputting the color density data; characterised in that: said quantised color component data uses coordinates of a cylindrical coordinate system expressed as a luminance component and an argument component and said look-up table (107) stores said quantised color density addressed by said quantised color component data. Embodiments of the present invention will now be described with reference to the accompanying drawings, in which: Fig. 1 is a block diagram illustrating the construction of a color image apparatus according to an embodiment of the present invention; Fig. 2 is a conceptual view illustrating the relationship among input signals in a look-up table in this arrangement; Figs. 3A and 3B are diagrams showing a color-coordinate distribution of input signals in this arrangement; Fig. 4 is a diagram illustrating the relationship between read image signals and quantized data in this arrangement; Fig. 5 is a diagram showing interpolated data and interpolation ratio for performing interpolation from referential data in the look-up table of this arrangement; and Figs. 6A and 6B are diagrams showing-Figs. 3A and 3B along with the memory space of a look-up table in an embodiment of the present invention. Fig. 1 is a block diagram illustrating the construction of a color image apparatus for illustrative purposes only. In Fig. 1, color-separation signals indicative of the three colors red (R), green (G) and blue (B) enter an A/D converter 101c built in a color-image input unit 101. The R, G and B color-separation signals are read in by an image reader 101a of the color-image input unit 101, or are read in by an external color-image reader 104, such as an electronic still-video camera, a host computer for creating computer graphics, or a video camera, and inputted via an interface 101b built in the color-image input unit 101. The A/D converter 101c proceeds to convert the inputted color-separation signals into digital signals each of which is composed of a prescribed number of bits. There is no limitation with regard to reference color stimuli of the color-separation signals for the three colors R, G, B converted into digital signals. However, in consideration of such points as the standardization of color-separation signals by an external image input unit, it is preferred that a signal format be adopted in line with the NTSC standard in which reference color stimuli of the respective color-separation signals R, G, B are stipulated as follows in terms of x-y coordinates in a CIE, XYZ colorimetric system: The R, G, B color-separation signals thus read and converted into digital quantities by the image input unit 101 are outputted to a color-image processing unit 102. The R, G, B color-separation signals inputted to the color-image processing unit 102 are converted into CIE uniform color-space coordinates (L*, a*, b*) by an L*a*b* converting circuit 105. In a case where the R, G, B color-separation signals are in line with the aforementioned NTSC standard, R, G, B and L*, a*, b* can be converted in accordance with the following relations: where X 0 , Y 0 , Z 0 are constants, and X, Y, Z represent the XYZ coordinates of the above-mentioned colorimetric system and are related as follows: The L*a*b* signals produced by the L*a*b* converting circuit 105 enter a quantizing/quantization-error arithmetic circuit 106 which performs quantization for converting the signals into address data of a look-up table 107, described below, and computes a quantization error produced when this quantization is carried out. Before the specifics of the quantizing/quantization-error arithmetic circuit 106 are described, the look-up table 107 will be explained in detail. The look-up table 107 is a memory constituted by ROM, RAM or the like. Input signals thereto serve as an addresses corresponding to the CIE uniform color-space coordinates (L*, a*, b*), and the output signals thereof are four signals for the colors yellow (Y), magenta (M), cyan (C) and black (K) corresponding to ink- or toner-print signals. Fig. 2 is a diagram showing the input/output concept of the look-up table 107. Addresses of the look-up table 107 represent the color coordinates of a color space expressed by the color coordinates L*a*b* . These coordinates correspond to values on the coordinate axes of a lattice shown in Fig. 2. In addition, the addresses of the look-up table 107 take on discrete coordinate values obtained by block-quantizing the interior of the L*a*b* color space. When certain color coordinates L*a*b* have been decided, the signal values of Y, M, C, K to be printed by the color-image output unit 103 are stored beforehand in the look-up table 107, as indicated by the small block in Fig. 2. Then, when these Y, M, C, K signals are subsequently printed by the color-image output unit 103, the values of these signals are determined by a correlation decided in such a manner that colors equivalent to those of the table input signals L*a*b* are obtained. It should be noted that a correlation between input data and output data of the look-up table 107 may be independent of an approximation equation. The memory capacity of the look-up table 107 depends upon the size of the block representing the color-reproduction range and the size of the small block representing the color-reproduction step. Fig. 3A is a diagram in which the read color range of the color-image input unit 101 is represented in L*a*b* space. Fig. 3B is a diagram showing an example of a positive image on the a*-b* plane of this color range. In Figs. 3A and 3B, the color distribution in the L* direction is about 20 (dark) through 95 (bright) and -80 through 80 in the a* and b* directions. In order to reproduce color-image signals representing such a color distribution, it is necessary for the size of the block shown in Fig. 2 to be made 20 through 95 in the L* direction and -80 through 80 in the a* and b* directions. When a table is created of input data, in which each axis of this color space is quantized into m-bit data, and output data of n-number of bits for each of the colors Y, M, C and K, the capacity of the memory is as follows: 2 3m+n-6 (bytes) The quantizing/quantization-error arithmetic circuit 106 quantizes L*a*b* = (L 0 a 0 b 0 ), obtained by the converting operation of the L*a*b* converting circuit 105, and converts these into m-bit signals serving as input signals to the look-up table 107. The L*a*b* conversion signals L 0 a 0 b 0 , the input signals to the look-up table 107, and the quantization error will be described with reference to Fig. 4. To simplify the description, the foregoing will be discussed in terms of one-dimensional coordinates along the a* axis from among the L*a*b* axes. The horizontal axis in Fig. 4 represents the a* axis among the input coordinate axes of the look-up table 107 shown in Fig. 2. The lattice points in Fig. 4, namely the a* coordinates corresponding to the addresses of the look-up table 107, are represented by a 1 , a 2 , a 3 , ···. As set forth above, addresses of the look-up table are quantized so as to enter the color distribution of an input signal in the form of a prescribed number of bits (m bits in this embodiment). Consequently, a 1 , a 2 , a 3 , ... possess discrete, discontinuous values. More specifically, if, for example, the look-up table adopted is one in which the color distribution -80≤a*≤80 for the a* axis is expressed by m = 5 bits, namely 32 tones, then the addresses will possess the lattice points a 1 , a 2 , a 3 , ... for every color difference (160/32) = (5). As shown in Fig. 4, "a 0 " of the L*a*b* conversion signals in most cases does not coincide with one of the lattice points but resides between lattice points. Accordingly, "a 0 " is converted into a point on the lattice by quantization such as a bit shift. As expressed in Fig. 4, "a 0 " becomes the input signal "a 1 " to the look-up table 107 by virtue of quantization. On the other hand, a quantization error δ produced by this quantization is as follows: δ = a 0 - a 1 In the quantization error calculation, an internal ratio γ is calculated as follows, where γ is the internal ratio at which this "a 0 " is formed by lattice points a 1 , a 2 on either side of "a 0 ": γ = a 0 -a 1 a 2 -a 0 The foregoing processing is executed entirely in uniform color space. In other words, in the computation of the internal ratio in uniform color space, the amount of the error ascribable to the quantization error has a correlation with a sense of shift in the human sense of color, and therefore interpolation, described below, at this internal ratio corresponds to a sensory correction. The internal ratio γ thus calculated is calculated in the same fashion for the b* and L* axes. The quantizing/quantization-error arithmetic circuit 106 calculates quantized data (L 1 , a 1 , b 1 ) of the image signals (L 0 , a 0 , b 0 ) as well as internal ratios ( γ l , γ a , γ b ) of the quantization errors. The items of quantized data (L 1 , a 1 , b 1 ) are entered as the input signals of the look-up table 107, as described earlier. As a result, (Y, M, C, K)l ab are outputted from the look-up table 107. Further, the look-up table 107 also simultaneously outputs one higher order address, namely address a 2 shown in Fig. 4, as a signal with regard to each of the L*, a* and b* axes. Fig. 5 is a diagram in which this is seen with regard to the yellow (Y) signal. In Fig. 5, Y (l,a,b) represents an output value based upon the quantized data (L 1 , a 1 , b 1 ), and Y (l+1,a,b) represents an output value at an immediately adjacent address (L 2 , a 1 , b 1 ) on the L* axis among the quantized data Lab. Thus, eight items of data at the lattice points shown in Fig. 5 are outputted to an interpolating circuit 108. The image data (L 0 , a 0 , b 0 ) prior to quantization internally divides the cube shown in Fig. 5 at the internal ratios γ l : (1-γ l ), γ a : (1-γ a ), γ b : (1-γ b ) along the L*a*b* axes, and therefore the internal dividing points are expressed as follows using the lattice points of the cube: Y = (1-γ l ) (1-γ a ) (1-γ b )Y (l,a,b) + γ l (1-γ a ) (1-γ b )Y (l+1,a,b) + (1-γ l )γ a (1-γ b )Y (l,a+1,b) + (1-γ l ) (1-γ a )γ b Y (l,a,b+1) + γ l γ a (1-γ b )Y (l+1,a+1,b) + γ l (1-γ a )γ b Y (l+1,a,b+1) + (1-γ l )γ a γ b Y (l,a+1,b+1) + γ l γ a γ b Y (l+1,a+1,b+1) Interpolated data are obtained in similar fashion for each of the colors M, C and K. The Y, M, C and K signals thus interpolated are outputted from the color image processing unit 102, and these are rendered into print signals in an electrostatic photographic or ink-jet system and recorded by being printed out by the image output unit 103. An output image is thus obtained. In the arrangement described above, an example is described in which uniform color space is a CIE L*a*b* coordinate system. However, the arrangement is not limited to the foregoing example. For instance, by putting Eq. (2) into the form of the following transformation equations, the same effects can be obtained even in a CIE LUV coordinate system: where Embodiment of the Invention In the arrangement described above, the input signals to the look-up table 107, the interpolation coefficients and the look-up table 107 use a rectangular coordinate system in which the orthogonal axes L*, a*, b* of an L*a*b* coordinate system are adopted as the coordinate axes. However, this embodiment of the present invention does not use this coordinate system but is otherwise similar. By using a cylindrical coordinate system expressed by absolute values γ, L* and an argument , the memory space occupied by the look-up table 107 is placed in a cylindrical system. By eliminating areas in which data does not exist in the rectangular coordinate system, the required memory capacity can be reduced even further. More specifically, as shown in the conceptual diagram regarding the look-up table 107 of Fig. 2, the look-up table becomes a rectangular parallelepiped comprising a collection of small blocks possessing equal volume in color space. Figs. 6A and 6B are diagrams showing the read color range of the color-image input unit 101 of Figs. 3A and 3B along with the memory space of the look-up table 107. As illustrated in Figs. 6A and 6B, a natural color distribution generally is distributed in concentric circles with achromatic color serving as the central axis in the a*-b* plane. That is, the shaded portions in Figs. 6A and 6B are areas in which corresponding colors do not actually exist, i.e., areas in which data is not present in the look-up table 107 comprising a rectangular parallelepiped. Therefore, in this embodiment, the memory space occupied by the look-up table 107 is placed in the form of a cylinder by using a cylindrical coordinate system expressed by absolute values γ, L* and an argument . By eliminating areas in which data does not exist in the rectangular coordinate system, the required memory capacity can be greatly reduced. In accordance with the present invention, as described above, interpolation processing is applied to the output of a look-up table based upon a quantization error produced when quantization is carried out. As a result, the memory capacity of the look-up table can be reduced and the cost of the apparatus can be lowered. In addition, color reproduction without loss of data can be realized, thus making it possible to maintain a high picture quality for the output image. Furthermore, in accordance with the present invention, an interpolation is performed by using levels of the density signals with regard to an output from a look-up table and quantizing error. Thus the interpolation becomes accurate and a degree of color reproduction for reproduced images can be increased. As many apparently widely different embodiments of the present invention can be made without departing from the scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims.

Claims: A color image processing apparatus for converting color component data comprising color coordinates for a first color space into color density data comprising color coordinates for a second color space, the apparatus comprising: quantisation means (106) for quantising the color component data and for calculating a quantisation error which arises when the color component data is quantised; a look-up table means (107) for storing quantised color density data for said second color space addressed by the quantised color component data, said look-up table means (107) being responsive to the quantised color component data from said quantisation means (106) to output quantised color density data of equivalent color; interpolation means (108) for interpolating said quantised color density data using the calculated quantisation error to generate the color density data; and output means (103) for outputting the color density data; characterised in that: said quantised color component data uses coordinates of a cylindrical coordinate system expressed as a luminance component and an argument component and said look-up table means (107) comprises means for storing (107) said quantised color density data addressed by said quantised color component data. The apparatus according to claim 1 including input means (101, 105) for inputting color separation data and for converting said input color separation data to said color component data for input to said quantisation means (106). The apparatus according to claim 2, wherein said input means (101) comprises: an image reader (101a, 101c) for generating color separation data consisting of red, green and blue color components based on an image read from an original; an external interface (101b) for inputting color separation data consisting of red, green and blue color components from an external device (104); and converting means (105) for converting the color separation data generated by said image reader (101a, 101c) or input by said external interface (101b) into said color component data for input to said quantisation means (106). The apparatus according to any one of claims 1 to 3, characterised in that said look-up table means (107) is adapted to store n-bit color density data at m-bit data addresses corresponding to m-bit color component data such that a correlation between inputs and outputs of said look-up table (107) is independent of an approximation by said quantisation means (106). The apparatus according to any one of claims 1 to 4, wherein the output color density data consists of yellow, magenta, cyan and black color components. A color image processing method for converting color component data comprising color coordinates for a first color space into color density data comprising color coordinates for a second color space, the method comprising the steps of: quantising the color component data; calculating a quantisation error which arises when the color component data is quantised; storing quantised color density data for said second color space addressed by the quantised color component data in a look-up table (107); looking up the quantised color density data of equivalent color to the quantised color component data; interpolating the quantised color density data using the calculated quantisation error to generate the color density data; and outputting the color density data; characterised in that: said quantised color component data uses coordinates of a cylindrical coordinate system expressed as a luminance component and an argument component and said look-up table (107) stores said quantised color density addressed by said quantised color component data. The method according to claim 6 including the initial step of inputting color separation data and converting said input color separation data to said color component data. The method according to claim 7, wherein said initial step comprises the steps of: generating color separation data consisting of red, green and blue color components based on an image read from an original; inputting color separation data consisting of red, green and blue color components from an external device (104); and converting the generated color separation data or the input color separation data into said color component data. The method according to any one of claims 6 to 8, characterised in that a correlation between inputs and outputs of said look-up table (107) is independent of an approximation in said quantising step. The method according to any one of claims 6 to 9, wherein the output color density data consists of yellow, magenta, cyan and black color components.

Inventors: HORIE YOSHIKO, KAWAI TAKASHI, OHTA EIJI, OHTA KEN-ICHI, SHONO SEITA, USAMI AKIHIRO, HORIE, YOSHIKO, KAWAI, TAKASHI, OHTA, EIJI, OHTA, KEN-ICHI, SHONO, SEITA, USAMI, AKIHIRO
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: H04N1
IPC codes: G03G15, G06T1, H04N1, G06T5