A method of determining colorant amounts to be laid down in a color printer includes determining an initial set of cyan, magenta and yellow (CMY) values; ordering the initial set of CMY values to determine the largest, middle and smallest values of the three values and generating an ordering vector;...http://www.google.com/patents/US7019868?utm_source=gb-gplus-sharePatent US7019868 - Black generation method for CMYK color printer using multiple lookup tables and interpolation

A method of determining colorant amounts to be laid down in a color printer includes determining an initial set of cyan, magenta and yellow (CMY) values; ordering the initial set of CMY values to determine the largest, middle and smallest values of the three values and generating an ordering vector; selecting a gamut center black generation LUT and two gamut boundary black generation LUTs from a set of black generation LUTs from a selection table; indexing the selected black generation LUTs to determine black values for each black generation LUT as a function of the minimum of the CMY values; interpolating a final output black colorant amount from the black values, and interpolating final output CMY colorant amounts from the initial set of CMY values, the maximum CMY ink limit constraint, and a set of boundary threshold values.

Images(12)

Claims(18)

1. A method of determining colorant amounts to be laid down in a color printer comprising:

inputting an initial set of cyan, magenta and yellow (CMY) input values;

defining a second gamut boundary black generation curve and then extending a tetrahedron between the gamut center black generation curve and the two gamut boundary black generation curves, and interpolating a black colorant amount for the final set of CMY values in the tetrahedron;

interpolating a black colorant amount for a final set of CMY values on the surface between two surfaces consisting of gamut center black generation curve and any gamut boundary black generation curve; and

calculating the final set of CMY values.

2. The method of claim 1 which further includes defining an intermediate gamut black generation curve between the center black generation curve and the gamut boundary black generation curve, and interpolating a black colorant amount for the final set of CMY values between the center black generation curve and the intermediate black generation curve and between the intermediate black generation curve and the boundary black generation curve.

3. The method of claim 1 which further includes interpolating the final CMY colorant amounts from the initial CMY values, a maximum CMY ink limit constraint, and a set of boundary threshold values.

4. The method of claim 3 which further includes generating weighted values for said interpolation of CMY and black colorant amounts.

5. The method of claim 3 which further includes ordering the initial set of CMY values to determine largest, middle and smallest values of the three values; and indexing the black generation curves to determine the black values for each black generation curve as a function of the minimum of the CMY values, wherein said interpolating final output CMY colorant amounts is done as a function of the minimum of the CMY values.

6. The method of claim 1 which further includes selecting design parameters to determine black generation curves, including:

determining a center black generation curve, including:

defining a key threshold, Kmax;

defining a family of L v. CMY curves, including curves wherein

a maximum output CMY value reaches 1.0;

a maximum output CMY value reaches Lkmin, where Lkmin is the minimum L value; and

a maximum output CMY value reaches Mink, where Mink is the total ink limitation;

interpolating a final black colorant amount from the black values; and

interpolating final CMY colorant amounts from the initial CMY values, a maximum CMY ink limit constraint, and a set of boundary threshold values.

8. The method of claim 7 which further includes ordering the initial set of CMY values to determine largest, middle and smallest values of the three values and generating an ordering vector; and indexing the selected black generation LUTs to determine the black values for each black generation LUT as a function of the minimum of the CMY values.

9. The method of claim 8 which further includes generating weighted values for said CMY and said black interpolation.

10. The method of claim 8 wherein said interpolating final output CMY colorant amounts is done as a function of the minimum of the CMY values.

11. The method of claim 7 which includes generating a 3-D color LUT.

12. The method of claim 11 which includes generating a combined color LUT from a 3-D color LUT and the black generation LUT.

13. The method of claim 7 which further includes selecting design parameters to determine black generation curves, including:

determining a center black generation curve, including:

defining a key threshold, Kmax;

defining a family of L v. CMY curves, including curves wherein

a maximum output CMY value reaches 1.0;

a maximum output CMY value reaches Lkmin, where Lkmin is the minimum L value; and

a maximum output CMY value reaches Mink, where Mink is the total ink limitation;

defining a tone reproduction curve at the center diagonal of the color gamut;

measuring a L v. K response on a color boundary; and

defining the color boundary black generation curve as a function of the tone reproduction curve and the L v. K response at the color boundary.

14. A method of determining colorant amounts to be laid down in a color printer comprising:

determining an initial set of cyan, magenta and yellow (CMY) values;

determining a minimum CMY colorant amount;

placing a black generation LUT set in a selection table;

selecting, from the selection table, a center gamut black generation LUT and two boundary black generation LUTs, including sorting the initial set of CMY values to determine the largest, middle and smallest values of the three values and generating an ordering vector, and indexing the selected black generation LUTs to determine black values for each black generation LUT as a function of the minimum of the CMY values; interpolating a final output black colorant amount from the black values; and interpolating final output CMY colorant amounts from the initial set of CMY values; and

interpolating the black generation LUT set to maximize the printing gamut.

