IMAGE PROCESSING METHOD

Information

  • Patent Application
  • 20200324557
  • Publication Number
    20200324557
  • Date Filed
    April 08, 2020
    4 years ago
  • Date Published
    October 15, 2020
    3 years ago
Abstract
First to third inks have a relationship where dot power of an overlapping dot formed by overlapping dots of first and third inks is higher than dot power of an overlapping dot formed by overlapping dots of second and third inks. A first gradation value for the first ink is quantized to generate a first quantized value, a second gradation value for the second ink is quantized to generate a second quantized value, and a third gradation value for the third ink is quantized to generate a third quantized value. In this case, the quantization processing is performed such that, among pixels for which the third quantized values indicate printing in a predetermined pixel region, the number of pixels for which the second quantized values indicate printing is greater than the number of pixels for which the first quantized values indicate printing.
Description
BACKGROUND OF THE INVENTION
Field of the Invention

The present invention relates to an image processing method for printing an image on a print medium by performing quantization processing.


Description of the Related Art

In the case of printing an image by using a halftoning method, image data with multiple levels needs to be quantized. An error diffusion method and a dither method are known as quantization methods used in this case. Particularly, the dither method in which a gradation value of the multi-level data is compared with a threshold stored in advance to determine whether to print a dot requires lower processing load than the error diffusion method and is used in many image processing apparatuses. In such a dither method, dispersiveness of dots in a low gray scale region sometimes becomes a problem. U.S. Pat. No. 5,111,310 proposes a dither method using a threshold matrix with blue noise characteristics as a threshold matrix for obtaining favorable dot dispresiveness.



FIGS. 15A and 15B are views illustrating the blue noise characteristics and human visual transfer function (VTF) at 300 mm which is the least distance of distinct vision. In FIGS. 15A and 15B, the horizontal axis represents frequency (cycles/mm) and the frequency is lower on the left side of the graph and is higher on the right side of the graph. Meanwhile, the vertical axis represents intensity (power) for each frequency.


As illustrated in FIG. 15A, the blue noise characteristics are such characteristics that low frequency components are kept low, there is an abrupt rise, and high frequency components are flat. The human visual transfer function (VTF) illustrated in FIG. 15B can be expressed by using, for example, the approximation formula of Dooley described below. In this formula, l is observation distance and f is frequency.





VTF=5.05×exp(−0.138×πlf/180)×(1−exp(−0.1×πlf/180))  (Formula A)


As apparent from FIG. 15B, in the human visual transfer function, sensitivity in a low frequency region is high while sensitivity in a high frequency region is low. In other words, a low frequency component is more visually perceivable but a high frequency component is less visually perceivable. The blue noise characteristics take such visual transfer function into account and have almost no power in a low frequency region with high sensitivity (more visually perceivable) and have power in a high frequency region with low sensitivity (less visually perceivable) in the visual transfer function. Accordingly, in the case where a human sees an image subjected to quantization processing using a threshold matrix with blue noise characteristics, the human is less likely to perceive unevenness and periodicity of dots and recognizes the image as a comfortable image.


U.S. Pat. No. 6,867,884 discloses a dither method which solves the following problem: although favorable dispresiveness can be obtained for each color channel (that is, single color), dispersiveness deceases and graininess becomes obvious in the case where an image is printed by using multiple color channels (that is, mixed colors). Specifically, U.S. Pat. No. 6,867,884 discloses a method in which a common threshold matrix with favorable dispresiveness is prepared and quantization processing is performed with thresholds shifted among multiple colors. In this specification, such quantization method is hereafter referred to as inter-color processing. In the inter-color processing, dots of different colors are printed exclusively with high dispersiveness in a low gray scale portion. Accordingly, a favorable image in which dots are favorably dispersed can be outputted also in a mixed color image.


Japanese Patent Laid-Open No. 2017-38127 discloses inter-color processing for suppressing graininess in an entire image in a situation where the image is printed by using multiple inks varying in dot power. Specifically, two threshold matrices are prepared and colors are divided into a color group to be subjected to inter-color processing using a first threshold matrix and a color group to be subjected to inter-color processing using a second threshold matrix to obtain favorable dispresiveness in each group.


Note that, in the case where a threshold matrix with blue noise characteristics is used in inter-color processing, dispersiveness of an ink color set as the first color among multiple ink colors can be made particularly high. In U.S. Pat. No. 6,867,884 and Japanese Patent Laid-Open No. 2017-38127, the black ink that has the lowest lightness, has the highest dot power and is thus most obvious on the print medium among the inks of multiple colors is set as the first color in the inter-color processing while using the threshold matrix with blue noise characteristics. Setting the order of colors in the inter-color processing such that the ink with lower lightness is quantized earlier as described above can suppress graininess in the entire image.


In a configuration using inks of multiple colors, the greater the gradation values of the respective colors are, the more likely the situation where dots overlap one another on a print medium is to occur. In this case, the dot power of an overlapping dot formed by overlapping dots of different colors is greater than the dot power of a single-color dot. However, in the inter-color processing of U.S. Pat. No. 6,867,884 and Japanese Patent Laid-Open No. 2017-38127, the quantization processing is performed without taking the dispersiveness of overlapping dots into consideration. Accordingly, an image which gives feeling of graininess may be formed due to overlapping dots with high dot power.


Specific description is given, for example, considering three colors of black which is an achromatic color and cyan and magenta which are chromatic colors. In a single color, black has the highest dot power and is set to the first color in general inter-color processing to obtain highest dispersiveness. However, for example, overlapping dots of black and magenta each having higher dot power than a single-color dot of black are not arranged with high dispersiveness. Accordingly, an image which gives feeling of graininess is sometimes formed due to overlapping dots with higher dot power than the single-color dot of black.


SUMMARY OF THE INVENTION

The present invention has been made to solve the aforementioned problems. Accordingly, an object of the invention is to provide an image processing method which can output a uniform and smooth image in the case where the image is printed by using multiple inks.


In a first aspect of the present invention, there is an image processing method comprising: an obtaining step of obtaining a first gradation value for a first coloring material, a second gradation value for a second coloring material, and a third gradation value for a third coloring material for each pixel; and a generation step of, for each pixel, generating a first quantized value indicating applying or non-applying of the first coloring material by quantizing the first gradation value, generating a second quantized value indicating applying or non-applying of the second coloring material by quantizing the second gradation value, and generating a third quantized value indicating applying or non-applying of the third coloring material by quantizing the third gradation value, the image processing method including performing image processing for printing an image on a print medium by using an applying unit configured to apply the first coloring material according to the first quantized value, apply the second coloring material according to the second quantized value, and apply the third coloring material according to the third quantized value, wherein dot power corresponding to obviousness of an overlapping dot formed by overlapping of a dot of the first coloring material and a dot of the third coloring material is higher than dot power of an overlapping dot formed by overlapping of a dot of the second coloring material and the dot of the third coloring material on the print medium, and wherein in a case where the same first gradation values, the same second gradation values, and the same third gradation values for a plurality of pixels included in a predetermined pixel region are obtained uniformly in the obtaining step, in the generation step, the first quantized values, the second quantized values, and the third quantized values are generated such that, in the predetermined pixel region, the number of pixels for each of which the third quantized value indicates applying the third coloring material and the first quantized value indicates applying the first coloring material is greater than the number of pixels for each of which the third quantized value indicates applying the third coloring material and the second quantized value indicates applying the second coloring material.


In a second aspect of the present invention, there is an image processing method comprising generation step of generating a first quantized value by quantizing a first gradation value for a first coloring material, generating a second quantized value by quantizing a second gradation value for a second coloring material, and generating a third quantized value by quantizing a third gradation value for a third coloring material, for each pixel, the image processing method including performing image processing for printing an image on a print medium by using an applying unit configured to apply the first coloring material according to the first quantized value, apply the second coloring material according to the second quantized value, and apply the third coloring material according to the third quantized value, wherein dot power of an overlapping dot formed by overlapping of a dot of the first coloring material and a dot of the third coloring material is higher than dot power of an overlapping dot formed by overlapping of a dot of the second coloring material and the dot of the third coloring material on the print medium, and wherein in the generation step, the first gradation value is quantized by comparing the first gradation value with a threshold for the pixel in a threshold matrix, the second quantized value is generated based on the first gradation value, the second gradation value, and the threshold used in the comparison with the first gradation value, and the third quantized value is generated based on the first gradation value, the third gradation value, and the threshold used in the comparison with the first gradation value.


In a third aspect of the present invention, there is an image processing method comprising: an obtaining step of obtaining a first gradation value for a first coloring material and a second gradation value for a second coloring material for each pixel; and a generation step of quantizing the first gradation value to generate a first quantized value at any of a certain number of levels that is smaller than the number of levels for the first gradation value and quantizing the second gradation value to generate a second quantized value at any of a certain number of levels that is smaller than the number of levels for the second gradation value, for each pixel, the image processing method including performing image processing for printing an image on a print medium by using an applying unit configured to apply the first coloring material according to the first quantized value such that the higher the level of the first quantized value is, the greater an amount of the first coloring material to be applied is and apply the second coloring material according to the second quantized value such that the higher the level of the second quantized value is, the greater an amount of the second coloring material to be applied is, wherein dot power of a dot formed by the first coloring material is higher than dot power of a dot formed by the second coloring material on the print medium, in a case where the same first gradation values and the same second gradation values for a plurality of pixels included in a predetermined pixel region are obtained uniformly in the obtaining step, in the generation step, the first quantized values and the second quantized values are generated such that, in the predetermined pixel region, pixels with a lower level of the first quantized values include more pixels for which the level of the second quantized value is not 0.


