METHOD AND APPARATUS FOR COLOR OUTPUT DEVICE CHARACTERIZATION

Abstract: The objet of the present invention consists in providing a color image processing method and apparatus for characterizing the color image signal values of a color output device using device-independent color representations. This means that the method and the apparatus of the present invention permit to determine the device-independent color values and to generate signals and hence the color image signal values for a color reproduction device, so that the color reproduction device produces colors which are identical or closest to target colors, in such a way that the human observer is not able to distinguish between the target color and the color produced by the color output device by means of the present invention. The method of the present invention consists preferably of two phases to determine the color image signal values A, B and C which will produce a desired minimum difference value (Delta)E, which indicates the difference between a given target color and the closest color produced by a color output device.

Description: METHOD AND APPARATUS FOR COLOR OUTPUT DEVICE CHARACTERIZATION FIELD OF THE INVENTION: The present invention relates to a method and apparatus for color output device characterization applicable to a wide range of color hardcopy technologies. In particular, the present invention provides a color image processing method and apparatus for characterizing the image signals of a color output device using device-independent color representations. In device-independent color communication, input and output devices (such as scanners and printing devices, respectively) have to be character¬ ized by device-independent color representations such as the CIEXYZ or CIEL a b coordinates. The goal of color characterization of output devices is to define the relation between the device-independent color representation and the device-dependent color image signals which con¬ trol the amount of colorants (inks, pigments, dyes, toners) used in the device to reproduce a color. Based upon this relation, a specific target color or colors of an original image can be reproduced with a high level of color correspondence. Preferably the color characterization also includes information on the color reproduction range or color gamut of the output devices. DESCRIPTION OF THE PRIOR ART: The European patent application EU.A. 0 264 281 discloses a method for printing a color on paper which matches a color on a CRT display. The technique is based on linear mixing calculations in the CIExyY color space. The European patent EU.P. 0 124 908 describes a method for obtaining halftone dot percents required to reproduce the color of a color speci- men by printing. The method is based on color density measurement. SUMMARY OF THE INVENTION: The object of the present invention consists in providing a color image processing method and apparatus for characterizing the color image signal values of a color output device using device-independent color representations (e.g. CIEL a b coordinates). This means that the meth¬ od and the apparatus of the present invention permit to determine the device-independent color values and to generate signals (e.g. digital signals, corresponding thereto) and hence the color image signal values for a color reproduction device, so that the color reproduction device produces colors which are identical or closest to target colors, in such a way that the human observer is not able to distinguish between the target color and the color produced by the color output device by means of the present invention. This system is universal, i.e. applicable to different color hardcopy technologies (offset, electrophotography, engrav¬ ing, photography, etc.). Color image signal values are preferably a combination of three values (a triplet ABC) used to generate three or more color control signals. Color control signals are a combination of three or more device-depen¬ dent signals such as, for example, RGB (red, green, blue) or CMYK signals, serving to control the processor of a color reproduction output device so that the latter produces the colors corresponding to these color control signals. They are called device-dependent since a same combina¬ tion of these color control signals will usually cause different color output devices to produce a different color. Device-independent color coordinates are used to uniquely define each color of the color spectrum. Device-independent coordinates are, for example, CIEXYZ or CIEL a b coordinates. A further object of the present invention is to achieve a high level of accuracy by distributing the color samples through the color space. This is done by using a high concentration of samples in the areas of the color gamut of the color output device with non-linear responses. Another object of the present invention is to achieve high accuracy while keeping the number of calculations low enough to provide a fast method and a practical and efficient apparatus. This is done by interpolating only a limited set of intermediate grid points in the ABC space of the device-dependent color image signal coordinate triplets of a color output device. Still another object of the present invention is to guarantee a color reproduction with a minimum perceived color difference between the target color and the reproduced color. This is achieved by using device- independent coordinates and a ΔE color difference criterion which corre- sponds closely to the color difference perceived by the human observer. Universality is achieved by using empirical data, interpolations and a processing method which make no assumptions about physical models or simulations of the color response of the color output device. In electronic image processing systems digital color transformations, by means of lookup tables, are used to transform various forms of color representations (tristimulus values from color scanners, RGB data for color monitors, CIE coordinates, etc.) into digital signals controlling color hardcopy output devices. For the present invention color samples may preferably be produced with a color output device, using combinations of color image signals, and these samples are preferably measured with a colorimeter or spectrophotometer resulting in device-independent color coordinates. A memory means stores the values of each combination of the color signal values and each corresponding measured device-indepen¬ dent color triplet in the form of a first conversion table, which relates the color image signal values and the measured device-independent color coordinates. When a specific target color, defined by its device-indepen- dent coordinate triplet, has to be produced (e.g. printed or exposed on a color film), the stored conversion table can be searched by a processor means to find the color image signal values needed to produce the specific target color. The setup of the conversion table is from color image signal triplets to device-independent coordinate triplets (e. g. CIEL a b triplets). The present invention allows to determine for a given device-independent coordinate triplet of a target color the device- dependent color image signal triplet which, when used to generate a color with a color output device, will at least approximate said target color. This means that the color produced with a color output device on the basis of the present invention will be identical to said target - -> color or approximate it in such a way that a human observer will not be able to distinguish between the target color and the color produced by the color output device. Each given target device-independent coordi¬ nate triplet and the corresponding device-dependent color image signal triplet determined according to the present invention may preferably be stored in a table, respectively as input and output triplets. This means that predetermined L*a*b* values may be used, which, for example, are equidistant or located at regular intervals or having natural integer values. Such a kind of inverted table may preferably be stored in the memory means of the color output device. With such an inverted table any target device-independent coordinate triplet can easily be transformed by interpolation, e. g. by tri-linear interpolation, into the device-depen¬ dent color image signal values, which are used by control drive means to control the generation of colors in the color output device. The method and the apparatus of the present invention are preferably used with multi-dimensional conversion tables containing data at locations which are not necessarily equidistant. Three-dimensional structures are being operated on and the combined result of three data sources of L , a and b values have to provide a minimum. The present invention does preferably not use a straightforward binary processing method, because such a method is difficult to implement in multi-dimensional data sets and will, in some cases, not converge to the optimum solution, i.e. color image signals producing the smallest possible color difference between the target color and the produced color. The method of the present invention consists preferably of two phases to determine the color image signal values A, B and C which will produce a desired minimum difference value ΔE, which indicates the difference between a given target color and the closest color produced by a color output device. During the first phase the method uses only the data stored in the first conversion table to locate a stored ABC triplet (called pivot point or pivot location) having a first smallest ΔE value. In this first phase preferably no interpolation is used to calculate additional data values. The method may already be ended after this first phase. During the second phase processor means sample a small search range around the pivot point, i.e. the above mentioned stored ABC triplet found in phase one, and the results obtained by any appropriate interpolation (e. g. tri- linear interpolation) are used to perform further steps (explained further on) leading to the device-dependent triplet with the desired minimum value of ΔE. Tri-linear interpolation is, for example, explained in the article "Color Gamut Mapping and the Printing of Digital Color Images" of M.C. Stone et al, published in ACM Transactions on Graphics, Vol. 7, No. 4, October 1988, pages 249-292, or in the book "Numerical recipes in C. The Art of Scientific Computing", especially paragraph 4.1, by Press, William H. et al, edited by Cambridge University Press, 1988. Phase two can preferably be performed according to three similar imple¬ mentations based on the same principle, i.e. preferably the reduction of the search range in the conversion table during execution of phase two, and preferably the selection of a new center value of the range during the second phase, if this new center value provides a smaller difference with the target color than the former center value. Since the center point does not necessarily coincide with the geometric center point of the search range, it will further on be called pivot point or pivot value instead of center point or center value, respectively. The preferred three implementations are: a) a binary method guaranteeing convergence to the optimum solution, i.e.. providing a desired minimum difference between the target color and the color produced by the color output device; b) a modified binary method which reduces the search range only when it is the pivot point which produces a minimum difference value, also guaranteeing convergence to the optimum solution; c) an incremental method similar to the modified binary method, but starting with a symmetrical range. The present invention puts only minimal constraints on the values select¬ ed for each of the color image signals (e.g. the values do not have to be equidistant), thus allowing a reduction of the number of color sam- pies needed to characterize the color gamut of a device, while main¬ taining a high level of accuracy. The color image signal values returned by the method and the apparatus of the present invention provide information on the location of the color belonging to the color gamut of the color output device and being closest on identical to the target color. Moreover, the method and apparatus preferably provide informa¬ tion about colors that cannot be reproduced by the device, i.e. which lay outside its color gamut. Color image signals including minimum or maximum values indicate that the color to be produced is located on the border of the color gamut of the color output device. In this case, the presence of a large color difference with the target color indicates that the target color is out of gamut and cannot be produced by the color output device. This information can also be stored in a conversion table to make it available for later use. The objects of the present invention are reached by means of a method and apparatus as defined in the claims. Other objects, effects and functions of the present invention will become clear from the following description of the preferred embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is an illustration of the color reproduction range of a color * * * output device in CIEL a b coordinates; Fig. 2 is a representation of one-dimensional lookup tables con¬ taining values for color image signals A, B and C indexed respectively by k, 1 and m; Fig. 3 is a representation of a three-dimensional lookup table containing L values indexed by k, 1 and m; Fig. 4 is an illustration of a pivot point surrounded by 26 points located on a three-dimensional (cuboic) shape; Fig. 5 is an illustration of the data layout of a two-dimensional example belonging to the three-dimensional color space; Fi *ge>.- 6 is an illustration of the ΔE results in the two-dimensional example of Fig. 5; Fig.7a-7d show the ΔE results for each iteration of the binary meth- od of the present invention; Fig. 8a-8f show the ΔE results for each iteration of the modified binary method of the present invention; Fig. 9a-9c show the ΔE results for each iteration of the incremental method of the present invention; Fig. 10 illustrates a system of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT OF THE INVENTION Fig. 1 typically illustrates the range of color reproduction or color gamut * * * of a color output device in device-independent CIEL a b coordinates. Each color in this range is produced by a specific combination (triplet) of color image signal values represented by A, B, and C. The relation between the L a b values (triplet) and the color image signal triplets can be represented by the following equation: (∑Λ a * , = f out (A, B, C)i (1) i = 1, ..., n being a natural number indicating a specific triplet. In electronic color reproduction systems these color image signal values A, B and C will generate three or more color control signal values, e.g. RGB signals serving to convey values for each of the primary colors red (R), green (G), and blue (B) in additive color processing, or CMYK (Cyan, Magenta, Yellow and Black) signals used in substractive color reproduction systems. To characterize a color output device (30) as shown in Fig. 10, a multi¬ plicity of combinations (triplets) of the three color image signal values A, B and C can be selected to produce test pages containing color samples which are preferably measured with a colorimeter (40) or a spectrophotometer outputting device-independent coordinate triplets. The L*a*b* triplet of the target color may preferably also be obtained by inputting an original image into a color input device (e.g. scanner) which outputs the device-independent coordinates of the colors of this image, if the color input device has been calibrated in order to provide device- independent color coordinates. Each measured CIEL a b triplet has a corresponding ABC triplet, and this information is stored in a memory * * * means (20) in the form of a conversion table (A, B, C; L , a , b ) representing the relation of equation (1). Using the method of the present invention a data processor means (10) determines on the basis of this conversion table the ABC triplet by which a target color, speci- * * # fied by its L a b coordinate triplet, can be reproduced by the color output device. This ABC triplet is used by control means of said color output device to control the generation by the color output device of a color identical or closest to the target color. The data processor means (10) may preferable contain the control means of said color output device. The data processor means (10) and/or the memory means (20) may preferably be included in the color output device. The present invention can be preferably applied in two cases. The first case occurs when a single or very few target L b triplets (correspond¬ ing to specific target colors), which are not available as such in the conversion table, have to be found together with its or their correspond¬ ing color image signal values. The second case occurs when frequently for a large amount of target L a b triplets, which are not available as such in the conversion table, the corresponding color image signal values have to be found. Each given target device-independent coordinate triplet and the corre- sponding device-dependent color image signal triplet, determined by the method of the present invention, may preferably be stored in memory means in the form of a conversion table, respectively as input and output triplets. Such an inverted table may preferably be stored in the memory of the color output device. With such a conversion table, the processing means of the color output device will easily transform any target device-independent coordinate triplet, e.g. by tri-linear interpolation, into the device-dependent color image signal values, which are used by control or drive means to control the generation of color in the color output device. With this table a transformation is established from * * * CIEL a b values into ABC color image signal triplets. (A, B, C) i = f oiπv (L * , a * , b * ); (2) i having the same meaning as in equation (1). The different locations in the conversion table contain the values of the color image signal triplet and are addressed by the L a b coordinates. For ease of use and fast access it is preferable to select equidistant values for the L a b entry points of the table, the number of which define how large the table and how accurate the results of interpolated values will be. The original or first and the inverted conversion table may also be built with other device-independent coordinates, e.g. LCH coordinates (Luminance, Chroma, Hue). For this it is sufficient to have a transformation from the LCH triplets to CIEL a b coordinate triplet to be able to use the present invention. The apparatus of the present invention may advantageously include means for performing this transfer- mation. In a similar way, a conversion table from device-dependent color image signals from a color input device (e.g. a scanner) to color image signals controlling a color output device can be built, provided the device-dependent input signals can be transformed into CIEL a b coordi- nates (e.g. by calibrating the color input device). In a similar way, if given device-dependent color signal values of a color input device have been transformed into device-independent coordinates, the present invention can be used to determine the color image signal values by which the color output device can produce a color identical or closest to the target color which has been input in the color input device and which corresponds to these given device-dependent values. The apparatus of the present invention may preferably provide informa- tion on the color gamut of the output device about L a b triplets which cannot be reproduced. For such out-of-gamut colors the method will return the color image signal triplets ABC corresponding to a color on the border of the color gamut closest to the out-of-gamut color, and the color difference value ΔE provides information about the distance be- tween the target color and the reproduced color. The first conversion table stored in the memory means contains the measured L a b triplet of the color samples and the corresponding color * * * image signal triplets ABC with which these L a b triplets can be pro- duced when the color image signals are applied to the processing means of a color output device. To provide an efficient access method to the stored data a three-dimensional structure is preferred. Each axis of this structure is respectively defined by the values selected for the color image signals A, B and C. One-dimensional lookup tables may preferably be used to store the respective values A, B and C, thus increasing the flexibility in the selection of color image signal values for the production of color sam¬ ples. The values for A, B and C are stored in the respective lookup tables and indexed respectively by k, 1, m as shown in Fig. 2. Each selected value of A, B, C is thus uniquely defined by its index value, respectively k, 1 and m. The use of one-dimensional lookup tables for the respective values A, B and C offers a high flexibility with A, B and C being independent from each other. For example, the distance be- tween two consecutive A values may be different from the distance between two consecutive B values (or C values). It is also possible to have a different number of values for A, B and C. This would mean that the ABC three-dimensional structure is not necessarily a cubus but could be a cuboic. Each color sample produced by an ABC triplet can preferably also be referenced by the corresponding values of the k, 1, and m indexes. This allows to store the corresponding measured values of the L a b triplet of each color sample in three-dimensional struc¬ tures addressed by the same k, 1, m indexes (as shown in Fig. 3), since the values of a L a b triplet corresponds with an ABC triplet. Any combination of k, 1, m values can be used to locate the values of the color image signals A, B and C in the one-dimensional lookup tables shown in Fig. 2 and the corresponding measured L a b triplets in the three-dimensional structure shown in Fig. 3. The goal of the preferred embodiment is to find the L a b triplet and, hence, the corresponding device-dependent ABC triplet, which will pro¬ duce the smallest ΔE color difference value between the CIEL * a * b * coordinates of the target color and the CIEL a b coordinates of the closest color which the device can produce. ΔE is defined by the following equation: ΔE = rΔL *2 + sΔa *2 + tΔb *2 (3) with ΔL * = L * target - L * search Δa = a target - a search Δb * = b'target - b * search ΔL, Δa and Δb represent the difference between the CIEL a b coordina¬ tes of the target color and the L a b values generated by the method. The parameters r, s and t are weight values and can have the value of one or any other value and may have the same or a different value. If the parameters r, s and t all have the value of one, the equation (3) then represents the official CIE ΔE definition. The method of the present invention follows preferably a two-phase ap¬ proach to determine the A, B, C values which will produce the desired minimum ΔE. During the first phase the method uses only the data stored in the conversion table to locate a stored ABC triplet (pivot point or pivot value) producing a first smallest ΔE. In this first phase no interpolation is used to calculate additional data values. During the second phase a small range around the pivot point, i.e. the above men¬ tioned stored ABC triplet found in phase one, is sampled and the result obtained by tri-linear interpolation or any other appropriate interpolation is used to follow further steps (explained in detail further on) leading to the desired minimum value of ΔE. The aim of phase one is to locate in the conversion table the stored device-independent coordinate triplet of the color sample which has the smallest color difference ΔE value with the CIEL a b color coordinates of the .target color. This is preferably achieved by sequentially selecting all combinations of the k, 1, m indexes, and for each combination using the corresponding L a b triplet from the three-dimensional structure to calculate the color difference ΔE with the target color L a b triplet. At the start of phase one, for the first k, 1, m combination the ΔE value is calculated and is stored in memory means. Each following new ΔE of other k, 1, m combinations is compared with the previously stored ΔE value. If the new ΔE value is smaller than the stored ΔE value, the stored value of the minimum ΔE will be updated to this new ΔE value together with the new corresponding values of the k, 1 and m indexes. At the end of this sequence the last stored index values ks, Is, ms will point to the values of the color image signal coordinate triplet Ac, Be, and Cc corresponding to the color sample having the smallest color difference ΔE with the target color, i.e. between their respective CIEL a b triplets. The Ac, Be and Cc are used as pivot point in phase two, if phase two is executed. Phase two is started by defining a set of new ABC triplets in a specific range surrounding the pivot triplet found in phase one. The locations of these new ABC triplets depend on the search range selected in the ABC space as will be explained hereafter. For these new ABC triplets the corresponding triplets of L , a and b values are calculated by interpolation, e.g. by tri-linear interpolation, and for each ABC triplet * * # and corresponding calculated L a b triplet the ΔE with the target color is determined. The ABC triplet of this set producing the device-inde¬ pendent L a b triplet having the smallest ΔE will then preferably be used as a new pivot triplet to define again a new set of A, B, C trip¬ lets around this new pivot triplet. If two or more L a b triplets pro- duce the same smallest ΔE, then either one of these triplets is the pivot point and is then maintained as such, or the first triplet of these triplets which provides the smallest ΔE is taken as new pivot point. The proce¬ dure of phase two described above can then preferably be repeated until the ABC triplet and the corresponding L a b triplet with the desired minimum ΔE are found. Phase two can preferably be implemented in three different ways. In the following description the method applied in a three-dimensional structure (ABC space) will be explained by means of two-dimensional examples for ease of representation (Fig. 5-9). a. Binary method The ks, Is, ms values resulting from phase one refer to color image signal values which can be found in the one-dimensional lookup tables shown in Fig. 2. These color image signal values corresponding with ks, Is and ms will be named Ac, Be, and Cc, respectively, i.e. the pivot triplet Ac, Be, Cc. Now six range or increment values are defined referring to up and down directions, i.e. the respective A, B and C axis in the three-dimensional ABC structure (range-Ac-up, range-Ac-down, range-Bc-up, range-Bc-down, range-Cc-up and range-Cc-down) thus defining two additional points on each A, B and C axis. With these six ranges 26 new points, i.e. 26 new ABC triplets, can be located around the pivot triplet Ac, Be, Cc on a cuboic shape as shown in Fig. 4. The values for these ranges can be fixed or can be a function of the Ac, Be and Cc values. There are many possibilities to implement such a function. The examples described below illustrate how the ranges can be derived from the Ac, Be and Cc values. Given the values of Ac, Be and Cc, the differences with the respective values located just above and below in the one-dimensional lookup tables of Fig. 2 are calculated and these differences, or a somewhat smaller value (e.g. 80%) or the closest binary value (e.g. 2, 4, 8, 16, 32, ...), are used as the initial values of the ranges. A very flexible way to define these ranges is, for example, to use one-dimensional lookup tables, similar to those shown in Fig. 2, indexed by k, 1 and m to store the preferred selected range values. With the target CIEL a b triplet chosen in this example (L = 36,1; a * = 31,2; b = -12,7), phase one resulted in the pivot point Ac = 8 and Be = 4. The two-dimensional diagram in Fig. 5 shows a part of the A and B axes and the selected values of A (0, 8, 20) and B (0, 4, 18) that where used to produce color samples. The measured L , a , b triplets of the nine (27 in the three-dimensional ABC structure) color samples are also indicated. Fig. 6 shows the ΔE values of these nine color samples. For the value Ac = 8 the values 0 and 20 are the values respectively just above and below the Ac. In the example below, for the first iteration, the difference between Ac and the respective values just above and below are halved to define the respective up and down increments in the up and down A direction, e.g. range-Ac-up and range-Ac-down. The same can be said for B (0, 4, 18). As already mentioned, Fig. 5 and 6 show only the two-dimensional part of the example. It is obvious that for the C direction a similar process is used since, in reality, the triplet values A, B and C of the ABC space are used. The 26 new points located on the sides of the cuboic will have coor¬ dinates which usually do not coincide with the respective values in the A, B and C lookup tables (for example, they will be at any location in Fig. 5 except at the nine with known CIEL a b values). For each of these 26 ABC triplets the corresponding L a b triplets can be calculated by tri-linear or any other known method of interpolation. The following equations are used in tri-linear interpolation: The triplets ABC are the coordinates of the eight neighboring points. Since the ABC space is a three-dimensional space, eight (2 3 ) coefficients are necessary. Each of these eight coefficients are multiplied with the L a b triplet of one of the respective eight ABC triplets neighboring the ABC triplet of which the L a b triplet values have to be calculated. The u, v and w values represent the ratio of the location of the respec¬ tive A, B and C values of that ABC triplet with respect to the respec¬ tive A, B and C values of the selected neighboring points on the A, B and C axis, respectively. The ratio is calculated for each axis by divid- ing the projected distance between the ABC triplet and its lower neigh¬ bor by the projected distance between the higher and the lower neighbor for each respective axis. The example herebelow illustrates the interpolation in a two dimensional structure for ease of representation. This means that instead of eight there are four (2 2 ) coefficients to be calculated. The interpolation example aims at finding the L a b triplet with the corresponding ΔE for the (A, B) = (7,10) depicted in Fig. 7b. The neighboring points on the A axis are 0 and 8, whereas the neighboring points on the B axis are 4 and 18, hence forming the pairs (0, 4), (8, 4), (0, 18) and (8, 18) for each of which the respective coefficients are calculated as shown in the table below. The u value is (7-0)/(8-0) = 0,875 and the v value is (10- 4)/(18-4) = 0,429. The table also shows the L * , a * and b * values for * * * each of the four pairs. These L a b triplets are all known from the first conversion table mentioned above. The L , a and b values of these four L * a * b * triplets are multiplied with the respective coefficient as shown in the following table. The results of the calculation have been rounded off to three digits after the comma. Sum Target L * a"b * Δ ΔL" 2 +Δa' 2 +Δb *2 = ΔE 2 ΔE The respective sums represent respectively the L = 33,839; a = 30,821 and b * = -15,661 of the pair (A, B) = (7, 10). The value Δ represents the difference between each of the sums and the respective target L , a and b values. The L , a , b values obtained by interpolation are then used to calcu¬ late the color difference ΔE with the L a b triplet of the target color. The ΔE results of the 27 triplets, i.e. the 26 new ones and the pivot triplet, are compared with each other and the point giving the smallest ΔE is selected as the new pivot triplet. The coordinates of this new location (pivot point) are now named Ac, Be, Cc and the process described above is restarted with smaller ranges (i.e. smaller increments); e.g. increment i+ 1 = r x increment;, where r < 1 (if desired, a different r value may be used for every range and for every iteration) and i being a natural number indicating which iteration the range is belonging to. This process can be repeated until a ΔE value is found which is smaller than a pre-defined minimum or until the ranges become zero. This condition presents a problem in three-dimensional structures because the different ranges will decrease in a different way and one range will probably become zero or reach its predefined minimum before the others do (see example below). In that case the process must not be stopped since the minimum ΔE may not have been found yet. In the preferred example given here below the ranges will not be redu¬ ced to zero, but will be maintained at a minimum value of one. The processing preferably be stopped when a ΔE value is found smaller than the predetermined minimum or when all three ranges (in the A, B and C direction, respectively) are reduced to one and the smallest ΔE is provided by the pivot point. Fig. 7 shows the sequence of events when the binary method described above is used with the data in the two-dimensional example. Fig. 7a shows the results of the first iteration starting from the pivot location Ac = 8, Be = 4 and the eight points obtained with the ranges: range-Ac-down = 4, range-Ac-up = 6 range-Bc-down = 2, range-Bc-up = 7 Range-Ac-down is found by (8-0)/2; range-Ac-up is (20-8)/2; range-Bc- down is (4-0)/2; range-Bc-up is (18-4)/2. For the second iteration the point (or location) with ΔE = 5.7 (A = 4, B = 11) is selected as new pivot point since this is the smallest ΔE provided by this set of 9 points (or 27 in the three-dimensional ABC structure). The ranges are, for example, reduced to respectively 2, 3, 1 and 3 by dividing the previous ranges by two and rounding off to the lower integer. The result is shown in Fig. 7b. For the third iteration the point with ΔE = 3.7 (A = 7, B = 10) is selected as new pivot point and the ranges are reduced to respectively 1, 1, 1 and 1. As explained previously, the range-Bc-down which had a value of one is not reduced to zero but is maintained at one. This allows the method to be continued in the B-down direction, too. The result is shown in Fig. 7c. For the fourth iteration the point with ΔE = 1.7 (A = 6, B = 9) is selected as the new pivot point and the ranges are maintained at 1, 1, 1 and 1. The result is shown in Fig. 7d. With this iteration the minimum ΔE is found at the location with Ac = 6 and Be = 8. This ΔE is smaller than the predefined minimum ΔE and therefore the method is ended. Extending this to the three-dimensional ABC struc- ture, a Cc value would, of course, also be provided, which together with the Ac : and Be values represents the triplet providing this minimum ΔE. b. Modified binary method When one of the ranges in the binary method described above is much smaller than the other ranges, it decreases to the predetermined mini¬ mum value very early in the course of the method, thus reducing the effectiveness of that method. The modified binary method avoids this effect. Its iterations are the same as the ones of the binary method, except that the ranges are only reduced when the smallest ΔE value is found for the point located inside the cuboic, i.e. pivot point. This means that the pivot point is the same as in the previous iteration. In all other cases (the 26 points on the sides of the cuboic) the ranges are not reduced. The criteria for stopping the method are the same as in the binary method. Fig. 8 shows the sequences occurring when this method is used with the data of the two-dimensional example. Fig. 8a is identical to Fig. 7a since the first iteration values of both methods are the same. For the second iteration the location with ΔE = 5,7 (A = 4, B = 11) is select¬ ed as new pivot point. The ranges are not reduced, since this new pivot point is different from the one used during the first iteration. This leads to the result shown in Fig. 8b. For the third iteration the location with ΔE = 2,9 (A = 4, B = 9) is selected and the ranges are not reduced. This leads to the result shown in Fig. 8c. For the fourth iteration the location with ΔE = 2,9 (A = 4, B = 9) is the same pivot point as in the third iteration and therefore the ranges are reduced to respectively 2, 3, 1 and 3. This leads to the result shown in Fig. 8d. For the fifth iteration the location with ΔE = 1,2 (A = 7, B = 8) is selected and the ranges are not reduced. This leads to the result shown in Fig. 8e. For the sixth iteration the location with ΔE = 1,2 (A = 7, B = 8) is the same pivot point as in the fifth iteration and therefore the ranges are reduced in this case to 1 1, 1 and 1, respectively. This leads to the result shown in Fig. 8f. With this iteration the minimum ΔE is found at the location with Ac = 6 and Be = 8. This ΔE is smaller than the predefined minimum ΔE and therefore the method is stopped. c. Incremental method The modified binary method avoids the fast reduction of the smallest range to a predefined minimum value of one, but, on the other hand, the large ranges maintained at the beginning of the method introduce additional iterations. The incremental method also avoids the fast reduction of the smallest range to a value of one, however, without introducing additional iterations. The method starts with sufficiently small and identical ranges so that they simultaneously decrease to zero. The testing of the criteria for stopping the method becomes easier to implement too, since the values of the ranges do not have to be checked individually. Fig. 9 shows the sequences occurring when this method is used with the data of the two-dimensional example. Fig. 9a shows the results of the first iteration starting from location Ac = 8, Be = 4 and the eight loca¬ tions obtained with all the ranges equal to 4. For the second iteration the location with ΔE = 2,5 (A = 8, B - 8) is selected as new pivot point and the ranges are not reduced. This leads to the result shown in Fig. 9b. For the third iteration the location with ΔE = 2,5 (A = 8, B = 8) is the same pivot point as in the second iteration and therefore the ranges are reduced from 4 to 2. This leads to the result shown in Fig. 9c. With this iteration the minimum ΔE is found at the located with Ac = 6 and Be = 8. This ΔE is smaller than the predefined minimum ΔE and therefor the method is stopped. The final result of each of the three implementations of the method is a triplet of ABC values, the corresponding triplet of L a b values and the resulting ΔE. If the ΔE is larger than the predetermined minimum, this means that the target color is not within the color gamut of the color output device and cannot be reproduced accurately by this device. In this case the triplet of ABC values will contain one or more mini- mum or maximum values defining a location on the border of the color gamut closest to the target color and the ΔE value indicates how far the target color is located from this border value. The above preferred embodiments have been described using the CIEL a b color space. However, one may also start with the LCH space, the Luv space or any other device-independent color space. For each LCH triplet the corresponding CIEL a b triplet can be calculated using the following equations: L = L (4) a = C x cos(H) (5) b = C x sin(H) (6) The resulting L a b values are then used as target color coordinates in the above described method. The values of the color image signals A, B and C returned by the method can be stored in an inverted conver¬ sion table indexed by the L, C, H triplets. Also the "out-of-gamut" information (ΔE value and an "out-of-gamut" indicator) can be stored in a similar conversion table also indexed by the L, C, H triplets. Thus, one can set up a conversion table for predictive color reproduction of colors defined by LCH (Luminance, Chroma, Hue) coordinates. This is illustrated by the following example. The grid of the conversion table, for example, is defined by 11 values for L (from 0 to 100 in increments of 10), 11 values for C (from 0 to 100 in increments of 10) and 24 values for H (from 0 to 360 in increments of 15). This gives 11 x 11 x 24 = 2904 combinations of LCH coordinate triplets. For each LCH combination the present invention is applied to find the ABC triplets which can then be stored in the conversion table indexed by the LCH triplets.

Claims: C L A I M S 1. Method for generating device-dependent signals representative of target colors, using a first conversion table containing device-depen- dent color image signal triplets of a color output device and their corresponding device-independent coordinate triplets, said method comprising: (1) determining in said conversion table a first device-independent coordinate triplet having the smallest color difference value ΔE with the device-independent coordinate triplet of a target color, and (2) determining from said first determined device-independent coor- dinate triplet a device-dependent color image signal triplet which, when employed to generate a color with said output device at least approximates said target color. 2. Method according to claim 1, wherein said conversion table relates actual device-dependent color image signal triplets with device-inde¬ pendent coordinate triplets measured from the color generated by said respective actual device-dependent color image signal triplets with said color output device. Method according to claim 1 or 2, further comprising: (3) storing the device-independent coordinate triplet of said target color as input triplet and said device-dependent color image signal triplet, determined during step (2), as output triplet in the form of a second conversion table. 4. Method according to one of the preceding claims, wherein said determining in step (2) is based on a group of known preselected device-dependent color image signal triplets surrounding a given device-dependent color image signal triplet, the device-independent coordinate triplets of said preselected device-dependent color image signal triplets and said given device-dependent color image signal triplet being either known or calculated by interpolation from device- independent coordinate triplet/device-dependent color image signal triplet sets known from said first conversion table; the device-depen¬ dent color image signal triplet for which a color difference value ΔE is the smallest being selected as the generated device-dependent color image signal. 5. Method according to one of the preceding claims, in which said color difference value ΔE is the distance in the device-independent CIEL a b space between the device-independent coordinate triplet of said target color and the device-independent coordinate triplet corresponding to a device-dependent color image signal triplet in particular the weighted distance. 6. Method according to one of the preceding claims, in which a de¬ vice-dependent color image signal coordinate triplet, preferably corresponding to said first device-independent coordinate triplet, is indicated as pivot triplet Ac, Be, Cc; said step (2) further compris¬ ing the following steps: (a) selecting for each value of said pivot triplet Ac, Be, Cc a positive and negative increment on the respective A, B and C axis of the ABC color space of said output device, thus defin¬ ing two new additional points on each A, B and C axis; (b) determining all possible A, B, C combination triplets from said pivot triplet and said increments and calculating the correspond¬ ing device-independent coordinate triplet by interpolation using the device-independent coordinate triplets stored in said conver¬ sion table for ABC triplets neighboring said increment triplets; (c) calculating for each said calculated device-independent coordi¬ nate triplet the difference value ΔE with the device-independent coordinate triplet of said target color; (d) selecting from the A, B, C combination triplets and the pivot triplet the one corresponding to the calculated device-indepen¬ dent coordinate triplet presenting the smallest difference value ΔE as new triplet Ac, Be, Cc; (e) ending the method, preferably when said smallest calculated error value ΔE is smaller than a predetermined minimum differ¬ ence value, and using said new pivot triplet Ac, Be, Cc as the generated device-dependent signal; or repeating steps (a) to (e) employing said new triplet Ac, Be, Cc as pivot triplet. 7. Method according to claim 6, in which at least one, preferably each of said increments, of step (a) is reduced by a predetermined value in comparison with the previous increments or maintained at a s respective predetermined minimum value, thus defining two new additional points on each A, B and C axis. 8. Method according to claim 6 or 7, in which step (e) comprises ending the method when said increments are equal to their respec- 0 tive predetermined minimum value and when the new triplet Ac, Be, Cc is identical to the one of the previous iteration, and using the triplet Ac, Be, Cc as the generated device-dependent signal. 9. Method according to claim 7 or 8, in which said reducing is only s executed if said new triplet Ac, Be, Cc is identical to the previous triplet Ac, Be, Cc. 10. Method according to one of the claims 6 to 9, in which all incre¬ ments in said step (a) have a same distance with respect to said 0 pivot point on each of the three A, B and C axes. 11. Method according to one of the claims 7 to 10, in which all incre¬ ments are reduced so as to have a same distance with respect to said pivot point on each of the three A, B and C axes. 5 12. Method according to one of the preceding claims 1 to 8, step (e) furthermore indicating the presence of a target color which is out of the color gamut of said color output device. 13. Method according to one of the claims 6 to 12, step (e) indicating the presence of a target color which is out of the color gamut of said output device, if at least one value of said new triplet Ac, Be, Cc is a minimum or a maximum value of the A, B, C space of said color output device and said corresponding difference value ΔE is larger than said predetermined minimum difference value. 14. Apparatus for generating device-dependent signals representative of target colors, comprising: (a) input means for receiving a device-independent coordinate triplet of a given target color; (b) first memory means in which a conversion table is stored, said conversion table containing device-dependent color image signal triplets of a color output device and their corresponding device- independent coordinate triplets; (c) data processor means for performing, on the basis of said conversion table, a conversion of said device-independent triplet of said given target color into a device-dependent color image signal coordinate triplet which, when employed to generate a color with said color output device, at least approximates said target color. 15. Apparatus according to claim 14, further comprising: (d) second memory means for storing the device-independent coor¬ dinate triplet of said target color as input triplet and said device-dependent color image signal triplet, which at least ap- proximates said target color, as output triplet in the form of a •. second conversion table. 16. Apparatus according to claim 14 or 15, said apparatus being said color output device. 17. Apparatus according to one of the claims 14 to 16, in which said data processor means further comprises: first determining means for determining, in said conversion table, a first device- independent coordinate triplet having the smallest color difference value ΔE with the device-independent coordinate triplet of said target color; and second determining means for determining from said first device- independent coordinate triplet a device-dependent color image signal coordinate triplet which, when employed to generate a color with said output device, at least approximates said target color. 18. Apparatus according to claim 17, in which said second determining means is based on a group of known preselected device-dependent color image signal triplets surrounding a given device-dependent color image signal triplet, the device-independent coordinate triplets of said preselected device-dependent color image signal triplets and said given device-dependent color image signal triplet being either known or calculated by interpolation from device-independent coordi¬ nate triplet/device-dependent color image signal triplet sets known from said first conversion table, the device-dependent color image signal triplet for which a color difference value ΔE is the smallest being selected as the generated device-dependent color image signal. 19. Apparatus according to claim 17 or 18, in which said color differ¬ ence value ΔE is the distance in the device-independent CIEL a b space between said the device-independent coordinate triplet of said target color and the device-independent coordinate triplet corre¬ sponding to a device-dependent color image signal triplet, in particu¬ lar the weighted distance. 20. Apparatus according to one of the claims 17 to 19, in which said data processor means further comprises: indicator means for indicating a device-dependent color image signal coordinate triplet, preferably corresponding to said first device-inde¬ pendent coordinate triplet, as pivot triplet Ac, Be, Cc; and processing means for executing steps (a) to (e) defined in the method of one of the claims 6 to 11. 21. Apparatus according to one of the claims 11 to 20, comprising information output means outputting a signal indicative of the pres- ence of a target color, received by said input means, which is out of the color gamut of said color output device. 22. Apparatus according to claim 20 or 21, comprising detecting means for detecting the presence of a target color, received by said input means, which is out of the color gamut of said color output device, if at least one value of said triplet Ac, Be, Cc of said step (e) is a minimum or a maximum value of the A, B, C gamut space of said color output device and said corresponding difference value ΔE is larger than said predetermined minimum difference value. 23. Color output device, in particular a color printer or color copier, comprising: (a) input means for receiving device-independent coordinate triplets of target colors; (b) Storage means for storing the device-independent coordinate triplets and the corresponding device-dependent color image signal triplets output by the apparatus defined in one of the claims 14, 15, 17 to 22, respectively as input and output triplets of a conversion table; (c) data processing means for determining for a device-independent coordinate triplet of a target color, received by said input means, the corresponding device-dependent color image signal triplet on the basis of said conversion table stored in said storage means; (d) output means for outputting a color represented by a device- dependent color image signal triplet determined by said data processing means, said output color at least approximating a target color. 24. Color output device according to claim 23, which includes the appa- ratus defined in one of the claims 14 to 22.

Inventors: GOVAERT RENE RAYMOND, GOVAERT, RENE, RAYMOND
Applicants: AGFA GEVAERT NV, GOVAERT RENE RAYMOND, AGFA GEVAERT NAAMLOZE VENNOOTSCHAP
Application year: 1993
Main classification: H04N1
IPC codes: G06T1, H04N1