15. The method of claim 14 which includes generating a 3-D color LUT.

16. The method of claim 15 which includes generating a combined color LUT from the 3-D color LUT and the black generation LUT.

17. The method of claim 14 which further includes selecting design parameters to determine black generation curves, including:

determining a center black generation curve, including:

defining a key threshold, Kmax;

defining a family of L v. CMY curves, including curves wherein

a maximum output CMY value reaches 1.0;

a maximum output CMY value reaches Lkmin, where Lkmin is the minimum L value; and

a maximum output CMY value reaches Mink, where Mink is the total ink limitation;

This invention relates to black generation techniques in CMYK color printers. Such printers lay down four kind of inks, or colorants: cyan (C), magenta (M), yellow (Y), and black (K), where black is used to enhance the shadow details of the printed images.

BACKGROUND OF THE INVENTION

In general, cyan, magenta, and yellow inks, or colorants, cannot produce a high quality black image when combined. To enhance the shadow details of printed images, and to save non-black colorants, a fourth color, black (K), also referred to herein as “key,” is used. However, with the addition of black, many colors may be produced by using multiple sets of C, M, Y and K. The goal, therefore, is to find a way to optimally use C, M, Y and K.

The prior art teaches two primary approaches for achieving this goal. one approach is to use a black generation curve and three under color removal (UCR) curves. An example of such a set of curves is shown generally at 20 in FIG. 1. In the example of FIG. 1, a magenta UCR curve 22 and yellow UCR curve 24 happen to follow the same points. A cyan UCR curve is depicted at 26, while the black generation curve is depicted at 28. These curves are usually implemented as 1-D lookup tables (LUTs), where the input of the curve is used as an index to the LUTs to obtain the outputs of the curves. A desired color, in the red, green, and blue (RGB) color space, to be printed is first converted to initial C, M, and Y colorant amounts using on the following equations, which are somewhat simplified for purposes of illustration:
Ci=1.0−R, M1=1.0−G, and Y1=1.0−B, (1)
where RGB and CMY values are normalized to the range between 0.0 and 1.0. The minimum of these initial CMY values, k1=min(C1, Mi, Yi), is used as the index to the 1-D LUT for the black generation curve, BG(k), to obtain the output K amount, as shown in Eq. 2:
K=BG(ki). (2)
With the addition of K, the output CMY colorants should be appropriately reduced to produce the desired color. This is accomplished by using the three UCR curves for C, M, and Y, respectively, as shown in Eq. 3:
C=Ci−UCRC(k1), M=Mi−UCRM(k1), and Y=Y1−UCRY(k1). (3)
The black generation and UCR curves are experimentally obtained for different printing processes. This basic approach, however, is not flexible enough to fully utilize the printer color gamut resulting from the addition of the K colorant.

Another approach is to use interpolation between the maximum black CMYK and the minimum black CMYK to obtain a desired CMYK. For any given color, i.e., a CIELAB value, there is a range of K values that is possible in the CMYK combination of colorants to produce that color. The lower limit is referred to as Kmin, and the upper limit is referred to a Kmax. A value of K is chosen between these limits, which allows black usage to change throughout the tone scale and color space. A flow chart for this approach is shown in FIG. 2, generally at 30. In this approach, the CMYK printer gamut is divided into a set of CMY gamuts indexed by the K amount. This set of CMY gamuts may be obtained by printing out an extensive set of CMYK patches and then measure them in a device independent color space, such as the CIELAB For a desired color specified in the CIELAB space, all possible CMYK combinations are obtained by 3-D interpolations using this set of CMY gamuts. The final CMYK amounts are obtained by interpolating these CMYK values using a fixed weight, α. This weighting factor controls the desired amount of black to be used. It may be changed depending on the nature of the color to be printed. For example, colors near the neutral axis will have a higher weight for black while more saturated colors will use less black because they will have a lower weight. In most implementations, only CMYK values with the maximum (α=1) and minimum (α=0) K amount are used.

The traditional UCR type of black generation technique is well known in the art. It is discussed in J. A. C. Yule, Principles of Color Reproduction, John Wiley & Sons, New York, 1967. It is also implemented in the PostScript® Language by Adobe Systems Inc., which is described in PostScript® Language Reference Manual, Second Edition, 1990. The newer method of interpolating between CMYK values with maximum and minimum K is discussed in M. Tsukada, et al., New Algorithm for UCR Using Direct Color Mapping, Proceedings of SPIE, Vol. 2413, pp. 365–374, February 1995; and R. Holub et al., The Black Printer, Journal of Imaging Technology, Vol. 15, No. 4, pp. 149–158, August 1989.

U.S. Pat. No. 4,482,917 to Gaulke et al., for Method for a Reproduction of Colored Masters in Four-Color Printing Using Color Reduction, granted Nov. 13, 1984, describes a method wherein the color gamut is divided into a gray and a chromatic region. Different UCR curves are used for the gray and chromatic regions. For colors on the boundary dividing the gray and chromatic regions, CMYK values obtained using both curves are combined to produce a single set of CMYK values for that color.

