Image processing apparatus, image processing method and image processing program

Information

  • Patent Application
  • 20070285679
  • Publication Number
    20070285679
  • Date Filed
    June 09, 2006
    18 years ago
  • Date Published
    December 13, 2007
    17 years ago
Abstract
It is an object of the invention to provide a technique for preventing image quality deterioration of a print image involved in adjustment of color conversion parameters in image formation processing.
Description

DESCRIPTION OF THE DRAWINGS

In the accompanying drawings:



FIG. 1 is a functional block diagram for explaining an image processing apparatus according to an embodiment of the invention;



FIG. 2 is a diagram for explaining processing in a color converting unit 902;



FIG. 3 is a diagram for explaining processing in an achromatic color gradation adjusting unit 903;



FIG. 4 is a diagram for explaining color indicating means;



FIG. 5 is a diagram showing a relation between present L* and corrected L*;



FIG. 6 is a diagram for explaining a TRC correction procedure;



FIG. 7 is a diagram for explaining the TRC correction procedure;



FIG. 8 is a diagram for explaining the TRC correction procedure;



FIG. 9 is a diagram for explaining the TRC correction procedure;



FIG. 10 is a diagram for explaining a corrected TRC and a K″ value obtained by an interpolation operation;



FIG. 11 is a diagram for explaining the corrected TRC and the K″ value obtained by the interpolation operation;



FIG. 12 is a diagram showing a color conversion table before correction;



FIG. 13 is a diagram for explaining an L* value of achromatic color reproduction at the time when the corrected TRC is used;



FIG. 14 is a diagram showing a case in which only the L* value of respective L*, a*, and b* of all input addresses is changed to corrected L′;



FIG. 15 is a diagram for explaining C′, M′, Y′, and K′ values corresponding to corrected L′ab;



FIG. 16 is a diagram showing a state in which C, M, Y, and K values of the present color conversion table in FIG. 12 are replaced with the C′, M′, Y′, and K′ values calculated in FIG. 15;



FIG. 17 is a diagram showing a print result at “brightness +2” desired by a user;



FIG. 18 is a flowchart for explaining a flow of processing in the image processing apparatus according to the embodiment;



FIG. 19 is a diagram for explaining color adjustment processing;



FIG. 20 is a diagram for explaining a color conversion path that performs color conversion processing of an input image using color conversion parameters adjusted as described above;



FIG. 21 is a diagram for explaining an effect of a path 2;



FIG. 22 is a diagram for explaining the effect of the path 2;



FIG. 23 is a diagram for explaining color conversion processing by the path 2 at the time when a character of a 50% achromatic color is inputted;



FIG. 24 is a diagram for explaining the color conversion processing by the path 2 at the time when the character of the 50% achromatic color is inputted;



FIG. 25 is a diagram for explaining the conventional color adjustment processing for correcting only TRC parameters used in the path 2;



FIG. 26 is a diagram showing a result of printing an image without performing color adjustment processing;



FIG. 27 is a diagram showing which image area in the image of the print result shown in FIG. 26 is subjected to color conversion processing by the path 1 and the path 2; and



FIG. 28 is a diagram for explaining a deficiency due to the conventional color adjustment processing.





DESCRIPTION OF THE EMBODIMENTS

An embodiment of the invention will be hereinafter explained with reference to the drawings.



