This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2008-156389 filed Jun. 16, 2008.
1. Technical Field
The invention relates to a color signal processing apparatus, a color conversion apparatus, a color signal processing method, a color conversion method, a computer-readable medium and a computer data signal embedded with a program.
2. Related Art
There is a case that, in an output device for outputting a color image or the like using plural coloring materials, a total amount of the coloring materials used may be limited in order to, for example, maintain a necessary image quality or reduce the load on the output device. For example, where coloring materials of C (cyan), M (magenta), Y (yellow), and K (black) are used, each coloring material amount takes a value of 0% to 100%, and the total coloring material amount takes a value of 0% to 400%. For example, where the total coloring material amount of the output device is limited to 300% (total amount limit value), it is necessary to convert a color having a total coloring material amount larger than 300%, into another color having a total coloring material amount equal to or less than the total amount limit value.
For example, JP Hei.9-247471 A describes that, if a table value of a color conversion table does not satisfy a condition that the total amount is equal to or less than 250%, the table value is changed to a value that satisfies this condition so that a total amount obtained as a result of a color conversion does not exceed the total amount limit value. Also, JP Hei.9-261492 A describes that, if the total amount of inks used exceeds a total amount limit value, C, M, and Y values are decreased while a K value is fixed so as to enable output within the total amount limit value. JP 2000-25274 A describes allowing use of only colors which satisfy a total amount limit value from the beginning. A coloring material amount limiting function is determined by obtaining calorimetric values of the colors satisfying the total amount limit value, and outputs within the total amount limit value are made using this coloring material amount limiting function. JP 2003-125225 A describes limiting a total coloring material amount to be equal to or less than a total amount limit value by increasing or decreasing respective coloring material amounts uniformly before a tone correction so that density values after the one correction satisfy the total amount limit value. Furthermore, JP 2004-147257 A describes generating a color prediction model that satisfies a total amount limit value by changing output values of color patches, which are used in generating the color prediction model, to values of colors that satisfy the total amount limit value.
A point P in
For example, JP 2005-236802 A describes the following techniques. In a color conversion table for converting an input color in an input color space into an output color in an output color space, an output color is subjected to a smoothing process or a K (black) component, for example, of output color components is subjected to the smoothing process, and the other color components are predicted based on the resulting K component and the input color. In generating the color conversion table, a total amount limit value is subjected to the smoothing process or a K (black) component of the output color components is further subjected to the smoothing process, and an output color is re-calculated based on the input color. These techniques smooth out a bending point such as the point P and solves such problems as a sharp variation in tone and a drastic variation in the tendency of color variation. In JP 2005-236802 A, although the input color is once converted into the output color, if the total limit value is exceeded, conversion from the input color into another output color is performed again.
According to an aspect of the invention, a color signal processing apparatus includes a total amount calculating unit, a limit value calculating unit and a correcting unit. The total amount calculating unit calculates a total amount value of an input color signal in an output device color space which has, as color components, colors of coloring materials used in an output device. The limit value calculating unit calculates a limit value for limiting a total amount of a color signal, in accordance with the calculated total amount value. The correcting unit corrects the input color signal in the output device color space so that the total amount value of the input color signal becomes the calculated limit value or less.
Exemplary embodiments of the invention will be described in detail based on the following figures, wherein:
A total amount limit value, which is a maximum total amount of the coloring materials that is permitted in the output device, is set in the total amount limit value setting section 11. The total amount limit value may be given in advance. Alternatively, the total amount limit value setting section 11 may be configured so as to receive the total amount limit value from an external apparatus, or may be configured so that a user sets the total amount limit value.
The total amount calculating section 12 calculates a total amount value of the input color signal. Since the input color signal is a color signal in the output device color space having, as the color components, the colors of the coloring materials used in the output device, the total amount value is calculated by adding values of the respective color components of the input color signal.
The limit value calculating section 13 calculates a limit value for limiting a total amount of a color signal, in accordance with the total amount value calculated by the total amount calculating section 12.
TACL=tan h{(TAC−S)/(DL−S)}·(DL−S)+S
It is noted that the method for controlling the limit value according to the total amount value is arbitrary.
If a control were made in such a manner that the limit value TACL is set equal to the total amount limit value DL after the total amount value TAC of the input color signal reaches the total amount limit value DL, the characteristic would be changed at the point R to influence an image quality. In contrast, influence on the image quality is avoided by controlling the limit value TACL gradually according to the total amount value TAC in the manner shown in
The color correcting section 14 corrects the input color signal in the output device color space so that the total amount value of the corrected input color signal becomes equal to or less than the limit value calculated by the limit value calculating section 13. Now, let the input color signal and the output color signal be represented by (C, M, Y, K) and (C′, M′, Y′, K′), respectively. If (C+M+Y+K)≦TACL, C′, M′, Y′, and K′ are made equal to C, M, Y, and K, respectively; that is, the input color signals themselves are used as the output color signals. If (C+M+Y+K)>TACL, the components, other than black, of the input color signal are decreased with black being fixed, so that the total amount value of the corrected input color signal becomes the limit value TACL or less. For example, a correction is made in the following manner:
K′=K
C′=C·{(TACL−K)/(C+M+Y)}
M′=M·{(TACL−K)/(C+M+Y)}
Y′=Y·{(TACL−K)/(C+M+Y)}
Alternatively, the respective color components may be decreased at an equal rate so that the total amount value of the corrected input color signal becomes the limit value TACL or less. For example, a correction may be made in the following manner:
K′=K·{TACL/(K+C+M+Y)}
C′=C·{TACL/(K+C+M+Y)}
M′=M·{TACL/(K+C+M+Y)}
Y′=Y·{TACL/(K+C+M+Y)}.
Since the correction process is performed only in the output device color space, the correction is made at high speed.
With the above configuration, in the output device color space, an input color signal is corrected to an output color signal that satisfies the total amount limit value and does not cause deterioration in tone characteristic such as a color inversion or a color discontinuity even if the total amount value of the input color signal is around the total amount limit value.
The color conversion table 21 is used when the conversion section 23 performs a color conversion process from a first color signal into a second color signal, and the color conversion table 21 correlates a certain number of sets of first color signal values with sets of second color signal values into which the sets of first color signal values are to be converted, respectively. The first color signals may be color signals in a predetermined arbitrary color space such as the RGB color space or the CIELAB color space. It is assumed here that the second color signals are color signals in the output device color space. It is also assumed that the color conversion table 21 has been set in advance by a user or has been generated separately and set in advance.
The total amount calculating section 12 receives the second color signals, which are output values of the color conversion table 21, as input signals and calculates a total amount value of each input color signal. The limit value calculating section 13 calculates limit values in accordance with the total amount values of the input color signals. The color correcting section 14 corrects each input color signal so that the total amount value of each corrected input color signal becomes the corresponding limit value or less. The sections 12-14 are the same as described in the first exemplary embodiment. Therefore, corrected output color signals satisfy the total amount limit value, and hence do not cause deterioration in tone characteristic such as a color inversion or a color discontinuity.
The color conversion table correcting section 22 rewrites the output values of the color conversion table 21 to the output color signals corrected by the color correcting section 14. As a result, the color conversion table 21 comes to satisfy the total amount limit value and does not cause deterioration in the tone characteristic.
The conversion section 23 converts a first color signal into a second color signal using the corrected color conversion table 21. Since the output values of the color conversion table 21 have been corrected to as to satisfy the total amount limit value and do not cause deterioration in the tone characteristic, the second color signal also satisfies the total amount limit value and does not cause deterioration in the tone characteristic. The conversion section 23 may be provided in, for example, a different apparatus than the other sections so long as it can refer to the color conversion table 21.
The contour color signal generating section 31 generates color signals in the color gamut of the output device color space.
The total amount calculating section 12 calculates a total amount value of each of input color signals, which are contour color signals generated by the contour color signal generating section 31. The limit value calculating section 13 calculates a limit value in accordance with the total amount value of each input color signal (each contour color signal). The color correcting section 14 corrects each input color signal so that the total amount value of each corrected input color signal becomes the corresponding limit value or less. The sections 12-14 are the same as described in the first exemplary embodiment. Therefore, the corrected contour color signals are in the color gamut that satisfies the total amount limit value and does not to cause deterioration in the tone characteristic such as a color inversion or a color discontinuity. For colors that are known in advance to satisfy the total amount limit value such as primary colors (a color consisting of any of single coloring materials) and secondary colors each consisting of two components, the process may be transferred to the contour information generating section 33 with the process by the color correcting section 14 being skipped.
The output device characteristic acquiring section 32 acquires a corresponding relationship between sets of color signals, in the output device color space, given to the output device and colors that are output from the output device based on those sets of color signals. For example, where the output device color space is the CMYK color space, CMYK color signals are supplied to the output device, color signals in a device-independent color space such as the CIELAB color space are acquired by measuring the colors output from the output device, and the CMYK color signals and the resulting Lab color signals are paired as an output device characteristic. Where the contour of the color gamut in the output device color space is to be obtained as color gamut information, the output device characteristic acquiring section 32 may not be provided.
The contour information generating section 33 generates color gamut information based on the corrected contour color signals that are received from the color correcting section 14. For example, when the contour of the color gamut in the output device color space is to be generated, the corrected contour color signals themselves that are received from the color correcting section 14 can be used as the color gamut information. When color gamut information in a device-independent color space such as the CIELAB color space is to be generated, the contour information generating section 33 does so by converting the corrected contour color signals, which are received from the color correcting section 14, into color signals in the device-independent color space by referring to the output device characteristic acquired by the output device characteristic acquiring section 32.
On the contour of the color gamut indicated by the color gamut information thus generated, the tendency of color variation does not change sharply at a point corresponding to the total amount limit value of the output device. And, the tone characteristic is not deteriorated even in the case of colors on the contour.
The color converting section 41 uses the color gamut information generated by the contour information generating section 33 to convert an arbitrary color signal into a color signal in a color gamut that is indicated by the color gamut information. For example, the color converting section 41 may convert a color outside the color gamut indicated by the color gamut information into a color on the contour of the color gamut or convert input color signals including colors inside the contour of the color gamut indicated by the color gamut information into color signals in the color gamut indicated by the color gamut information.
For example, when the above-described color conversion is performed, colors (indicated by black circles) on the contour of the input color gamut are converted into colors (indicated by white circles) on the contour of the output color gamut. Also, colors (indicated by black triangles) inside the contour of the input color gamut are converted into colors (indicated by white triangles) inside the contour of the output color gamut. As described in the third exemplary embodiment, the contour of the color gamut indicated by the color gamut information does not change sharply at a point corresponding to the total amount limit value of the output device. Therefore, input color signals are converted into colors in the output color gamut in such a manner that the tone characteristic in the output color gamut is not deteriorated from that in the input color gamut. This is also seen from
The color gamut converting section 51 converts the first color signal in the input color space into a color signal in a color gamut of the output device that is indicated by the color gamut information in the input color space, using the color gamut information generated by the contour information generating section 33. For example, the color gamut converting section 51 may convert a color outside the color gamut indicated by the color gamut information into a color on the contour of the color gamut or convert input color signals including colors inside the contour of the color gamut indicated by the color gamut information so that the resultant color signals fall within the color gamut. The contour information generating section 33 of the fifth exemplary embodiment outputs the color gamut information which has been converted into color gamut information in the input color space.
The output color converting section 52 converts the color signals generated by the color gamut converting section 51 into a second color signals in the output device color space, using the output device characteristic acquired by the output device characteristic acquiring section 32. For example, the output color converting section 52 may generate a color conversion model based on the output device characteristic and performs conversion using the color conversion model.
The contour of the color gamut indicated by the color gamut information used by the color gamut converting section 51 controls total amount values based on the limit values according to the total amount values of the contour points so that the manner of color variation does not change sharply at a point corresponding to a total amount limit value. Therefore, color signals produced by the color gamut converting section 51 reflect the color variation tendency of input first color signals. As a result, second color signals produced by the output color converting section 52 do not cause deterioration in tone characteristic such as a color inversion or a color discontinuity, either. It goes without saying that the second color signals satisfy the total amount limit value.
There may occur a case that a black generation condition such as limitation of the amount of black used is set in connection with conversion, by the output color converting section 52, into second color signals in the output device color space because black particularly influences the image quality. In this case, the output color converting section 52 generates a limited black amount according to the thus-set black generation condition and calculates the other color components using the black amount.
In this case, the limit value calculating section 13 may control a limit value corresponding to a total amount value by setting an upper limit that is larger than the total amount limit value of the output device.
The color correcting section 14 corrects contour color signals generated by the contour color signal generating section 31, using a limit value that is calculated under the above control. The contour information generating section 33 generates the color gamut information based on the corrected contour color signals. A contour of the color gamut indicated by the generated color gamut information is represented by a thin solid line in
The color gamut converting section 51 converts first color signals in the input color space into color signals in the color gamut of the output device, which is indicated by the color gamut information in the input color space. Although the color gamut information generated by the contour information generating section 33 does not necessarily satisfy the total amount limit value of the output device, the contour does not have a portion where the tendency of color variation changes sharply. Therefore, the tone characteristic after the conversion is kept the same as before the conversion.
The output color converting section 52 converts the color signals produced by the color gamut converting section 51 into second color signals in the output device color space. In doing so, the output color converting section 52 generates a black amount so that the black generation condition is satisfied and calculates the other color components of the second color signals using the generated black amount and the color signals produced by the color gamut converting section 51.
A contour of the color gamut obtained as a result of application of the black generation condition is represented by a thick solid line in
The color gamut indicated by the outline information obtained by setting the upper limit of the limit value larger than the total amount limit value has a portion where the total amount limit value of the output device is not satisfied. Therefore, there may occur the case that the total amount of second color signals produced by the output color converting section 52 exceeds the total amount limit value though the black generation condition is applied. In such a case, a correction may be made so that the total amount falls within the total amount limit value by changing the black generation condition (e.g., increasing the black amount).
All or part of the functions of the individual sections described in each of the above-described embodiments of the invention may be implemented as the program 61 that can be run by the computer 62. In this case, the program 61 and data to be used by the program 61 may be stored in advance in a storage medium that can be read by the computer 62. The term “storage medium” means a medium which causes magnetic, optical, electrical, or like energy variation states in the reading section 83 as part of the hardware resources of the computer 62 according to the contents of the program 61 and transmits the contents of the program 61 to the reading section 83 in the form of a corresponding signal. The magneto-optical disc 71, the optical disc 72 (CD, DVD, or the like), the magnetic disk 73, and the memory 74 (IC card, memory card, or the like) are examples of the storage medium. Naturally, the storage medium is not limited to portable ones.
All or part of the functions described in each of the above embodiments of the invention are performed by storing the program 61 in the storage medium in advance, reading the program 61 by the computer 62 by inserting the storage medium in, for example, the reading section 83 or the interface 85 of the computer 62, storing it in the internal memory 82 or the hard disk drive 84, and running it by the CPU 81. Alternatively, all or part of the functions described in each of the above embodiments of the invention may be performed by transferring the program 61 to the computer 62 over a network or the like. In the computer 62, the program 61 is received by the communication section 86, stored in the internal memory 82 or the hard disk drive 84, and run by the CPU 81.
Various devices may be connected to the computer 62 via the interface 85. For example, a display device for displaying information, an input device through which a user inputs information, and other devices may be connected so as to be used when the user sets a total amount limit value, a color conversion table, or an output device characteristic. An output device may be connected so as to make output according to output color signals or second color signals. Furthermore, an image input device may be connected so that color processing is performed on an image that is input through the image input device and a resulting image is output through an output device.
Number | Date | Country | Kind |
---|---|---|---|
2008-156389 | Jun 2008 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6275302 | Coleman | Aug 2001 | B1 |
7019868 | Chang et al. | Mar 2006 | B2 |
20040004644 | Komatsu et al. | Jan 2004 | A1 |
20050062992 | Kishimoto et al. | Mar 2005 | A1 |
20060203268 | Okuyama | Sep 2006 | A1 |
Number | Date | Country |
---|---|---|
9-247471 | Sep 1997 | JP |
9-261492 | Oct 1997 | JP |
2000-25274 | Jan 2000 | JP |
2003-125225 | Apr 2003 | JP |
2004-9480 | Jan 2004 | JP |
2004-147257 | May 2004 | JP |
2005-63093 | Mar 2005 | JP |
2005-236802 | Sep 2005 | JP |
2005-311558 | Nov 2005 | JP |
2006-352475 | Dec 2006 | JP |
2007-43250 | Feb 2007 | JP |
Number | Date | Country | |
---|---|---|---|
20090310153 A1 | Dec 2009 | US |