In a fourth aspect of the present invention, there is an image processing method comprising a generation step of quantizing a first gradation value for a first coloring material to generate a first quantized value at any of a certain number of levels that is smaller than the number of levels for the first gradation value and quantizing a second gradation value for a second coloring material to generate a second quantized value at any of a certain number of levels that is smaller than the number of levels for the second gradation value, for each pixel, the image processing method including performing image processing for printing an image on a print medium by using an applying unit configured to apply the first coloring material according to the first quantized value such that the higher the level of the first quantized value is, the greater an amount of the first coloring material to be applied is and apply the second coloring material according to the second quantized value such that the higher the level of the second quantized value is, the greater an amount of the second coloring material to be applied is, wherein dot power of a dot formed by the first coloring material is higher than dot power of a dot formed by the second coloring material on the print medium, and wherein in the generation step the first gradation value is quantized to generate the first quantized value by deriving a corrected threshold, having a greater value than a threshold for the pixel in a threshold matrix, based on the threshold and comparing the first gradation value with the threshold and the corrected threshold, a first difference which is a difference between the second gradation value and the threshold used in the comparison with the first gradation value is changed based on the first gradation value, a second difference which is a difference between the second gradation value and the corrected threshold used in the comparison with the first gradation value, based on the first gradation value, and the second gradation value is quantized based on relationships of the second gradation value with the threshold and the corrected threshold after the change, in a case where the same first gradation values and the same second gradation values are uniformly given to a plurality of pixels included in a predetermined pixel region, in the step the first difference and the second difference are changed such that, in the predetermined pixel region, pixels with a lower level of the first quantized values include more pixels for which the level of the second quantized value is not 0.


Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.





BRIEF DESCRIPTION OF THE DRAWINGS


FIGS. 1A and 1B are schematic configuration diagrams of an inkjet printing apparatus and a print head;



FIG. 2 is a block diagram illustrating a configuration of control of an inkjet printing system;



FIG. 3 is a flowchart for explaining image processing;



FIG. 4 is a block diagram for explaining details of quantization processing;



FIGS. 5A and 5B are a block diagram and a flowchart for explaining inter-color processing;



FIG. 6 is a graph indicating a range of thresholds according to which a determination result of printing is given;



FIGS. 7A and 7B are graphs for explaining the inter-color processing in the embodiment;



FIG. 8 is a graph illustrating results of quantization for first to fourth colors;



FIG. 9 is a flowchart for explaining a method of deriving an offset value of the third color;



FIG. 10 is a diagram showing the relationship of FIGS. 10A and 10B;



FIG. 10A is a flowchart for explaining a method of deriving an offset value of the fourth color;



FIG. 10B is a flowchart for explaining a method of deriving an offset value of the fourth color;



FIGS. 11A and 11B are graphs illustrating a result of first quantization processing and a result of second quantization processing, respectively;



FIG. 12 is a flowchart for deriving first and second threshold offset values;



FIG. 13 is a graph illustrating a result of quantization processing in a third embodiment;



FIG. 14 is a graph comparing results of inter-color processing of a first embodiment and conventional inter-color processing; and



FIGS. 15A and 15B are graphs illustrating blue noise characteristics and human visual transfer function (VTF).





DESCRIPTION OF THE EMBODIMENTS
First Embodiment
(Apparatus Configuration)


FIGS. 1A and 1B are schematic configuration diagrams of an inkjet printing apparatus 100 (hereafter also simply referred to as printing apparatus 100) usable in the present invention and a print head 102 mountable in the printing apparatus 100. The printing apparatus 100 of the embodiment is a serial inkjet printing apparatus and the print head 102 is capable of reciprocating in an x-direction in FIGS. 1A and 1B.


In the print head 102, nozzle rows which eject inks of cyan (C), magenta (M), yellow (Y), and black (K), respectively, are arranged in the x-direction and, in each nozzle row, nozzles 106 which eject the ink are arranged in a y-direction. In FIGS. 1A and 1B, although the nozzles which eject the ink of the same color are arranged in one row in the y-direction in each nozzle row, the nozzle row of each color may include multiple nozzle rows which eject the ink of the same color.


Relationships between the inks and dot power are briefly described. In this specification, the dot power can be interpreted as visual obviousness and is based on the lightness of a dot formed by applying the ink on a print medium as a droplet. Specifically, the lower the lightness of the dot of the ink is, the higher the visual obviousness of the dot is, and the higher the dot power thereof is. In contrast, the higher the lightness of the dot of the ink is, the lower the visual obviousness of the dot is, and the lower the dot power thereof is. In the embodiment, dots were formed on a print medium by using inks of four colors to be used and the level of the dot power of each color was checked based on a result obtained by measuring the lightness L* in the CIEL*a*b* color space. As a result, black (K) being an achromatic color had the highest dot power among the four colors to be used. Then, it was checked that the descending order of the dot power of the chromatic colors was cyan (C), magenta (M), and yellow (Y). The dot power of an overlapping dot is higher than the dot power of each of single-color dots formed with colors of the respective inks forming this overlapping dot, but depends on a combination of the overlapping inks. For example, in the embodiment, the dot power of the overlapping dot of cyan and magenta is higher than the dot power of the single-color dot of cyan and the dot power of the single-color dot of magenta but is lower than the dot power of the single-color dot of black.


Returning to the explanation of FIGS. 1A and 1B, a print medium 103 in a region in which the print head 102 performs printing is held between a pair of conveyance rollers 104 and a pair of discharge rollers 107 and is maintained to be flat and smooth. Moreover, a platen 105 is arranged at a position facing an ejection port surface of the print head 102 and supports the print medium 103 subjected to printing from the back side.


In the aforementioned configuration, the print head 102 moves in the x-direction while ejecting the inks according to print data to perform one print scanning operation. In the case where such one print scanning operation is performed, the conveyance rollers 104 and the discharge rollers 107 turn and convey the print medium 103 in the y-direction by a distance corresponding to a print width of the print head 102. Then, such a print scanning operation by the print head 102 and such a conveyance operation of the print medium 103 are alternately repeated and an image is printed on the print medium 103 step by step.


(System Configuration)


FIG. 2 is a block diagram illustrating a configuration of control of an inkjet printing system usable in the present invention. The inkjet printing system in the embodiment includes the printing apparatus 100 and an image processing apparatus 200 such as a host PC. Image data subjected to predetermined image processing in the image processing apparatus 200 is sent to the printing apparatus 100 and is subjected to printing processing in the print head 102 (not illustrated in FIG. 2).


In the image processing apparatus 200, a CPU 201 controls the entire image processing apparatus 200 according to a program stored in a HDD 203 by using a RAM 202 as a work area. The RAM 202 is a volatile memory unit and temporarily stores programs and data. The HDD 203 is a non-volatile memory unit and also stores programs and data. The CPU 201 performs the predetermined image processing on the image data to be printed by the printing apparatus 100 and then sends the image data to the printing apparatus 100 via a data transfer I/F 204.


The data transfer I/F 204 is an I/F for controlling exchange of data with the printing apparatus 100. USB, IEEE1394, LAN, or the like can be used as a connection method. A keyboard-mouse I/F 205 is an I/F for controlling not-illustrated human interface devices (HIDs) such as a keyboard and a mouse. A user inputs various settings and commands by using the keyboard and the mouse and the keyboard-mouse I/F 205 sends the inputted settings and commands to the CPU 201. A display I/F 206 is an I/F for controlling a display screen in a not-illustrated display connected to the image processing apparatus 200. The user can check various pieces of information through screens displayed on the display by the CPU 201 via the display I/F 206.


Meanwhile, in the printing apparatus 100, a CPU 211 controls the entire printing apparatus 100 according to a program stored in a ROM 213 by using a RAM 212 as a work area. The RAM 212 is a volatile memory unit and temporarily stores programs and data. The ROM 213 is a non-volatile memory unit and also stores programs and data.


A data transfer I/F 214 controls exchange of data with the image processing apparatus 200. An image processing accelerator 216 is hardware capable of executing image processing at higher speed than the CPU 211. The image processing accelerator 216 is activated in the case where the CPU 211 writes parameters necessary for the image processing and the image data received from the data transfer I/F 214 into a predetermined address of the RAM 212. Then, the image processing accelerator 216 performs the predetermined image processing on the image data and generates print data for driving the print head 102.


A motor driver 217 is a driver for driving various motors in the printing apparatus 100 such as a carriage motor configured to move a carriage in which the print head 102 is mounted in the x-direction and a conveyance motor configured to turn the conveyance rollers 104 and the discharge rollers 107. A head controller 215 is a driver for driving the print head 102 according to the print data.


In the case where the image processing accelerator 216 generates the print data, the CPU 211 drives the various motors via the motor driver 217 and causes the print head 102 to perform a printing operation according to the print data via the head controller 215.


Note that, in the embodiment, the image processing accelerator 216 is not an essential element. In the case where the CPU 211 has a sufficient processing performance, the CPU 211 may execute the predetermined image processing.


(Image Processing Flow)


FIG. 3 is a flowchart for explaining the image processing executed by the CPU 201 of the image processing apparatus 200. This processing is started in the case where the user inputs a print command for printing a predetermined image.


In the case where this processing is started, in S300, the CPU 201 loads the image data to be printed into the RAM 202. In this case, the loaded image data is data formed of multiple pixels each having brightness values of red (R), green (G), and blue (B) expressed in 8-bits (256 gray scale levels). Hereafter, image data which is a collection of pixels formed of multiple elements (RGB) as described above is referred to as, for example, “RGB data.”


In S301, the CPU 201 performs color correction processing on the RGB data loaded in S300. The color correction processing is processing in which a color space standardized in sRGB or the like is associated with a color space which can be expressed by the printing apparatus 100. Specifically, the CPU 201 converts the 8-bit RGB data to 12-bit R′G′B′ data by referring to a three-dimensional lookup table stored in the HDD 203.


In S302, the CPU 201 performs ink color separation processing on the R′G′B′ data obtained in S301. The ink color separation processing is processing in which the R′G′B′ data indicating the brightness values is converted to image data indicating gradation values corresponding to the respective ink colors used in the printing apparatus 100. Specifically, the CPU 201 converts the 12-bit R′G′B′ data to 16-bit CMYK data indicating gradation values of cyan (C), magenta (M), yellow (Y), and black (K) by referring to a three-dimensional lookup table. The ink color separation processing generates 16-bit gray scale data for four channels.