FIG. 1 is a functional block diagram for explaining an image processing apparatus according to this embodiment. An image processing apparatus 1 according to this embodiment is constituted by, for example, an MFP (Multi Function Peripheral) and includes a judging unit 901, a color converting unit 902, an achromatic color gradation adjusting unit 903, a TRC adjusting unit (equivalent to a setting unit, a change information acquiring unit, and a calculating unit) 104, a color conversion table adjusting unit (equivalent to a setting information changing unit) 105, a CPU 106, and a MEMORY 107.


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 FIG. 2 as an example. In FIG. 2, a color space inputted is RGB (Red, Green, and Blue) and a color space outputted is CMYK. The color converting unit 902 has a three-dimensional LUT (Lookup Table). Data determining what kinds of RGB values inputted should be converted into what kinds of CMYK values in advance is stored in the three-dimensional LUT. This data is equivalent to a color conversion table in the color converting unit 902 shown in FIG. 2. The respective values of RGB inputted are often values of about 256 kinds (8 bits). Combinations in this case are as many as about 16.7 million. It is unpractical to directly use the combinations as three-dimensional LUT data in terms of a memory capacity. Thus, usually, respective axes of the input RGB values are divided into several parts and CMYK values corresponding to combinations of RGB values at lattice points formed by the division are stored in the three-dimensional LUT as three-dimensional LUT data.


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 FIG. 3. In FIG. 3, a color space inputted is RGB and a color space outputted is CMYK. As described above, a color signal divided to the path 2 is a color signal judged as an achromatic color by the judging unit. Thus, respective values of RGB inputted are substantially equal. The achromatic color gradation adjusting unit 903 has a one-dimensional LUT (Lookup Table). Data determining what kind of G value (or may be R value or B value) inputted should be converted into what kind of K value in advance is stored in the one-dimensional LUT. This data is equivalent to the TRC (first brightness setting information) in the achromatic color gradation adjusting unit 903 shown in FIG. 3.


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 FIG. 4. The color indicating means has, for example, a slide bar of “brightness” and corrects the TRC according to designation by the user.


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 FIG. 26, in FIG. 1, a color signal of each pixel of this pattern is inputted to the judging unit 901. The judging unit 901 judges, according to the judging method described above, whether each color signal of the pixel inputted is an achromatic color or a chromatic color. When the color signal is a chromatic color, the judging unit 901 sends the color signal to the path 1 and, when the color signal is an achromatic color, the judging unit 901 sends the color signal to the path 2. A result of color conversion of the path 1 or the path 2 is sent to the not-shown image forming unit according to a division condition and FIG. 27 is printed. For convenience of explanation, a pixel area converted by the path 1 and a pixel area converted by the path 2 are shown in FIG. 27. However, in an actual print result, these lines do not appear.


In this case, when the user looks at FIG. 27, the user may feel that a color near the achromatic color is not a desired color. For example, the user may feel the image dark as a whole. In this case, the user can correct a TRC with the TRC adjusting unit 104 such that a print result of desired brightness is obtained. For example, when the user feels a print result dark and desires to make the print result bright, the user slides the slide bar of “brightness” of the color indicating means in FIG. 4 in a direction for making the print result bright.


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 FIG. 5. For example, when the user indicates +2 in the direction for making the print result bright, a curve of brightness +2 in FIG. 5 is selected and it is determined to what kind of corrected L* this curve changes the present L*. A procedure for correcting a TRC is shown in FIGS. 6 to 9. FIG. 6 shows a present TRC. An input address of the TRC is 101 points obtained by dividing L* by 100. Since the corrected L* corresponding to the present L* is found according to the brightness +2 curve in FIG. 5, as shown in FIG. 7, the input address is changed to L′.


Subsequently, as shown in FIG. 8, a K′ value corresponding to the corrected L′ is calculated by the same arithmetic operation as the arithmetic operation of the achromatic color gradation adjusting unit 903. A TRC used in this case is the present TRC (FIG. 6). As shown in FIG. 9, the K value of the present TRC in FIG. 6 is replaced with the K′ value calculated in FIG. 8. According to the processing, the TRC indicated by the user as “brightness +2”, that is, a corrected TRC is formed and used in the achromatic color gradation adjusting unit 903 of the path 2 in FIG. 1. Thus, an achromatic color passing through the path 2 is “brightness +2”.


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 FIGS. 10 and 11). The achromatic color in this case is in a range of white (L=100) to black (L=0).


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 FIG. 12.


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 FIG. 11 is actually printed by an output device is calculated. Therefore, the color conversion table adjusting unit 105 holds color output characteristic data of the output device, that is, data indicating what kind of color (Lab) is outputted when a color is printed with what kind of K. A result of the calculation is shown in FIG. 13.


Subsequently, as shown in FIG. 14, only the L* value of the respective L*, a*, and b* of all the input addresses is changed to corrected L′ in accordance with L* in FIG. 11. As shown in FIG. 15, C′M′Y′K′ values corresponding to corrected L′ab are calculated by the same arithmetic operation as the arithmetic operation of the color converting unit 902. A color conversion table used in this case is the present color conversion table (FIG. 12). As shown in FIG. 16, the CMYK values of the present color conversion table in FIG. 12 are replaced with the C′M′Y′K′ values calculated in FIG. 15.


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 FIG. 28 in an output result after the TRC correction (after the color adjustment processing), resulting in an unnatural output result, does not occur. As shown in FIG. 17, all the processing areas of the path 1 and the path 2 have “brightness +2” desired by the user.



FIG. 18 is a flowchart for explaining a flow of processing in the image processing apparatus according to this embodiment.


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.

