The entire disclosure including the specification, drawings, and abstract of this Japanese application No. 2004-036407, filed on Feb. 13, 2004, is incorporated herein by reference.
Equipment such as image scanners, displays, and printers handles image data using a color space depending on what equipment. With such data handling using the equipment-dependent color space, a problem arises when a document is scanned by an image scanner, and the resulting image data is printed by a printer. That is, the printed document looks different in color from the original document. The printed document also looks different in color from the image data on a display. For the purpose of reducing such a discrepancy of color reproduction, the color matching technology has been developed. In the color matching technology, image data is delivered via an equipment-independent color space referred to as Profile Connection Space (PCS). For image input using an image scanner or others, the image-scanner-dependent color space is converted into the PCS for the resulting image data. For image output using a display or a printer, on the other hand, the PCS is converted into the display- or printer-dependent color space for the image data.
For converting the PCS into the equipment-dependent color space, and vice versa, used is a profile that is data storing a lookup table for the use of such conversions. Including such a profile enables the equipment to perform color matching using the PCS with other arbitrary equipment also including a profile. The profile for color matching includes, for example, an ICC profile that is the international standards of the color management technology.
The issue here is that a printing device such as printer is known for changing its characteristics with time, causing property degradation of color reproduction. Even with no change of characteristics with time, the color reproduction varies depending on what type of printer is in use. Such property degradation of color reproduction with time, and variation of color reproduction due to varying printer type can be both solved by going through a profile creation again.
Such profile recreation, however, requires a colorimeter exemplified by spectrophotometer, and an application program for creating a profile based on the output of the calorimeter. The calorimeter is generally expensive, and purchasing a set of calorimeter and application program together with a printer is difficult for ordinary users in terms of cost, and after purchase, operating the set for profile creation is difficult for the users in terms of handling. What is more, profile creation using a calorimeter generally takes a long time.
The present invention is proposed in consideration of the above problems, and an object thereof is to provide a printing profile setting device, system, method, and program all capable of matching the property of color reproduction of a target printing device to that of a reference printing device without using a calorimeter.
(1) In order to achieve the object, a printing profile setting device includes: a storage means for storing a profile of a reference printing device and reference patch data; a printing control means for having a target printing device printed a target patch based on the reference patch data; a data capture means for capturing via an image reading device, reference color data representing a printing color of a reference patch that is printed by the reference printing device based on the reference patch data, and target color data representing a printing color of the target patch; and a setting means for comparing the reference color data and the target color data in the same color space, and based on a comparison result, setting a profile derived by correcting a profile of the reference printing device as a profile of the target printing device.
Such a printing profile setting device, via an image reading device, captures both the reference color data representing the printing color of the reference patch, and the target color data representing the printing color of the target patch. Such data capturing enables comparison between the reference color data and the target color data in the same color space. The comparison result is then used as a basis for profile setting, i.e., a profile derived by correcting the profile of the reference printing device is set as a profile of the target printing device. In this manner, property of color reproduction of the target printing device can be matched to that of the reference printing device without using a calorimeter.
(2) The data capture means may capture the reference color data and the target color data solely via the image reading device.
With such a printing profile setting device, the comparison can be made between the reference color data and the target color data in a color space dependent on the image reading device.
(3) The data capture means may have the image reading device read at a time the reference patch and the target patch.
With such a printing profile setting device, the property of color reproduction of the target printing device can be correctly adjusted without suffering from temporal characteristics change of the image reading device.
(4) The setting means may compare the reference color data and the target color data in a color space that is standardized separately from the image reading device.
With such a printing profile setting device, the image reading device for capturing the target color data representing the printing color of the target patch may be deferent from the image reading device for capturing the target color data representing the printing color of the target patch.
(5) The setting means may specify the target color data representing a color most similar to the color represented by any of the reference color data based on the comparison result, and may set, as the profile of the target printing device, a profile corresponding to a mapping as a result of combining a mapping replacing a first output value of the profile of the reference print device corresponding to the reference color data with a second output value of the profile of the reference printing device corresponding to the specified target color data, and a mapping corresponding to the profile of the reference printing device.
(6) In order to achieve the above-described object, a printing profile setting system includes: an image reading device for reading an optical image of a reference patch printed by a reference printing device based on reference patch data, and an optical image of a target patch printed by a target printing device based on the reference patch data; and a printing profile setting device, including: storage means for storing a profile of the reference printing device and the reference patch data; printing control means for having the target printing device printed the target patch based on the reference patch data; data capture means for capturing, via the image reading device, reference color data representing a printing color of the reference patch, and target color data representing a printing color of the target patch; and setting means for comparing the reference color data and the target color data in the same color space, and based on a comparison result, setting a profile derived by correcting a profile of the reference printing device as a profile of the target printing device.
With such a printing profile setting system, the property of color reproduction of the target printing device can be matched to that of the reference printing device without using a calorimeter.
(7) In order to achieve the above-described object, a printing profile setting method includes the steps of: having a target printing device printed a target patch based on reference patch data; reading a reference patch printed by a reference printing device based on the reference patch data and the target patch, and capturing reference color data representing a printing color of the reference patch and target color data representing a printing color of the target patch; and comparing the reference color data and the target color data in the same color space, and based on a comparison result, setting a profile derived by correcting a profile of the reference printing device as a profile of the target printing device.
With such a printing profile setting method, the property of color reproduction of the target printing device can be matched to that of the reference printing device without using a calorimeter.
(8) In order to achieve the above-described object, a printing profile setting program product for allowing a computer to function various functions, includes: storage means for storing a profile of a reference printing device and reference patch data; printing control means for having a target printing device printed a target patch based on the reference patch data; data capture means for capturing, via an image reading device, reference color data representing a printing color of a reference patch that is printed by the reference printing device based on the reference patch data, and target color data representing a printing color of the target patch; and setting means for comparing the reference color data and the target color data in the same color space, and based on a comparison result, setting a profile derived by correcting a profile of the reference printing device as a profile of the target printing device.
With such a printing profile setting program, the property of color reproduction of the target printing device can be matched to that of the reference printing device without using a calorimeter.
Note here that the means provided in the present invention are functionally implemented by hardware resources defined by function with the device structure, the hardware resources defined by function by a program, or combination of such hardware resources. These means are not restrictive, in terms of function, to those implemented by hardware resources physically independent from one another.
The accompanying drawings are all the simplified schematic representation of an example reflecting the principles of the present invention. For eliminating the possibility of harming the clarity of the present invention, factors and details apparent to those skilled in the art not described.
In the below, an embodiment of the present invention is described based on examples. Although the examples are described in detail, the present invention is not restrictive thereto and understood as being quite wide in scope. In order to determine the true scope of the present invention, the accompanying claims are to be referred to.
Described next is the image scanner 3.
An optical system 32 is provided with a light source 33, a mirror 34, a lens 35, and the like. The light source 33 includes a fluorescent tube lamp or others, and the mirror 34 and the lens 35 form on a linear image sensor 30 an optical image of a document M that is illuminated by the light source 33.
The linear image sensor 30 includes photoreceptors such as photodiodes linearly arranged in the vertical direction viewed from the front of
A main scanning drive section 36 is a drive circuit for outputting, to the linear image sensor 30, driving pulses needed to drive the linear image sensor 30. The main scanning drive section 36 is exemplified by synchronous signal generators, drive timing generators, or others.
A sub scanning drive section 37 is provided with a slide axis 38 that is laid across the axial direction of the linear image sensor 30 to hold the carriage 31 to freely slide, a stepping motor 39, a drive belt 40, a drive circuit, and others. By the stepping motor 39 pulling the carriage 31 with the drive belt 40, the linear image sensor 30 and the document M move relatively in the direction of a (sub scanning direction) of
An analog front end (AFE) section 41 includes an analog signal processing section, an A/D converter, and others. The analog signal processing section applies an analog signal process to the electrical signal coming from the linear image sensor 30. Here, the analog signal process includes amplification, noise reduction, and others. The A/D converter quantizes the electrical signal coming from the analog signal processing section, and outputs the resulting digitally-represented signal of a given bit length.
A digital image processing section 42 processes the output signal coming from the AFE section 41, e.g., gamma correction, interpolation of defective pixels using pixel interpolation algorithm, shading compensation, image signal sharpening, and color space conversion. Alternatively, such various processes to be executed by the digital image processing section 42 may be replaced by those of a computer program to be run by the control section 56.
The interface (I/F) section 43 is configured in conformity with the communications standards exemplified by RS-232C, Bluetooth, USB, and others, and is connected to the PC 2 for communications therewith.
The control section 56 is provided with a CPU 57, ROM 58, and RAM 59. The CPU 57 runs a computer program stored in the ROM 58 for exercising control over the components in the image scanner 3. The ROM 58 is memory previously storing various programs and data, and the RAM 59 is memory temporarily storing various programs and data.
Described next is reference patch data.
Described next is how to adjust the color reproduction.
To be more specific, for adjustment of color reproduction, a comparison is first made between the printing paper 74 as a printing result of the reference patch data using the reference printer 5, and the printing paper 75 as a printing result of the reference patch data using the target printer 4. Through comparison as such, the reference patch data is defined by what color data requires replacement with what color data, and thus derived correspondence is used as a basis for replacement in a digital image prior to printing. In the below, the printing paper as a printing result of the reference patch data using the reference printer 5 is referred to as reference patch, and the printing paper as a printing result of the reference patch data using the target printer 4 is referred to as target patch.
Described next is a printing profile setting program.
In the printing control process 81, the target printer 4 is controlled by the reference patch data so that the target patch is printed.
In the data capture process 82, the image scanner 3 is so controlled as to scan at a time the reference patch and the target patch, thereby capturing both reference color data representing the reference patch, and target color data representing the target patch. Here, the reference color data and the target color data may be captured as a piece of image data or each different image data. By scanning the reference patch and the target patch at a time, the color reproduction can be adjusted by the image scanner 3 even with its characteristics change with time. This is because if the reference color data can be compared with the target color data in the same color space, the target printer 4 can be adjusted in color reproduction using a profile of the reference printer 5.
In the color space conversion process 83, thus captured reference color data and target color data are both converted into the Lab color space using a profile of the image scanner 3. Through conversion as such, the reference color data and the target color data are converted into the same color space, which is standardized independently from the image scanner 3.
In the setting process 84, the reference color data is compared with the target color data in the Lab color space, and based on the comparison result, the profile of the reference printer 5 is corrected. Herein, the color space for comparison between the reference color data and the target color data is not necessarily the Lab color space. As long as the reference color data and the target color data are captured by the same image scanner, such data comparison may be made in the Lab or RGB color space. The RGB color space is equipment-dependent, and thus is restricted for use only when the reference and target color data are captured by a single image scanner, or otherwise failing to properly correct the profile. Therefore, when the reference color data and the target color data are captured by each different image scanner, the Lab color space is a requirement for data comparison, or any other standardized color spaces except the RGB color space will do as an alternative thereto.
More in detail, the reference color data is compared with the target color data on the basis of color data using the following equation (1). The reference color data is defined which color data is closest in color to which color data in the target color data.
ΔE={square root}[(L1−L2)2+(a1−a2)2+(b1−b2)2] (1)
In the equation (1), L1, a1, and b1 all denote the color data in the reference color data, and L2, a2, and b2 all denote the color data in the target color data. Calculating the equation (1) leads to the color differences observed between any two color data, and the smaller ΔE means the smaller color differences therebetween. The smaller the color differences, it means that the two color data are closer in color, and thus defining the color showing the smallest color differences can tell which color is closet. In this example, the quasi-Newton method is used to define which color data in the target color data is representing the closest color, i.e., the quasi-Newton method is used to specify which color data minimizes the value of equation (1).
Described next is how the color data is defined using the quasi-Newton method.
In the setting process 84, one specific color data is first selected in the reference color data. In the target color data, any one color data is set at random as an initial point using random numbers, and from thus set initial point, a search is repeated using the quasi-Newton method until predetermined requirements are satisfied. Here, specifically, the predetermined requirements include the comparison frequency, for example. There may be cases where no convergence is achieved with some initial points, and with this being the case, the search is terminated when the comparison is made for a specific number of times. If convergence is achieved, the search is terminated at the point of convergence. After the search is completed, to the extent of the search, specified is one target color data with which the value of ΔE is minimized. Such a search is repeated for 100 times, for example, with each randomly-set initial point, and the search results are compared with one another to find the target color data minimizing the value of ΔE. In
In the above process, there may be cases where any one specific color data in the target color data is specified for some different color data in the reference color data. If this is the case, the color reproduction is not exactly adjusted. To prevent such a possibility, the following measures are to be taken in the setting process 84. That is, if anyone specific color data in the target color data is specified for two different color data in the reference color data, two other color data are specified regarding one of two different color data, i.e., one color data representing a color second closer to one of two different color data, and another representing a color third closer to one of two different color data. Based on such three color data, the color data is interpolated before being specified. Such data interpolation is an arbitrarily-selectable design matter. The other color data is interpolated in a similar manner. As a result of such data interpolation, a one-to-one relationship is established between the color data in the reference color data and the target color data.
In the setting process 84, after every color data is specified with color data representing its closest color, the resulting correspondence is used as a basis to specify, for every color data in the reference patch data, which color data is to be replaced therewith. As a specific example, assuming that the color data of (10, 10, 10) in the reference color data is specified with the color data of (20, 20, 20) in the target color data. In this case, in the setting process 84, correspondence is established between the color data of the reference patch data corresponding to the color data of (10, 10, 10) in the reference color data, and the color data of the reference patch data corresponding to the color data of (20, 20, 20) in the reference color data. A lookup table is then created for defining thus established correspondence. Note here that the reference patch data is not necessarily set with every color, and thus no correspondence is established at this time for colors not found in the reference patch data. In view thereof, in the setting process 84, the colors not found in the lookup table are interpolated using the colors found therein so that the correspondence is interpolated for the colors not included in the reference patch data. Such color interpolation is an arbitrarily-selectable design matter, and thereafter, the lookup table is fully created. After creation of the lookup table, in the setting process 84, thus created lookup table is used as a basis to correct the profile of the reference printer 5.
The mapping in Claims for replacing the first output value with the second output value is equivalent to the lookup table B, and the mapping corresponding to the profile of the reference printer is equivalent to the lookup table A. The profile of the mapping as a result of combination of the lookup tables A and B is equivalent to the profile storing the lookup table A′.
Described next is the process flow for setting a profile of the target printer 4.
In step S105, the PC 2 issues a command to the target printer 4 to print reference patch data.
In step S110, the target printer 4 prints a target patch based on the reference patch data.
In step S115, a user places, on the image scanner 3, both a target patch previously printed by the reference printer 5, and the target patch printed in step S110.
In step S120, the PC 2 issues a command to the image scanner 3 to start scanning.
In step S125, the image scanner 3 scans the reference and target patches at a time so that reference color data and target color data are generated.
In step S130, thus generated reference color data and target color data are forwarded to the PC 2.
In Step S135, the PC 2 performs color space conversion for the reference and target color data, i.e., from RGB to Lab.
In step S140, the PC 2 compares the reference color data with the target color data in the Lab color space.
In step S145, based on the comparison result, the profile of the reference printer 5 is corrected, and the resulting profile is set as the profile of the target printer 4.
After such profile setting to the target printer 4 and onwards, the color data of the incoming digital image via the PCS is replaced accordingly by the lookup table A′. Therefore, derived is the printing result of the digital image showing less color differences from the printing result using the reference printer 5.
In this example, described is a case of adjusting the property of color reproduction of the target printer 4 with reference to the color reproduction of the reference printer 5, which is of the type different from the target printer 4. This is not restrictive, and the reference and target printers 4 and 5 may be a single printer. With this being the case, specifically, the newly-bought target printer 4 maybe regarded as the reference printer 5, and a reference patch is printed right after the purchase for later use. When the target printer 4 is degraded in color reproduction, a target patch is printed thereby for comparison with the reference patch so that the property of color reproduction can be adjusted. In this manner, the user can adjust the color reproduction of his/her target printer 4 even if it is degraded. In an alternative manner, the reference patch may be provided by the manufacturer of the target printer 4 for adjustment use as above.
According to the present invention, in the printing profile setting system 1, the image scanner 3 is used to capture the reference color data each representing printing colors of a reference patch, and the target color data each representing printing colors of a target patch. This enables comparison between the reference color data and the target color data in the same color space. Based on the comparison result, because a profile derived by correcting the profile of the reference printer 5 can be set as a profile of the target printer 4, the same property of color reproduction can be derived between the target printer 4 and the reference printer 5 without using a calorimeter. Further, the image scanner is generally less expensive than the calorimeter, and thus using the image scanner can reduce the cost for adjusting the color reproduction of the target printer 4 compared with the case of using the calorimeter. What is more, using no calorimeter eliminates the need to operate the calorimeter or an application program for profile creation, and thus ordinary users can find the profile easy to correct. Still further, the image scanner generally requires less time for scanning than the calorimeter, thereby favorably shortening the time taken for correction. In this view, assuming that the manufacturer of the target printer 4 is expected to adjust the property of color reproduction for the respective target printers 4, such adjustment can be done in a short time, successfully leading to less development cost.
Herein, the image scanner may be of a so-called stand-alone type requiring no control by the PC 2. With this being the case, the PC 2 may acquire reference color data and target color data via nonvolatile recording media such as removal memory. In an alternative structure, the image scanner and the target printer may be in a piece, and such a two-in-one device and the PC 2 may configure a printing profile setting system. In this example, exemplified as an image reading device is an image scanner. This is not restrictive, and the image reading device may be a digital camera. It is understood that numerous other combinations and sub combinations can be devised for those skilled in the art without departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2004-036407 | Feb 2004 | JP | national |