In S303, the CPU 201 performs quantization processing on the 16-bit CMYK data. In the embodiment, the 16-bit CMYK data is quantized into binary 1-bit data indicating printing (1) or non-printing (0) for each pixel. Details of the quantization processing are described later.


In S304, the CPU 201 outputs 1-bit data for each color obtained by the quantization processing in S303 to the printing apparatus 100 via the data transfer I/F 204. The processing is thus completed.


Note that, although description is given above of the mode in which the image processing apparatus 200 performs all of the steps described in FIG. 3, the image processing accelerator 216 (see FIG. 2) of the printing apparatus 100 may perform some or all of the steps described in FIG. 3.


(Details of Quantization Processing)


FIG. 4 is a block diagram for explaining details of the quantization processing executed in S303 of FIG. 3. In the quantization processing of the embodiment, first, processing relating to the gradation values of each inputted pixel is performed, then processing relating to a threshold is performed, and lastly quantization processing using a dither method is performed. The series of these processes is performed in parallel for all colors (all channels). The quantization processing for a certain color (channel) is described in detail with reference to FIG. 4.


An image data obtaining unit 401 obtains 16-bit gradation values of the respective ink colors for each pixel. FIG. 4 illustrates a state where the 16-bit gradation values of the respective first to fourth colors are inputted.


A noise adding unit 402 adds predetermined noise to the 16-bit gradation values. Adding the noise can avoid a state where the same pattern is consecutively printed and suppress generation of stripes and textures also in the case where the pixels having the gradation values of the same level are consecutively arranged. In the noise adding unit 402, noise generated by using a code indicated by a predetermined random table, a fixed intensity, and a fluctuating intensity corresponding to an input value is added to the gradation values for each pixel. In this case, the random table is a table for setting positive or negative of the noise and positive, zero, or negative is set for each pixel position. In the embodiment, there may be eight random tables at maximum and the table size of each table can be set to any size. The fixed intensity indicates the intensity of the noise amount and the magnitude of the noise is determined depending on this intensity. In the embodiment, an optimal random table and an optimal fixed intensity are set for each print mode depending on the graininess of the image, degrees of stripes and texture, and the like and the noise amount is thereby adjusted to an appropriate amount.


A normalization processing unit 403 normalizes the 16-bit gradation values to which the noise is added into a range of 12 bits. Specifically, the normalization processing unit 403 normalizes the 65535-level gradation values expressed in 16 bits into 4096-level gradation values expressed in 12 bits.


The aforementioned processing of the image data obtaining unit 401 to the normalization processing unit 403 is performed in parallel for all colors (all channels). Then, the 12-bit data for the four colors indicating the gradation values of cyan, magenta, yellow, and black is inputted into dither processing units 410 for the respective four channels.


In each dither processing unit 410, the gradation value of a processing target color to be quantified is sent to a quantization processing unit 406 as it is as a processing target gradation value. Meanwhile, the gradation values of the colors other than the processing target color are inputted into an inter-color processing unit 404 as reference gradation values. The inter-color processing unit 404 performs predetermined processing on a threshold obtained by a threshold obtaining unit 405 based on the reference gradation values to determine a final threshold and provides the final threshold to the quantization processing unit 406. The quantization processing unit 406 compares the processing target gradation value with the threshold received from the inter-color processing unit 404 to generate a quantized value indicating printing (1) or non-printing (0).


The threshold obtaining unit 405 selects one threshold matrix corresponding to the print mode from multiple dither patterns 409 stored in a memory such as the ROM and obtains a threshold for a pixel position of the processing target gradation value. In the embodiment, each dither pattern 409 is a threshold matrix formed by arranging thresholds of 0 to 4095 such that the threshold matrix has blue noise characteristics. Each dither pattern 409 may have any size and shape such as 512×512 pixels, 256×256 pixels, and 512×256 pixels. Specifically, multiple threshold matrices varying in size and shape as described above are stored in advance in the memory and the threshold obtaining unit 405 selects the threshold matrix corresponding to the print mode from these threshold matrices. Then, the threshold obtaining unit 405 selects the threshold Dth(x, y) for the pixel position (x, y) of the processing target gradation value from multiple thresholds arranged in the selected threshold matrix and provides the threshold Dth(x, y) to the inter-color processing unit.


(General Inter-Color Processing)

In this section, first, description is given of general inter-color processing as disclosed in U.S. Pat. No. 6,867,884 and Japanese Patent Laid-Open No. 2017-38127.



FIGS. 5A and 5B are a block diagram and a flowchart for explaining a configuration and steps of processing in the inter-color processing unit 404. The inter-color processing unit 404 sets the gradation values of the colors other than the processing target color as the reference gradation values, performs predetermined processing on the threshold Dth obtained by the threshold obtaining unit 405 by using these reference gradation values, and derives a quantization threshold Dth′ for quantization of the processing target gradation value. For example, in the case where the processing target gradation value is the gradation value of black, the reference gradation values are the gradation values of cyan, magenta, and yellow.


In FIG. 5A, the processing target gradation value is denoted by In1(x, y) and the reference gradation values are denoted by In2(x, y), In3(x, y), and In4(x, y). In this case, (x, y) indicates the pixel position and is a coordinate parameter used by the threshold obtaining unit 405 to select the threshold for the pixel position of the processing target gradation value from the threshold matrix.


As illustrated in FIG. 5A, the reference gradation values In2(x, y), In3(x, y), and In4(x, y) inputted into the inter-color processing unit 404 are first inputted into a threshold offset amount calculating unit 407 (S501). Then, the threshold offset amount calculating unit 407 calculates a threshold offset value Ofs1(x, y) for the processing target gradation value In1(x, y) by using the inputted reference gradation values (S502). Although only the example in which the threshold offset value Ofs1(x, y) for the processing target gradation value In1(x, y) is obtained is described in FIGS. 5A and 5B, threshold offset values Ofs1 to Ofs4 respectively for the four processing target gradation values In1 to In4 are obtained in the respective channels. In the channels, the threshold offset values Ofs1(x, y) to Ofs4(x, y) are obtained by using the following formulae.






Ofs1(x,y)=0  (Formula 1-1)






Ofs2(x,y)=In1(x,y)  (Formula 1-2)






Ofs3(x,y)=In1(x,y)+In2(x,y)  (Formula 1-3)






Ofs4(x,y)=In1(x,y)+In2(x,y)+In3(x,y)  (Formula 1-4)


The calculated threshold offset values Ofs1 (x, y) to Ofs4(x, y) are inputted into threshold offset amount adding units 408 in the respective channels. Since the following processing is the same in all channels, description is given by using In(x, y) and Ofs(x, y) as common references symbols respectively for the processing target gradation value and the threshold offset value.


Each threshold offset amount adding unit 408 obtains the threshold Dth (x, y) for the processing target gradation value In(x, y) at coordinates (x, y) from the threshold obtaining unit 405 (S503).


In S504, the threshold offset amount adding unit 408 subtracts the threshold offset value Ofs(x, y) received from the threshold offset amount calculating unit 407 from the threshold Dth(x, y) received from the threshold obtaining unit 405 to obtain the quantization threshold Dth′(x, y).






Dth′(x,y)=Dth(x,y)−Ofs(x,y)  (Formula 2)


In this case, if Dth′(x, y) takes a negative value, the threshold offset amount adding unit 408 adds the maximum value Dth_max (hereafter referred to as maximum threshold) of the thresholds included in the dither pattern to Dth′(x, y) and sets the obtained value as the quantization threshold Dth′(x, y).


Specifically,


in the case of Dth′(x, y)<0,






Dth′(x,y)=Dth′(x,y)+Dth_max  (Formula 3).


The value which the quantization threshold Dth′(x, y) can take is thus within a range of 0≤Dth′(x, y)≤Dth_max.


In the case where the quantization threshold Dth′(x, y) is obtained by using (Formula 2) or (Formula 3), the quantization processing unit 406 compares the quantization threshold Dth′(x, y) with the processing target gradation value In(x, y). Then, the quantization processing unit 406 generates a quantized value Out(x, y) expressing printing (1) or non-printing (0) for the pixel position (x, y) which is the processing target (S505). This processing is thus completed.



FIG. 6 is a graph indicating a range of thresholds according to which the determination result of printing (1) is given in thresholds 0 to Dth_max arranged in the threshold matrix in the case where the same first gradation values, the same second gradation values, the same third gradation values, and the same fourth gradation values (In1 to In4) corresponding to the first to fourth colors are uniformly inputted in a predetermined pixel region. The horizontal axis is the threshold Dth and represents the range of 0 to Dth_max (maximum threshold). Bold lines corresponding to the respective colors each represent the range of thresholds according to which the determination result of printing (1) is given.


In this example, the threshold offset value for the first color is Ofs1=0 from (Formula 1-1). Accordingly, the quantized values Out(x, y) are set to printing (1) for the pixel positions the thresholds for which are included in a range of 0 to In1 (601 to 602).


The threshold offset value for the second color is Ofs2=In1 from (Formula 1-2). In this example, In1+In2 is assumed to be greater than Dth_max. In this case, regarding a region in which the threshold offset values are higher than Dth_max, the quantized values Out(x, y) are set to printing (1) for a region corresponding to a remainder of division of (In1+In2) by Dth_max, that is the pixel positions the thresholds for which are 0 to In1+In2−Dth_max. Accordingly, the range of thresholds according to which the determination result of printing (1) is given includes In1 to Dth_max (603 to 604) and 0 to In1+In2−Dth_max−1 (605 to 606).