Claims
  • 1. An image processing apparatus comprising: a change information acquiring unit that acquires, when one of first brightness setting information and second brightness setting information is changed, information on the change, the 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 the second brightness setting information defining, in printing colors represented by color materials of plural colors, brightness that should be represented using the color materials;a calculating unit that calculates, on the basis of the change information acquired by the change information acquiring unit, information on the other of the first brightness setting information and the second brightness setting information, the information making it possible to print an image of substantially the same brightness as an image printed using the brightness setting information after the change; anda setting information changing unit that changes, on the basis of the information calculated by the calculating unit, setting content of the other of the first brightness setting information and the second brightness setting information.
  • 2. An image processing apparatus according to claim 1, wherein the change information acquiring unit acquires, when the first brightness setting information is changed, information on the change, the 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,the calculating unit calculates, on the basis of the change information acquired by the change information acquiring unit, information on the second brightness setting information defining, in printing colors represented by color materials of plural colors, brightness that should be represented using the color materials, the information making it possible to print an image of substantially the same brightness as an image printed using the first brightness setting information after the change, andthe setting information changing unit changes, on the basis of the information calculated by the calculating unit, the setting content of the second brightness setting information.
  • 3. An image processing apparatus according to claim 1, wherein the first brightness setting information is information on a gradation representation curve.
  • 4. An image processing apparatus according to claim 1, further comprising a setting unit that sets, on the basis of an operation input of a user, necessity of processing for changing the setting content of the brightness setting information by the setting information changing unit, wherein the setting information changing unit does not change the setting content of the brightness setting information when the processing for changing the setting content of the brightness setting information is set as unnecessary by the setting unit.
  • 5. An image processing apparatus according to claim 1, wherein the color materials of plural colors are color materials of cyan, magenta, yellow, and black.
  • 6. An image processing method comprising: a change information acquiring step of acquiring, when one of first brightness setting information and second brightness setting information is changed, information on the change, the 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 the second brightness setting information defining, in printing colors represented by color materials of plural colors, brightness that should be represented using the color materials;a calculating step of calculating, 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, the information making it possible to print an image of substantially the same brightness as an image printed using the brightness setting information after the change; anda setting information changing step of changing, on the basis of the information calculated in the calculating step, setting content of the other of the first brightness setting information and the second brightness setting information.
  • 7. An image processing method according to claim 6, wherein in the change information acquiring step, when the first brightness setting information is changed, information on the change is acquired, the 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,in the calculating step, on the basis of the change information acquired in the change information acquiring step, information on the second brightness setting information defining, in printing colors represented by color materials of plural colors, brightness that should be represented using the color materials is calculated, the information making it possible to print an image of substantially the same brightness as an image printed using the first brightness setting information after the change, andin the setting information changing step, on the basis of the information calculated by the calculating unit, the setting content of the second brightness setting information is changed.
  • 8. An image processing method according to claim 6, wherein the first brightness setting information is information on a gradation representation curve.
  • 9. An image processing method according to claim 6, further comprising a setting step of setting, on the basis of an operation input of a user, necessity of processing for changing the setting content of the brightness setting information in the setting information changing step, wherein in the setting information changing step, the setting content of the brightness setting information is not changed when the processing for changing the setting content of the brightness setting information is set as unnecessary in the setting step.
  • 10. An image processing method according to claim 6, wherein the color materials of plural colors are color materials of cyan, magenta, yellow, and black.
  • 11. An image processing program that causes a computer to execute: a change information acquiring step of acquiring, when one of first brightness setting information and second brightness setting information is changed, information on the change, the 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 the second brightness setting information defining, in printing colors represented by color materials of plural colors, brightness that should be represented using the color materials;a calculating step of calculating, 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, the information making it possible to print an image of substantially the same brightness as an image printed using the brightness setting information after the change; anda setting information changing step of changing, on the basis of the information calculated in the calculating step, setting content of the other of the first brightness setting information and the second brightness setting information.
  • 12. An image processing program according to claim 11, wherein in the change information acquiring step, when the first brightness setting information is changed, information on the change is acquired, the 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,in the calculating step, on the basis of the change information acquired in the change information acquiring step, information on the second brightness setting information defining, in printing colors represented by color materials of plural colors, brightness that should be represented using the color materials is calculated, the information making it possible to print an image of substantially the same brightness as an image printed using the first brightness setting information after the change, andin the setting information changing step, on the basis of the information calculated by the calculating unit, the setting content of the second brightness setting information is changed.
  • 13. An image processing program according to claim 11, wherein the first brightness setting information is information on a gradation representation curve.
  • 14. An image processing program according to claim 11, further comprising a setting step of setting, on the basis of an operation input of a user, necessity of processing for changing the setting content of the brightness setting information in the setting information changing step, wherein in the setting information changing step, the setting content of the brightness setting information is not changed when the processing for changing the setting content of the brightness setting information is set as unnecessary in the setting step.
  • 15. An image processing program according to claim 11, wherein the color materials of plural colors are color materials of cyan, magenta, yellow, and black.