U.S. Pat. No. 4,551,751, to Jung, for Color Reduction Dependent on Tone, granted Nov. 5, 1985; and U.S. Pat. No. 4,590,515, to Wellendorf for Method and Apparatus for Modifying Color Reduction Depending on Tone, granted May 20, 1986, both describe the use of different UCR curves for image areas with different tone characteristics.

U.S. Pat. No. 5,172,223, to A. Suzuki, et al., for Method of Processing a Color Image to Obtain Color and Black Reproduction Signals, granted Dec. 15, 1992, describes the use of quadratic functions as the UCR curves. In addition to applying the UCR curves, a 3×3 matrix is also used to convert the input CMY values to the output CMY values.

U.S. Pat. No. 5,268,754 to Van de Capelle, et al., for Method and a Device for Converting a Color Coordinate Set, granted Dec. 7, 1993, describes a general strategy to convert signals in an n-dimensional color space to an m-dimensional color space. The case of m=4 is applicable to generating CMYK signals for four-color printers. Rather complex methods involving gradients are described. For methods specific to CMYK printers, only the basic UCR type of techniques is discussed.

U.S. Pat. No. 5,402,253 to Seki, for Color Conversion Method and Apparatus with a Variable Gray Component Replacement Ratio, granted Mar. 28, 1995, and U.S. Pat. No. 5,502,579 to Kita, et al., for Color Image Processing Method and Apparatus Capable of Adjusting the UCR Ratio, granted Mar. 26, 1996, describe the use of device independent color values such as the CIELAB and LCH values to modify the black generation and UCR curves.

U.S. Pat. No. 5,425,134 to Ishida, for Print Color Material Amount Determining Method, granted Jun. 13, 1995, describes a method wherein a range of all the CMYK colorants that can produce a desired color is first obtained. A complex algorithm is then used to determine the common range of CMYK values which produce all of the desired colors. The final CMYK colorants for a particular color are selected from the common range.

U.S. Pat. No. 5,508,827 to Po-Chien, for Color Separation Processing Method and Apparatus for a Four Color Printer Using Color Solid Corresponding to Tristimulus Values, granted Apr. 16, 1996, describes the determination of CMYK values with maximum and minimum possible K. Then linear interpolation is used to obtain the final CMYK values based on the desired K amount.

U S. Pat. No. 5,553,199 to Spaulding, et al., for Method and Apparatus for Calibrating a Four Color Printer, granted Sep. 3, 1996, describes the development of a maximum K strategy and a minimum K strategy. The strategies are implemented by 3-D interpolations. For input CMY values, the maximum and minimum K strategies are used to generate two CMYK sets. Then a parameter indicating the desired K amount is used to interpolate these two CMYK sets to obtain the final CMYK values.

U.S. Pat. No. 5,710,824 to Mongeon, for System to Improve Printer Gamut, granted Jan. 20, 1998, describes the use of both the maximum and minimum input CMY values to control the K usage. A non-linear function is used to control the K addition based on the primary colorant amount.

SUMMARY OF THE INVENTION

A method of determining colorant amounts to be laid down in a color printer includes determining an initial set of cyan, magenta and yellow (CMY) values; ordering the initial set of CMY values to determine the largest, middle and smallest values of the three values and generating an ordering vector; selecting a gamut center black generation LUT and two gamut boundary black generation LUTs from a set of black generation LUTs; indexing the selected black generation LUTs to determine black values for each black generation LUT as a function of the minimum of the CMY values; interpolating the final output black colorant amount from the black values; and interpolating the final output CMY colorant amounts from the initial set of CMY values, the maximum CMY ink limit constraint, and a set of boundary threshold values.

An object of the invention is to provide a method wherein interpolation over the entire printer input color gamut is used to control the amount of C, M, Y, and K to be printed.

Another object of the invention is to provide a method wherein the final CMYK amount is obtained by interpolation based on black generation curves.

A further object of the invention is to provide procedures for optimally generating black generation curves to maximize the printing gamut.

Another object of the invention is to automatically control black usage by the black generation curves inside and on the boundary of the printer input color gamut.

This summary and objectives of the invention are provided to enable quick comprehension of the nature of the invention. A more thorough understanding of the invention may be obtained by reference to the following detailed description of the preferred embodiment of the invention in connection with the drawings.

There are three subtractive primaries usually used in printing devices Cyan, Magenta and Yellow. All hues can be generated by these colorants, but additional colorants may be used to extend the color gamut beyond that of use of CMY only. The most common colorant used is black.

This disclosure considers a CMYK printer. The term “printer input color gamut” refers to the CMY primaries and the term “printer output color gamut” refers to the set of colors obtainable using black (K) colorant.