The threshold offset value for the third color is Ofs3=In1+In2 from (Formula 1-3). Accordingly, the quantized values Out(x, y) are set to printing (1) for the pixel positions the thresholds for which are In1+In2−Dth_max to In1+In2+In3-Dth_max−1 (607˜608).


The threshold offset value for the fourth color is Ofs4=In1+In2+In3 from (Formula 1-4). Accordingly, the quantized values Out(x, y) are set to printing (1) for the pixel positions the thresholds for which are In1+In2+In3-Dth_max to In1+In2+In3+In4−Dth_max−1 (609 to 610).


In the example of FIG. 6, there are thresholds according to which determination of printing (1) is given to two colors out of the first to fourth colors and overlapping dots in which inks of two colors overlap each other are formed on a print medium. However, for example, in the case where the value of In1+In2+In3+In4 is smaller than Dth_max, there are no thresholds according to which determination of printing (1) is given to two or more colors and all ink colors are printed at exclusive pixel positions. Accordingly, in the case where a matrix with blue noise characteristics is used as the threshold matrix, it is possible to arrange dots in a highly-dispersed manner while avoiding overlapping of dots of different colors.


As described above, in the general inter-color processing, although the same threshold matrix is used, the quantization threshold Dth′ unique to each color is obtained by using each other's gradation values as the offset values. Then, the processing of quantization to printing (1) or non-printing (0) is performed by using the newly-obtained quantization threshold Dth′ and this can minimize the overlapping of dots of inks of multiple colors on the print medium.


However, there are regions in which inks of two colors are printed in an overlapping manner as in 605 to 606, 607 to 608, and 609 to 610 in FIG. 6. Specifically, in the case where the first color is black, the second color is cyan, the third color is magenta, and the fourth color is yellow, overlapping dots of black and cyan are printed in 605 to 606. Moreover, overlapping dots of black and magenta are printed in 607 to 608 and overlapping dots of black and yellow are printed in 609 to 610. These dots are all overlapping dots with higher dot power than a single-color dot of black. Meanwhile, in FIG. 6, there are no regions in which overlapping dots of cyan and magenta, overlapping dots of cyan and yellow, and overlapping dots of magenta and yellow with relatively low dot power are printed. In other words, in the case of FIG. 6, in the situation where the overlapping dots are formed, the overlapping dots with relatively high dot power are formed preferentially to the overlapping dots with relatively low dot power. As a result, there is a possibility that an image which gives feeling of graininess is formed due to the overlapping dots with high dot power.


Inter-Color Processing in Embodiment

In light of the aforementioned matters, in the embodiment, the inter-color processing is performed such that the overlapping dots with as low dot power as possible are formed in the situation where inks of multiple colors are printed in an overlapping manner.



FIGS. 7A and 7B are graphs for explaining the inter-color processing in the embodiment. As in FIG. 6, the horizontal axis represents the range (0 to Dth_max) of values which the threshold Dth can take. FIGS. 7A and 7B illustrate a state where the same first gradation values In1, the same second gradation values In2, the same third gradation values In3, and the same fourth gradation values In4 of the first to fourth colors are uniformly inputted in a predetermined pixel region and the quantization processing is completed for the gradation value In1 of the first color and the gradation value In2 of the second color.



FIG. 7A illustrates the case of (In1+In2)<Dth_max. In this case, the threshold range (0 to Dth_max) is divided into a region (701 to 702) in which only the first color is set to printing (1), a region (703 to 704) in which only the second color is set to printing (1), and a region (705 to Dth_max) in which both colors are set to non-printing (0). Specifically, the print medium has, in a mixed manner, pixel regions in which the single-color dots of black being the first color are printed, pixel regions in which the single-color dots of cyan being the second color are printed, and pixel regions in which neither dots of black nor dots of cyan are printed. In other words, there are no overlapping dots of black and cyan. Accordingly, the graininess is not increased by the dots where the black dots and cyan dots overlap one another.


Meanwhile, FIG. 7B illustrates the case of (In1+In2)>Dth_max. In this case, the threshold range (0 to Dth_max) is divided into a region (712 to 708) in which only the first color is set to printing (1), a region (709 to 710) in which only the second color is set to printing (1), and a region (711 to 712) in which both colors are set to printing (1). Specifically, the print medium has, in a mixed manner, pixel regions in which the single-color dots of black are printed, pixel regions in which single-color dots of cyan are printed, and pixel regions in which the overlapping dots of black and cyan are printed. Note that, since the inter-color processing is performed, the formation of the overlapping dots of black and cyan are suppressed to minimum. Accordingly, the graininess caused by the overlapping dots is suppressed to minimum.


Next, assume the case where quantization for magenta being the third color and yellow being the fourth color is performed with the quantization for the first and second colors performed as described above. In the embodiment, it is assumed that the dot power of the overlapping dot formed by overlapping of the black ink being the first color and another color ink is higher than the dot power of the overlapping dot of the other color inks. Accordingly, in the embodiment, the quantization processing is controlled such that the formation of the overlapping dots with high dot power is minimized, that is, the overlapping of the black ink and the other inks is minimized. Specifically, the threshold offset values are adjusted such that the third and fourth colors are also set to printing (1) preferentially in a region in which the first color is set to non-printing (0).


For example, in the case where printing with magenta (third color) is to be further performed in the state of FIG. 7A, a region (705 to Dth_max) in which the first and second colors are set to non-printing (0) is set as a first priority region. Then, a region (703 to 704) in which only cyan (second color) is set to printing (1) is set as a second priority region and a region (701 to 702) in which only black (first color) is set to printing (1) is set as a third priority region. Note that the third color is set to printing (1) in the second priority region in the case of (In1+In2+In3)>Dth_max. The third color is set to printing (1) only in the first priority region in the case of (In1+In2+In3)<Dth_max.


Meanwhile, in the case where printing with magenta (third color) is to be further performed in the state of FIG. 7B, since there is no region where the first and second colors are set to non-printing (0), a region (709 to 710) in which only cyan (second color) is set to printing (1) is set as the first priority region. Then, a region (712 to 708) in which only black (first color) is set to printing (1) is set as the second priority region and a region in which the first and second colors are set to printing (1), that is a region in which (711 to 712) overlapping dots of three colors are to be formed is set as the third priority region. Note that the third color is set to printing (1) in the second priority region in the case of (In1+In3)>Dth_max. The third color is set to printing (1) only in the first priority region in the case of (In1+In3)<Dth_max.



FIG. 8 illustrates a result of quantization of the third color (magenta) and the fourth color (yellow) performed in the state where the first color (black) and the second color (cyan) are subjected to the quantization processing as in FIG. 7B. A region (807 to 808) in which the third color is determined to be set to printing (1) is entirely included in the first priority region and all magenta dots are printed to overlap not the black dots but the cyan dots. Specifically, no overlapping dots of black and magenta with relatively high dot power are printed and the overlapping dots of cyan and magenta with relatively low dot power are printed on the print medium.


The same applies to the fourth color. The fourth color is avoided to be set to printing (1) in a region (801 to 802) in which black is set to printing (1) as much as possible. Moreover, the order of priority is determined such that the overlapping dots with as low dot power as possible are formed in a region (803 to 804) in which black is set to non-printing (0). The inks used in the embodiment are assumed to be such that the dot power of the overlapping dot formed of two colors of black and yellow are higher than the dot power of the overlapping dot formed of three colors of cyan, magenta, and yellow. Accordingly, in the case of setting the fourth color to printing (1), a region (809 to 810) in which only cyan (second color) is set to printing (1) is set as the first priority region and a region (807 to 808) in which the second and third colors are set to printing (1) is set as the second priority region.



FIG. 8 illustrates the case where yellow being the fourth color is set to printing (1) in the entire first priority region (809 to 810) and part (811 to 812) of the second priority region. In most of the region in which the first color is set to printing (1) in the entire threshold region, the second to fourth colors are set to non-printing (0) and many of the black dots can be printed without overlapping dots of the other inks. In other words, it is possible suppress formation of the overlapping dots with high dot power formed by overlapping of black and another color.


As described above, in the inter-color processing of the embodiment, the same processing as the conventional inter-color processing is performed for the first and second colors. Then, for the third color and beyond, the offset value Ofs to be used in the inter-color processing is adjusted such that the threshold region in which the color is set to printing (1) is set according to the aforementioned order of priority.



FIG. 9 is a flowchart for explaining a method of deriving the offset value Ofs3 of the third color in the inter-color processing of the embodiment. This processing corresponds to the processing executed by the threshold offset amount calculating unit 407 (see FIG. 5A) in S503 of FIG. 5B. In the following processing, in order to simplify the description, the pixel position (x, y) is omitted unless it is necessary.


In the case where the processing is started, the threshold offset amount calculating unit 407 determines whether the sum of the gradation value In1 of the first color and the gradation value In2 of the second color is greater than the maximum threshold Dth_max (S901). In the case where the sum is greater than the maximum threshold Dth_max, the processing proceeds to S902. In the case where the sum is not greater than the maximum threshold Dth_max, the processing proceeds to S903.


In S902 and S903, the threshold offset amount calculating unit 407 calculates the number KC of thresholds according to which the quantized values of the first and second colors are set to printing (1) in the entire threshold region (0 to Dth_max). Specifically,






KC=In1+In2−Dth max in S902, and






KC=0 in S903.


In S904, the threshold offset amount calculating unit 407 calculates: the number K of thresholds according to which the quantized value of the first color is set to (1) while the quantized value of the second color is set to (0); and the number C of thresholds according to which the quantized value of the second color is set to (1) while the quantized value of the first color is set to (0), in the entire threshold region (0 to Dth_max).






K=In1−KC






C=In2−KC


In S905, the threshold offset amount calculating unit 407 calculates the number W of thresholds according to which the quantized values of the first and second colors are set to non-printing (0) in the entire threshold region (0 to Dth_max).






W=Dth_max−K−C−KC


In S906, the threshold offset amount calculating unit 407 obtains the threshold Dth for the gradation values In3(x, y) of the third color at the coordinates (x, y).


