1. Field of the Invention
The present invention relates to a color processing apparatus that is configured to simulate a print product output by a printer on a monitor, and to a method for the same.
2. Description of the Related Art
A print product that is printed using a printer or the like is output assuming that the print product is observed under illumination having a color temperature of 5000K, which is termed D50. Thus, when the print result is simulated in advance using a monitor of a personal computer or the like, processing is executed by assuming that the print product is observed under a 50K illumination. This type of simulation is termed a “soft proof” and the processing is executed using a color matching system (hereinafter referred to as “CMS”). There is also a technique for simulating the appearance of color in a print product when using illumination other than D50 (Japanese Patent Application Laid-Open No. 9-46535). Although the accuracy of these methods is affected by a profile stating the characteristics of the print media, the printer or the monitor, which is termed the color profile, or the characteristics of the engine executing the CMS, the approximate print result can be reproduced on the monitor.
On the other hand, there is a technique of reproducing the color of a fabric on a monitor using computer graphics (CG) (Japanese Patent Application Laid-Open No. 2007-26049). This technique effectively creates a highly accurate bidirectional reflectance distribution function (BRDF) of the fabric using measurement data obtained from one incidence direction, and uses the bidirectional reflectance distribution function to execute shading processing.
However the impression when viewing the actual print product does not only depend on the color, but also is considerably affected by the gloss characteristics of the colorant forming the print product. Therefore, a strange impression often results when the print product is compared with the result of a simulation on a monitor. In other words, a simulation which is closer to the actual object requires not only color but also the gloss characteristics to be simulated at the same time.
When reproducing gloss using a reflection model in conventional CG such as a Phong Model or a Lambert Model, there is the problem that the intensity or color of the glossiness, which varies due to differences in colorants, such as bronzing cannot be reproduced on a monitor. When a CG model is used, this is due to the fact that the color of the gloss depends on the whiteness or on the color of the light source, and is normally uniform. Bronzing is a phenomenon in which a color is created in reflection due to diffuse reflection of illumination light from the print surface and appears as a metallic gloss such as an iridescent color which is different to the original printed color depending on the angle of view.
A color processing apparatus configured to simulate a print product output by a printer on a monitor. The color processing apparatus includes a first conversion unit configured to convert color data representing an image of the simulation object into color data in a printer color space based on an illumination condition and a printer profile, a first calculation unit configured to calculate color data of diffuse reflection in a line-of-sight direction from color data in the printer color space using a diffuse reflection table corresponding to the illumination condition, a second calculation unit configured to calculate color data in the printer color space and specular reflection color data using a specular reflection table corresponding to the illumination condition, a third calculation unit configured to calculate color data of specular reflection in a line-of-sight direction from color data of specular reflection calculated using a parameter representing an exitance of the glossiness and colorless light-source color data, a combination unit configured to combine the color data of diffuse reflection in a line-of-sight direction and color data of specular reflection in a line-of-sight direction, and a second conversion unit configured to convert the combined color data to color data in a color space of the monitor.
Further features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments and features of the invention and, together with the description, serve to explain the present invention.
Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the drawings.
Firstly in the present exemplary embodiment, a method will be described that is configured to reproduce gloss, including bronzing, and the color of a print product on a monitor using soft proof processing in a CG technique.
As the output profile, the printer profile is designated. The printer profile is prepared for each printer model, print media and print grade and, must be selected appropriately to the print conditions. As the illumination conditions, the color temperature of the illumination, or the type of fluorescent light (high color rendering type, three-wavelength type, standard type) is designated. Furthermore the CMS engine 202 may have any rendering intent (normally perceptual). The image data 201 is processed by the CMS engine 202 to thereby obtain image data 203 for the printer color space under the designated illumination conditions. If the color temperature of the illumination is low, the color value shifts towards orange, and when the color temperature is high, the color value shifts towards blue.
Next, the image data 203 is converted to the monitor color space. At this time, the input profile, the output profile and illumination conditions of the environment (monitor environment) for viewing the monitor are designated for a CMS engine 204. As the input profile, the same printer profile as that designated for the CMS engine 202 is designated. As the output profile, the monitor profile is designated. The monitor profile is distributed by the manufacturer, or is prepared by using a dedicated measurement apparatus. As the illumination conditions, the color temperature of the illumination, or the type of fluorescent light (high color rendering type, three-wavelength type, standard type) is designated. However the monitor is a self-illuminating device and therefore the appearance of the color displayed on the monitor is not greatly affected by the illumination conditions. Thus, the illumination conditions may be fixed to a 5000K high color rendering type. Normally, as the rendering intent, an absolute colorimetric is designated in which the chromaticity value does not vary. The image data 203 is processed by the CMS engine 204 to thereby obtain image data 205 for the monitor color space. The image displayed on the monitor according to the image data for the monitor color space simulates the print product.
In step S302, the CPU 104 measures the output patch image data with a measurement apparatus. The measurement items are illustrated in
In step S303, the CPU 104 converts the spectral reflectance in the diffuse direction and the spectral reflectance in the specular reflection direction of the respectively measured patch image data, into an XYZ value for each type of light source. Then the CPU 104 associates converted XYZ values respectively with an RGB value of patch image data and prepares a diffuse reflection LUT (RGB input, XYZ output) 305 and a specular reflection LUT (RGB input, XYZ output) 306 for the number of light source types. The diffuse reflection LUT 305 is prepared using the XYZ value calculated based on the spectral reflectance in the diffuse direction, and the specular reflection LUT 306 is prepared using the XYZ value calculated based on the spectral reflectance in the specular reflection direction. The XYZ value is calculated by multiplying a color matching function by a dispersion spectrum of the light source and further by the spectral reflectance.
For the dispersion spectrum of the light source, standard values such as D50, D65 or the like may be used or may be measured and acquired by using a measurement apparatus such as a spectral radiance meter with respect to an arbitrary light source. In the present exemplary embodiment, the types of light sources are D50, D65 and A source, however the types of light sources may be increased or decreased as required. In this manner, a diffuse reflection LUT (diffuse reflection look-up table) 305 and a specular reflection LUT (specular reflection look-up table) 306 are prepared with respect to the D50, D65 and A light sources respectively (according to the respective illumination conditions). In other words, three diffuse reflection LUTs 305 and three specular reflection LUTs 306 are prepared.
On the other hand, with respect to the extent of the reflected light 304, in step S304, the CPU 104 calculates a parameter n for a specular reflection formula from the data measured for each patch image data, and stores the parameter n as an extent of the reflected light LUT in the RAM 106. In the present exemplary embodiment, the 729 color LUT for each of the nine RGB color grids is generated by adding both an interpolated accuracy and interpolated speed for the LUT. However there is no limitation to the grid number or the grid interval, and the grid number may be increased to improve the accuracy.
The diagram 401 in
The diagram 403 in
Then in step S502, the CPU 104 conforms the white point in the XYZ color space to an sRGB color space, and shifts it to 6500K. A 3×3 matrix conversion is used in this process.
In step S503, the CPU 104 converts from an XYZ value to an RGB value and finishes the process. A general 3×3 matrix conversion is used in this conversion. An RGB value in the sRGB color space for the light-source color is obtained in this process.
Then illumination 603 is installed. Light of the light source color calculated in
In step S701, the CPU 104 executes a soft proof process and inputs the image data for display as a print product 602 in the virtual 3D model illustrated in
In step S702, the CPU 104 inputs an illumination condition I in the virtual 3D model environment in
In step S703, the CPU 104 inputs a printer profile corresponding to the printer and the paper as a target for the soft proof.
In step S704, the CPU 104 converts the image data in the sRGB color space input in step S701 into image data 203 for a printer color space using the CMS engine according to the process illustrated in
In step S705, the CPU 104 sets the light-source color of the illumination 603 to colorless. Colorless as used herein means (X, Y, Z)=(1.0, 1.0, 1.0) when the XYZ value is normalized from 0 to 1.0.
In step S706, the CPU 104 selects the diffuse reflection LUT corresponding to the illumination conditions input in step S702 from the diffuse reflection LUT 305 for each light source prepared using the process illustrated in
In step S707, the CPU 104 calculates the XYZ value for the diffuse reflection components in a direction which is normal with respect to the paper surface by converting the image data 203 for the printer color space using the selected diffuse reflection LUT.
In step 708, the CPU 104 calculates the XYZ value (diffuse reflection color) for the diffuse reflection component in the line-of-sight direction using the diffuse reflection formula 402. Herein Kd in the diffuse reflection formula 402 is an XYZ value calculated in step S707. The parameter Id is adjusted to the colorless light source color set in step S705 and takes a value of (X,Y,Z)=(1.0, 1.0, 1.0). In the present exemplary embodiment, the XYZ value for the diffuse reflection component in the normal direction is calculated by selecting the diffuse reflection LUT corresponding to the illumination condition I. However a diffuse reflection color corresponding to the illumination condition I may also be calculated by a color matching process.
In step S709, the CPU 104 selects the specular reflection LUT corresponding to the input illumination condition I from the specular reflection LUT 306 for each light source prepared using the process illustrated in
In step 710, the CPU 104 calculates the XYZ value of the specular reflection component in the specular reflection direction for light incident from a 45° angle by converting the image data 203 in the printer color space using the selected specular reflection LUT.
In step S711, the CPU 104 calculates the XYZ value (specular reflection color) of the specular reflection component in the line-of-sight direction based on the specular reflection formula 404. The parameter Ks in the specular reflection formula 404 is the XYZ value calculated in step S710. The parameter Is is adjusted to the colorless light source color set in step S705 and takes a value of (X,Y,Z)=(1.0, 1.0, 1.0). The parameter n represents the level of exitance of the glossiness and is a value obtained by converting the RGB value of the image data in the printer color space using the LUT (S307) for the extent of reflected light.
In step S712, the CPU 104 adds the specular reflection color calculated in step S711 and the diffuse reflection color calculated in step S708 according to the calculation formula 405 of the reflection color of the object and thereby calculates an XYZ value of the reflection color.
In step S713, the CPU 104 inputs the monitor profile. In step S714, the CPU 104 converts the XYZ value of the reflection color calculated in step S712 using the CMS engine 204 to an RGB value in the monitor color space and finishes the process.
In step S801, the CPU 104 inputs the respective colors of the 3D object 604.
In step S802, the CPU 104 inputs the illumination condition I in the virtual 3D object environment in
In step S803, the CPU 104 uses the processing illustrated in
In step S804, the CPU 104 sets the light source color of the illumination 603 to Ivs. In step S805, the CPU 104 calculates the diffuse reflection color of the 3D object 604 from the diffuse reflection formula 402 using the light source color Ivs. Herein the light source color Ivs is set in Id and the color of the 3D object 604 multiplied by the reflection intensity of the print media is set in Kd.
In step S806, the CPU 104 calculates the specular reflection color for the 3D object 604 from the specular reflection formula 404 using the light source color Ivs. Herein Ivs is set in Is. The white color which is the gloss color, is multiplied by the reflection intensity, and an obtained value is set in Ks. In this manner, the specular reflection color to which the gloss color is added can be calculated.
In step S807, the CPU 104 adds the specular reflection color calculated in step S806 and the diffuse reflection color calculated in step S805 and thereby calculates the reflection color for the 3D object.
In step S808, the CPU 104 inputs the monitor profile. In step S809, the CPU 104 uses the CMS engine 204 to convert reflection color calculated in step S807 from the sRGB color space to the monitor color space, and then finishes the processing. In the above processing, a display color of the 3D object 604 on the monitor can be calculated.
In final processing, the results of the flowcharts illustrated in
In the present exemplary embodiment, although an sRGB color space is used in the color calculation in CG or the image data, another color space such as an Adobe RGB or the like can also be used. In the present exemplary embodiment, although the use of an XYZ color specification system has been described, a different color specification system such as an L*a*b* color specification system for CIE can be used.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or a micro-processing unit (MPU)) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiments, and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiments. For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., non-transitory computer-readable storage medium). The program includes computer-executable instructions for implementing the present invention.
An operating system (OS) or other application software running on a computer can execute part or all of actual processing based on instructions of the program to realize the functions one or more of the above-described exemplary embodiments.
Additionally, the program read out of a storage medium can be written into a memory of a function expansion card inserted in a computer or into a memory of a function expansion unit connected to the computer. In this case, based on instructions of the program, a CPU or MPU provided on the function expansion card or the function expansion unit can execute part or all of the processing to realize the functions of one or more of the above-described exemplary embodiments.
A wide variety of storage media may be used to store the program. The storage medium may be, for example, any of a flexible disk (floppy disk), a hard disk, an optical disk, a magneto-optical disk, a compact disc (CD), a digital versatile disc (DVD), a read only memory (ROM), a CD-recordable (R), a CD-rewritable, a DVD-recordable, a DVD-rewritable, a magnetic tape, a nonvolatile memory card, a flash memory device, and so forth.
As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures, and functions.
This application claims priority from Japanese Patent Application No. 2009-165125 filed Jul. 13, 2009, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2009-165125 | Jul 2009 | JP | national |