Adding K to CMY lowers the L* value of the resulting color, so some amount of CMY must be removed. The term undercolor removal (UCR) defines the reduction of CMY amounts along a neutral scale, while the term gray component replacement (GCR) defines the reduction of CMY amounts throughout the entire gamut of the printer. There are other schemes used to increase gamut in select areas, and one of these is referred to as undercolor addition (UCA). UCA is the addition of K in the darkest areas of the images and adds detail in the shadow regions.

Put another way, the typical GCR/UCR strategy is to define X=min(C, M, Y) and have K=f(X). Then C′=C−g(X), etc., where f and g are functions that are addressed in this disclosure, and are designed for optimizing the attributes of gamut, ink usage, neutral consistency, granularity, etc. This disclosure focuses on a form of GCR.

The invention generates a black, or key, colorant for CMYK color printers to maximize the gamut of the printer. In general, cyan (C), magenta (M), and yellow (Y) colorants, or inks, when combined, cannot produce a true black, and produce only a dark brownish color. To enhance shadow details of a printed image, a fourth colorant, black (K), is used. With the addition of black, many colors may be produced by multiple sets of C, M, Y, and K This invention provides an optimal way to use CMY and K with the objective of maximizing the printer gamut, thereby using the best set of any multiple sets to produce a particular color.

This invention uses interpolation over the entire printer input color space to control the amount of C, M, Y, and K colorant applied in generating a desired color. For each color, similar to the aforementioned UCR-based methods, the invention begins with an initial set of CMY values, Ci, Mi and Yi, and then determines the final CMYK amounts. The minimum of this initial CMY amount is also used as one of the parameters to control the black generation.

An advantage of the invention is that in addition to a black generation LUT, used in the center of the printer input gamut, where Ci=Mi=Yi, referred to herein as the “gamut center black generation LUT,” multiple black generation LUTs are used on the boundary of the gamut, where max(Ci, Mi, Yi)=1.0, to control the final CMYK amount, referred to herein as the “gamut boundary black generation LUTs.” Put another way, at least one, and not more than two, of the Ci, Mi, Yi values=1.0, and at least one of the Ci, Mi, Yi values=zero. The gamut center black generation LUT and the gamut boundary black generation LUTs comprise what is referred to herein as a “black generation LUT set.” The final CMYK amount is obtained by interpolation based on the black generation LUT set. Specific procedures are described later herein for optimally generating the black generation LUT set to maximize the printer output gamut.

A system incorporating the method of the invention is depicted in FIG. 3, generally at 32, The method of the invention is an extension of the traditional UCR method which includes the use of additional black generation curves on the boundary of the input color cube. The black generation scheme over the entire input color space is provided by interpolation using the boundary black generation curves and the black generation curve at the center of the color cube. This provides more flexible control of the black generation strategy over the entire input color space. Linear interpolations use different weighting factors based on the spatial coordinate of the input color 34, which controls the amount of black being used, and which are different from those used in the prior art techniques. The method of the invention solves the problem of converting a generic device RGB or CMY color space into a CMYK space. In order to obtain the CMYK values for input colors specified in a device-independent color space, such as the CIELAB space, a 3D-color table is generated for the input RGB, or CMY, space. Color table 36 may be combined with a black generation process 38 of the invention to generate a combined color LUT 40 in order to convert colors specified in a device-independent color space directly to CMYK device values 42.

Algorithm Description

FIG. 4 depicts the initial CMY input color space as the CMY cube, generally at 50, and illustrates the method of the invention for determining the output CMYK values using the black generation LUT at a central diagonal and the C-to-black boundary of the cube. A triangular plane, or surface, 52, connected by vertices “White”, “Black”, and “C,” is used to illustrate the basic algorithm of the invention. It should be noted that while vector quantities are generally shown in italicized or bolded font, normal fonts have been used herein for the sake of clarity. Those of ordinary skill in the art will readily recognize that many of the quantities here are vector quantities.

First, the method for obtaining output CMYK values on a center diagonal line 54, also referred to herein as a gamut center black generation curve, connecting “White” and “Black,” is described. In the initial CMY space, points on this line have equal CMY, Ci,=Mi=Yi, going from 0.0 (“White”) to 1.0 (“Black). These equal CMY values are denoted as CMYi, and will be used as the index to the black generation LUT, BG0, at center diagonal line 54, to obtain the desired K amount at the center diagonal:
K=BG0(CMYi). (4)
The output CMY values on center diagonal 54 are equal to one another, but they are scaled by the maximum output CMY amount, CMYmax. Therefore, the output C, M, or Y values will be:
CMY=CMY1*CMYmax. (5)

There is also a boundary black generation LUT, BGC, on a boundary line 56, also referred to herein as a gamut boundary black generation curve, connecting “C” to “Black.” On line 56, Ci,=1.0, and Mi=Yi goes from 0.0 at “C” to 1.0 at “Black.” The equal MY value is denoted as MY1, and is used as the index to look up the K amount from the boundary black generation LUT on the cyan-to-black boundary:
K=BGc(MYi). (6)