In S907, the threshold offset amount calculating unit 407 determines whether the obtained threshold Dth is (K+C+KC) or greater. In the case where Dth is (K+C+KC) or greater in S907, the processing proceeds to S908 and the threshold offset amount calculating unit 407 calculates the threshold offset value Ofs3 of the third color according to (Formula 4-1).






Ofs3=K+C+KC  (Formula 4-1)


In the case where Dth is smaller than (K+C+KC) in S907, the processing proceeds to S909 and the threshold offset amount calculating unit 407 determines whether the threshold Dth is (K+KC) or greater. In the case where Dth is (K+KC) or greater in S909, the processing proceeds to S910 and the threshold offset amount calculating unit 407 calculates the threshold offset value Ofs3 of the third color according to (Formula 4-2).






Ofs3=K+KC−W  (Formula 4-2)


In the case where Dth is smaller than (K+KC) in S909, the processing proceeds to S911 and the threshold offset amount calculating unit 407 determines whether the threshold Dth is KC or greater. In the case where Dth is KC or greater in S911, the processing proceeds to S912 and the threshold offset amount calculating unit 407 calculates the threshold offset value Ofs3 of the third color according to (Formula 4-3).






Ofs3=KC−W−C  (Formula 4-3)


In the case where Dth is smaller than KC in S911, the processing proceeds to S913 and the threshold offset amount calculating unit 407 calculates the threshold offset value Ofs3 of the third color according to (Formula 4-4).






Ofs3=−W−C−K  (Formula 4-4)


The processing is thus completed. The calculated threshold offset value Ofs3 of the third color is provided to the threshold offset amount adding unit 408 (see FIG. 5A) and the processing of S504 and beyond in FIG. 5B is performed.


In FIG. 9, the case where the offset value Ofs3 is obtained in S908 is the case where the offset value Ofs3 is set such that the third color is set to printing (1) in the region where the first and second colors are set to non-printing (0) as in the first priority region of FIG. 7A. Moreover, the case where the offset value Ofs3 is obtained in S910 is the case where the offset value Ofs3 is set such that the third color is set to printing (1) in the region where only the second color is set to printing (1) as in the second priority region of FIG. 7A and the first priority region of FIG. 7B. Furthermore, the case where the offset value Ofs3 is obtained in S912 is the case where the offset value Ofs3 is set such that the third color is set to printing (1) in the region where only the first color is set to printing (1) as in the third priority region of FIG. 7A and the second priority region of FIG. 7B. Moreover, the case where the offset value Ofs3 is obtained in S914 is the case where the offset value Ofs3 is set such that the third color is set to printing (1) in the region where the first and second colors are both set to printing (1).


As described above, in the determination steps and the steps of setting the offset value Ofs3 in S907 to S913, the quantization processing for magenta being the third color can be performed according to the order of priority as described in FIGS. 7A and 7B. As a result, it is possible to suppress formation of the overlapping dots of black and magenta with high dot power and output a uniform image in which graininess is suppressed.



FIGS. 10A and 10B are flowcharts for explaining a method of deriving the offset value Ofs4 of the fourth color in the inter-color processing of the embodiment. This processing also corresponds to the processing executed by the threshold offset amount calculating unit 407 (see FIG. 5A) in S503 of FIG. 5B.


In the case where the processing is started, in S1001, the threshold offset amount calculating unit 407 derives KCM, KC, KM, and CM according to the following formulae by using the gradation value In1 of the first color, the gradation value In2 of the second color, and the gradation value In3 of the third color.






KCM=max(In1+In2+In3−2×Dth_max,0)






KC=max(In1+In2−KCM−Dth_max,0)






KM=max(In1+In3−KCM−Dth_max,0)






CM=max(In1+In2+In3−2×KCM−KC−KM−Dth_max,0)


In this case, KCM is the number of thresholds according to which the quantized values of the first, second, and third colors are all set to printing (1) in the entire threshold region (0 to Dth_max). Moreover, KC is the number of thresholds according to which the quantized values of the first and second colors are set to printing (1) and the quantized value of the third color is set to non-printing (0) in the entire threshold region (0 to Dth_max). Furthermore, KM is the number of thresholds according to which the quantized values of the first and third colors are both set to printing (1) and the quantized value of the second color is set to non-printing (0) in the entire threshold region (0 to Dth_max). Moreover, CM is the number of thresholds according to which the quantized values of the second and third colors are set to printing (1) and the quantized value of the first color is set to non-printing (0) in the entire threshold region (0 to Dth_max). Furthermore, “max (X, Y)” is a function which returns a greater one of the two parameters X and Y


In S1002, the threshold offset amount calculating unit 407 calculates K, C, M, and W according to the following formulae by using KCM, KC, KM, and CM obtained in S1001. In this case, K is the number of thresholds according to which the quantized value of the first color (black) is set to (1) and the quantized values of the second color (cyan) and the third color (magenta) are set to (0) in the entire threshold region (0 to Dth_max). C is the number of thresholds according to which the quantized value of the second color is set to (1) and the quantized values of the first and third colors are set to (0) in the entire threshold region (0 to Dth_max). M is the number of thresholds according to which the quantized value of the third color is set to (1) and the quantized values of the first and second colors are set to (0) in the entire threshold region (0 to Dth_max). W is the number of thresholds according to which the quantized values of the first, second, and third colors are set to non-printing (0) in the entire threshold region (0 to Dth_max).






K=In1−KCM−KC−KM






C=In2−KCM−KC−CM






M=In3−KCM−KM−CM






W=Dth_max−KCM−KC−KM−CM−K−C−M


In S1003, the threshold offset amount calculating unit 407 obtains the threshold Dth for the gradation value In4(x, y) of the fourth color at the coordinates (x, y). The offset value Ofs4 of the fourth color is calculated according to the favorable order of priority from the threshold region divided into eight types by the steps of S1004 to S1018. The processing is thus completed.


Thereafter, the calculated threshold offset value Ofs4 of the fourth color is provided to the threshold offset amount adding unit 408, the processing of S504 and beyond is performed, and the quantization threshold Out4 of the fourth color is derived.


According to the aforementioned flowchart, the region in which the quantized values of all three colors of the first to third colors are set to non-printing (0) is set to have the highest priority in the entire threshold region (0 to Dth_max) (S1005). Moreover, among the threshold regions in which the first color (black) is set to non-printing (0), the region in which the third color (magenta) is set to printing (1) is set to have the second highest priority and the region in which the second color (cyan) is set to printing (1) is set to have the third highest priority. Then, the threshold region in which the first color (black) is set to printing (1) is set to have the fourth highest priority.



FIG. 14 is a graph in which graininess of an image obtained by the inter-color processing of the embodiment is quantitatively compared with that obtained by the conventional inter-color processing. The case where the inter-color processing of the embodiment is performed is illustrated by a solid line 902 and the case where the conventional inter-color processing is performed is illustrated by a broken line 901. The horizontal axis represents special frequency (cycles/mm) and the vertical axis represents intensity (power). Each graph line illustrates a result obtained by multiplying the relationship between the special frequency and the intensity in the image obtained by the corresponding inter-color processing by the human visual transfer function (VTF) and dot power coefficients of the respective colors.


In this case, the approximation formula of Dooley described above as (Formula A) is used as the human visual transfer function. For the dot power coefficients, relative values of the respective colors are set based on the lightness L* in CIEL*a*b* color space obtained by actually measuring the actually-printed dots. Specifically, ratios among the single-color dots of black, cyan, magenta, and yellow are set to 4.5:3:3:1 and the dot power coefficients are set also for the overlapping dots based on the aforementioned ratio, according to the actually-measured lightness L*.


According to FIG. 14, it can be found that the power of a low-frequency component in a characteristic 902 (solid line) corresponding to the case where the inter-color processing of the embodiment is performed is suppressed more than that in a characteristic 901 (broken line) corresponding to the case where the conventional inter-color processing is performed. Specifically, in the case where a human observes the images with the eyes, the image employing the inter-color processing of the embodiment is recognized as an image which gives less feeling of graininess than the image employing the conventional inter-color processing.


Note that, in the flowchart illustrated in FIG. 10, the order of priority is set assuming that the ascending order of the dot power for the following dots is as follows: specifically, the single-color dot of magenta, the single-color dot of cyan, the overlapping dot of cyan and magenta, the single-color dot of black, the overlapping dot of black and magenta, the overlapping dot of black and cyan, and the overlapping dot of black, cyan, and magenta. However, since the intensity of the dot power varies depending on the type of the print medium and materials contained in the inks, the aforementioned order does not apply to every case. For example, in the case where the dot power of the overlapping dot of cyan and magenta are higher than the dot power of the single-color dot of black, S1010 to S1013 described in FIG. 10 may be changed as follows.


S1010: Dth≥KCM+KC+KM+CM?


S1011: Ofs4=KCM+KC+KM+CM−W−C−M


S1012: Dth≥KCM+KC+KM?


S1013: Ofs4=KCM+KC+KM−W−C−M−CM


In any case, the formation of overlapping dots with high dot power can be suppressed as long as the offset values Ofs of the respective colors are set such that the overlapping dots with high dot power are not preferentially formed.


Moreover, although the case where the quantization thresholds Dth′ are obtained and the quantized values are generated for the first, second, third, and fourth colors in this order is described above, the quantization processing can be performed in parallel for the aforementioned four colors. This is because, although the quantization threshold Dth′ of each color is obtained by using the gradation values (In1 to In4) of the other colors, the quantization threshold Dth′ is obtained without using the quantized values (Out1 to Out4) of the other colors.


Moreover, the inks associated respectively with the first to fourth colors may be changed as along as the first to fourth colors are set in the descending order of the dot power. For example, if the ink with the highest dot power next to black is magenta, the configuration may be such that magenta is the second color and cyan is the third color.


