Color printing method and apparatus using gamut mapping in munsell space

Abstract: A method and apparatus for constructing a color printer table. Printable colors in CIELAB space are transformed to Munsell space and color mapping functions are derived which map Munsell space coordinates into primary color coordinates CMY of the printer. A Munsell printer gamut is determined by selecting points in Munsell space where the color mapping functions result within the printable primary color range. All discrete points of an extended gamut in CIELAB space are mapped into the Munsell space. The extended gamut comprises colors inside the printer gamut as well as colors outside the printer gamut, such as colors typically found in a color monitor. Primary color values are inserted into the color printer table by taking the mapped CIELAB points and applying the color mapping functions to the mapped CIELAB points that lie inside the Munsell printer gamut, and applying gamut mapping to the mapped CIELAB points in Munsell space that lie outside the Munsell printer gamut. Since the gamut mapping takes place in Munsell space, the hue is exactly preserved by simply preserving the hue angle.

Description: The present invention pertains to a method and apparatus for building and using look-up tables which determine the colors that a color printer prints in response to requests to print specific colors. The specific colors requested to be printed may include colors that are not printable by the printer. For those colors in particular, gamut mapping is performed in Munsell color space where hue planes are straight, i.e. not curved, so as to compensate for the Abney effect and to preserve the perceived hue. Recently, as the availability of color monitors and color printers has increased, it is more and more commonplace for a computer user to view a full color image on a color monitor and then to request a full color printout of that image on a color printer. However, color printers and color monitors form color images differently. Specifically, a color monitor is a light emitting device; colors are formed on color monitors by adding light from three color primaries, generally, red, green and blue. Printed images, on the other hand, simply reflect ambient light; colors are perceived by the way ambient light is affected by three subtractive primaries, generally cyan, magenta and yellow (and sometimes black). These processes are fundamentally different. As a result, the range of colors displayable on the monitor is different from the range of colors printable by a printer. Figure 1 is the CIE 1931 chromaticity diagram showing the range (or "gamut") of colors displayable by a monitor (area "A") and the range (or "gamut") of colors printable by a printer (area "B"). As seen in Figure 1, the range of colors displayable on a monitor is generally greater than the range of colors printable by a printer. This is because a monitor is a light emitting device and is able to display colors with greater saturation. There are, however, some low saturation areas such as at area 10 where a printed image, which is light-subtractive, has greater color range than a monitor. Because of the difference between the ranges of printable and displayable colors, it has not heretofore been possible to print color images which are perceived as faithful reproductions of displayed color images. Specifically, it is simply not possible to print a color in areas like out-of-gamut area 11 which are outside the range "B" of printable colors. Accordingly, even though those colors may be seen on color monitors, they cannot be printed on a color printer. In U.S. Patent 4,941,038, out-of-gamut colors are adjusted to printable colors within the printer gamut by selecting the printable color which has the shortest vector distance from the unprintable color and which preserves the hue angle of the unprintable color. Experiments and observations on human color perception, however, have shown that a line representing a constant hue or color drawn from pure white out to the fully saturated color is not a straight line but rather is a curved line. The curvature of those lines (the so-called "Abney Effect") is shown in the chromaticity diagram of Figure 2. For regions where the curvature of constant hue lines is relatively low, like bluish-green region 18, preserving hue angle only slightly changes the perceived hue. Thus, preserving hue angle for the bluish-green out-of-gamut color 18a by extending the hue back to point 18b on the printer gamut border 10 still prints a bluish-green color. But for regions where the curvature of constant color lines is relatively high, like purplish-blue region 19, preserving hue angle greatly affects perceived hue. Thus, preserving hue angle for the blue out-of-gamut color 19a by extending hue back to point 19b on the printer gamut border 10 prints a color with a decidedly purplish-blue hue. Since each out-of-gamut color was adjusted independently, out-of-gamut colors are printed with poor color smoothness, where small changes in commanded color can result in large changes in printed color. In particular circumstances, poor color smoothness manifests itself as non-monotonic changes in luminance whereby the lightnesses of out-of-gamut colors does not increase smoothly and monotonically from dark to light but rather dips occasionally from light to dark. This results in a situation where colors which should merge smoothly and monotonically from dark to light in fact show undesirable bands of darkness. In U.S. Patent 5,299,291, which is assigned to the assignee of the present invention, to compensate for the Abney effect the hue angles in the printer table and border table are warped, and out-of-gamut colors are adjusted to printable colors within the printer gamut by building printer tables which produce colors which vary smoothly in the out-of-gamut regions and exhibited monotonic increases in lightnesses. Transition colors are gamut mapped at a constant angle to colors of the same hue on the border of the printer gamut. However, since the gamut mapping is performed in CIELAB space, it is not easy to see which colors are of the same hue because the hue planes are slightly curved (the Abney effect). This can be seen in Figure 3, where the gradation of colors of the same hue from white to a fully saturated color are shown projected into the a* b* plane at a constant L*. The curved hue planes in CIELAB space are 5R (red), 5Y (yellow), 5G (green), 5B (blue) and 5P (purple), which are shown as curved lines. The warping computations in CIELAB space are inexact and time consuming. The present invention addresses the foregoing difficulties and provides printer tables whose perceived hue is preserved and whose colors vary smoothly in the out-of-gamut regions by performing gamut mapping in Munsell space where the hue planes are straight. Munsell space is shown in Figure 4 where hue planes 5R, 5Y, 5G, 5B and 5P are shown projected into the U W plane at a constant value V as straight lines. Munsell coordinates are normally cylindrical coordinates H, V, C, but are shown in cartesian coordinates for a clearer understanding. The printer tables may be derived once by a manufacturer, to be used in a printer driver which is sold to end users as part of a printer. The invention is a method and apparatus for building a printer table and a border table which give CMY values that are printed in response to a command to print a color. The CMY values inserted into the respective tables are determined in Munsell space. Since the gamut mapping takes place in Munsell space, the hue is exactly preserved by simply preserving the hue angle, and out-of-gamut colors vary smoothly and exhibit monotonic increase in lightnesses for increasingly lighter out-of-gamut colors. This is accomplished in accordance with one embodiment by transforming measurements of printable colors to Munsell space. Color mapping functions are derived which map Munsell space coordinates into CMY coordinates. A Munsell printer gamut is determined by selecting points in Munsell space where the color mapping functions result within the printable CMY color range. All discrete points of an extended gamut in CIELAB space are mapped into the Munsell space. The extended gamut comprises colors within the printer gamut as well as colors outside the printer gamut such as colors typically found in a color monitor. CMY values are inserted into the color printer table by taking the mapped CIELAB points and applying the color mapping functions to the mapped CIELAB points that lie inside the Munsell printer gamut, and applying gamut mapping to the mapped CIELAB points in Munsell space that lie outside the Munsell printer gamut. Since the gamut mapping takes place in Munsell space, the hue is exactly preserved by simply preserving the hue angle. If desired, a border table may be provided for colors outside the extended gamut by mapping border points of the extended gamut, at all discrete angles and lightnesses, into the Munsell space and applying gamut mapping to the mapped CIELAB points in Munsell space. Color printing is conducted by reference to the printer table and the border table, which give CMY values in response to a command to print a color. The printer table gives CMY values for colors within a printer table domain which consists of rectangular areas surrounding the extended gamut. The border table gives CMY values for colors outside the printer table domain. Embodiments of the present invention will now be described with reference to the accompanying drawings in which: Figure 1 is a chromaticity diagram showing how the gamut of colors printable on a printer is related to the gamut of colors displayable on a monitor; Figure 2 is a chromaticity diagram showing the curved constant hue lines that characterize the Abney effect; Figure 3 is a graph illustrating the gradation of colors of the same hue in CIELAB space; Figure 4 is a graph illustrating the gradation of colors of the same hue in Munsell space; Figure 5 is a block diagram of a printing apparatus according to the invention; Figure 6 is a flow diagram showing how a printer driver in the Figure 6 apparatus selects CMYK values for a color printer; Figures 7(a) - 7(d) when taken together as shown in Figure 7, comprise a flow diagram for describing how the printer table and the border table are constructed; Figure 8 shows how unconnected regions are removed from the Munsell printer table; Figure 9 shows radially concave regions in the Munsell printer gamut; Figure 10 illustrates how to remove concavities by making the Munsell printer table radially convex; Figure 11 illustrates how the border points of the extended gamut in CIELAB space are chosen to determine the border table; Figure 12 shows the gamut mapping in the Munsell space; Figure 13 illustrates a typical division of CIELAB space into a printer table; Figure 14 illustrates the arrangement of a border table in CIELAB space; and Figure 15 shows the relation between the printer gamut, the extended gamut, the rectangular area of the printer table and the wheel-shaped border table in CIELAB space for an arbitrary luminance value L*. Figure 5 is a block diagram of a printing apparatus according to an embodiment of the invention. As shown in Figure 5, the printing apparatus includes a host CPU 20, a color monitor 30 and a color printer 40. Host CPU 20 includes a processor 21 such as an 80586 microprocessor, a random access memory ("RAM") 22 which provides working storage area to processor 21, a read only memory ("ROM") 24 which provides static storage for processor 21, monitor driver 25 and a printer driver 26. Host CPU 20 is accessed by an operator via keyboard 27 which is connected through an interface 29 to processor 21. Using the keyboard, an operator can cause processor 21 to execute stored program instructions which cause color images to be displayed on monitor 30 and which cause corresponding color images to be printed on color printer 40. Other peripheral devices, such as disk drives, tape drives, color video interfaces, color scanner interfaces, etc., may be provided for host CPU 20 but those other devices are not shown in the interest of simplicity. In cooperation with the stored program instructions executed by processor 21, such devices permit, for example, a color image to be scanned into RAM 22 and displayed on monitor 30, the colors in the image to be manipulated, and the resulting image to be printed on printer 40. In accordance with stored program instructions, processor 21 derives a color image for display on monitor 30. Processor 21 provides the color image to monitor driver 25 which in turn derives RGB values for each pixel in monitor 30. The RGB values are provided via interface 31 to the monitor 30 where those values are displayed. Upon request, processor 21 also feeds a color image to printer driver 26 for printing by color printer 40. Printer driver 26 derives CMY values for each pixel of the color image based on the color values provided from processor 21. The CMY values are determined in accordance with either the printer table 26a or the border table 26b. The printer table 26a is a table which provides CMY values for all colors that are printable by printer 40. The border table 26b is a table which provides suitable CMY values for colors that are not printable by printer 40. The printer table 26a may also include CMY values for some unprintable colors so as to smooth the transition from printable to unprintable colors. That is, printer table 26a has a domain which includes an extended gamut which includes the printer gamut and a typical color monitor gamut. In addition, a black (hereinafter "K") value may also be derived. The CMYK values are fed via interface 41 to printer 40 where they are stored in bit map memory 42 within printer 40. The bit map memory 42 may store a full bit map image of the printed image or it may store only a band or partial bit map image. When sufficient color data is stored in bit map memory 42, a color printer head 44 reciprocates across a platen adjacent to a sheet of paper. In the present embodiment, print head 44 includes 32 ink jet nozzles which may be arranged in a four column by eight row pattern. The nozzles in the first column all eject droplets of cyan ink; the nozzles in the second column all eject droplets of magenta ink; the nozzles in the third column all eject droplets of yellow ink; and the nozzles in the fourth column all eject droplets of black ink. The nozzles are controlled independently in accordance with the color data in bit map memory 42 such that in one reciprocation of print head 44 across the platen, eight rows of pixels are printed. Figure 6 is a flow diagram showing how printer driver 26 selects CMYK values from the color data provided by processor 21. In step S601, printer driver 26 receives RGB values for a location (x,y) in bit map memory 42. In step S602, printer driver 26 drives device independent color coordinates from the RGB value. Preferably, the device independent coordinates are CIELAB coordinates. This is because the coordinates in CIELAB space are perceptually uniform such that equal-sized intervals anywhere in CIELAB space correspond to equal-sized changes in perceived color. Furthermore, CIELAB space is one of the standard color spaces utilized in the printing industry. In step S603, the luminance coordinate is compressed at the extremes of the L* axis in CIELAB space. Compression step S603 may be performed explicitly by mathematical manipulation of the L* value from step S602 or implicitly by storing modified CMY values in the printer table and the border table. If performed implicitly, which is preferable in some instances, then both the printer table and the border table store pre-compressed values. More particularly, the printer table and the border table can be arranged so that the values stored at, for example, luminance L* = 99 actually correspond to a luminance of L* = 94. Likewise, values stored at, say, luminance L* = 7 actually correspond to a luminance of L* = 26. Values in the center of the luminance range, from for example L* = 38 through 90, remain unmodified. This arrangement results in luminance compression without the need for explicit compression. While compression step S603 is optional, it is nevertheless preferable to perform since it ensures that colors at extreme values of luminance are printed with perceptible changes in luminance. More particularly, because monitor 30 displays colors with light emitting elements, it can display colors with higher values of luminance then those achievable by printer 40, whose highest value of luminance is limited by the whiteness of the paper upon which the color image is formed. Further still, since monitor 30 can completely turn off its light emitting elements, it can display colors with lower values of luminance than those printable by printer 40, since even black ink reflects some ambient light. Accordingly, to ensure that some color is printed, even at the highest and lowest luminance values, it is preferable to compress the luminance values determined in step S602 into a range that is printable by printer 40. In step S604, the L*, a* and b* coordinates derived in steps S602 and S603 are inspected to determine whether they fall within the range covered by printer table 26a. If the L*, a*, b* coordinates are within the range covered by printer table 26a, then flow advances to step S605 which looks up the corresponding CMY values in printer table 26a at location L*, a*, b* (actually, the nearest location since only discrete values of L*, a* and b* are stored). On the other hand, if the L*, a*, b* coordinates are not within the printer table 26a, then flow advances to step S606 in which the hue angle  is derived from the a* and b* values according to the following formula:  = arctan (b*/a*) Flow then advances to step S607 which looks up corresponding CMY values in border table 26b at the nearest location which corresponds to the luminance L* and the hue angle derived in step S606. In either event, flow then advances to step S608 in which the CMY values are stored in bit map memory 42 at location (x,y). If desired, the CMY values may be modified before storage, for example, by interpolation, so as to accommodate the difference between the actual L*, a*, b* values stored in the tables and the desired values calculated above. In step S609, printer driver 26 determines whether the bit map memory has been completed. If the bit map memory has not been completed, then flow returns to step S601 in which the next RGB value is received for the next location (x,y) in bit map memory. On the other hand, if the bit map memory has been completed, or if a sufficient area of the bit map memory has been completed (such as an eight row long band corresponding to the eight rows of ink jet nozzles in head 44), then flow advances to step S610 where gamma correction is performed. Gamma correction adjusts the CMY values in the bit map memory so as to achieve a uniform distribution of luminance. In step S611, undercolor removal in the present embodiment may be performed by the simple expedient of selecting the minimum value of CMY and assigning that value to the black value. Then, each of the CMY values is adjusted by subtracting the black value from it. The order of steps S610 and S611 is not critical and those steps may be switched, for example to accommodate a particular color printing technique such as continuous tone, dither techniques or error diffusion. In step S612, color printing is initiated using the resulting CMYK values. Figures 7(a) - 7(d) when taken together as shown in Figure 7, comprise a flow diagram for describing how the printer table 26a and the border table 26b is constructed. The flow procedures shown in Figures 7(a) - 7(d) need only be performed once to derive printer tables and border tables for each printer. The printer tables are derived once by a manufacturer, to be used in a printer driver which is sold to end users as part of a printer. The printer tables may be in the form of software and/or hardware. The printer and border tables are CIELAB printer tables and CIELAB border tables because the RGB values received from an input device such as a scanner are generally transformed into CIELAB coordinates. However, the CMY values which are inserted into the CIELAB printer table and the CIELAB border table are computed in the Munsell space where hue planes are straight, to exactly preserve the hue by merely preserving the hue angle. The steps shown in the flow diagrams of Figures 7(a) to 7(b) may be stored program instructions which are operable in a CPU such as the CPU 20 shown in Figure 5, or the steps may be executed entirely in a special purpose hardware apparatus. In step S701, relative spectral reflectance measurements are performed on the range of colors printable by printer 40. Preferably, this is achieved by printing a very large subset, or a complete set, of all colors printable by printer 40. For example, in the printer used in the present embodiment, each of the CMY and K values may be printed in 65 gradations ranging numerically from 0 to 64. A subset of about one quarter of those values, for each color, are printed. Thus, for example, 17 C values are printed, namely numerical values 0, 4, 8, 12, ... 64, and 17 M values are printed, and 17 Y values are printed. All possible combinations of those 17 CMY values are printed, yielding 17 x 17 x 17 = 4,913 color patches. In addition to the foregoing colors, all possible gray values, in this case 48 additional gray values over the 17 already printed, are also printed. With the foregoing sampling of the printer gamut, it will be seen that pure gray colors are printed together with hued colors. Whatever method of sampling is used, this property of pure gray printing should be preserved since proper gray reproduction is a desirable property in color reproduction. Relative spectral reflectance measurements are performed on each of the 4,913 color patches and 48 additional gray patches. Step S702 transforms the measurements of printable colors into points in the CIELAB space with respect to CIE standard illuminant C in L*, a* and b* coordinates which are transformed into H, V, and C cylindrical coordinates in Munsell space in step S703. In step S704, the cylindrical H, V, C coordinates in Munsell space are transformed to U, V, W cartesian coordinates, where the U, W plane is orthogonal to the V axis, with U pointing in the direction of the Munsell hue 10RP and W pointing in the direction of Munsell hue 5Y. Step S705 derives color mapping functions which map the Munsell coordinates into primary color coordinates, such as CMY coordinates. In the present embodiment, a cubic least square fit from Munsell space into CMY space was chosen. That is, using well-known least square fitting techniques, coefficients c 0 through c 19 , m 0 through m 19 , and y 0 through y 19 were derived to give the best fit, in the least squared sense, to the printable colors measured in step S701 and transformed in step S702: C = c 0 + c 1 V + c 2 U + c 3 W + c 4 V 2 + c 5 U 2 + c 6 W 2 + c 7 VU + c 8 VW + c 9 UW + c 10 V 3 + c 11 U 3 + c 12 W 3 + c 13 V 2 U + c 14 VU 2 + c 15 V 2 W + c 16 VW 2 + c 17 U 2 W + c 18 UW 2 + c 19 VUW M = m 0 + m 1 V + m 2 U + m 3 W + m 4 V 2 + m 5 U 2 + m 6 W 2 + m 7 VU + m 8 VW + m 9 UW + m 10 V 3 + m 11 U 3 + m 12 W 3 + m 13 V 2 U + m 14 VU 2 + m 15 V 2 W + m 16 VW 2 + m 17 U 2 W + m 18 UW 2 + m 19 VUW Y = y 0 + y 1 V + y 2 U + y 3 W + y 4 V 2 + y 5 U 2 + y 6 W 2 + y 7 VU + y 8 VW + y 9 UW + y 10 V 3 + y 11 U 3 + y 12 W 3 + y 13 V 2 U + y 14 VU 2 + y 15 V 2 W + y 16 VW 2 + y 17 U 2 W + y 18 UW 2 + y 19 VUW In step S705, any mathematical function which fits the measurements taken in step S701 from the device independent coordinate space to CMY coordinate space may be used. Preferably, however, the mapping function includes smoothing so as to eliminate measurement irregularities that may have been encountered in step S701. It may, in addition, be preferable to weight some of the points measured in step S701 prior to deriving mapping in step S705. For example, proper skin tone color reproduction is an important property of color printers. Accordingly, it may be desirable, in some circumstances, to weight colors in the area of skin tone colors more heavily than other colors. In step S706, the device independent space, namely Munsell space, is divided into equally sized discrete intervals, one of the intervals including the V axis such as by being centered at the V axis. The determining of the Munsell printer gamut is started in step S707 by determining the points where the color mapping functions result within the printable primary color range, i.e., the CMY values. The size of the intervals in the Munsell printer gamut should be made as small as possible. For example, it has been found that fine luminance gradations are more important than fine hue and saturation gradations. It has been determined that dividing the luminance axis into intervals of ΔV = 0.1 (value V ranges from 0 through 10) provides adequate value V gradation. On the other hand, such fine gradations are not ordinarily needed in hue and saturation, and therefore ΔU = ΔW = 0.4 has been found to yield adequate hue and saturation gradations (U and W range from about -20 through +20 near the center (V = 5) of the value V axis). In addition to the foregoing considerations, it should also be observed that the Munsell printer gamut is not the same for each value V. Specifically, the gamut is relatively smaller at value V extremes and relatively larger at the center of the value axis. In steps S708 and S709, the Munsell printer gamut is adjusted. In Figure 8 it is shown that the color mapping g function used may give rise to false regions in the Munsell printer gamut, such as region 45, which is not within the true Munsell printer gamut 46. These artifacts are removed in step S708 by removing all regions that are not connected to the region around the V axis. In Figure 9 the Munsell printer gamut shown is not radially convex because each and every radial line from the V axis does not intersect border 47 at one and only one point. In particular, radial line 48 intersects border 47 at three points 49a, 49b and 49c. The region between points 49a and 49b is a radial concavity and can cause the generation of inappropriate CMY values. Accordingly, in step S709, the values in the Munsell printer gamut are adjusted to make them radially convex. Figure 10 illustrates this process. Figure 10 shows the rectangular grid in the U and W axis for an arbitrary luminance value V. Cells 51 through 55 all include printable values within the Munsell printer gamut. However, cell 57 is a radially concave cell because the color mapping functions result outside the primary color range in values C = 9, M = 11 and Y= -1, and the radial line at angle H crosses two cells in the Munsell printer gamut (cells 53 and 55). Accordingly, a CMY value is assigned to cell 57 to make the table radially convex. The CMY value is selected by simply truncating the result to C = 9, M = 11 and Y = 0, which places cell 57 inside the primary color range. The printer table 26a and border table 26b provide CMY values in a device independent space, namely the CIELAB space. Prior to later insertion of CMY values into these tables, the CIELAB space must be divided into equally sized discrete intervals, one of the intervals including the L* axis such as by being centered at the L* axis. In step S710 the CIELAB space is so divided. In step S711, the extended gamut in the CIELAB space is determined by first determining the printer gamut in the CIELAB space and then selecting the extended gamut to be slightly larger than the printer gamut and a typical color monitor gamut. The printer gamut in the CIELAB space is determined by applying the color mapping functions which map the CIELAB coordinates into primary color coordinates, i.e. CMY coordinates, and making the CIELAB printer gamut connected to the L* axis and radially convex. In step S712 all discrete points of the extended gamut in the CIELAB space are mapped into the Munsell Space. In step S713 the border points of the extended gamut in the CIELAB space are mapped at all discrete angles and lightnesses into the Munsell space. Figure 11 shows the border points of the extended gamut 80 in the CIELAB space. In areas like the area 81 at the border of the extended gamut 80 between points 82 and 83, the saturation changes too much. To avoid this large saturation change when going from one discrete angle to the next, sufficiently fine angle changes have to be chosen. Increments of 1° have been found to be sufficiently fine. In step S714 the size of the extended gamut in the CIELAB space is reduced, if necessary, so that the mapped points in the Munsell space are clearly defined Munsell colors, which means that they lie within the area of the Munsell color patches, or within the area of extrapolated Munsell colors. The extrapolation of Munsell colors is described in the "Final Report On The O.S.A. Subcommittee On The Spacing Of Munsell Colors" by Newhall, S. et al., J. Opt. Soc. Am., 33,7(1943). At step S715 primary color values, i.e. CMY values are inserted into the CIELAB printer table around the L* axis by taking the mapped CIELAB printer table points and applying the color mapping functions to the mapped CIELAB points that lie inside the Munsell printer gamut, and applying gamut mapping to the mapped CIELAB points in Munsell space that lie outside the Munsell printer gamut. The gamut mapping maps a color point in the Munsell space which lies outside the Munsell printer gamut at a constant angle to a color of the same hue at the border of the Munsell printer gamut. Since gamut mapping takes place in the Munsell space, the hue is exactly preserved by simply preserving the hue angle. How gamut mapping is performed may be seen by referring to Figure 12. In Figure 12 a hue plane in the Munsell space is shown, and 60 is the border of the printer gamut. Each mapped point in the Munsell space that lies outside the Munsell printer gamut 60, such as the point 51 is gamut mapped at a constant angle α to a color of the same hue at a point on the border 60, such as point 52. The gamut mapping assigns to point 51 the CMY color of point 52, which is determined by applying the color mapping functions to point 52. Likewise, a mapped point 53 outside the Munsell printer gamut 60 is gamut mapped at the constant angle α to a color of the same hue at point 54 on the border 60. The gamut mapping assigns to point 53 the CMY color of point 54, which is determined by applying the color mapping functions to point 54. The angle α lies in the range of approximately 10° to 30° with respect to the lightnesses plane at the points 51 or 53. Within the displayed hue plane, point 50 denotes the point of maximum saturation at the border 60 of the Munsell printer gamut. For points above the point 50, such as the point 51, the angle α extends downwardly; and for points below the point 50, such as the point 53, the angle α extends upwardly. All mapped points in the wedge 70, subtended by the angle 2α from the point 50 are gamut mapped to the color at point 50. The gamut mapping assigns to all points in the wedge 70 the CMY color of point 50, which is determined by applying the color mapping functions to point 50. Since the gamut mapping preserves the hue angle in Munsell space, the hue is exactly preserved. At Step S716, CMY values are inserted into the printer table at the L* axis by determining the printer grays. At step S717, CMY values are inserted into the border table by taking the mapped CIELAB border points of the extended gamut and applying the gamut mapping as shown in Figure 11. The border table lists one primary CMY color at all discrete angles and lightnesses for points outside the extended gamut in CIELAB space. These primary colors are determined by mapping the border points of the extended gamut in CIELAB space at all discrete angles and lightnesses into the Munsell space and applying the gamut mapping in the Munsell space as described relative to Figure 12. Figure 15 shows the correspondence of border tables and printer tables. Whereas printer table 26a is a rectangular grid for an arbitrary luminance value L*, border table 26b is arranged as a wheel centered at a* = b* = 0. Individual cells in the border table are accessed by the angle  in the a* b* plane which also corresponds to hue. Experimentally, it has been found that 1 degree increments, resulting in 360 cells in each border table, provides adequate gradation of hue. However, this gradation may be adjusted. In step S718, the printer table is rectangularized. More specifically, until this step, CMY values have been inserted into the printer table only in areas within the extended gamut 61 which includes the printer gamut 60 (steps S710 and S715). In step S718, the remaining cells of the printer table such as cells like cell 68 in Figure 15 are filled out by calculating the hue angle for each blank cell that remains in the printer table and by inserting the border table color at that hue angle as illustrated at 69 in Figure 15. Whereas the printer table was arranged as a rectangular grid in the a* b* axes for each luminance value, the border table is arranged in wheels with one wheel for each of the luminance values of the printer table. Thus, as shown in Figure 14, a wheel-shaped border table is provided for each of the luminance values for which a printer table exists, which provides one border table in correspondence with each of the printer tables. The border tables contain plural cells which are accessed based on hue angle  calculated as a function of the a* and b* coordinates, as follows:  = arctan (b*/a*) Figure 13 illustrates a typical division of CIELAB space into a printer table, although all luminance and hue gradations have not been shown to simplify the presentation. At relatively low luminance values such as L* = 10, a relatively small rectangular grid in the a* and b* axes is adequate to map the printer gamut. Similarly, at relatively high luminance values, such as L* = 90, a relatively small rectangular grid in the a* and b* axes is also adequate to store the printer gamut. However, at intermediate luminance values, such as that at L* = 50, a relatively larger rectangular grid in the a* and b* axes is required to map the printer gamut. As further shown in Figure 13, the rectangular grid at each luminance level includes the L* axis (in Figure 13 it is centered on the L*id that corresponds exactly to a* = b* = 0. That central point, namely a* = b* = 0, corresponds to a pure gray color which, as mentioned above, is desirably reproduced as a pure gray color for proper color reproduction.

Claims: A method of constructing a printer table for a printer, comprising the steps of: transforming (S702) measurements of colors printable by said printer into Munsell space having hue, value and chroma coordinates and straight hue planes; deriving (S705) color mapping functions which map the Munsell space coordinates into primary color coordinates; determining (S707) a printer gamut in Munsell space by selecting points in the Munsell space that are mapped by the color mapping functions within a primary color range printable by the printer; determining (S711) extended gamut in CIELAB space by determining a gamut in CIELAB space which includes both the printer gamut and a typical color monitor gamut; mapping (S714) all discrete points of the extended gamut in CIELAB space into the Munsell space; and constructing said printer table by inserting primary color values into said printer table by applying the color mapping functions to the mapped CIELAB space points in Munsell space that lie inside the printer gamut in Munsell space and applying gamut mapping to the mapped CIELAB space points in Munsell space that lie outside the printer gamut in Munsell space at a constant angle to a color of the same hue at a border of the printer gamut in Munsell space. The method of claim 1, including the steps of: mapping border points of the extended gamut in CIELAB space into the Munsell space; and inserting primary color values into a border table by applying the gamut mapping in Munsell space to the mapped CIELAB border points. The method of claim 1 or claim 2, wherein the steps of transforming measurements of printable colors into Munsell space further comprises transforming relative spectral reflectance measurements of printable colors into Munsell space. The method of any preceding claim, wherein the step of mapping border points includes: mapping border points of the extended gamut in CIELAB space, at all discrete angles and lightnesses, into the Munsell space. The method of any preceding claim, including the step of: transforming the points in CIELAB space into points in Munsell space for each printable color. The method of any preceding claim, including the step of: transforming the points in Munsell space in cylindrical coordinates H, V, C into Cartesian coordinates U, V, W for each printable color. The method of any preceding claim, including the step of: dividing the Munsell space into discrete intervals centred on the V axis. The method of any preceding claim, including the step of: adjusting the printer gamut in Munsell space by removing unconnected regions from the printer gamut in Munsell space. The method of any preceding claim, including the step of: adjusting the printer gamut in Munsell space by making it radially convex. The method of any preceding claim, including the step of: dividing CIELAB space into discrete intervals centred on the L * axis. The method of any preceding claim, including the step of: reducing the size of the extended gamut in the CIELAB space, if necessary, so that the mapped points in Munsell space are clearly defined Munsell colors. The method of any preceding claim, including the step of: inserting primary color values into the printer table at the L * axis by determining printer grays. The method of any preceding claim, including the step of: inserting primary color values into a border table taking the mapped CIELAB border points and applying gamut mapping. The method of claim 13, including the step of: rectangularizing the printer table based on the border table. A method of manufacturing a printer driver comprising the method of constructing a printer table of any one of claims 1 to 14 and generating computer instructions in association with said printer table to generate the printer driver. A method of printing using a printer table constructed in accordance with any one of claims 1 to 14. An apparatus for constructing a printer table for a printer, comprising means for transforming measurements of colors printable into Munsell space having hue and value and chroma coordinates and straight hue planes; means for deriving color mapping functions which map the Munsell space coordinates into primary color coordinates; means for determining a printer gamut in Munsell space by selecting points in the Munsell space that are mapped by the color mapping functions within a printable primary color range printable by the printer; means for determining an extended gamut in CIELAB space by determining a gamut in CIELAB space which includes both the printer gamut and a typical color monitor gamut; means for mapping all discrete points of the extended gamut in CIELAB space into the Munsell space; and means for constructing said printer table by inserting primary color values into said printer table by applying the color mapping functions to the mapped CIELAB space points in Munsell space that lie inside the printer gamut in Munsell space and applying gamut mapping to the mapped CIELAB space points in Munsell space that lie outside the printer gamut in Munsell space, at a constant angle to a color the same hue at a border of the printer gamut in Munsell space. The apparatus of claim 17, including: means for mapping border points of the extended gamut in CIELAB space into the Munsell space; and means for inserting primary color values into a border table by applying the gamut mapping in Munsell space to the mapped CIELAB border points. The apparatus of claim 17 or claim 18 wherein the means for transforming comprises: means for transforming relative spectral reflectance measurements of printable colors into Munsell space. The apparatus of any one of claims 17 to 19, wherein the means for mapping border points comprises: means for mapping border points of the extended gamut in CIELAB space, at all discrete angles and lightnesses, into the Munsell space. The apparatus of any one of claims 17 to 20, including: means for transforming the points in CIELAB space into points in Munsell space for each printable color. The apparatus of any one of claims 17 to 21, including: means for transforming the points in Munsell space in cylindrical coordinates H, V, C into Cartesian coordinates U, V, W for each printable color. The apparatus of any one of claims 17 to 22, further comprising: means for dividing the Munsell space into discrete intervals centred on the V axis. The apparatus of any one of claims 17 to 23, further comprising: means for adjusting the printer gamut in the Munsell space by removing unconnected regions from the printer gamut in Munsell space. The apparatus of any one of claims 17 to 24, further comprising: means for adjusting the printer gamut in Munsell space by making it radially convex. The apparatus of any one of claims 17 to 25, further comprising: means for dividing CIELAB space into discrete intervals centred on the L * axis. The apparatus of any one of claims 17 to 26, further comprising: mens for reducing the size of the extended gamut in the CIELAB space, if necessary, so that the mapped points in Munsell space are clearly defined Munsell colors. The apparatus of any one of claims 17 to 27, further comprising: means for inserting primary color values into the printer table at the L * axis by determining printer grays. The apparatus of any one of claims 17 to 28, further comprising: means for inserting primary color values into a border table by taking the mapped CIELAB border points and applying gamut mapping. The apparatus of claim 29, further comprising: means for rectangularizing the printer table based on the border table. A storage medium carrying processor implementable instructions adapted to control a processor to carry out the method of any one of claims 1 to 15.

Inventors: ALESII GESUALDO, KOHLER TIMOTHY L, RUETZ BRIGITTE, ALESII, GESUALDO, KOHLER, TIMOTHY L., RUETZ, BRIGITTE
Applicants: CANON INFORMATION SYST INC, CANON INFORMATION SYSTEMS, INC.
Application year: 1995
Main classification: H04N1
IPC codes: H04N1, G06T11, B41J5, G03F3, B41J2, G06F3