In the accompanying drawings:
An embodiment of the invention will be hereinafter explained with reference to the drawings.
In the following explanation, components identical with those described in the description of the related art are denoted by the identical reference numerals and signs. Explanations of the components are omitted.
When a TRC defining, in printing a color that can be represented by only a color material of black, brightness that should be represented using the color material is changed, the TRC adjusting unit 104 acquires information on the change. The TRC adjusting unit 104 includes a keyboard and a mouse for receiving an operation input of a user and includes a display for performing screen display of various kinds of information. It is assumed that the TRC adjusting unit 104 realizes a function of receiving an operation input and a function of performing screen display using a touch panel display.
The TRC adjusting unit 104 calculates, on the basis of the change information acquired, brightness adjustment information concerning a color conversion table defining, in printing a color represented by color materials of plural colors (cyan, magenta, yellow, and black) that make it possible to print an image of substantially the same brightness as an image printed using brightness setting information after the change, brightness that should be represented using the color materials.
The color conversion table adjusting unit 105 changes, on the basis of the brightness adjustment information calculated by the TRC adjusting unit 104, setting content of the color conversion table.
The TRC adjusting unit 104 has a function of setting necessity of processing for changing the setting content of the brightness setting information by the color conversion table adjusting unit 105. When the processing for changing the setting content of the brightness setting information is set as unnecessary by the TRC adjusting unit 104, the color conversion table adjusting unit 105 does not perform the change of the setting content of the brightness setting information.
The CPU 106 also has a role of performing various kinds of processing in the image processing apparatus 1 and also has a role of realizing various functions by executing programs stored in the MEMORY 107. The MEMORY 107 is constituted by, for example, a ROM, a RAM, and the like and has a role of storing various kinds of information and programs used in the image processing apparatus 1.
Details of functions of the respective components in the image processing apparatus 1 according to this embodiment will be explained.
The judging unit 901 judges on which of the path 1 and the path 2 a color signal inputted is subjected to the color conversion processing and divides the color signal to the path 1 or the path 2 according to a result of the judgment. For example, when a color signal inputted is represented by an RGB color space, the judging unit 901 judges whether the color signal is a chromatic color or an achromatic color. A judgment method is indicated by, for example, Expression (1).
abs(R−G)≦Th1&&abs(G−B)≦Th1&&abs(B−R)≦Th1 (1)
When RGB signal values inputted are substantially equal (a difference is within Th), it is judged that the color signal is an achromatic color. Th1 is an appropriate threshold (e.g., 0 to 5). When the condition of Expression (1) is not satisfied, it is judged that the color signal is a chromatic color.
When a color signal inputted is represented by a CIELAB color space, an “L*” value of the color signal represents a brightness component and “a*” and “b*” thereof represent color difference components. Thus, it is possible to judge the color signal according to, for example, Expression (2).
abs(a*)≦Th2&&abs(b*)≦Th2 (2)
When a* and b* of a CIELAB signal inputted is within a predetermined threshold Th2, it is judged that the signal is an achromatic color. When the condition of Expression (2) is not satisfied, it is judged that the signal is a chromatic color. The input color signal is sent to the path 1 or the path 2 on the basis of such a result of the judgment.
The judging unit 901 may judge color conversion processing for a color signal inputted and divide the color signal on the basis of conditions other than the color signal. For example, there is a condition of object types indicating what kind of image a color signal inputted is. The types of objects include a photograph object, a character object, and a graphic object. For example, in the case of the character object and the graphic object, a color signal is divided according to the judgment described above. In the case of the photograph object, a color signal is forcibly divided to the path 1 without the judgment. There is also a function of determining whether the judgment is performed according to a condition designated by the user. In this case, the judgment is not performed and the path 1 is always used.
The color converting unit 902 is color converting means provided for the path 1. Processing of the color converting unit 902 is shown in
The data is stored in the three-dimensional LUT in this way. When combinations of the input RGB values are present in the three-dimensional LUT, CMYK values of the three-dimensional LUT data are outputted. When combinations of the input RGB values are not present in the three-dimensional LUT, plural lattice points (e.g., eight points) around the input RGB values are extracted and CMYK values of the three-dimensional LUT data corresponding to the plural lattice points extracted, respectively, are subjected to an interpolation operation to output CMYK.
When a color space inputted is CIELAB, the color conversion table (second brightness setting information) and the three-dimensional LUT data are set as data determining what kinds of CIELAB values inputted should be converted into what kinds of CMYK values.
The achromatic color gradation adjusting unit 903 will be explained. The achromatic color gradation adjusting unit 903 is present in the path 2 and used when an input color signal is an achromatic color. As an example, processing of the achromatic color gradation adjusting unit 903 is shown in
The data is stored in the one-dimensional LUT in this way. When the input G value is present in the one-dimensional LUT, a K value of the one-dimensional LUT data is outputted. When the input G value is not present in the one-dimensional LUT, plural points (e.g., two points) around the input G value are extracted and K values of the one-dimensional LUT data corresponding to the plural lattice points extracted, respectively, are subjected to an interpolation operation to output K. CMY values outputted from the achromatic color gradation adjusting unit 903 are always 0 (no-print signal).
When a color space inputted is CIELAB, the TRC and the one-dimensional LUT data are set as data determining what kind of L value inputted should be converted into what kind of K value.
A color signal changed to CMYK values by the path 1 or the path 2 is printed by a not-shown image forming unit. It is determined which CMYK values of the path 1 or the path 2 are used according to on which path the signal is converted (when the path 1 is used, CMYK values from the path 1 are used and, when the path 2 is used, CMYK values from the path 2 are used).
The image forming unit is a printer of, for example, an ink jet system, an electrophotographic system, a thermal transfer system or the like. In this embodiment, any printing system may be adopted.
The TRC adjusting unit 104 corrects a TRC used in the achromatic color gradation adjusting unit 903 according to designation by the user. The TRC adjusting unit 104 includes, for example, color indicating means shown in
The color conversion table adjusting unit 105 corrects the color conversion table used in the color converting unit 902. In the correction, the color conversion table is corrected in accordance with brightness adjustment information (information calculated by the calculating unit) generated when the user adjusts the TRC with the TRC adjusting unit 104.
Operations of the image processing apparatus according to this embodiment will be explained.
For example, when the user prints a pattern shown in
In this case, when the user looks at
The TRC adjusting unit 104 corrects a TRC currently used in accordance with an indication inputted by this color indicating means.
A specific example is described below with an input address of a TRC set as L* (L* of CIELAB) and a table value set as K. The TRC is related to a value of the “brightness” slide bar of the color indicating means and defines a relation between present L* and corrected L* shown in
Subsequently, as shown in
The TRC adjusting unit 104 calculates brightness adjustment information using the corrected TRC. The brightness adjustment information is a K″ value obtained from the corrected TRC and an interpolation operation when an input L* equivalent to an achromatic color is inputted (see
The color conversion table adjusting unit 105 corrects the color conversion table used in the color converting unit 902. In the correction, the color conversion table is corrected in accordance with the brightness adjustment information generated when the user adjusts the TRC with the TRC adjusting unit 104. An example of correction of the color conversion table is described below.
A present color conversion table (before correction) is shown in
In the color conversion table, lattice points on respective axes of L*, a*, and b* equivalent to units of an input address are 11 points. L*, a*, and b* of combinations of the lattice points are input addresses (1331 in total).
First, an L* value of achromatic color reproduction at the time when the corrected TRC of the path 2 is used is calculated from the brightness adjustment information. In other words, brightness of a color at the time when the table value K″ in
Subsequently, as shown in
Consequently, the color conversion table and the TRC are corrected according to the indication “brightness +2” by the user. Thus, the conventional problem in that a boundary of processing of the path 1 and the path 2 (paths to which the color adjustment processing is applied) appears as shown in
The TRC adjusting unit 104 sets necessity of processing for changing setting content of brightness setting information in a setting information changing step (described later) on the basis of an operation input of the user (a setting step) (S101).
When one of first brightness setting information defining, in printing a color that can be represented by only a color material of black, brightness that should be represented using the color material and second brightness setting information defining, in printing colors represented by color materials of plural colors (cyan, magenta, yellow, and black), brightness that should be represented using the color materials is changed, the TRC adjusting unit 104 acquires information on the change (a change information acquiring step) (S102).
The TRC adjusting unit 104 calculates, on the basis of the change information acquired in the change information acquiring step, information on the other of the first brightness setting information and the second brightness setting information that makes it possible to print an image of substantially the same brightness as an image printed using the brightness setting information after the change (a calculating step) (S103).
The color conversion table adjusting unit 105 changes, on the basis of the information calculated in the calculating step, the setting content of the other of the first brightness setting information and the second brightness setting information (a setting information changing step) (S104). When the processing for changing the setting content of the brightness setting information is set as unnecessary in the setting step, in the setting information changing step, the change of the setting content of the brightness setting information is not performed.
The respective steps in the processing in the image processing apparatus are realized by causing the CPU 106 to execute an image processing program stored in the MEMORY 107.
In the explanation of this embodiment, the functions of carrying out the invention are recorded in the apparatus in advance. However, the invention is not limited to this. The same functions may be downloaded from a network to the apparatus or the same functions stored in a recording medium may be installed in the apparatus. A form of the recording medium may be any form as long as the recording medium is a recording medium that can store programs and is readable by the apparatus such as a CD-ROM. The functions obtained by installation or download in advance in this way may be realized in cooperation with an OS (operating system) or the like in the apparatus.
According to this embodiment, the color conversion table is automatically corrected simultaneously with the TRC table of color areas reproduced by only the color material K in accordance with an instruction of the user. Thus, There is an effect that the user can perform color adjustment of a printer easily and as intended.
The invention has been explained in detail according to the specific embodiment. However, it would be apparent to those skilled in the art that various alterations and modifications can be made without departing from the spirit and the scope of the invention.
As described above in detail, according to the invention, it is possible to provide a technique for preventing image quality deterioration of a print image involved in adjustment of the color conversion parameters in the image formation processing.