In any case, the graininess of the outputted image can be suppressed by performing the aforementioned characteristic inter-color processing with the ink with the highest dot power set as the first color.


According to the aforementioned embodiment, in the configuration in which the gradation values of the respective ink colors used in the printing apparatus are quantized by using the inter-color processing, the inter-color processing is performed with the inks set as the first to fourth colors in the descending order of dot power. The same inter-color processing as that in the conventional technique is performed for the first and second colors. Meanwhile, for each of the colors of the third color and beyond, the offset value Ofs of the ink color is set in the inter-color processing such that the overlapping dot with as low dot power as possible is formed. This suppresses formation of the overlapping dot with high dot power and enables output of a uniform image suppressed in graininess.


Second Embodiment

Also in this embodiment, as in the first embodiment, image processing is performed in the steps illustrated in FIG. 3 by using the printing apparatus 100 and the image processing apparatus 200 illustrated in FIGS. 1 and 2. However, the print head 102 of the embodiment can eject five inks including an ink of gray (Gr) which is an achromatic color, in addition to the inks of black (K), cyan (C), magenta (M), and yellow (Y) described in the first embodiment. In this case, the gray ink is an ink with higher lightness than black (K) which is also the achromatic color and has relatively high dot power next to black.


In the inter-color processing of the embodiment, two threshold matrices different from each other are prepared for the aforementioned inks of five colors and two lines of inter-color processing is performed. Specifically, for black, cyan, and magenta, the inter-color processing using a first threshold matrix is performed with the first color being black, the second color being cyan, and the third color being magenta. Hereafter, such inter-color processing is referred to as first inter-color processing. Meanwhile, for yellow and gray, the inter-color processing using a second threshold matrix is performed with the first color being gray and the second color being yellow. Hereafter, such inter-color processing is referred to as second inter-color processing.


In the first inter-color processing, the same processing as the inter-color processing for the first to third colors in the first embodiment is performed. Specifically, the offset value Ofs1 of the first color (black) is obtained according to (Formula 1-1) and the offset value Ofs2 of the second color (cyan) is obtained according to (Formula 1-2). Moreover, the offset value Ofs3 of the third color (magenta) is obtained by using (Formula 4-1) to (Formula 4-4) according to the flowchart illustrated in FIG. 9.


Meanwhile, in the second inter-color processing, the same processing as the inter-color processing for the first and second colors in the first embodiment is performed. Specifically, the offset value Ofs1 of the first color (gray) is obtained according to (Formula 1-1) and the offset value Ofs2 of the second color (yellow) is obtained according to (Formula 1-2). The first threshold matrix and the second threshold matrix are threshold matrices different from each other but both have blue noise characteristics.



FIGS. 11A and 11B are graphs illustrating a result of the aforementioned first inter-color processing and a result of the aforementioned second inter-color processing, respectively. In the first inter-color processing illustrated in FIG. 11A, the same processing as the inter-color processing for the first to third colors in the first embodiment is performed. Accordingly, the second color (cyan) and the third color (magenta) are set to printing (1) preferentially in a region (903 to Dth_max) in which the first color (black) is set to non-printing (0). In other words, the overlapping dots of cyan and magenta are formed preferentially to the overlapping dots of black and magenta.


Meanwhile, in the second inter-color processing illustrated in FIG. 11B, the same processing as the inter-color processing for the first and second colors in the first embodiment is performed. Accordingly, the second color (yellow) is set to printing (1) preferentially in a region (910 to Dth_max) in which the first color (gray) is set to non-printing (0) and the overlapping dots of gray and yellow are less likely to be formed.


In the embodiment, the two types of threshold matrices with blue noise characteristics are prepared and the black ink and the gray ink being achromatic colors with relatively high dot power are each set as the first color in the inter-color processing using the threshold matrix therefor. In this state, the offset values Ofs are set such that setting the inks of the chromatic colors which are colors other than the black ink and the gray ink to printing (1) in the same pixel regions as the black ink and the gray ink is avoided as much as possible. According to such an embodiment, it is possible to increase the dispersiveness of the dots of the inks with relatively high dot power such as black and gray being achromatic colors and also suppress formation of overlapping dots formed by overlapping of the achromatic inks and the chromatic inks. As a result, a uniform and smooth image can be printed.


Third Embodiment

Also in this embodiment, as in the first embodiment, image processing is performed in the steps illustrated in FIG. 3 by using the printing apparatus 100 and the image processing apparatus 200 illustrated in FIGS. 1 and 2. However, the dither processing unit 410 of the embodiment quantizes the gradation values In1 to In4 of the respective colors to three-level values expressed in three levels of level 0 to level 2, instead of the values of two levels of printing (1) and non-printing (0).


The quantization processing of the embodiment is described with reference to the block diagram of FIG. 4 again. In the embodiment, the normalization processing unit 403 normalizes the 16-bit gradation values to which noise is added into a 13-bit range. Specifically, the normalization processing unit 403 converts the 65535-level gradation values expressed in 16 bits into 8192-level values expressed in 13 bits. Then, the gradation values of the four colors of cyan, magenta, yellow, and black are inputted into the dither processing units 410 of the respective four channels.


In each dither processing unit 410, the threshold obtaining unit 405 obtains the threshold matrix Dth(x, y) for the pixel position (x, y) of the processing target gradation value, from the multiple thresholds arranged in the selected threshold matrix. In the embodiment, it is assumed that the inputted gradation values are in a range of 13 bits, that is 0 to 8191 while the thresholds Dth arranged in the threshold matrix are in a range of 12 bits, that is 0 to 4096. The threshold obtaining unit 405 calculates a first threshold Dth1(x, y) and a second threshold Dth2(x, y) according to (Formula 5-1) and (Formula 5-2) based on the obtained threshold Dth(x, y). In the following description, in order to simplify the description, the pixel position (x, y) is omitted unless it is necessary.






Dth1=Dth  (Formula 5-1)






Dth2=Dth+Dth_max+1  (Formula 5-2)


In this case, the first threshold Dth1 is a threshold used to determine whether the processing target gradation value is any one of levels 0 and 1 or not. Meanwhile, the second threshold Dth2 is a corrected threshold higher than the first threshold Dth1 and is a threshold used to determine whether the processing target gradation value is any one of levels 1 and 2 or not. The threshold obtaining unit 405 provides the generated first threshold Dth1 and second threshold Dth2 to the inter-color processing unit 404.


Next, description is given with reference to FIG. 5. Here, only the relationships between the gradation value InK of black being the first color and the gradation value InC of cyan being the second color are described to simplify the description.


The threshold offset amount calculating unit 407 calculates two types of threshold offset values for the processing target gradation value, that is a first threshold offset value and a second threshold offset value, by using the reference gradation values. The first threshold offset value is used to offset the first threshold Dth1 and the second threshold offset value is used to offset the second threshold Dth2. A method of calculating these offset values are described later in detail.


The threshold offset amount adding unit 408 corrects the first threshold Dth1 and the second threshold Dth2 provided by the threshold obtaining unit 405 by using the first threshold offset value Ofs1 and the second threshold offset value Ofs2 calculated by the threshold offset amount calculating unit 407. Specifically, the first quantization threshold Dth1′ and the second quantization threshold Dth2′ are calculated according to (Formula 6-1) and (Formula 6-2).






Dth1′=Dth1−Ofs1  (Formula 6-1)






Dth2′=Dth2−Ofs2  (Formula 6-2)


On this occasion, in the case where the Dth1′ or Dth2′ takes a negative value, the maximum threshold Dth_max is added to the obtained value.


Specifically,


in the case of Dth1′<0






Dth1′=Dth1′+Dth_max  (Formula 7-1)


in the case of Dth2′<0






Dth2′=Dth2′+Dth_max  (Formula 7-2).


The value which the first quantization threshold Dth1′ can take is thus within a range of 0≤Dth1′≤Dth_max. Moreover, the value which the second quantization threshold Dth2′ can take is thus within a range of Dth_max+1≤Dth2′≤2×Dth_max.


The quantization processing unit 406 compares the inputted processing target gradation value In with the first quantization threshold Dth1′ and the second quantization threshold Dth2′ and generates the quantized value Out indicating one of levels 0 to 2 according to (Formula 8).





in the case of In≤Dth1′ Out=0





in the case of Dth1′<In≤Dth2′ Out=1





in the case of Dth2′<In Out=2  (Formula 8)


Thereafter, the quantized value Out(x, y) is sent to the printing apparatus 100 as print data with three levels. In the printing apparatus 100, the ink of the corresponding color is ejected from the print head 102 to the pixel region indicated by the coordinates (x, y). In this case, the head controller 215 (see FIG. 2) of the printing apparatus 100 controls the ejection operation of the print head 102 such that the higher the level indicated by the quantized value Out is, the more the ink is applied to the pixel region of the print medium. For example, the configuration may be such that, for the corresponding pixel position (x, y), no dot is printed in the case of Out=0, one dot is printed in the case of Out=1, and two dots are printed in the case of Out=2. Moreover, the configuration may be such that no dot is printed in the case of Out=0, a small dot is printed in the case of Out=1, and a large dot is printed in the case of Out=2.


Next, a method of driving the first threshold offset value Ofs1 and the second threshold offset value Ofs2 in the threshold offset amount calculating unit 407 of the embodiment is described. In the following description, the first threshold offset value and the second threshold value of the first color (black) are denoted by OfsK1 and OfsK2, respectively, and the first threshold offset value and the second threshold offset value of the second color (cyan) are denoted by OfsC1 and OfsC2, respectively.


In the case where the gradation value InK of the first color is the processing target gradation value, the first threshold offset value OfsK1 and the second threshold offset value OfsK2 are obtained according to (Formula 9-1) and (Formula 9-2).






OfsK1=0  (Formula 9-1)






OfsK2=0  (Formula 9-2)