In order to maximize the output printer gamut, after the addition of K on the cyan-to-black boundary, the output M and Y amounts are set to zero, rather than being increased from 0.0 at “C” to 1.0 at “Black.” The reason for this is shown in FIG. 5, generally at 70, where the (gamuts of the triangular plane 52 for different K amount are plotted on a Chroma-L plane at the hue angle of the pure cyan ink, or colorant, in the CIELAB space. If no K is used (K=0), gamut 72 is bounded by a curve from the maximum L value, Lmax, to the pure cyan point “C”, and then a curve from “C” to the minimum L value without K, Lmin. As the amount of K increases, this gamut is compressed and shifted down along the L direction, creating gamut pieces 74, 76, and 78, where 78 is the gamut for the maximum output K amount. Generally, adding K causes L* to decrease and c* to decrease, however, the gamut is increased beyond that which would be achieved by increasing a colorant other than K. The maximum gamut boundary is obtained by connecting the outer gamut tips on the right as shown by heavy curve 80. On the tips of these gamut pieces, the C amount is 1.0 and the M and Y amount is 0.0. Therefore, in order to obtain the maximum output gamut, the output M and Y amount should be zero on the boundary from “C” to “Black” and only K should be increased to bring the gamut from pure cyan “C” to the minimum L with K, Lkmin. In the prior art techniques the gamut is usually less than the maximum allowable, as shown by heavy curve 82.

However, and now referring to FIG. 4, setting output C=1.0 and M=Y=0.0 on line 56 will create a conflict on the “Black” vertex because, on diagonal line 54, the output C, M, and Y should be equal to one another, and should range from 0.0 at “White” to CMYmax at “Black” To ensure the smoothness of the output CMY values on line 56, a threshold TC is used to control transition from equal output CMY, C=M=Y=CMYmax, at “Black” to C=1.0 and M=Y=0.0. If the input MYi is greater than TC, the output C and MY values will linearly transition from 1.0 and 0.0 to CMYmax, respectively. Otherwise, they are set to C=1.0 and M=Y=0.0. The CMY output responses on line 56 are given by Eqs. 7 and 8:
C=CMYmax-1.01.0-TC(MYi-TC)+1.0ifMYi≥TC,otherwiseC=1.0,(7)
and
M=Y=CMYmax1.0-TC(MYi-TC)ifMYi≥TC,otherwiseM=Y=0.0.(8)
These output responses are also shown in FIG. 6, where dotted line 84 is the C response and solid line 86 is the M and Y response. For simplicity, piece-wise linear functions are used here. Other functions that will gradually bring the output CMY amount from 1.0 for C and 0.0 for M and Y to CMYmax may also be used instead of these piece-wise linear functions. The threshold may be experimentally determined and will only affect the colors close to the dark point, which is also called the “shadow area.” In this area of the input color space, output colors will have a large amount of K and changing the output CMY amount will not have a significant affect on the output color gamut.

Referring again to FIG. 4, an arbitrary point P on triangular plane 52, is projected along the cyan axis to center diagonal 54 and boundary line 56. The projected points on lines 54 and 56 are E and F, respectively. The output CMYK values on points E and F are obtained by the procedure described above. Linear interpolation is then used to obtain the output CMYK on P based on the CMYK values on E and F. In addition to putting a boundary black generation LUT at line 56, additional boundary black generation LUTs may be put at other boundary lines connecting “Black” to a point on a circumference 58, connected by “C”, “G”, “Y”, “R”, “M”, “B”, and then back to “C”, shown as a double line. An example is shown where a boundary black generation LUT is put at line 60, connecting “Black” and point D between “C” and “G.” With this additional black generation LUT, output CMYYK values on triangular plane 62, bounded by “White”, “Black”, and D, may be obtained using the interpolation procedure described for plane 52. Points between planes 52 and 62 may be projected onto planes 52 and 62, then interpolated to obtain the output CMYK values for the desired input point based on the CMYK values on the projections.

In the preferred embodiment of the invention, six boundary black generation LUTs are used on the boundary lines connecting “Black” to the six vertices on circumference 58. “C”, “G”, “Y”, “R”, “M”, and “B.” As shown in FIGS. 7a–f, the triangular planes bounded by “Black”, “White”, and one of these vertices naturally divide the input CMY cube into six different tetrahedra. The black generation LUTs on the six boundary lines are denoted as BGC, BGM, BGY, BGR, BGG and BGB, respectively, according to the names of vertices on circumference 58. Thresholds TC, TM, TY, TR, TG and TB, respectively, are also assigned to the six boundary lines to control the smooth transition of the output CMY values to “Black” on these boundary lines. For an arbitrary input point, P, the tetrahedron that encloses the point may be obtained from the ordering information obtained by sorting the input CMY vector. Once the tetrahedron is determined, interpolation based on the center diagonal black generation LUT, BG0, and two of the boundary LUTs on the tetrahedron may be used to obtain the output CMYK values for the input point. In the case that the input point is on one of the six triangular planes that divide the input CMY cube into six tetrahedra, then either tetrahedron that shares this plane may be used and the output CMYK values will be the same no matter which one is used.

FIG. 8 depicts the tetrahedron in the re-ordered coordinate system, where the input CMY vector is sorted into descending order (vl, vm, vs), vl≧vm≧vs. In this coordinate system, axis V1 is the axis for the largest component, axis V2 is for the middle component, and axis V3 is for the smallest component. The smallest component, vs, is used to index into the black generation LUT, BG0, at the center diagonal, and boundary black generation LUTs, BG1 and BG2 at boundary lines B1A and B2A, respectively. The output of these black generation LUTs will be the output K values at points C0, C1, and C2, respectively:
k(C0)=BG0(vs), k(C1)=BG1(vs), and k(C2)=BG2(vs). (9)
The thresholds on lines B1A and B2A for the smooth transition of the output CMY values to the “Black” point are denoted as T1 and T2, respectively. The re-ordered output CMY values on C0 may be obtained with Eq. 5:
(v1(C0), v2(C0), v3(C0))=(vs, vs, vs)*CMYmax. (10)
The re-ordered output CMY values at C1 may be obtained by Eqs. 7 and 8 by recognizing that the C, M, and Y components in those equations should be replaced by the largest, middle, and smallest components, respectively:
v1(C1)=CMYmax-1.01.0-T1(vs-T1)+1.0ifvs≥T1,otherwisev1(C1)=1.0,and(11)v2(C1)=v3(C1)=CMYmax1.0-T1(vs-T1)ifvs≥T1,otherwisev2(C1)=v3(C1)=0.0.(12)
Because the re-ordered input CMY vector at vertex B2 is (1.0, 1.0, 0.0), the re-ordered output CMY values on boundary line B2A should smoothly transition from (1.0, 1.0, 0.0) at B2 to (CMYmax, CMYmax, CMYmax) at A, or “Black.” Therefore, the reordered output CMY values at C2 may be written as:
v1(C2)=v2(C2)=CMYmax-1.01.0-T2(vs-T2)+1.0ifvs≥T2,otherwisev1(C2)=v2(C2)=1.0,and(13)v3(C2)=CMYmax1.0-T2(vs-T2)ifvs≥T2,otherwisev3(C2)=0.0.(14)
By projecting the input point P along axis V2 on the plane perpendicular to axis V3, intersections D1 and D2 are obtained on lines C0C1 and C0C2, respectively. Using linear interpolation, the re-ordered output CMYK values on the intersection points may be obtained by:
(v1(D1), v2(D1), v3(D1), k(D1))=(1−w1)*(v1(C0), v2(C0), v3(C0), k(C0))+w1*(v1(C1), v2(C1), v3(C1), k(C1), (15)
and
(v1(D2), v2(D2), v3(D2), k(D2))=(1−w1)*(v1(C0), v2(C0), v3(C0), k(C0))+w1*(v1(C2), v2(C2), v3(C2), k(C2)), (16)
where the weighting factor w1 is given by:
w1=v1-vs1.0-vs.(17)
The final re-ordered CMYK values at P are then interpolated from those on D1 and D2,
(v1, v2, v3, K)=(1−w2)*(v1(D1), v2(D1), v3(D1), k(D1))+w2*(v1(D2), v2(D2), v3(D2), k(D2)), (18)
where (v1, v2, v3) is the re-ordered output CMY vector and K is the output K value. The weighting factor w2 is given by:
w2=vm-vsv1-vs.(19)

A complete block diagram of the invention is shown in FIG. 9, generally at 90. The initial input CMY values 92 are first processed by a “Sorter” block 94 to obtain vectors in descending order, (v1, vm, vs), v1≧vm≧vs, and the ordering information V. The ordering information is then used as an input to the “BG Curve Selector and 1-D Table Lookup,” block 96, to obtain the appropriate black generation LUTs. This process is equivalent to identifying the tetrahedron that encloses the input CMY vector. The black generation LUT at the center diagonal, BG0, is always selected. Then two more black generation LUTs on the boundary lines, BG1 and BG2, are also selected. The selection process for boundary black generation LUTs is shown in Table 1.

TABLE 1

Ordering Information

Boundary LUTs Selected

Ci ≧ Mi ≧ Yi

BG1 = BGC and BG2 = BGB

Ci ≧ Yi ≧ Mi

BG1 = BGC and BG2 = BGG

Mi ≧ Ci ≧ Yi

BG1 = BGM and BG2 = BGB

Mi ≧ Yi ≧ Ci

BG1 = BGM and BG2 = BGR

Yi ≧ Ci ≧ Mi

BG1 = BGY and BG2 = BGG

Yi ≧ Mi ≧ Ci

BG1 = BGY and BG2 = BGR

The smallest of the input CMY values, vs, is also an input to block 96. It is used to index the selected black generation curves to obtain output K values at points C0, C1, and C2, as shown in Eq. 9. A “weight generator,” block 98 generates weighting factors w1 and w2 based on Eqs. 17 and 19. These weights are used in the “K Interpolator,” block 100 to obtain the final output K amount 101. The interpolation formulas are Eqs. 15, 16, and 18 for the K component. In the “CMY Interpolator,” block 102, boundary thresholds T1 and T2 are selected from block 104, based on Table 2.

TABLE 2

Ordering Information

Boundary Thresholds Selected

Ci ≧ Mi ≧ Yi

T1 = TC and T2 = TB

Ci ≧ Yi ≧ Mi

T1 = TC and T2 = TG

Mi ≧ Ci ≧ Yi

T1 = TM and T2 = TB

Mi ≧ Yi ≧ Ci

T1 = TM and T2 = TR

Yi ≧ Ci ≧ Mi

T1 = TY and T2 = TG

Yi ≧ Mi ≧ Ci

T1 = TY and T2 = TR

The reordered CMY output values at points, C0, C1 and C2 are obtained by Eqs. 10–14. With the weighting factors from weight generator 98, the re-ordered output CMY values are obtained by Eqs 15, 16, and 18. Finally, the ordering information, V, is used to convert the reordered output CMY values into the correct output CMY values 106.
Design Parameters

The first design parameter to be determined is the maximum output K amount, Kmax. Ideally, color patches having maximum CMY amount (C=M=Y=1.0) and K changes from 0.0 to 1.0, would be printed, however, this is not a viable solution for most technologies. Color patches having known CMY values may be printed to form a base line. The L response of these color patches is measured. A typical L versus K plot is shown in FIG. 10, generally at 110. From this plot, it may be seen that after a certain K threshold, increasing K will not make the image significantly darker. This threshold is defined as Kmax.

Next, the center black generation LUT, BG0, is designed. Referring now to FIG. 11, after obtaining the maximum K amount, a two dimensional array of color patches is printed, where the K value goes from K1=0.0 to Kn=Kmax, and equal CMY values range from 0.0 to 1.0. After measuring the L responses from the color patches, the data is plotted as a family of L versus CMY curves, shown generally at 112, indexed by K ranging from 0.0 to Kmax. From this family of L versus CMY curves, a single L versus CMY curve with a variable amount of K may To be designed. The intersections of such a curve with the family of L versus CMY curves provide the K versus CMY curve. Three such curves presenting three different black generation strategies are shown by curves 114, 116 and 118. In curve 118, the maximum output CMY values reach 1.0, and the curve is flatter in the shadow area (small L value) compared to the other two curves. This is the case where the output CMY amount is not reduced even when K is used to provide better shadow details. As shown by curve 114, the maximum output CMY values only reach as far as the point where the minimum L values, Lkmin, are maintained. This is the case where the output CMY amount is reduced as much as possible when K is used. Because the slope in the shadow area is not as flat as that of curve 118, the shadow details in this case are not as good. However, because the output CMY amount is significantly reduced with the addition of K, this saves ink. A case between these two extremes is shown by curve 116, in the middle, where the maximum output CMY amount may be constrained by the total ink limitation. The total ink limitation, Mink, is the total amount of CMYK ink allowed to be put on paper. This is usually less than 400% or 4.0 in the normalized notation. With Mink and Kmax, the maximum output CMY amount is obtained by:
CMYmax=min(1.0,Mink-Kmax3).(20)

The intersections of curve 116 with the family of L versus CMY curves are shown as P1, P2, . . . Pn−1, Pn, in FIG. 11. These points may be plotted in a K versus CMY graph, as shown in FIG. 12, where the value for the vertical axis, L, is replaced by the index of the curves, K. The K versus CMY curves, 120 and 122, correspond to curves 116 and 118 in FIG. 11, respectively. The K versus CMY plot, labeled BG0(s) in FIG. 12, depicts the relationship between the output black values and the output CMY values. Using the relation between the output and input CMY values at the center diagonal, as shown in Eq. 5, the center black generation LUT may be obtained by:
BG0(CMY1)=BG0(s)(CMY1*CMYmax). (21)

The final step of the parameter design process of this invention is to design the boundary black generation LUTs and determine the boundary threshold values at the six boundary lines of the input CMY cube. The cyan-to-black boundary is used to illustrate how to design the LUT and determine the threshold. The same design procedure may be applied to other boundaries

FIG. 13a depicts the input cyan triangular plane, generally at 130, and its output gamut in the CIELAB space, generally at 140 in FIG. 13b. In the cyan plane, line segments parallel to the C1 axis, 132, 134, 136, and 138, are distributed along the Mi=Yi direction. The segments are distributed in such a way that intersection points of these line segments and the central diagonal line from “White” to “Black” are uniformly distributed on the L axis in the CIELAB space.

As shown in FIG. 13b, the four points on the L axis equally divide the line segment from Lkmin to Lmax into five parts. The distance between each point pair is DL0. Line segments 132, 134, 136, and 138 also translate into curves 142, 144, 146, and 148, respectively, in the CIELAB space. The black generation LUT on the cyan-to-black boundary, BGC, determines the distribution of the intersection points of the curve segments and the boundary curve from “C” to “Black” in the CIELAB space. In the method of the invention, the design criterion for BGC is that the intersection points on the boundary are also uniformly distributed from “C” to “Black” in the CIELAB space. If the distance between a pair of points on the boundary in the CIELAB space is DLC, then this criterion may be written as:
DL0Lmax-Lkmin=DLCLC-Lkmin,(22)
where LC is the L value of the pure cyan colorant.

To design the boundary black generation LUTs, the L versus equal CMY input at the center diagonal needs to be determined. Because the black generation LUT at the center diagonal, BG0, is already known, the output CMYK values on the center diagonal may be obtained by inputting equal CMY values to Eqs. 4 and 5. By printing out color patches with these output CMYK values and measuring their L values, the L versus CMY response may be obtained. This response is shown in Quadrant IV of FIG. 14, which is used to illustrate the method of obtaining the boundary black generation LUT on the cyan-to-black boundary, BGC. This curve is called the tone reproduction curve (TRC) at the center diagonal, denoted as TRC0. Another response required for obtaining BGC is the L versus K curve on the cyan-to-black boundary. To obtain this curve, color patches with the K amount going from 0.0 to Kmax and the corresponding CMY amount need to be printed and measured. On the cyan-to-black boundary, the CMY amount corresponding to the K amount is given by Eq. 23 and 24:
C=CMYmax-1.01.0-KC(K-KC)+1.0ifK≥KC,otherwiseC=1.0,and(23)M=Y=CMYmax1.0-KC(K-KC)ifK≥KC,otherwiseM=Y=0.0,(24)
where KC is the threshold for the smooth transition of the output CMY values from C=1.0 and M=Y=0.0 on the cyan boundary to C=M=Y=CMYmax at the black point. This threshold is usually set to something between 0.1 to 0.2, or 10% to 20%, and is later converted to the threshold for the input M and Y values on the cyan boundary, TC. The L versus K response on the cyan boundary is the measured L values on these color patches plotted against the input K values as shown in Quadrant II of FIG. 14. This L versus K response curve is denoted as LKRC.

FIG. 14 depicts a method of constructing the cyan boundary black generation LUT, BGC, from the TRC on the center diagonal, TRC0, and the L versus K response, LKRC, at the cyan boundary. The cyan boundary black generation LUT, BGC, and the TRC on the center diagonal, TRC0, share the same input axis of M=Y, which is the same as the minimum of CMY on the cyan boundary. As shown in FIG. 14, BGC in Quadrant I, may be constructed by starting with an input value, at point A, on the min(Ci, Mi, Yi) axis. The output L value on the center diagonal for this input value, point B, is obtained by projecting it vertically downward to the TRC0 curve in Quadrant IV. The output of the TRC0 curve is then horizontally projected leftward to the linear scaling curve in Quadrant III. The linear scaling curve is used to scale the output range of TRC0 into the output range of LKRC. The output of the linear scaling, point C, is vertically projected upward to the output of LKRC in Quadrant II to obtain point D. The input K amount obtained from LKRC at point D will be the output K amount for BGC. By projecting point D horizontally rightward and point A vertically upward, point E on BGC is obtained. The curve shown in Quadrant I is the constructed BGC curve. As shown in FIG. 14, the constraint in Eq. 22 is satisfied in this construction process.

After BGC is obtained, threshold KC is projected horizontally rightward to BGC and the corresponding value on the horizontal axis, TC, will be the threshold on the cyan-to-black boundary. Some approximation is used here. Because black generation curve BGC is not a straight line between the input range from TC to 1.0, the linear relationship in Eqs. 23 and 24 in terms of K will not translate into linear relationship in terms of min(Ci, Mi, Yi), which means that the piece-wise linear functions in Eqs. 7 and 8, and in 11 and 12, are only approximations. Because the output CMYK colors in this area of the gamut are dominated by K, such approximations will only minimally affect the appearance of the final output color. The procedure for obtaining BGC and TC on the cyan-to-black boundary may be used to obtain the black generation LUTs and thresholds on other boundaries. This procedure may also be summarized by Eqs. 25 and 26:
BGN(vs)=LKRN-1(LN-LkminLmax-Lkmin(TRC0(vs)-Lkmin)+Lkmin),(25)
and
TN=BGN−1(KN), (26)
where N represents C, M, Y, R, G, or B and vs=min(Ci, Mi, Yi).

Thus, a method for CMYK color printer black generation using multiple lookup tables and interpolation has been disclosed. It will be appreciated that further variations and modifications thereof may be made within the scope of the invention as defined in the appended claims