Meanwhile, in the case where the gradation value InC of the second color is the processing target gradation value, the threshold offset amount calculating unit 407 derives the first threshold offset value OfsC1 and the second threshold offset value OfsC2 according to the flowchart of FIG. 12. The steps are described below one by one.


In the case where the processing is started, the threshold offset amount calculating unit 407 determines whether the gradation value InK of the first color which is the reference gradation value is greater than the maximum threshold Dth_max (S1201). In the case where the reference gradation value InK is greater than the maximum threshold Dth_max, the processing proceeds to S1202. In the case where the reference gradation value InK is not greater than the maximum threshold Dth_max, the processing proceeds to S1203.


In S1202 and S1203, the threshold offset amount calculating unit 407 calculates the number KK of the thresholds according to which the quantized values of the first color are set to level 2 in the entire threshold region (0 to Dth_max). Specifically,





in S1202,KK=InK−Dth max, and





in S1203,KK=0.


In S1204, the threshold offset amount calculating unit 407 calculates the number K of thresholds according to which the quantized values of the first color is set to level 1 in the entire threshold region (0 to Dth_max).






K=InK−KK


In S1205, the threshold offset amount calculating unit 407 calculates the number W of the thresholds according to which the quantized values of the first color is set to level 0 in the entire threshold region (0 to Dth_max).






W=Dth_max−K−KK


In S1206, the threshold offset amount calculating unit 407 obtains the threshold Dth for the processing target gradation value InC(x, y) at the coordinates (x, y).


In S1207, the threshold offset amount calculating unit 407 determines whether the obtained threshold Dth is (K+KK) or greater. In the case where Dth is (K+KK) or greater in S1207, the processing proceeds to S1208 and the threshold offset amount calculating unit 407 calculates the first threshold offset value OfsC1 and the second threshold offset value OfsC2 according to (Formula 10-1) and (Formula 10-2).






OfsC1=K+KK  (Formula 10-1)






OfsC2=Dth_max+K+KK−W  (Formula 10-2)


In the case where Dth is smaller than (K+KK) in S1207, the processing proceeds to S1209 and the threshold offset amount calculating unit 407 determines whether the threshold Dth is KK or greater. In the case where Dth is KK or greater in S1209, the processing proceeds to S1210 and the threshold offset amount calculating unit 407 calculates the first threshold offset value OfsC1 and the second threshold offset value OfsC2 according to (Formula 11-1) and (Formula 11-2).






OfsC1=KK−2 W  (Formula 11-1)






OfsC2=Dth_max+KK−2 W−K  (Formula 11-2)


In the case where Dth is smaller than KK in S1209, the processing proceeds to S1211 and the threshold offset amount calculating unit 407 calculates the first threshold offset value OfsC1 and the second threshold offset value OfsC2 according to (Formula 12-1) and (Formula 12-2).






OfsC1=−2W−2K  (Formula 12-1)






OfsC2=Dth_max−2W−2K−KK  (Formula 12-2)


The processing is thus completed.


In S1208 of FIG. 12, the first offset value OfsC1 and the second offset value OfsC2 are set such that the second color is set to levels 1 and 2 preferentially in a region where the first color is set to level 0. In S1210, the first offset value OfsC1 and the second offset value OfsC2 are set such that the second color is set to levels 1 and 2 preferentially in a region where the first color is set to level 1. In S1211, the first offset value OfsC1 and the second offset value OfsC2 are set such that the second color is set to levels 1 and 2 in a region where the first color is set to level 2. In other words, according to the flowchart of FIG. 12, the determination steps of the S1207 and S1209 causes the first offset value OfsC1 and the second offset value OfsC2 to be set in S1208, S1210, and S1211 with the highest priority given to S1208, the next highest to S1210, and the next highest to S1211.



FIG. 13 illustrates a result of quantization in the case where the inter-color processing of the embodiment is performed for the first and second colors. FIG. 13 illustrates the case where the same gradation values InK and the same gradation values InC of the first and second colors greater than the maximum threshold Dth_max are uniformly inputted in a predetermined pixel region. In FIG. 13, a threshold region in which the first color is set to level 1 or higher, a threshold region in which the first color is set to level 2, a threshold region in which the second color is set to level 1 or higher, and a threshold region in which the second color is set to level 2 are illustrated by bold lines. The horizontal axis represents the range (0 to Dth_max) of values which the threshold Dth can take and corresponds to 0 to Dth_max for level 1 and to Dth_max+1 to 2×Dth_max for level 2.


Since the gradation value InK of the first color is greater than the maximum threshold Dth_max, the entire threshold region (0 to Dth_max) is quantized to level 1 or level 2. More specifically, in a threshold region (1302 to 1303), the first color is set to level 2 and two black dots (or a large black dot) are printed. Moreover, in a threshold region (1303 to Dth_max), the first color is set to level 1 and one black dot (or a small black dot) is printed.


Meanwhile, in a threshold region (1305 to 1306), the second color is set to level 2 and two cyan dots (or a large cyan dot) are printed. Moreover, in a threshold region (1306 to Dth_max), the second color is set to level 1 and one cyan dot (or small cyan dot) is printed.


This example corresponds to the case where the determination result is Yes in S1209 of FIG. 12 and the first offset value OfsC1 and the second offset value OfsC2 are set in S1210. Accordingly, the second color is set to level 1 or level 2 preferentially in the region where the first color is set to level 1.


As described above, in the embodiment, the threshold offset value for each level is adjusted while performing the inter-color processing to avoid the case where the second color (cyan) is printed in the same pixel region as the first color (black) as much as possible. In other words, the formation of the overlapping dots of black and cyan is minimized. Then, in the case where the printing in the same pixel region is necessary, the second color is printed in a pixel region in which printing is performed with as little ink of the first color as possible. Specifically, out of the overlapping dot of cyan and black of level 2 and the overlapping dot of cyan and black of level 1, one with the lower dot power is preferentially formed. According to such an embodiment, it is possible to output a uniform image suppressed in graininess while expressing a wider range of gray scale than that in the first embodiment.


Other Embodiments

In the inter-color processing described in the first to third embodiments, the threshold Dth is offset by using the calculated offset value Ofs to obtain the quantization threshold Dth′, the obtained quantization threshold Dth′ is compared with the gradation value In, and the quantized value Out is generated based on the magnitude relationship between the quantization threshold Dth′ and the gradation value In. However, the calculated offset value Ofs may be used to offset the gradation value In instead of the threshold Dth. Specifically, the same result can be obtained by adding the calculated offset value Ofs to the gradation value In to obtain a new gradation value In′ and comparing the new gradation value In′ with the threshold Dth. In any case, it is only necessary to change the difference between the threshold Dth and the gradation value In based on the calculated offset value Ofs and compare the threshold Dth and the gradation value In in the relationship after the changing of the difference.


Although the quantization processing using the inter-color processing is described above, the formation of the overlapping dots with high dot power can be minimized also in the case where, for example, an error diffusion method is employed as the quantization processing.


Specifically, first, the quantization processing for the first color with high dot power is performed by performing normal error diffusion processing. Next, the quantization processing for the second color with lower dot power than the first color is performed. In this case, for a pixel for which the quantized value of the first color is already set to printing (1), the threshold is corrected to be set to a larger value. Then, in the case where the quantization processing for the third color with lower dot power than the second color is performed, for a pixel for which the quantized value of the first color is already set to printing (1), the threshold is corrected to an even larger value. This can reduce frequency of the case where the quantized values of the first color and the third color are both set to printing (1) in the same pixel and suppress the formation of the overlapping dots with high dot power. However, in this example, since the quantization for the second color and beyond is performed based on the result of the quantization processing of the preceding color, the quantization processing cannot be performed in parallel for four colors as in the aforementioned embodiments.


In the aforementioned embodiment, description is given of the quantization processing performed to avoid the formation of the overlapping dots with high dot power as much as possible. However, in order to improve the resistance (robustness) of an image against misalignment of print positions between, for example, a black nozzle row and a magenta nozzle row, it is sometimes preferable that there are some overlapping dots of black and magenta. The graininess can be suppressed within a favorable range even if such overlapping dots are present as long as the percentage of the overlapping dots of magenta and black to the overlapping dots of magenta and the other ink colors is equal to or less than a predetermined percentage (for example, 50%). In this case, the percentage of the overlapping dots of magenta and black can be adjusted by adding a random number of a certain magnitude to the offset value Ofs. Adjusting the number of the overlapping dots with high dot power like the overlapping dots of magenta and black enables output of an image in which the balance between the graininess and the robustness is favorably maintained.


Note that, although the serial inkjet printing apparatus is described above as an example by using FIGS. 1A and 1B, the present invention can be applied also to a full-line type inkjet printing apparatus.


Moreover, the used ink colors are not limited to the ink colors described in the aforementioned embodiments. For example, a light cyan ink and a light magenta ink with high lightness can be used in addition to the cyan ink and the magenta ink. Moreover, inks of particular colors such as red, green, and blue may be used. In this case, it is sometimes rather preferable to actively form overlapping dots of light cyan and cyan and overlapping dots of light magenta and magenta to obtain favorable gradation in single colors of cyan and magenta. Meanwhile, since overlapping dots of light cyan and magenta and overlapping dots of light magenta and cyan have high dot power, it is sometimes preferable to form overlapping dots of light cyan and light magenta preferentially to these overlapping dots. In any of the cases, the present invention effectively functions as long as the quantization processing for each ink color is controlled to minimize the formation of the overlapping dots with dot power high enough to give feeling of graininess.


Moreover, although the dot power of each color is set based on the lightness L* in the CIEL*a*b* color space in the above description, the dot power may be an optical density or a Y value in a XYZ color space.


Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)?), a flash memory device, a memory card, and the like.


While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.


This application claims the benefit of Japanese Patent Application No. 2019-077337 filed Apr. 15, 2019, which is hereby incorporated by reference wherein in its entirety.

Claims
  • 1. An image processing method comprising: an obtaining step of obtaining a first gradation value for a first coloring material, a second gradation value for a second coloring material, and a third gradation value for a third coloring material for each pixel; anda generation step of, for each pixel, generating a first quantized value indicating applying or non-applying of the first coloring material by quantizing the first gradation value, generating a second quantized value indicating applying or non-applying of the second coloring material by quantizing the second gradation value, and generating a third quantized value indicating applying or non-applying of the third coloring material by quantizing the third gradation value,the image processing method including performing image processing for printing an image on a print medium by using an applying unit configured to apply the first coloring material according to the first quantized value, apply the second coloring material according to the second quantized value, and apply the third coloring material according to the third quantized value, whereindot power corresponding to obviousness of an overlapping dot formed by overlapping of a dot of the first coloring material and a dot of the third coloring material is higher than dot power of an overlapping dot formed by overlapping of a dot of the second coloring material and the dot of the third coloring material on the print medium, and
  • 2. The image processing method according to claim 1, wherein in the generation step, the first quantized value is generated by comparing the first gradation value with a first threshold stored in a threshold matrix, the second quantized value is generated by comparing the second gradation value with a second threshold obtained by correcting the first threshold based on the first gradation value, the third quantized value is generated by comparing the third gradation value with a third threshold obtained by correcting the first threshold based on the first gradation value and the second gradation value.
  • 3. The image processing method according to claim 2, wherein, in the generation step, the second threshold is obtained by subtracting the first gradation value from the first threshold and the third threshold is obtained by subtracting the first gradation value and the second gradation value from the first threshold.
  • 4. The image processing method according to claim 2, wherein in the obtaining step, a fourth gradation value for a fourth coloring material and a fifth gradation value for a fifth coloring material, which are different from the first coloring material, the second coloring material, and the third coloring material are further obtained for each pixel,in the generation step, a fourth quantized value indicating applying or non-applying of the fourth coloring material is generated by comparing the fourth gradation value with a fourth threshold stored in a second threshold matrix different from the threshold matrix and a fifth quantized value indicating applying or non-applying of the fifth coloring material is generated by comparing the fifth gradation value with a fifth threshold obtained by correcting the fourth threshold based on the fourth gradation value.
  • 5. The image processing method according to claim 1, wherein in the generation step, the first quantized value is generated by comparing the first gradation value with a threshold stored in a threshold matrix, the second quantized value is generated by comparing a value, obtained by correcting the second gradation value based on the first gradation value, with the threshold, and the third quantized value is generated by comparing a value, obtained by correcting the third gradation value based on the first gradation value and the second gradation value, with the threshold.
  • 6. The image processing method according to claim 2, wherein the threshold matrix has blue noise characteristics.
  • 7. The image processing method according to claim 1, wherein, in the gradation step,the first quantized value is generated by quantizing the first gradation value, the second quantized value is generated by quantizing the second gradation value, and the third quantized value is generated by quantizing the third gradation value respectively by using error diffusion processing, anda threshold to be used to quantize the second gradation value is corrected based on the first quantized value and a threshold to be used to quantize the third gradation value is corrected based on the first quantized value and the second quantized value.
  • 8. An image processing method comprising generation step of generating a first quantized value by quantizing a first gradation value for a first coloring material, generating a second quantized value by quantizing a second gradation value for a second coloring material, and generating a third quantized value by quantizing a third gradation value for a third coloring material, for each pixel,the image processing method including performing image processing for printing an image on a print medium by using an applying unit configured to apply the first coloring material according to the first quantized value, apply the second coloring material according to the second quantized value, and apply the third coloring material according to the third quantized value, whereindot power of an overlapping dot formed by overlapping of a dot of the first coloring material and a dot of the third coloring material is higher than dot power of an overlapping dot formed by overlapping of a dot of the second coloring material and the dot of the third coloring material on the print medium, and
  • 9. The image processing method according to claim 8, wherein, in a case where, for a plurality of pixels included in a predetermined pixel region, the first gradation values are the same uniformly, the second gradation values are the same uniformly, and the third gradation values are the same uniformly, in the generation step, the first quantized values, the second quantized values, and the third quantized values are generated such that, in the predetermined pixel region, the number of pixels for each of which the third quantized value indicates applying the third coloring material and the first quantized value indicates applying the first coloring material is greater than the number of pixels for each of which the third quantized value indicates applying the third coloring material and the second quantized value indicates applying the second coloring material.
  • 10. The image processing method according to claim 8, wherein in the generation step, in a case where a sum of the first gradation value and the second gradation value is smaller than a maximum value of thresholds arranged in the threshold matrix, at least one of the third gradation value or the threshold used in the comparison with the first gradation value is changed based on the first gradation value and the second gradation value and the third quantized value is generated based on a combination of the threshold and the third gradation value after the change, andin a case where the sum of the first gradation value and the second gradation value is greater than the maximum value of the thresholds arranged in the threshold matrix, at least one of the third gradation value or the threshold used in the comparison with the first gradation value is changed based on the first gradation value and the third quantized value is generated based on a combination of the threshold and the third gradation value after the change.
  • 11. The image processing method according to claim 8, wherein in the generation step, in a case where a sum of the first gradation value and the second gradation value is smaller than a maximum value of thresholds arranged in the threshold matrix, the third quantized value is generated by comparing the third gradation value with a value obtained by subtracting the first gradation value and the second gradation value from the threshold used in the comparison with the first gradation value, andin a case where the sum of the first gradation value and the second gradation value is greater than the maximum value of the thresholds arranged in the threshold matrix, the third quantized value is generated by comparing the third gradation value with a value obtained by subtracting the first gradation value from the threshold used in the comparison with the first gradation value.
  • 12. The image processing method according to claim 11, wherein, in the generation step, in a case where the value obtained by subtracting the first gradation value and the second gradation value from the threshold used in the comparison with the first gradation value is a negative value, the third gradation value is compared with a value obtained by adding the maximum value of the thresholds arranged in the threshold matrix to the value obtained by subtracting the first gradation value and the second gradation value from the threshold, andin a case where the value obtained by subtracting the first gradation value from the threshold used in the comparison with the first gradation value is a negative value, the third gradation value is compared with a value obtained by adding the maximum value of the thresholds arranged in the threshold matrix to the value obtained by subtracting the first gradation value from the threshold.
  • 13. The image processing method according to claim 8, wherein in a case where a sum of the first gradation value and the second gradation value is smaller than a maximum value of thresholds arranged in the threshold matrix, a sum of the first gradation value, the second gradation value, and a third gradation value is greater than the maximum value of the thresholds arranged in the threshold matrix, andin a case where the sum of the first gradation value and the second gradation value is greater than the maximum value of the thresholds arranged in the threshold matrix, a sum of the first gradation value and the third gradation value is greater than the maximum value of the thresholds arranged in the threshold matrix.
  • 14. The image processing method according to claim 8, wherein, in the generation step, for each pixel, a fourth gradation value for a fourth coloring material is quantized by comparing the fourth gradation value with a threshold for the pixel in a second threshold matrix different from the threshold matrix to generate a fourth quantized value and a fifth quantized value is generated based on the fourth gradation value, a fifth gradation value for a fifth coloring material, and the threshold used in the comparison with the fourth gradation value.
  • 15. The image processing method according to claim 8, wherein the threshold matrix has blue noise characteristics.
  • 16. The image processing method according to claim 1, wherein the first coloring material is an achromatic ink and the second coloring material and the third coloring material are chromatic inks.
  • 17. The image processing method according to claim 1, wherein the first coloring material is black ink, the second coloring material is cyan ink, and the third coloring material is magenta ink.
  • 18. The image processing method according to claim 1, wherein the lower the lightness of the dot is, or the higher the density of the dot is, the higher the dot power is.
  • 19. An image processing method comprising: an obtaining step of obtaining a first gradation value for a first coloring material and a second gradation value for a second coloring material for each pixel; anda generation step of quantizing the first gradation value to generate a first quantized value at any of a certain number of levels that is smaller than the number of levels for the first gradation value and quantizing the second gradation value to generate a second quantized value at any of a certain number of levels that is smaller than the number of levels for the second gradation value, for each pixel,the image processing method including performing image processing for printing an image on a print medium by using an applying unit configured to apply the first coloring material according to the first quantized value such that the higher the level of the first quantized value is, the greater an amount of the first coloring material to be applied is and apply the second coloring material according to the second quantized value such that the higher the level of the second quantized value is, the greater an amount of the second coloring material to be applied is, whereindot power of a dot formed by the first coloring material is higher than dot power of a dot formed by the second coloring material on the print medium,in a case where the same first gradation values and the same second gradation values for a plurality of pixels included in a predetermined pixel region are obtained uniformly in the obtaining step,in the generation step, the first quantized values and the second quantized values are generated such that, in the predetermined pixel region, pixels with a lower level of the first quantized values include more pixels for which the level of the second quantized value is not 0.
  • 20. An image processing method comprising a generation step of quantizing a first gradation value for a first coloring material to generate a first quantized value at any of a certain number of levels that is smaller than the number of levels for the first gradation value and quantizing a second gradation value for a second coloring material to generate a second quantized value at any of a certain number of levels that is smaller than the number of levels for the second gradation value, for each pixel,the image processing method including performing image processing for printing an image on a print medium by using an applying unit configured to apply the first coloring material according to the first quantized value such that the higher the level of the first quantized value is, the greater an amount of the first coloring material to be applied is and apply the second coloring material according to the second quantized value such that the higher the level of the second quantized value is, the greater an amount of the second coloring material to be applied is,
  • 21. The image processing method according to claim 19, wherein the first coloring material is an achromatic ink and the second coloring material is chromatic inks.
  • 22. The image processing method according to claim 19, wherein the lower the lightness of the dot is, or the higher the density of the dot is, the higher the dot power is.
  • 23. The image processing method according to claim 1 further comprising the applying step using the applying unit.
Priority Claims (1)
Number Date Country Kind
2019-077337 Apr 2019 JP national