US20050219623A1 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
US20050219623A1
US20050219623A1 US10/893,607 US89360704A US2005219623A1 US 20050219623 A1 US20050219623 A1 US 20050219623A1 US 89360704 A US89360704 A US 89360704A US 2005219623 A1 US2005219623 A1 US 2005219623A1
Authority
US
United States
Prior art keywords
dot
image data
pixel
quantization
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/893,607
Inventor
Kenichiro Hiramoto
Qing Gao
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2003200460A external-priority patent/JP4238660B2/en
Priority claimed from JP2003292120A external-priority patent/JP4222151B2/en
Priority claimed from JP2003304549A external-priority patent/JP2005078150A/en
Priority claimed from JP2003379682A external-priority patent/JP4222187B2/en
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Assigned to KONICA MINOLTA HOLDINGS, INC. reassignment KONICA MINOLTA HOLDINGS, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: GAO, QING, HIRAMOTO, KENICHIRO
Publication of US20050219623A1 publication Critical patent/US20050219623A1/en
Priority to US12/267,113 priority Critical patent/US7791766B2/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/405Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/28Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns

Definitions

  • the present invention relates to an image processing apparatus and an image processing method.
  • the present invention relates to an image processing apparatus and an image processing method for quantizing multi-gradation image data to convert it into pseudo halftone output image data.
  • an ordered dither method, an error diffusion method or the like have been known as a quantization processing method for converting multi-gradation original image data into pseudo halftone output image data.
  • the error diffusion method has been often used for high quality images and improved variously, because it can provide relative high quality images.
  • An object as for the image quality in the error diffusion method is of how to reduce the texture specific to an algorism without amplifying noises.
  • JP-Tokukaihei-4-328957A discloses. Specifically, switching two matrices according to input values, using a large matrix to a highlight part or a shadow part, preventing generation of pattern called “worm”, and minimizing noises are disclosed.
  • This method is for setting an array (hereinafter, referred to as a dot appearance pattern) representing dot appearance information for every pixel, that is, dot presence/absence information of the number substantively proportional to the number of gradations composed of an observed pixel, and for performing halftoning on the basis of the information.
  • a dot appearance pattern representing dot appearance information for every pixel, that is, dot presence/absence information of the number substantively proportional to the number of gradations composed of an observed pixel, and for performing halftoning on the basis of the information.
  • the method includes: using the dot appearance pattern which has been already decided to neighboring pixels of the observed pixel; calculating expectation value (hereinafter, referred to as a histogram) of the dot appearance in the neighboring pixels for every element number of elements composing the dot appearance pattern; setting dot presence information preferentially to the element number of which the dot appearance number is small, on the basis of the expectation value; and deciding the dot appearance pattern of the observed pixel so as to set dot absence information to the element number of which dot appearance number is large.
  • a histogram expectation value
  • the anti-correlation digital halftoning method will be explained with concrete examples.
  • the processing is performed with changing the observed pixel from left to right.
  • a random valuable r (r is an integral value) is previously determined at random from the range of 0 to (n ⁇ 1) (Step T 1 ), before original image data (multi-gradation image data) are input.
  • n is the maximum number of a pixel value g i,j .
  • the pixel value g i,j is a gradation value of the pixel in i-th row and the j-th column, and is any one of values in the range of 0 to n.
  • the pixel value g i,j of the pixel (the observed pixel) in i and row j column is obtained from the original image data (Step T 2 ).
  • a local filter P of the pixel in the i-th row and the j-th column is generated on the basis of the pixel value g i,j (Step T 3 ).
  • is obtained by assigning the pixel value g i,j to the following formula (1).
  • the range of the left column of FIG. 31 where the obtained belongs is specified.
  • the information of the local filter P corresponding to the specified range is specified from the right column of FIG. 31 .
  • ⁇ [0, 13/255)” means “0 ⁇ 13/255”.
  • any one of six basic filters K 1 to K 6 shown in FIGS. 32A to 33 C is selected with reference to the “K”.
  • a filter with lk rows ⁇ (2lk ⁇ 1) columns having breadth for (lk ⁇ 1) pixels from the pixel marked with “x”, that is, the pixel in the i-th row and the j-th column, in the upper, left and right direction respectively, is generated.
  • the pixel number of the basic filter K is applied directly to each of pixels from the 1st column to the (lk ⁇ (lk))-th column of the generated filter.
  • 0 is applied to each of pixels beyond the (lk ⁇ (lk))-th column. Thereby, the local filter P is generated.
  • the local filter P is generated with the following procedures. That is, in the R(K 6 , 4, ⁇ 1), the entry corresponding to the basic filter K is “K 6 ”, and therefore, a basic filter K 6 shown in FIG. 33C is specified as the basic filter K from three basic filters K 4 to K 6 respectively shown in FIGS. 33A to 33 C. Then, in the R(K 6 , 4, ⁇ 1), the entry corresponding to lk is “4”, and the entry corresponding to ⁇ (lk) is “ ⁇ 1”.
  • 0 is applied to each of pixels beyond the 5th column.
  • the local filter P generated with the above procedures is shown in FIG. 34 .
  • a histogram H i,j [k] of the pixel in the i-th row and the j-th column is calculated (Step T 4 ).
  • the “histogram H i,j [k]” means the sum value (the expectation value) which is obtained as follows; that is, when each arrangement position of the neighboring pixel of the observed pixel indicated by “x” in the local filter P is represented by (x, y), each dot appearance pattern C x,y [k] of the neighboring pixel of the observed pixel is weighted with the pixel value of the pixel in the position of (x, y) of the local filter P and added one another for every value of an element (an element number) k.
  • the dot appearance pattern C x,y [k] is the sequence (the dot appearance information array) composed of C i,j [0] to C i,j [n ⁇ 1] respectively taking the value of 0 and 1.
  • the histogram H i,j [k] of the observed pixel (the pixel marked with “x” in FIGS. 34, 35A and 35 B) in the i-th row and the j-th column is calculated for every value of an element (an element number) k, according to the following Formulas.
  • the element number array S[k] is calculated as ⁇ 8, 3, 4, 1, 5, . . . , (n ⁇ 1) ⁇ .
  • “8” is the 0th element and “3” is the 1st element.
  • Step T 8 the relation between the count value Count and the pixel value (g i,j ⁇ 1) is compared.
  • the dot appearance pattern C i,j [k′] corresponding to the element k′ is set to “1” (Step T 9 ), or if the count value is more than the pixel value (g i,j ⁇ 1), the dot appearance pattern C i,j [k′] corresponding to the element k′ is set to “0” (Step T 10 ).
  • the pixel value (g i,j ⁇ 1) is “3” and the element number array S[k] is ⁇ 8, 3, 4, 1, 5, . . . , (n ⁇ 1) ⁇ , first, the element C i,j [8] is set to “1”, among the dot appearance pattern C i,j [k].
  • Step T 13 C i,j [r] of which element number is random variable r determined in above Step T 1 is calculated as an output value b i,j of the pixel in the i-th row and the j-th column, among the dot appearance pattern C i,j [k] (Step T 13 ).
  • the output value b i,j is “0” or “1” as can be seen from the processing of above Step T 9 or Step T 10 .
  • Step T 14 After the output value b i,j is calculated, it is judged whether or not the output values b have been calculated with respect to all the pixels of the input original image data (Step T 14 ). If it is judged that the output values b of all the pixels is not calculated, the processing from above Step T 2 to Step T 13 are repeated with respect to each unprocessed pixel. If it is judged that the output values b of all the pixels, that is, the output image data of pseudo halftone is calculated, the processing is ended.
  • the anti-correlation digital halftoning when one pixel is focused, dot appearance frequency is proportional to the pixel value of the pixel. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved. Therefore, the anti-correlation digital halftoning method has the feature that there are few textures peculiar to the error diffusion method.
  • the dot appearance pattern with respect to the neighboring pixels other than an area of the image is required. Therefore, for the neighboring pixels other than an area of the image, the dot appearance pattern is previously decided by using a random valuable or the like.
  • g i,j is the pixel value of the observed pixel.
  • rBR is a random valuable included in ⁇ 0, 1, . . . (int)(n/2) ⁇ and is different value every time.
  • the anti-correlation digital halftoning method is applied to a color image or a grayscale image resolved for every different density, because the dot arrangement between the different colors is not concerned, the color heterogeneity is easily generated. Further, the local variation of lightness becomes random, and accordingly, the roughness is increased.
  • the anti-correlation digital halftoning method comprises the outstanding feature that the dispersibility for the bilevel halftoning of a monochrome image is well.
  • the anti-correlation digital halftoning method sometimes generates the pattern comprising a regular periodic structure with respect to a specific input value.
  • the simple periodic pattern is preferred as the result of the halftoning of the input data with a certain level, on the other hand, the border where the data value changes is enhanced and a pseudo outline is generated in many cases.
  • the periodic structure is sometimes generated with respect to a specific image pattern. For example, it has been known that although the pseudo outline is not outstanding with respect to the gradation pattern (ramp input), a regular checker pattern is sometimes generated in the portion where the 50% value constantly continues in a wide range.
  • the generation probability of a systematic dot arrangement or a different dot arrangement has not been controlled. Therefore, the dot arrangement of the processed image strongly depends on the image. Further, the effect of the processing is unstable because of indetermination of the shape of the dot arrangement or interference of a different dot arrangement.
  • the anti-correlation digital halftoning method is applied to a color image or a grayscale image resolved for every different density
  • the dispersibility between the non-recording dot and the low occupancy rate dot in the case where the summation of the occupancy rate per different dot unit area is not more than 100%, or the dispersibility between the overlapped recording dots and the low occupancy rate dot in the case where the summation of the occupancy rate per different dot unit area is more than 100% is worse, the periodic structure becomes to be outstanding.
  • the dot dispersibility sometimes becomes worse when there is the dot of which occupancy rate is low.
  • an image processing apparatus comprises a processor for performing:
  • the plurality of colors means the plurality of colors that at least any one of lightness, chroma, or hue is different.
  • deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data means deciding the dot appearance information array with respect to the data with regard to the observed pixel among the multi-gradation image data.
  • the dot appearance information array decided by the first quantization may be decided with respect to the observed pixel, or may be decided with respect to each of the observed pixel and the neighboring pixel of the observed pixel.
  • deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high means deciding the second color dot appearance information array so as to make the expectation value of the second color dot appearance to be small in the element number of which the expectation value of the dot appearance is large among the first color dot appearance information array, and make the expectation value of the second color dot appearance to be large in the element number of which the expectation value of the dot appearance is small among the first color dot appearance information array.
  • the first color and the second color are not limited to one color, respectively, and may be a plurality of colors.
  • the second color dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the dots of the different colors is adjusted.
  • an anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, is substantially the highest.
  • the anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with the dot appearance information array with respect to the neighboring pixel of the observed pixel, to which the first quantization is already performed, is substantially the highest. Accordingly, the dots of the first color are certainly dispersed.
  • an anti-correlation of the dot appearance information array with respect to the observed pixel with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, is high means that the expectation value of the dot appearance in the observed pixel is small in the element number of which the expectation value of the dot appearance is large among the dot appearance information array of the neighboring pixel, and the expectation value of the dot appearance in the observed pixel is large in the element number of which the expectation value of the dot appearance is small among the dot appearance information array of the neighboring pixel.
  • the neighboring pixel of the observed pixel is the pixel other than the observed pixel, and is the pixel in the range which is required for representing the necessary gradation value where the observed pixel is as the center thereof by the area rate.
  • the neighboring pixels in the case where the bilevel halftoning is performed to 8-bit gradation image data are ideally the 256 pixels which are the closest to the observed pixel.
  • the neighboring pixels are actually the pixels the number of which is several times 256 , because of nonlinearity of visual property and reflectivity.
  • only part of the pixels the number of which is several times 256 may be used as the neighboring pixels because of the balance with the amount of calculation in the image processing.
  • the processor decides the dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
  • the dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization, to which the predetermined weighting is performed, to be high. Accordingly, it is possible to easily adjust the correlation between the dots of the different colors.
  • the processor performs a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel of the multi-gradation image data with regard to a third color other than the first color and the second color of the plurality of colors, after the second quantization is performed.
  • the dot appearance information array of the third color is decided so as to make the anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel, in the third quantization. Accordingly, the correlation between the third color and the first color, or between the third color and the second color is adjusted.
  • the dot appearance information of the first color and the second color respectively decided by the first quantization and the second quantization may be decided with respect to the observed pixel or may be decided with respect to each of the observed pixel and the neighboring pixel.
  • the third color is not limited to one color, and may be a plurality of colors.
  • lightness of the first color is lower than lightness of the second color.
  • the dot appearance information array is decided in ascending order of the lightness, that is, in descending order of visibility. Accordingly, unlike in the case where the dot appearance information array is decided in descending order of lightness, it is possible to certainly disperse the dots of which color comprises high visibility.
  • the first color is blue and the second color is red or green.
  • the first color is black and the second color is magenta or cyan.
  • the processor calculates an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel, and adds a random value to the calculated expectation value.
  • the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the processor performs the quantization for deciding the dot appearance information array so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
  • the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the processor controls
  • an image processing method comprises:
  • the second color dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the dots of the different colors is adjusted.
  • the dot appearance information array with respect to the observed pixel is decided so as to make an anti-correlation with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization.
  • the dot appearance information array with respect to the observed pixel is decided so as to make the anti-correlation with the dot appearance information array with respect to the neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization. Accordingly, the dots of the first color are certainly dispersed.
  • the dot appearance information array is decided so as to make an anti-correlation with the dot appearance information array previously decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
  • the dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array previously decided by the first quantization, to which a predetermined weighting is performed, to be high. Accordingly, it is possible to easily adjust the correlation between the dots of the different colors.
  • the method further comprises performing a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel of the multi-gradation image data with regard to a third color other than the first color and the second color of the plurality of colors, after the second quantization is performed.
  • the dot appearance information array of the third color is decided so as to make the anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel. Accordingly, the correlation between the third color and the first color, or between the third color and the second color is adjusted.
  • a color of which lightness is lower than lightness of the second color is selected as the first color, in the first quantization.
  • the dot appearance information array is decided in ascending order of the lightness, that is, in descending order of visibility. Accordingly, unlike in the case where the dot appearance information array is decided in descending order of lightness, it is possible to certainly disperse the dots of which the visibility is high.
  • blue is selected as the first color
  • red or green is selected as the second color.
  • black is selected as the first color
  • magenta or cyan is selected as the second color
  • an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel is calculated for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel;
  • the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the quantization for deciding the dot appearance information array is performed so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
  • the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • an arrangement of a dot of which an occupancy rate per unit area is low is performed, after an arrangement of a dot of which the occupancy rate per unit area is high is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
  • an arrangement of a dot of which an occupancy rate per unit area is low is performed, after an arrangement of a dot of which the occupancy rate per unit area is high is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
  • an image processing apparatus comprises a processor for performing:
  • the second density dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the dots of the different density is adjusted.
  • an anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed is substantially the highest.
  • the anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with the dot appearance information array with respect to the neighboring pixel of the observed pixel, to which the first quantization is already performed, is substantially the highest. Accordingly, the dots of the first density are certainly dispersed.
  • the processor decides the dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
  • the dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization, to which the predetermined weighting is performed, to be high. Accordingly, it is possible to easily adjust the correlation between the dots of the different density.
  • the processor performs a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel of the multi-gradation image data with regard to a third density other than the first density and the second density of the plurality of densities, after the second quantization is performed.
  • the dot appearance information array of the third density is decided so as to make the anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel. Accordingly, the correlation between the third density and the first density, or between the third density and the second color is adjusted.
  • lightness of the first density is lower than lightness of the second density.
  • the dot appearance information array is decided in ascending order of the lightness, that is, in descending order of visibility. Accordingly, unlike in the case where the dot appearance information array is decided in descending order of lightness, it is possible to certainly disperse the dots of which density comprises high visibility.
  • the processor calculates an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel, and adds a random value to the calculated expectation value.
  • the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the processor performs the quantization for deciding the dot appearance information array so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
  • the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image-data it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the processor controls
  • an image processing method comprises:
  • the second density dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the dots of the different density is adjusted.
  • the dot appearance information array with respect to the observed pixel is decided so as to make an anti-correlation with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization.
  • the dot appearance information array with respect to the observed pixel is decided so as to make the anti-correlation with the dot appearance information array with respect to the neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization. Accordingly, the dots of the first density are certainly dispersed.
  • the dot appearance information array is decided so as to make an anti-correlation with the dot appearance information array previously decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
  • the dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization, to which the predetermined weighting is performed, to be high. Accordingly, it is possible to easily adjust the correlation between the dots of the different density.
  • the method further comprises performing a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization to be high, with respect to the observed pixel of the multi-gradation image data with regard to a third density other than the first density and the second density of the plurality of densities, after the second quantization is performed.
  • the dot appearance information array of the third density is decided so as to make the anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the third density and the first density, or between the third density and the second color is adjusted.
  • a density of which lightness is lower than lightness of the second density is selected as the first density, in the first quantization.
  • the dot appearance information array is decided in ascending order of the lightness, that is, in descending order of visibility. Accordingly, unlike in the case where the dot appearance information array is decided in descending order of lightness, it is possible to certainly disperse the dots of which density comprises high visibility.
  • an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel is calculated for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel;
  • the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the quantization for deciding the dot appearance information array is performed so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
  • the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • an arrangement of a dot of which an occupancy rate per unit area is low is performed, after an arrangement of a dot of which the occupancy rate per unit area is high is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
  • an image processing apparatus comprises a processor for:
  • the image processing apparatus of the present invention in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element pixel number of the element composing the dot appearance information array with respect to the neighboring pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the processor sets and changes the random value according to a gradation value of each pixel.
  • the above image processing apparatus it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the processor sets and changes the random value according to a position of each pixel.
  • the space frequency characteristic by setting and changing the random value according to the position of the pixel. Consequently, it is possible to control the dot so as not to generate the periodic structure, more certainly. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • an image processing apparatus comprises a processor for performing a quantization for deciding a dot appearance information array so as to make an anti-correlation with a dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel,
  • the image processing apparatus of the present invention in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the processor sets and changes the random value according to a gradation value of each pixel.
  • the above image processing apparatus it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the processor sets and changes the random value according to a position of each pixel.
  • the space frequency characteristic by setting and changing the random value according to the position of the pixel. Consequently, it is possible to control the dot so as not to generate the periodic structure, more certainly. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • an image processing method comprises:
  • the image processing method of the present invention in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element pixel number of the element composing the dot appearance information array with respect to the neighboring pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the random value is set and changed according to a gradation value of each pixel.
  • the above image processing method it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the random value is set and changed according to a position of each pixel.
  • an image processing method comprises:
  • the image processing method of the present invention in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the random value is set and changed according to a gradation value of each pixel.
  • the above image processing method it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the random value is set and changed according to a position of each pixel.
  • an image processing apparatus comprises a processor for performing control of specifying a shape of a systematic dot arrangement in highlight part of multi-gradation image data
  • the shape of the systematic dot arrangement is specified in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image.
  • the processor performs control of specifying the shape of the systematic dot arrangement, by specifying generation probability of the dot arrangement in the highlight part of the multi-gradation image data.
  • the shape of the systematic dot arrangement is specified by specifying the generation probability of the dot arrangement in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, certainly.
  • the processor sets a value representing a different dot arrangement in a same dot appearance information array, after deciding a local filter for every value corresponding to the generation probability of the different dot arrangement to calculate an element number array according to the local filter, in an observed pixel of the multi-gradation image data.
  • the value representing the different dot arrangement is set in the same dot appearance information array, after the local filter is decided for every value corresponding to the generation probability of the different dot arrangement to calculate the element number array according to the local filter, in the observed pixel of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, more certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, more certainly.
  • the processor sets the value representing the dot arrangement while avoiding an element number where a value representing other dot arrangement is set.
  • the value representing the dot arrangement is set while avoiding the element number where the value representing other dot arrangement is set. Therefore, it is possible to obtain the resolution faithful to the original image, further certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, further certainly.
  • the processor judges an output status of the observed pixel according to a status of a pixel which is already processed and the specified dot arrangement.
  • the output status of the observed pixel is judged according to the status of the pixel which is already processed and the specified dot arrangement. Therefore, it is possible to obtain the resolution faithful to the original image, furthermore certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, furthermore certainly.
  • the processor specifies the shape of the dot arrangement by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously.
  • the shape of the dot arrangement is specified by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously. Therefore, it is possible to obtain the resolution faithful to the original image, much further certainly.
  • an image processing method comprises specifying a shape of a systematic dot arrangement in a highlight part of multi-gradation image data
  • the shape of the systematic dot arrangement is specified in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image.
  • the shape of the systematic dot arrangement is specified by specifying generation probability of the dot arrangement in the highlight part of the multi-gradation image data.
  • the shape of the systematic dot arrangement is specified by specifying the generation probability of the dot arrangement in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, certainly.
  • a value representing a different dot arrangement is set in a same dot appearance information array, after a local filter is decided for every value corresponding to the generation probability of the different dot arrangement to calculate an element number array according to the local filter, in an observed pixel of the multi-gradation image data.
  • the value representing the different dot arrangement is set in the same dot appearance information array, after the local filter is decided for every value corresponding to the generation probability of the different dot arrangement to calculate the element number array according to the local filter, in the observed pixel of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, more certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, more certainly.
  • the value representing the dot arrangement is set while avoiding an element number where a value representing other dot arrangement is set.
  • the value representing the dot arrangement is set while avoiding the element number where the value representing other dot arrangement is set. Therefore, it is possible to obtain the resolution faithful to the original image, further certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, further certainly.
  • an output status of the observed pixel is judged according to a status of a pixel which is already processed and the specified dot arrangement.
  • the output status of the observed pixel is judged according to the status of the pixel which is already processed and the specified dot arrangement. Therefore, it is possible to obtain the resolution faithful to the original image, furthermore certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, furthermore certainly.
  • the shape of the dot arrangement is specified by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously.
  • the shape of the dot arrangement is specified by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously. Therefore, it is possible to obtain the resolution faithful to the original image, much further certainly.
  • an image processing apparatus comprises a processor controls
  • the image processing apparatus of the present invention in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data,
  • an image processing method comprises
  • FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus related to the present invention
  • FIG. 2 is a flowchart showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a first embodiment
  • FIG. 3 is a drawing schematically showing an output image in the case where an image processing method related to a first embodiment is used;
  • FIG. 4 is a drawing schematically showing an output image in the case where an image processing method related to a first embodiment is used;
  • FIG. 5 is a drawing schematically showing an output image in the case where an image processing method related to a first embodiment is used
  • FIG. 6 is a drawing schematically showing an output image in the case where a conventional image processing method is used.
  • FIG. 7 is a drawing schematically showing an output image in the case where a conventional image processing method is used.
  • FIG. 8 is a drawing schematically showing an output image in the case where a conventional image processing method is used.
  • FIG. 9 is a flowchart showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a second embodiment
  • FIG. 10A is a drawing showing an output image of multi-gradation image data in a third embodiment
  • FIG. 10B is a drawing showing an output image in the case where an image processing method related to a third embodiment is used.
  • FIG. 10C is a drawing showing an output image in the case where a conventional image processing method is used.
  • FIG. 10D is a drawing showing an output image in the case where an image processing method related to a third embodiment is used.
  • FIG. 10E is a drawing showing an output image in the case where an image processing method related to a third embodiment is used.
  • FIG. 11 is a flowchart showing an anti-correlation digital halftoning processing of a first color over time, executed by a processor of an image processing apparatus, in a third embodiment
  • FIG. 12 is a flowchart showing an anti-correlation digital halftoning processing of a second or later colors over time, executed by a processor of an image processing apparatus, in a third embodiment
  • FIG. 13 is a drawing showing procedure for generating output image data, to which trilevel halftoning is performed, from black-and-white image data in a fourth embodiment
  • FIG. 14 is a drawing showing a density resolution table in a fourth embodiment
  • FIG. 15 is a drawing showing procedure for generating output image data, to which trilevel halftoning is performed for each of colors, from color multi-gradation image data in a fifth embodiment
  • FIG. 16 is a flowchart showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a sixth embodiment
  • FIG. 17A is a drawing showing an output image in the case where a conventional image processing method is used.
  • FIG. 17B is a drawing showing an output image in the case where an image processing method related to a sixth embodiment is used.
  • FIG. 17C is a drawing showing an output image in the case where an image processing method related to a sixth embodiment is used.
  • FIG. 18 is an explanation drawing of a random valuable storage table in a sixth embodiment
  • FIG. 19 is a drawing showing procedure for generating output image data, to which bilevel halftoning is performed, from monochrome multi-gradation image data in a sixth embodiment
  • FIG. 20 is a drawing for explaining a method for executing addition of a random valuable to multi-gradation image data in a sixth embodiment
  • FIGS. 21A and 21B are flowcharts showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a seventh embodiment
  • FIGS. 22A and 22B are flowcharts showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a seventh embodiment
  • FIG. 23 is a drawing for explaining dots in status 1 and dots in status 2 in a seventh embodiment
  • FIG. 24 is a correspondence table among an input pixel value, a status 1 level value and a status 2 level value in a seventh embodiment
  • FIG. 25A is a drawing showing a basic filter K A in a seventh embodiment
  • FIG. 25B is a drawing showing a basic filter K B in a seventh embodiment
  • FIGS. 26A to 26 E are drawings showing output images of results of an anti-correlation digital halftoning processing with respect to a patch of which pixel value is 32;
  • FIG. 27 is a flowchart showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in an eighth embodiment
  • FIGS. 28A to 28 D are drawings for explaining a dot arrangement method in the case where the summation of an occupancy rate per unit area of dots is not more than 100% in an eighth embodiment
  • FIGS. 29A to 29 D are drawings for explaining a dot arrangement method in the case where the summation of an occupancy rate per unit area of dots is more than 100% in an eighth embodiment
  • FIG. 30 is a flowchart showing an image processing by a conventional anti-correlation digital halftoning method over time
  • FIG. 31 is a table showing correspondence between a value ⁇ based on a pixel value and information of a local filter P;
  • FIG. 32A is a drawing showing a basic filter K 1 ;
  • FIG. 32B is a drawing showing a basic filter K 2 ;
  • FIG. 32C is a drawing showing a basic filter K 3 ;
  • FIG. 33A is a drawing showing a basic filter K 4 ;
  • FIG. 33B is a drawing showing a basic filter K 5 ;
  • FIG. 33C is a drawing showing a basic filter K 6 ;
  • FIGS. 35A and 35B are drawings for explaining generation of a histogram H i,j [k].
  • the first embodiment is given to accomplish particularly the above first, second and fourth objects, and corresponds to claims 1 to 8 , 10 , 11 to 18 , 20 , 21 to 26 , 28 , 29 to 34 , and 36 .
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus related to the present invention.
  • the image processing apparatus 1 comprises a processor 2 for quantizing input multi-gradation image (original image) data to convert it into a pseudo halftone output image data, and outputting the output image data.
  • the image processing apparatus 1 can be mounted in a known output apparatus such as an inkjet printer or the like.
  • the multi-gradation image data will be explained as data related to an R(red)G(blue)B(green) image of which each pixel value comprises 8-bit (256-gradation) grayscale.
  • the processor (computer) 2 comprises a ROM (Read Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5 .
  • the ROM 3 stores an image processing program.
  • the image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • the RAM 4 includes work area for the CPU 5 .
  • the CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4 , and generates an output image from the multi-gradation image data.
  • the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right.
  • the processing direction after changing a row including a predetermined number of pixels may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction.
  • the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 2 is a flowchart showing the anti-correlation digital halftoning processing over time, which the processor 2 of the image processing apparatus 1 executes on the basis of the image processing program in order to generate the output image data.
  • Step S 1 the processor 2 previously determines a random valuable r (Step S 1 ), similarly to the conventional Step T 1 .
  • the processor 2 After the multi-gradation image data is input, the processor 2 obtains a pixel value g (col — n)i,j with respect to the pixel in the i-th row and the j-th column among the multi-gradation image data of each of colors. Then, the processor 2 judges whether or not the summation of the pixel values g (col — n)i,j of each of colors is more than 255, that is, whether or not the summation of the occupancy rates of the pixel values of each of colors is more than 100% (Step S 2 ). In the present embodiment, with respect to the three colors of col — 0, col — 1 and col — 2, the processor 2 judges whether or not the summation of these occupancy rates is more than 100%.
  • c[cl] includes the value of 1, 2, and 3, and denotes n in the notation col_n for identifying the color.
  • the dots of which occupancy rate per unit area is low are arranged to the dot appearance information array (dot appearance pattern) after the dots of which occupancy rate per unit is high (high occupancy rate dots) are arranged to the dot appearance information array. That is, the arrangements to the dot appearance information array are performed in order of col — 0, col — 1 and col — 2.
  • the dots of which occupancy rate per unit area is high are arranged to the dot appearance information array (dot appearance pattern) after the dots of which occupancy rate per unit is low (low occupancy rate dots) are arranged to the dot appearance information array. That is, the arrangements to the dot appearance information array are performed in order of col — 2, col — 1 and col — 0.
  • the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value g (col — c[cl])i,j (Step S 5 ), similarly to the conventional Step T 3 .
  • the processor 2 calculates a histogram H (col — c[cl])i,j [k] of the pixel in the i-th row and the j-th column (Step S 6 ), similarly to the conventional Step T 4 .
  • the processor 2 adds the random value rand( ) to the histogram H (col — c[cl])i,j [k], which is being processed, with the appropriate weight w corresponding to the input image data (Step S 7 ). That is, with respect to each of the values (the expectation values) of the histograms H (col — c[cl])i,j [0] to H (col — c[cl])i,j [n ⁇ 1], the processor 2 adds the random values corresponding to each of the values.
  • H (col — c[cl])i,j [k]+ w ( rand ( ), In i,j )
  • rand( ) is an integer random value and is always different.
  • the random value for example, it is possible to use random numbers of M-sequence.
  • the histogram for deciding the dot appearance pattern of the observed pixel by adding not only the neighboring dot appearance patterns of the pixel being currently processed (dot appearance information arrays with respect to the neighboring pixel) but also the random value, the periodic structure is avoided and the generation of the pseudo outline is prevented.
  • the amplitude corresponding to the input value is set, and the randomness is enhanced with respect to the input value (gradation value) specific for the generation of the periodicity.
  • Step S 7 it is judged whether or not cl is larger than 0 (Step S 8 ).
  • C (col — c[cl-1])i,j [k] is added to H (col — c[cl])i,j [k] (Step S 9 ).
  • Step S 10 it is judged whether or not cl is larger than 1 (Step S 10 ).
  • C (col — c[cl-2])i,j [k] is added to H (col — c[cl])i,j [k] (Step S 1 ).
  • Step S 8 when cl is 0 in Step S 8 , the processing skips over Steps S 9 to S 11 , to Step S 12 . Further, when cl is equal to or less than 1 in the Step S 10 , the processing skips over Step S 11 to Step S 12 .
  • the processor 2 decides an element number array S[k] and a dot appearance pattern (dot appearance information array) C (col — c[cl])i,j [k′] and calculates output values b with respect to all elements, that is, the output image data (Steps S 12 to S 23 ), similarly to the conventional Steps T 5 to T 14 .
  • the dot appearance frequency is proportional to the pixel value g i,j thereof. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • Step S 21 “1” is added to cl in Step S 21 , and it is judged whether or not cl is 2 in Step S 22 . Thereby, it is judged whether or not the quantization has been performed with respect to all the color of col — 0, col — 1 and col — 2.
  • FIGS. 3 to 5 The output images obtained by the above image processing method are shown in FIGS. 3 to 5 .
  • each of colors is represented by an alphabetical letter so that the output images can be represented in ways easy to understand. That is, the red dot is represented by “R”, the green dot is represented by “G”, the yellow dot in the case where the red dot and the green dot are overlapped each other is represented by white color (no alphabetical letter), and the portion where the dot does not exist is painted in black and represented by “K”.
  • the examples where the blue dot does not exist are shown.
  • the output images obtained by the image processing apparatus and the image processing method in the present embodiment differs from the conventional output image shown in FIGS. 6 to 8 . That is, the dots of each of colors disperse uniformly, and consequently, the overlapping part or the non-dotted point part is decreased.
  • the correlation between the dots of different colors is adjusted by concerning not only the dot appearance patterns around the observed pixel with regard to the color which is currently processed but also the dot appearance pattern of the observed pixel with regard to the color which has been processed. Therefore, it is possible to obtain the RGB image of which color heterogeneity or roughness is reduced and local variation of lightness is inhibited.
  • the dot appearance patterns C (col — c[1])i,j of the second color and C (col — c[2])i,j of the third color are decided on the basis of the dot appearance pattern C (col — c[0])i,j of the first color previously decided with respect to the pixel in the i-th row and j-th column, it is possible to certainly adjust the correlation between the dots of different colors.
  • the three colors may be defined in any order among red, green and blue.
  • the image processing apparatus and the image processing method in the present embodiment in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the second embodiment is given to accomplish particularly the above first, second and fourth objects, and corresponds to claims 1 to 7 , 9 , 10 , 11 to 17 , 18 , 20 , 21 to 25 , 27 , 28 , 29 to 33 , 35 , and 36 .
  • an image processing apparatus 1 in the present embodiment comprises the same configurations as the image processing apparatus described in the above first embodiment, the explanation thereof will be omitted.
  • the random value is added in the calculation of the histogram for deciding the dot appearance pattern of the observed pixel.
  • the random value is added to the gradation value of the observed pixel of the multi-gradation image data.
  • the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right.
  • the processing direction after changing a row including a predetermined number of pixels may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction.
  • the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 9 is a flowchart showing the anti-correlation digital halftoning processing over time, which the processor 2 of the image processing apparatus 1 executes on the basis of the image processing program in order to generate the output image data.
  • Step S 51 the processor 2 previously determines a random valuable r (Step S 51 ), similarly to the conventional Step T 1 .
  • the processor 2 After the multi-gradation image data is input, the processor 2 obtains a pixel value g (col — n)i,j with regard to the pixel in the i-th row and the j-th column among the multi-gradation image data of each of colors. Then, the processor 2 judges whether or not the summation of the pixel values g (col — n)i,j of each of colors is more than 255, that is, whether or not the summation of the occupancy rates of the pixel values of each of colors is more than 100% (Step S 52 ) In the present embodiment, with respect to the three colors of col — 0, col — 1 and col — 2, the processor 2 judges whether the summation of the occupancy rates of the three colors of each of colors is more than 100%. Further, also in the present embodiment, the condition is assumed as “(the occupancy rate of col — 0)>(the occupancy rate of col — 1)>(the occupancy rate of col — 2)”.
  • the dots of which occupancy rate per unit area is low are arranged to the dot appearance information array (dot appearance pattern) after the dots of which occupancy rate per unit is high (high occupancy rate dots) are arranged to the dot appearance information array. That is, the arrangements to the dot appearance information array are performed in order of col — 0, col — 1 and col — 2.
  • the dots of which occupancy rate per unit area is high are arranged to the dot appearance information array (dot appearance pattern) after the dots of which occupancy rate per unit is low (low occupancy rate dots) are arranged to the dot appearance information array. That is, the arrangements to the dot appearance information array are performed in order of col — 2, col — 1 and col — 0.
  • the processor 2 generates the random value, and adds the random value to the pixel value g (col — c[cl])i,j (Step S 55 ).
  • the addition method of the random value will be explained in detail in the following sixth embodiment.
  • the periodic structure is avoided by adding the random value to the pixel value of the observed pixel, and consequently, the generation of the pseudo outline is prevented.
  • the amplitude corresponding to the input value is set, and the randomness is enhanced with respect to the input value (gradation value) specific for the generation of the periodicity.
  • the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value g (col — c[cl])i,j (Step S 56 ), similarly to the conventional Step T 3 .
  • the processor 2 calculates a histogram H (col — c[cl])i,j [k] of the pixel in the i-th row and the j-th column (Step S 57 ), similarly to the conventional Step T 4 .
  • Step S 58 it is judged whether or not cl is larger than 0 (Step S 58 ).
  • C (col — c[cl-1])i,j [k] is added to H (col — c[cl])i,j [k] (Step S 59 ).
  • Step S 60 it is judged whether or not cl is larger than 1 (Step S 60 ).
  • C (col — c[cl-2])i,j [k] is added to H (col — c[cl])i,j [k] (Step S 61 ).
  • Step S 58 when cl is 0 in Step S 58 , the processing skips over Steps S 59 to S 61 to Step S 62 . Further, when cl is equal to or less than 1 in Step S 60 , the processing skips over Step S 61 to Step S 62 .
  • the processor 2 decides an element number array S[k] and a dot appearance pattern (dot appearance information array) C (col — c[cl])i,j [k′] and calculates output values b with respect to all elements, that is, the output image data (Steps S 62 to S 73 ), similarly to the conventional Steps T 6 to T 14 .
  • the dot appearance frequency is proportional to the pixel value g i,j thereof. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • Step S 71 “1” is added to cl in Step S 71 , and it is judged whether or not cl is 2 in Step S 72 . Thereby, it is judged whether or not the quantization has been performed with respect to all the color of col — 0, col — 1 and col — 2.
  • the multi-gradation image data with regard to the RGB color image is quantized and converted into the pseudo halftone output image data.
  • the multi-gradation black-and-white data with regard to a plurality of grayscale colors may be quantized, and the pseudo halftone output image data may be generated.
  • the third embodiment is given to accomplish particularly the above first object, and corresponds to claims 1 to 7 , and 11 to 17 .
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus.
  • the image processing apparatus 1 comprises a processor 2 for converting an input multi-gradation image data into a pseudo halftone output image data, and outputting the output image data.
  • the image processing apparatus 1 can be mounted in a known output apparatus such as an inkjet printer or the like.
  • the multi-gradation image data will be explained as data related to a gradation image each of which gradation values of R(red), G(green) and B(blue) changes from 0 to n (n ⁇ 2), as shown in FIG. 10A .
  • the processor (computer) 2 comprises a ROM (Read. Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5 .
  • ROM Read. Only Memory
  • RAM Random Access Memory
  • CPU Central Processing Unit
  • the ROM 3 stores an image processing program related to the present invention.
  • the image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • the RAM 4 includes work area for the CPU 5 .
  • the CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4 , and generates an output image from the multi-gradation image data.
  • the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right.
  • the processing direction after changing a row including a predetermined number of pixels may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction.
  • the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 11 is a flowchart showing the anti-correlation digital halftoning (the first quantization) processing, executed by the processor 2 of the image processing apparatus 1 on the basis of the above image processing program in order to generate the output image data of any one color of red, green or blue (in the present embodiment, the color is blue as an example).
  • Step S 101 the processor 2 previously determines a random valuable r (Step S 101 ), similarly to the conventional Step T 1 .
  • the processor 2 After the multi-gradation image data is input, the processor 2 obtains a pixel value g i,j with regard to the pixel in the i-th row and the j-th column among the blue multi-gradation image data (Step S 102 ). Then, the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value g i,j (Step S 103 ), similarly to the conventional Step T 3 .
  • the processor 2 calculates a histogram H (B)i,j [k] of the pixel in the i-th row and the j-th column (Step S 104 ), similarly to the conventional Step T 4 .
  • the letter “k” in the parenthesis of the subscript provided to “H” represents the color (blue, in the present embodiment).
  • the processor 2 decides an element number array S[k] and a dot appearance pattern (dot appearance information array) C (B)i,j [k], and calculates output values b with respect to all elements, that is, the output image data (Steps S 105 to S 114 ), similarly to the conventional Steps T 5 to T 14 .
  • dot appearance frequency is proportional to the pixel value g i,j thereof.
  • the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • the processor 2 executes the anti-correlation digital halftoning (the second quantization) processing for generating the output image data of green and red.
  • FIG. 12 is a flowchart showing the anti-correlation digital halftoning processing that the processor 2 of the image processing apparatus 1 executes for generating the output image data of the second or later colors, on the basis of the image processing program.
  • the processor 2 executes the anti-correlation digital halftoning processing in order of blue, green and red.
  • the processor 2 executes the same processing as the above Steps S 102 to S 104 , that is, obtains the pixel value g i,j of green with respect to the pixel in the i-th row and the j-th column, generates the local filter P, and calculates the histogram H (G)i,j [k] (Steps S 120 to S 122 ).
  • the processor 2 After the histogram H (G)i,j [k] of green is calculated, the processor 2 add the dot appearance pattern C (B)i,j [k] of blue, which is decided with respect to the pixel in the i-th row and the j-th column in the above Steps S 107 to S 111 , to the histogram H (G)i,j [k] with a predetermined weight W (B)i,j , as shown in the following formula written in C language (Step S 123 ).
  • each of the dot appearance patterns C (B)i,j [0] to C (B)i,j [k] is added to each of the histograms H (G)i,j [0] to H (G)i,j [n ⁇ 1] with a predetermined weight W (B)i,j , respectively.
  • H (G)i,j [k]+ W (B)i,j *C (B)i,j [k]
  • a predetermined weight is set on the basis of the relation between the color processed previously and the color processed currently, that is, between blue and green.
  • the amount of the weight W (B)i,j is large, it is hard that the blue dots and the green dots are overlapped each other.
  • the weight W (B)i,j is close to 0, the blue dots and the green dots are dispersed at random each other, as before.
  • the weight W (B)i,j is a negative value, the blue dots and green dots tend to be overlapped each other.
  • the amount of the weight W (B)i,j is set to 64 (times).
  • the subscript “col” in FIG. 4 represents the color to which the processing has been executed (hereupon, the color is blue).
  • the processor 2 calculates the element number array S[k], decides the dot appearance pattern C (G)i,j [k] calculates the output values b with respect to all pixels, and ends the generation of the output image data of green (Steps S 124 to S 133 ), similarly to the above Steps S 105 to S 114 .
  • the processor 2 executes the same processing as the above Steps S 102 to S 104 , that is, obtains the pixel value g i,j of red with respect to the pixel in the i-th row and the j-th column, generates the local filter P, and calculates the histogram H (R)i,j [k] (Steps S 140 to S 142 ).
  • the processor 2 After the histogram H (R)i,j [k] of red is calculated, the processor 2 adds the dot appearance pattern C (B)i,j [k] of blue, which is decided with respect to the pixel in the i-th row and the j-th column in the above Steps S 107 to S 111 , and the dot appearance pattern C (G)i,j [k] of green, which is decided with respect to the pixel in the i-th row and the j-th column in the above Steps S 126 to S 130 with respect to the pixel in the i-th row and the j-th column, to the histogram H (R)i,j [k] with predetermined weights W (B)i,j and W (G)i,j , respectively (Step S 143 ).
  • the amount of the weight W (G)i,j is also set to 64 (times).
  • H (R)i,j [k]+ W (B)i,j *C (B)i,j [k]+W (G)i,j *C (G)i,j [k]
  • the processor 2 calculates the element number array S[k], decides the dot appearance pattern C (R)i,j [k], calculates the output values b with respect to all pixels, and ends the generation of the output image data of red (Steps S 144 to S 153 ), similarly to the above Steps S 105 to S 114 .
  • FIG. 10B The output image obtained by the above image processing method is shown in FIG. 10B
  • FIG. 10C the output image obtained by the conventional image processing method is shown in FIG. 10C as comparison.
  • the pixel in the case where any one of dots of R, G or B is output, the pixel is represented with white, and in the case where any dot is not output, the pixel is represented with black, so as to represent the dominance of the output image clearly.
  • the dots of each of colors are dispersed uniformly, and consequently, there are less overlapping part or non-dotted point part, differing from the conventional output image.
  • the correlation between the dots of different colors is adjusted by concerning not only the dot appearance patterns around the observed pixel with regard to the color which is currently processed but also the dot appearance pattern of the observed pixel with regard to the color which has been processed. Therefore, it is possible to obtain the RGB image of which color heterogeneity or roughness is reduced and local variation of lightness is inhibited.
  • the dot appearance patterns C (G)i,j [k] of green and C (R)i,j [k] of red are decided on the basis of the dot appearance pattern C (B)i,j [k] of blue previously decided with respect to the pixel in the i-th row and j-th column, it is possible to certainly adjust the correlation between the dots of different colors.
  • the image processing apparatus 1 of the present modification comprises the same components as those of the image processing apparatus 1 described in the above third embodiment. However, the image processing apparatus 1 of the present modification performs the generation of the output image data by not frame sequential method but line sequential method. That is, after this image processing apparatus 1 has calculated the output values b of blue (green) with respect to all the pixels composing the column in the above Step S 114 (S 133 ), the image processing apparatus 1 ends the anti-correlation digital halftoning processing for blue (green), and starts the anti-digital halftoning processing for green (red).
  • the image processing apparatus 1 of the present modification comprises the same components as those of the image processing apparatus 1 described in the above third embodiment. However, the image processing apparatus 1 of the present modification performs the generation of the output image data by not frame sequential method but dot sequential method. That is, after this image processing apparatus 1 has calculated the output value b of blue (green) with respect to one pixel in the above Step S 114 (S 133 ), the image processing apparatus 1 ends the anti-correlation digital halftoning processing for blue (green), and starts the anti-digital halftoning processing for green (red).
  • the above explanation is given in the case where the anti-correlation digital halftoning processing of green is started after the output value b i,j of blue is calculated.
  • the anti-correlation digital halftoning processing of green may be started before the output value b i,j is calculated as long as after the dot appearance pattern C (B)i,j [k] of blue has been decided.
  • the above explanation is given in the case where the random valuable r is determined in the above Step S 101 .
  • the fixed value in the range of 0 to (n ⁇ 1) may be previously decided, or the random valuable r may be decided after the dot appearance patterns for all images are decided.
  • the above explanation is given in the case where the histograms H i,j [k] are arranged in ascending order when the element number array S[k] is calculated.
  • the histograms H i,j [k] may be arranged in another order, as long as there is dispersibility between the dots to be appeared.
  • an evaluation function related to the distribution of the dot around the observed pixel may be set and used. It is possible to set such evaluation function by using the dot appearance pattern for the neighboring pixels of the observed pixel.
  • each of the amounts of the weights W (B)i,j and W (B)i,j are explained as 64 (times), it may be another value such as ⁇ 32 (times), 128 (times) or the like.
  • the amount is ⁇ 32 (times)
  • the dispersibility between the dots of different colors is decreased and the dots of almost colors are overlapped each other.
  • the amount is 128 (times)
  • the dots of each of colors are dispersed more uniformly as shown in FIG. 10D . Consequently, it is possible to further decrease the overlapping part or the non-dotted point part.
  • each of the dot appearance patterns C (B)i+ ⁇ ,j [k] of blue and C (G)i+ ⁇ ,j [k] of green with respect to the neighboring pixel of the pixel in the i-th row and the j-th column may be also add with each of the predetermined weights W (B)i+ ⁇ ,j [k] and W (G)i+ ⁇ ,j [k] respectively.
  • the summation symbol “ ⁇ ” in the right-hand side means that the summation is executed with respect to all the processed colors.
  • “ ⁇ ” is “ ⁇ 1” or “+1”, and denotes the index of the column being already processed according to the processing direction of the image processing apparatus 1 .
  • H i , j ⁇ [ ⁇ ] + ⁇ col ⁇ ⁇ W ( col ) ⁇ i , j * C ( col ) ⁇ i , j ⁇ [ ⁇ ] + W ( col ) ⁇ i + ⁇ , j ⁇ [ ⁇ ] * C ( col ) ⁇ i + ⁇ , j ⁇ [ ⁇ ] ⁇ [ Formula ⁇ ⁇ 1 ]
  • the image processing apparatus 1 process the multi-gradation image data of a plurality of colors with regard to R, G and B.
  • the multi-gradation image data of three colors such as Y (yellow), M (magenta) and C (cyan), the multi-gradation image data of four colors of Y, M, C, and K (black), or the like may be processed.
  • the anti-correlation digital halftoning processing is performed starting with the multi-gradation image data of the color of which lightness is low, that is, the color having high visibility.
  • the amount of the weight W which is used when the dot appearance patterns C (c)i,j [k] and C (M)i,j [k] are added to the histogram H (Y)i,j [k] of yellow may be decreased.
  • the amount of the weight W on the basis of the relation between the color of which dot appearance pattern C (col)i,j [k] is decided first and the color of which dot appearance pattern C (col)i,j [k] is currently decided, it is possible that the dots of a plurality of colors each of which visibilities is different from each other are dispersed and arranged appropriately.
  • the above subscript “(col)” represents any of colors of C, M or Y.
  • FIGS. 32A to 33 C it is possible to change the pixel value of each of the pixels of six basic filters K 1 to K 6 shown in FIGS. 32A to 33 C. That is, the pixel values are not always the same as those in FIGS. 32A to 33 C. Further, FIG. 31 is not always used when the local filter P is generated. Moreover, the local filter P may not be calculated based on the basic filters K 1 to K 6 . For example, the table which previously stores the local filter P corresponding to the input pixel value may be used.
  • the fourth embodiment is given to accomplish particularly the above first object, and corresponds to claims 21 to 25 , and 29 to 33 .
  • the image processing apparatus 1 in the present embodiment comprises the same configurations as the image processing apparatus 1 explained in the above third embodiment. However, the image processing apparatus 1 in the present embodiment performs the quantization processing to the multi-gradation black-and-white image data with respect to a plurality of grayscale colors, and generates the pseudo halftone output image data.
  • H (light)i,j [k] is the histogram for calculating the dot appearance pattern of the light dot
  • H (dark)i,j [k] is the histogram for calculating the dot appearance pattern of the dark dot.
  • W is the positive fixed number.
  • the amount of the weight W is adjusted according to the pixel value of the dark color image data which has been processed with respect to the pixel in the i-th row and the j-th column.
  • the dark dot and the light dot are overlapped each other by bringing the amount of the weight W close to 0.
  • the random overlapping of the dark dot and the light dot is reduced by increasing the amount of the weight W.
  • the present image processing apparatus 1 compared with the case where each of the appearance of the dark and the light dots is decided independently, the dispersibility of the dark dot and the light dot is improved, and the random overlapping is reduced. Therefore, it is possible to decrease the heterogeneity of the dark and the light dots or the roughness.
  • the explanation is given in the case where the density resolution of the black-and-white image data into the dark color image data and the light color image data is performed before the anti-correlation digital halftoning is performed.
  • the density resolution of the black-and-white image data into the three or more image data may be performed.
  • the anti-correlation digital halftoning is performed with respect to the image data in ascending order of the lightness, that is, the descending order of the density.
  • the fifth embodiment is given to accomplish particularly the above first object, and corresponds to claims 1 to 7 , 11 to 17 , 21 to 25 and 29 to 33 .
  • the image processing apparatus 1 in the present embodiment comprises the same configurations as the image processing apparatus 1 explained in the above third embodiment. However, the image processing apparatus 1 in the present embodiment processes the color multi-gradation image data, and generates the color output image data to which multilevel halftoning is performed for every color.
  • the image processing apparatus 1 generates the data of dark black, dark cyan, dark magenta and dark yellow, and the data of light black, light cyan and light magenta from the image data comprising 256-gradation for every color of Y, M, Y and K. After that, the image processing apparatus 1 performs the anti-correlation digital halftoning processing with respect to any one color. Next, the image processing apparatus 1 performs the anti-correlation digital halftoning processing with respect to the data of the second or later color by using the dot appearance pattern which has been already decided.
  • the image processing apparatus 1 generates the output image data, to which the bilevel halftoning is performed with respect to the color of yellow and the trilevel halftoning is performed with respect to the colors of black, cyan and magenta.
  • the order for the anti-correlation digital halftoning processing may be the order of dark black, dark cyan, dark magenta, light black, light cyan, light magenta, and dark yellow, according to the lightness of each of colors.
  • the output image data may be generated in order of dark black, light black, dark cyan, light cyan, dark magenta, light magenta, and dark yellow, in order to improve the dot dispersibility between the same system colors. Further, it is possible to use the combination of a 4-dimensional look-up-table and an interpolation calculation, the above density resolution table, or the like, for the density resolution of the image data of each of colors.
  • this image processing apparatus 1 the correlation between the dots of the different colors and density is adjusted. Therefore, unlike in the conventional case, it is possible to obtain the YMCK image of which color heterogeneity, density heterogeneity and roughness or reduced is local variation of lightness is inhibited.
  • the sixth embodiment is given to accomplish particularly the second object, and corresponds to claims 37 to 48 .
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus 1 related to the present embodiment.
  • the image processing apparatus 1 comprises a processor 2 for quantizing an input multi-gradation image data to convert it into a pseudo halftone output image data, and outputting the output image data.
  • the image processing apparatus 1 can be mounted in a known output apparatus such as an inkjet printer or the like.
  • the multi-gradation image data will be explained as data related to a RGB image each of which pixel values comprises 8-bit grayscale.
  • the processor (computer) 2 comprises a ROM (Read Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5 .
  • the ROM 3 stores an image processing program related to the present invention.
  • the image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • the RAM 4 includes work area for the CPU 5 .
  • the CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4 , and generates an output image from the multi-gradation image data.
  • the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right.
  • the processing direction after changing a row including a predetermined number of pixels may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction.
  • the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 16 is a flowchart showing the anti-correlation digital halftoning processing over time, executed by the processor 2 of the image processing apparatus 1 on the basis of the above image processing program in order to generate the output image data.
  • Step S 201 the processor 2 previously determines a random valuable r (Step S 201 ), similarly to the conventional Step T 1 .
  • the processor 2 After the multi-gradation image data is input, the processor 2 obtains a pixel value g i,j with regard to the pixel in the i-th row and the j-th column among the multi-gradation image data (Step S 202 ). Then, the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value g i,j (Step S 203 ), similarly to the conventional Step T 3 .
  • the processor 2 calculates a histogram H i,j [k] of the pixel in the i-th row and the j-th column (Step S 204 ), similarly to the conventional Step T 4 .
  • the processor 2 adds the random value rand( ) to the histogram H i,j [k], which is being processed, with the appropriate weight w corresponding to the input image data (Step S 205 ). That is, with respect to each of the values (the expectation values) of the histograms H i,j [0] to H i,j [n ⁇ 1], the processor 2 adds the random values corresponding to each of the values.
  • H i,j [k]+ w ( rand ( ), In i,j )
  • rand( ) is a integer random value and is always different.
  • the random value for example, it is possible to use random numbers of M-sequence.
  • the histogram for deciding the dot appearance pattern of the observed pixel by adding not only the neighboring dot appearance patterns of the pixel being currently processed (dot appearance information arrays with respect to the neighboring pixel) but also the random value, the periodic structure is avoided and the generation of the pseudo outline is prevented.
  • the amplitude corresponding to the input value is set, and the randomness is enhanced with respect to the input value (gradation value) specific for the generation of the periodicity.
  • Step S 205 the processor 2 decides an element number array S[k] and a dot appearance pattern (dot appearance information array) C i,j [k], and calculates output values b with respect to all elements, that is, the output image data (Steps S 206 to S 215 ), similarly to the conventional Steps T 5 to T 14 .
  • dot appearance frequency is proportional to the pixel value g i,j thereof.
  • the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • FIG. 17B the result in the case where the present algorithm is applied is shown in FIG. 17B .
  • FIGS. 17A and 17B are the results in the case where the random value rand( ) is defined as integer type and w is defined as follows.
  • FIG. 17A there exist the A part where the periodicity of regular generation and non-generation of the dots is strongly generated, and the other D part, and accordingly, the pseudo outline is generated on the border (shown by the dot-line).
  • FIG. 17B there exist no periodic structure, and the pseudo outline is not generated.
  • the setting of w is decided in view of the maximum value of the filter coefficient used when the histogram of the anti-correlation digital halftoning method is calculated. It is appropriate that the maximum value of w is set to almost half of the maximum value of the filter coefficient shown in FIGS. 32A to 33 C with respect to the 50% input value.
  • the weight w which is the function of the input pixel value, for example, may be set as follows, so as to lessen the amplitude sequentially with respect to the input value adjacent to 50%.
  • w can be set appropriately corresponding to the portion (position). For example, when it is intended that the input value around 33.67% is randomize in addition to 50%, w may be set as follows.
  • w is set as follows, in the case that In i,j is a value other than the specific values.
  • the random value having small amplitude may be added to the histogram, over the whole gradation range except for the above specific values.
  • a random value may be set as the function of the random value and the input value.
  • a pattern may be prepared previously as a table, and a pattern reference address may be changed corresponding to the number (k) and the position (i, j) of the dot appearance pattern.
  • the dot appearance pattern of the color which has been already processed, is added to the histogram to be calculated in the processing for the second or later colors, with a predetermined weight. By doing so, it is possible to decrease the color heterogeneity or the roughness, by adjusting the correlation with the dot of other color.
  • the anti-correlation digital halftoning processing for generating the output image data for all the color is performed.
  • the random value is added in the calculation of the histogram for deciding the dot appearance pattern of the observed pixel.
  • the random value is added to the gradation value of the observed pixel of the multi-gradation image data, and thereby, the periodic structure easily generated by the specific input value is avoided, and consequently, the generation of the pseudo outline is prevented.
  • FIG. 19 is a block diagram of the configuration of the method.
  • the random value addition block the image data and the position of the image data are input. After the random value is generated, the data is output to the anti-correlation halftoning block.
  • the random value is previously calculated by the 64 ⁇ 64 matrix, and stored in LUT (look-up-table).
  • the address of the LUT is set by performing the calculation of i %64 and j %64 according to the positions of i and j.
  • the pattern of the random value is set as the white noise characteristic.
  • the amplitude of the random value is set as follows, according to the input value.
  • Imod i,j In i,j +w(rand( ), In i,j ).
  • FIG. 17C The result of the processing is shown in FIG. 17C . It can be confirmed that the periodic structure is decreased albeit gradually, compared with the case of the randomization of the histogram.
  • the pattern of the random value is not limited to the white noise characteristic, and, for example, may be the blue noise characteristic.
  • the anti-correlation digital halftoning processing which is the same as the conventional one is performed.
  • the dispersibility in the vicinity of a middle level while the multi-value anti-correlation digital halftoning processing is improved. That is, in the portion described above, because the uniform level occupies 100%, the pseudo outline is sometimes generated caused by the difference of the image structure with the other portion. However, if the random value is added in the vicinity of the middle level, it is possible to avoid the uniform level and to improve the dispersibility.
  • the image processing apparatus and the image processing method of the present embodiment in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element pixel number of the element composing the dot appearance information array with respect to the neighboring pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the present embodiment it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • the present invention is not limited to each of the above embodiments, and may be modified or changed design diversely without departing from the essence thereof.
  • the input image is the monochrome image comprising the 8-bit grayscale.
  • the input image is the monochrome image comprising the 8-bit grayscale.
  • the output image is the black-and-white output image to which the bilevel halftoning is performed.
  • the output image comprising three or more output values including the color image.
  • the seventh embodiment is given to accomplish particularly the third object, and corresponds to claims 49 to 60 .
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus 1 related to the present embodiment.
  • the image processing apparatus 1 comprises a processor 2 for quantizing an input multi-gradation image (original image) data to convert it into a pseudo halftone output image data, and outputting the output image data.
  • the image processing apparatus 1 can be mounted in a known output apparatus such as a leaser printer, digital copier or the like.
  • the multi-gradation image data will be explained as data with regard to a monochrome image each of which pixel values comprises the 8-bit grayscale.
  • the 8-bit (256-gradation) multi-gradation image data is quantized to two levels (values) of white (non-recording) or black (dot recording) with respect to one pixel.
  • the processor (computer) 2 comprises a ROM (Read Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5 .
  • the ROM 3 stores an image processing program related to the present invention.
  • the image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • the RAM 4 includes work area for the CPU 5 .
  • the CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4 , and generates an output image from the multi-gradation image data.
  • the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right.
  • the processing direction after changing a row including a predetermined number of pixels may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction.
  • the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIGS. 21A and 21B are flowcharts showing the anti-correlation digital halftoning processing over time, executed by the processor 2 of the image processing apparatus 1 on the basis of the above image processing program in order to generate the output image data of the pixel in the coordinate of the 0th row and the 0th column.
  • Step S 301 the processor 2 previously determines a random valuable r (Step S 301 ), similarly to the conventional Step T 1 .
  • the processor 2 After the multi-gradation image data is input, the processor 2 obtains a pixel value (input pixel value) g(0, 0) with regard to the pixel (observed pixel) in the 0th row and the 0th column among the multi-gradation image data. Then, the processor 2 specifies the generation probability of the dots in the status 1 and the status 2, on the basis of the above pixel value. Further, the processor 2 calculates the status 1 level value (status 1 gradation value) g 1 (0, 0) corresponding to the dot in the status 1, and the status 2 level value (status 2 gradation value) g 2 (0, 0) corresponding to the dot in the status 2.
  • the pixel value g(0, 0) means the gradation value of the pixel in the 0th row and the 0th column. Further, hereupon, the summation of the generation probability of the status 1 and the status 2 is set to be 1, and the summation of the status 1 level value g 1 (0, 0) and the status 2 level value g 2 (0, 0) is set to be the value of the pixel value g(0, 0).
  • the processor 2 After the status 1 level value g 1 (0, 0) and the status 2 level value g 2 (0, 0) are calculated, the processor 2 generates the local filter P 1 (Step S 303 ) with respect to the status 1 dot of the pixel in the 0th row and the 0th column, on the basis of the status 1 level value g 1 (0, 0) and the basic filter K A shown in FIG. 25A , among the two filters of the basic filter K A (where all of the coefficients are positive numbers) shown in FIG. 25A and the basic filter K B (where the coefficient of the pixel just left side of the observed pixel is a negative number) shown in FIG. 25B . Because the detail procedures are the same as those of the conventional Step T 3 , the description thereof will be omitted.
  • the processor 2 calculates the histogram H 1 (0, 0)[k] of the status 1 level value g 1 (0, 0) in the 0th row and the 0th column (Step S 304 ). Because the detail procedures are the same as those of the conventional Step T 4 , the description thereof will be omitted.
  • “dot appearance pattern C i,j [k]” is the sequence (dot appearance information array) composed of C i,j [0] to C i,j [n ⁇ 1], each of which is 0, 1 or 2.
  • the dot appearance pattern C i,j [k] is “1” when any value of 0 to (n ⁇ 1) is assigned to the element k, the dot appearance pattern C i,j [k] means that the dot of the status 1 is formed in the pixel in the i-th row and the j-th column. If the dot appearance pattern C i,j [k] is “2”, it means that the dot of the status 2 is formed in the pixel in the i-th row and the j-th column. If the dot appearance pattern C i,j [k] is “0”, it means that the dot is not formed.
  • the processor 2 rearranges the histograms H 1 (0, 0)[0] to H 1 (0, 0)[n ⁇ 1] of the status 1 level value g 1 (0, 0) calculated with respect to each element k, in ascending order. Then the processor 2 calculates the element number array S 1 [k] which represents the order of the histogram H 1 (0, 0)[k] (Step S 305 ).
  • the histograms H 1 (0, 0)[0] to H 1 (0, 0)[n ⁇ 1] are rearranged in the order of “H 1 (0, 0)[8] ⁇ H 1 (0, 0)[3] ⁇ H 1 (0, 0)[4] ⁇ H 1 (0, 0)[1] ⁇ H 1 (0, 0)[5] ⁇ . . . ⁇ H 1 (0, 0)[n ⁇ 1] ”, the element number array S 1 [k] is calculated as ⁇ 8, 3, 4, 1, 5, . . . , (n ⁇ 1) ⁇ .
  • “8” is the 0th element and “3” is the 1st element.
  • Step S 305 the processor 2 provides “1 (status 1 dot recording)” or “0 (non-recording)” to the dot appearance pattern (dot appearance information array) C 0,0 [k′], similarly to the conventional Steps T 6 to T 12 . Then, the processor 2 decides the appearance pattern of the status 1 dot among the dot appearance pattern C 0,0 [k] (Steps S 306 to S 312 ).
  • the processor 2 After the appearance pattern of the status 1 dot is decided, next, the processor 2 generates the local filter P 2 (Step S 313 ) with respect to the status 2 dot of the pixel in the 0th row and the 0th column, on the basis of the status 2 level value g 2 (0, 0) and the basic filter K A shown in FIG. 25A , among the two filters of the basic filter K A shown in FIG. 25A and the basic filter K B shown in FIG. 25B . Then, the processor 2 calculates the histogram H 2 (0, 0)[k] (Step S 314 ). The detail procedures are the same as those of the above Steps S 303 and S 304 .
  • the processor 2 performs the same processing as the above Step S 305 , and calculates the element number array S 2 [k] of the histogram H 2 (0, 0)[k] calculated with respect to each of elements k (Step S 315 ).
  • the processor 2 sets the count value Count to 0 and sets the count value Count′ to 0 (Step S 316 ). Further, the processor 2 assigns the value of the element S[Count], the order of which corresponds to the count value Count among the element number array S[k], to the element k′ of the element number array S 2 [k] (Step S 317 ).
  • the processor 2 changes “0”, which is set in the dot appearance pattern C 0,0 [k′] of the aforementioned part, into “2” (Step S 319 ), and adds 1 to the count value Count′ 1 (Step S 320 ).
  • the processor 2 set “2” which means the status 2 dot, while avoiding the part where “1” which means the status 1 dot is already set.
  • the processor 2 in order to decide the appearance pattern of the status 2 dot, the processor 2 should repeatedly perform the processing from Step S 317 to Step S 321 until the count value Count′ exceeds (status 2 level value g 2 (0, 0) ⁇ 1), and it is not necessary to repeat the processing until the element number k is (n ⁇ 1) as the processing for the status 1 dot.
  • the part where “2” is not set to the dot appearance pattern C 0,0 [k] is set to “1” or “0” in the above processing for the status 1 dot.
  • the processor 2 calculates C 0,0 [r], the index of which is the random variable determined in the above Step S 1 , as the output value b′ 0,0 of the pixel in the 0th row and the 0th column, among the dot appearance patterns C 0,0 [k] (Step S 323 ).
  • the processor 2 judges whether the output value b′ 0,0 is “0” (Step S 324 ).
  • the output b 0,0 is “0”, that is, non-recording (white) is decided.
  • the output b 0,0 is “1” or “2”
  • the output b 0,0 is “1”, that is, recording black is decided (Step S 326 ).
  • FIGS. 22A and 22B are flowcharts showing the anti-correlation digital halftoning processing over time, executed by the processor 2 of the image processing apparatus 1 , in order to generate the output image data of the pixels in the coordinates other than the coordinate of the i-th row and the j-th column.
  • the processor 2 obtains the pixel value (input pixel value) g(i, j) with regard to the pixel (observed pixel) in the i-th row and the j-th column among the multi-gradation image data. Then, the processor 2 specifies the generation probability of the dots in the status 1 and the status 2, on the basis of the above pixel value. Further, the processor 2 calculates the status 1 level value (status 1 gradation value) g 1 (i, j) corresponding to the dot in the status 1, and the status 2 level value (status 2 gradation value) g 2 (i, j) corresponding to the dot in the status 2.
  • the processor 2 After the status 1 level value g 1 (i, j) and the status 2 level value g 2 (i, j) are calculated, the processor 2 generates the local filter P 1 (Step S 332 ) with respect to the status 1 of the pixel in the i-th row and the j-th column, on the basis of the status 1 level value g 1 (i, j) and the basic filter K A shown in FIG. 25A , among the two filters of the basic filter K A (where all of the coefficients are positive numbers) shown in FIG. 25A and the basic filter K B (where the coefficient of the pixel just left side of the observed pixel is a negative number) shown in FIG. 25B . Because the detail procedures are the same as those of the conventional Step T 3 , the description thereof will be omitted.
  • the processor 2 calculates the histogram H 1 (i, j)[k] of the status 1 level value g 1 (i, j) in the i-th row and the j-th column (Step S 333 ). Because the detail procedures are the same as those of the conventional Step T 4 , the description thereof will be omitted.
  • “dot appearance pattern C i,j [k]” is the sequence (dot appearance information array) composed of C i,j [0] to C i,j [n ⁇ 1], each of which is 0, 1 or 2.
  • the dot appearance pattern C i,j [k] is “1” when any value of 0 to (n ⁇ 1) is assigned to the element k, the dot appearance pattern C i,j [k] means that the dot of the status 1 is formed in the pixel in the i-th row and the j-th column. If the dot appearance pattern C i,j [k] is “2”, it means that the dot of the status 2 is formed in the pixel in the i-th row and the j-th column. If the dot appearance pattern C i,j [k] is “0”, it means that the dot is not formed.
  • the processor 2 rearranges the histograms H 1 (i, j)[0] to H 1 (i, j)[n ⁇ 1] of the status 1 level value g 1 (i, j) calculated with respect to each element k, in ascending order. Then the processor 2 calculates the element number array S 1 [k] which represents the order of the histogram H 1 (i, j)[k] (Step S 334 ).
  • the histograms H 1 (i, j)[0] to H 1 (i, j)[n ⁇ 1] are rearranged in the order of “H 1 (i, j)[8] ⁇ H 1 (i, j)[3] ⁇ H 1 (i, j)[4] ⁇ H 1 (i, j)[1] ⁇ H 1 (i, j)[5] ⁇ . . . ⁇ H 1 (i, j)[n ⁇ 1] ”, the element number array S 1 [k] is calculated as ⁇ 8, 3, 4, 1, 5, . . . , (n ⁇ 1) ⁇ .
  • “8” is the 0th element and “3” is the 1st element.
  • Step S 334 the processor 2 provides “1 (status 1 dot recording)” or “0 (non-recording)” to the dot appearance pattern (dot appearance information array) C i,j [k′], similarly to the conventional Steps T 6 to T 12 . Then, the processor 2 decides the appearance pattern of the status 1 dot among the dot appearance pattern C i,j [k] (Steps S 335 to S 341 ).
  • the processor 2 decides the appearance pattern of the status 2 dot.
  • the processor 2 judges whether or not the output value b′ i,j-1 of the observed pixel processed just before the current observed pixel, that is, the pixel in the i-th row and the (j ⁇ 1)-th column is “2 (that is, forming the status 2 dot)”, and additionally, the coordinate (i, j ⁇ 1) of the observed pixel processed just before the current observed pixel is an isolated point (Step S 342 ).
  • the processor 2 when b′ i,j-1 is “2” and (i, j ⁇ 1) is the isolated point, the processor 2 generates the local filter P 2 (Step S 344 ) with respect to the status 2 dot of the pixel in the i-th row and the j-th column, on the basis of the status 2 level value g 2 (i, j) and the basic filter K B shown in FIG. 25B of the two basic filter K A shown in FIG. 25A and K B shown in FIG. 25B .
  • the coefficient of the pixel just left side of the observed pixel is a negative number (“ ⁇ 64” in the present embodiment).
  • the negative number effects to the pixel number defined as non-recording in the dot appearance pattern of the observed pixel processed just before the current observed pixel. Accordingly, the expectation value of the histogram becomes small value, and the pixel number of the dot recording is provided in the observed pixel processed just before the current observed pixel, in ascending order of the element number array S 2 [k]. Thereby, the possibility that the aforementioned pixel number is provided with “2” becomes higher, and the possibility that the continuous dots are formed becomes higher.
  • the generation probability of the status 1 and the status 2 are changed, it is possible to change the rate for forming the continuous dots. Further, it is possible to specify the shape of systematic dot arrangement.
  • the processor 2 generates the local filter P 2 (Step S 343 ) with respect to the status 2 dot of the pixel in the i-th row and the j-th column, on the basis of the status 2 level value g 2 (i, j) and the basic filter K A shown in FIG. 25A , among the two filters of the basic filter K A shown in FIG. 25A and the basic filter K B shown in FIG. 25B .
  • the processor 2 calculates the histogram H 2 (i, j)[k] based on the local filter(Step S 345 ).
  • the detail procedures are the same as those of the above Steps S 332 and S 333 .
  • the processor 2 performs the same processing as the above Step S 334 , and calculates the element number array S 2 [k] of the histogram H 2 (i, j)[k] calculated with respect to each of elements k (Step S 346 ).
  • the processor 2 sets the count value Count to 0 and sets the count value Count′ to 0 (Step S 347 ). Further, the processor 2 assigns the value of the element S[Count], the order of which corresponds to the count value Count among the element number array S[k], to the element k′ of the element number array S 2 [k] (Step S 348 ).
  • the processor 2 changes “0”, which is set in the dot appearance pattern C i,j [k′] of the aforementioned part, into “2” (Step S 350 ), and adds 1 to the count value Count′ 1 (Step S 351 ).
  • the processor 2 set “2” which means the status 2 dot, while avoiding the part where “1” which means the status 1 dot is already set.
  • the processor 2 in order to decide the appearance pattern of the status 2 dot, the processor 2 should repeatedly perform the processing from Step S 348 to Step S 352 until the count value Count′ exceeds (status 2 level value g 2 (i, j) ⁇ 1), and it is not necessary to repeat the processing until the element number k is (n ⁇ 1) as the processing for the status 1 dot.
  • the part where “2” is not set to the dot appearance pattern C i,j [k] is set to “1” or “0” in the above processing for the status 1 dot.
  • the processor 2 calculates C i,j [r], the index of which is the random variable determined in the above Step S 301 , as the output value b′ i,j of the pixel in the i-th row and the j-th column, among the dot appearance patterns C i,j [k] (Step S 354 ).
  • the processor 2 judges whether the output value b′ i,j is “0” (Step S 355 ).
  • the output b i,j is “0”, that is, non-recording (white) is decided.
  • the output b′ i,j is “1” or “2”, the output b i,j is “1”, that is, recording black is decided (Step S 357 ).
  • the same processing is performed to the next pixel.
  • the above processing is performed to all the pixels, and accordingly, the output image data is calculated.
  • the dot appearance frequency is proportional to the pixel value g i,j thereof.
  • the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • the generation probability of the status 1 and the status 2 it is possible to specify the generation probability of the status 1 and the status 2, and to control the amount of the generation of the different dot arrangements, in the highlight part of the image. Thereby, it is possible to improve the dispersibility of the status 1 and the status 2 in the halftoning processing where the anti-correlation digital halftoning is used. Moreover, it is possible to generate the specified dot arrangement by setting the coefficient of the local filter to be negative number.
  • FIGS. 26A to 26 E Examples of the output images based on the above image processing method are shown in FIGS. 26A to 26 E.
  • FIGS. 26A to 26 E show five results of the processing with respect to the patches where the pixel value is 32 and the generation probability of the status 1 and the status 2 are different respectively.
  • the generation probability of the status 1 is 0% and that of the status 2 is 100%. Then, the generation probability of the status 1 is increased and that of the status 2 is decreased, in order of FIGS. 26B, 26C , and 26 D. In FIG. 26E , the generation probability of the status 1 is 100% and that of the status 2 is 0%.
  • the shape of the systematic dot arrangement is specified in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image.
  • the shape of the systematic dot arrangement is specified by specifying the generation probability of the dot arrangement in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, certainly.
  • the value representing the different dot arrangement is set in the same dot appearance information array, after the local filter is decided for every value corresponding to the generation probability of the different dot arrangement to calculate the element number array according to the local filter, in the observed pixel of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, more certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, more certainly.
  • the value representing the dot arrangement is set while avoiding the element number where the value representing other dot arrangement is set. Therefore, it is possible to obtain the resolution faithful to the original image, further certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, further certainly.
  • the output status of the observed pixel is judged according to the status of the pixel which is already processed and the specified dot arrangement. Therefore, it is possible to obtain the resolution faithful to the original image, furthermore certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, furthermore certainly.
  • the shape of the dot arrangement is specified by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously. Therefore, it is possible to obtain the resolution faithful to the original image, much further certainly.
  • the present invention is not limited to each of the embodiments, and may be modified or changed design diversely without departing from the essence thereof.
  • the dot of the status 2 is decided.
  • the dot of the status 1 may be decided.
  • the two kinds of dot generation status such as the status 1 and the status 2 are defined.
  • another dot generation status such as the generation status of three or more continuous dots may be defined.
  • the dot continuous direction is not limited to the horizontal direction, and may be the vertical direction or the oblique direction.
  • the input image is the monochrome image comprising the 8-bit grayscale.
  • the input image is the monochrome image comprising the 8-bit grayscale.
  • gradation, resolution, color (monochrome or color) or the like are appropriate.
  • the output image is the black-and-white output image to which the bilevel halftoning is performed.
  • the output image comprising three or more output values including the color image.
  • the eighth embodiment is given to accomplish particularly the fourth object, and corresponds to claims 61 and 62 .
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus 1 related to the present embodiment.
  • the image processing apparatus 1 comprises a processor 2 for quantizing input multi-gradation image (original image) data to covert into a pseudo halftone output image data, and outputting the output image data.
  • the image processing apparatus 1 can be mounted in a known output apparatus such as an inkjet printer or the like.
  • the multi-gradation image data will be explained as data with regard to a CM color image of which each pixel value comprises 8-bit grayscale.
  • the 8-bit (256-gradation) multi-gradation image is quantized to three levels (values) of white (non-recording), cyan (cyan dot recording) and magenta (magenta dot recording), with respect to one pixel.
  • the processor (computer) 2 comprises a ROM (Read Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5 .
  • the ROM 3 stores an image processing program related to the present invention.
  • the image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • the RAM 4 includes work area for the CPU 5 .
  • the CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4 , and generates an output image from the multi-gradation image data.
  • the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right.
  • the processing direction after changing a row including a predetermined number of pixels may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction.
  • the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 27 is a flowchart showing the anti-correlation digital halftoning processing executed which the processor 2 of the image processing apparatus 1 executes on the basis of the image processing program in order to generate the output image data of any one color of cyan and magenta (the first color output image data).
  • Step S 401 the processor 2 previously determines a random valuable r (Step S 401 ), similarly to the conventional Step T 1 .
  • the processor 2 After the multi-gradation image data is input, the processor 2 obtains a pixel value g i,j with regard to the pixel (observed pixel) in the i-th row and the j-th column among the multi-gradation image data (Step S 402 ). Then, the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value g i,j (Step S 403 ), similarly to the conventional Step T 3 .
  • the processor 2 calculates a histogram H i,j [k] of the pixel in the i-th row and the j-th column (Step S 404 ), similarly to the conventional Step T 4 .
  • the processor 2 rearranges the histograms H i,j [0] to H i,j [n ⁇ 1] calculated for each element k in ascending order, and calculates an element number array S[k] representing the order of the histogram H i,j [k] (Step S 405 ).
  • the histograms H i,j [0] to H i,j [n ⁇ 1] are rearranged in the order of “H i,j [8] ⁇ H i,j [3] ⁇ H i,j [4] ⁇ H i,j [1] ⁇ H i,j [5] ⁇ . . . ⁇ H i,j [n ⁇ 1]”, the element number array S[k] is calculated as ⁇ 8, 3, 4, 1, 5, . . . , (n ⁇ 1) ⁇ .
  • “8” is the 0th element and “3” is the 1st element.
  • Step S 405 the processor 2 decides a dot appearance pattern (dot appearance information array) C i,j [k], and calculates output values b with respect to all elements, that is, the output image data (Steps S 406 to S 414 ), similarly to the conventional Steps T 6 to T 14 .
  • dot appearance frequency is proportional to the pixel value g i,j thereof.
  • the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • the processor 2 executes the anti-correlation digital halftoning processing to generate the other color output image data (second color output image data), similarly to the case of the fist color output image data.
  • an input image is a CM color image. Further, the input image is quantized to two levels. That is, with respect to one pixel, any of white (non-recording), C (cyan dot recording), M (magenta dot recording), or B (blue dot recording) generated when the C dot and the M dot are overlapped each other, is output after the halftoning.
  • each of dots is represented by “C” or “M” according to the difference thereof, the occupancy rate per unit area of the C dot is 80%, the occupancy rate per unit area of the M dot is 10%, and the element number to be used when the output image is output is 0.
  • the element number 0 of g 1 is non-recording. Accordingly, the whole arrangement of the element number array can be assumed as FIG. 28B . That is, the non-recording is set on the element number 0 side (left side) with the 10% occupancy rate, the C dots are arranged next to the non-recording with the 80% occupancy rate, and the M dots are arranged next to the C dots with the 10% occupancy rate.
  • the occupancy rates per unit area of the C dot and the M dot are compared each other.
  • the arrangement of the C dot is performed first.
  • the arrangement of the C dot is performed, there is a high possibility that the C dots are arranged in the element numbers of the non-recording of g 1 by the anti-correlation digital halftoning. Therefore, the arrangement is given as FIG. 28C . That is, the C dots of the 10% occupancy rate part among the 80% occupancy rate are arranged in the 10% occupancy rate part on the element number 0 side (that is, the left side) where the arrangement of g 1 is set as non-recording.
  • the C dots of another 10% occupancy rate part among the remaining 70% occupancy rate are arranged in the element numbers other than those where the C dots have been arranged for the arrangement of g 1 as much as possible. Therefore the C dots of another 10% occupancy rate part among the remaining 70% occupancy rate are arranged in the 10% occupancy rate part on the right side where the element numbers are large and the M dots have been arranged for the arrangement of g 1 . Then, the C dots of the further remaining 60% occupancy rate part are arranged in the element numbers where the C dots have been arranged for the arrangement of g 1 . After that, the M dots are arranged in the 10% occupancy rate part among the vacant part (that is, the 20% occupancy rate part where the C dots have been arranged for the arrangement of g 1 ). Accordingly, the other 10% occupancy rate part is set as non-recording. Thereby, the output of g 2 is decided as C.
  • the occupancy rate per unit area of the C dots is as high as 80% and the probability of appearance of the M dots and the non-recording are low. Therefore, there is highly probability of the dot appearance as follows: that is, only the C dots appear for a while; then, after only the C dots appear for a while, the M dot appears; furthermore, after only the C dots appear for a while again, the non-recording appears. Seen on a screen, the M dots and the non-recording appear dispersively on the background of C dots as shown in FIG. 28D .
  • each of dots is represented by “C” or “M” according to the difference thereof, the occupancy rate per unit area of the C dot is 10%, the occupancy rate per unit area of the M dot is 95%, and the element number to be used when the output image is output is 0.
  • the element number 0 of g 1 is B. Accordingly, the whole arrangement of the element number array can be assumed as FIG. 29B . That is, the M dots are arranged on the element number 0 side (left side) with the 90% occupancy rate, the C dots of the 5% occupancy rate part among the 10% occupancy rate are arranged in the vacant part next to the M dots, and the other C dots of the 5% occupancy rate part are arranged on the element number 0 side (left side) while being overlapped with the M dots. Accordingly, as a result, in the 5% occupancy rate of the element number 0 side (left side), the B dots resulted from the overlapping of the C dots and the M dots are arranged.
  • the occupancy rates per unit area of the C dot and the M dot are compared each other.
  • the arrangement of the C dot is performed first.
  • the arrangement of the C dot is performed, there is a high possibility that the C dots are arranged in the element numbers other than those where the B dots resulted from the overlapping of the C dots and the M dots are arranged by the anti-correlation digital halftoning. Therefore, the arrangement is given as FIG. 29C . That is, the C dots are applied in the 10% occupancy rate part next to the 5% occupancy rate part on the element number 0 side where the B dots have been arranged for the arrangement of g 1 .
  • the M dots are arranged in the element numbers other than those where the C dots have been arranged as much as possible. Therefore the M dots are arranged in the 5% occupancy rate part on the element number 0 side and the 90% occupancy rate part on the right side of which element number is large. As a result, the B dots are arranged in the 5% occupancy rate part where the M dots and C dots are overlapped each other. Thereby, the output of g 2 is decided as M.
  • the occupancy rate per unit area of the M dots is as high as 95% and the probability of appearance of the C dots and the B dots are low. Therefore, there is highly probability of the dot appearance as follows: that is, only the M dots appear for a while; then, after only the M dots appear for a while, the C dot appears; furthermore, after only the M dots appear for a while again, the B dot appears. Seen on a screen, the M dots and the non-recording appear dispersively on the background of M dots as shown in FIG. 29D .
  • the order of the arrangement of the dots to the dot appearance information array may be decided by an appropriate method.
  • the order of the arrangement may be decided by an appropriate method such as the method for deciding at random by using random valuables, the method for previously preparing arrangement patterns to apply the patterns in order, or the like.
  • the image processing apparatus and the image processing in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, the arrangement of the dot of which the occupancy rate per unit area is low is performed, after performing
  • the present invention is not limited to each of the above embodiments, and may be modified or changed design diversely without departing from the essence thereof.
  • the present invention is applied to the dots of the different colors.
  • the present invention may be applied to the grayscale dots of the same color.
  • the input image is the color image comprising only color of C and M.
  • the input image is the color image comprising only color of C and M.
  • the output image comprises two kinds of dots of C and M.
  • the present embodiment it is possible to apply the present embodiment to the output image comprising three or more various output values, corresponding to the diversity of the ink.

Abstract

An image processing apparatus comprises a processor for quantizing multi-gradation image data with regard to each of R, G and B to convert it into pseudo halftone output image data. First, the processor performs a first quantization for deciding a dot appearance pattern C(B)i,j[k] with respect to an observed pixel of the multi-gradation image data with regard to blue. After that, the processor performs a second quantization for deciding the dot appearance pattern of green with respect to the observed pixel so as to make an anti-correlation with the dot appearance pattern C(B)i,j[k] decided by the first quantization.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • The present invention relates to an image processing apparatus and an image processing method. In particular, the present invention relates to an image processing apparatus and an image processing method for quantizing multi-gradation image data to convert it into pseudo halftone output image data.
  • 2. Description of Related Art
  • Conventionally, an ordered dither method, an error diffusion method or the like have been known as a quantization processing method for converting multi-gradation original image data into pseudo halftone output image data. Among the above methods, the error diffusion method has been often used for high quality images and improved variously, because it can provide relative high quality images. An object as for the image quality in the error diffusion method is of how to reduce the texture specific to an algorism without amplifying noises.
  • For example, it is disclosed that securing uniformity is attempted by using a plurality of error diffusion matrices (refer to JP-Tokukaihei-4-328957A discloses). Specifically, switching two matrices according to input values, using a large matrix to a highlight part or a shadow part, preventing generation of pattern called “worm”, and minimizing noises are disclosed.
  • Further, it is also disclosed that changing a threshold value by using a threshold value depended on an output value, in order to obtain further uniformity in a highlight part or a shadow part (refer to JP-Tokukaihei-8-107500A). Specifically, what is disclosed are performing threshold value change corresponding to input, with respect to a neighboring pixel, depending on whether bilevel halftoning output is white or black, and using the threshold value change repeatedly.
  • In addition to the above, methods for optimizing the size and the coefficient of an error diffusion matrix, changing of processing order (that is, scan direction) or the like have been performed. Although it was possible to obtain certain effects by using the above means, the effects were not sufficient.
  • On the other hand, an anti-correlation digital halftoning method is supposed as the quantization processing means different from the error diffusion method or improved method thereof and the dither method (refer to “Anti-Correlation Digital Halftoning”, Dmitri A. Gusev, August 1998, Indiana University, [online], August 1998, Indiana University, [Searched on Jul. 1, 2003], Internet <URL http://www.cs.indiana.edu/cgi-bin/techreports/TRNNN.cgi?trnum=TR513>). This method is for setting an array (hereinafter, referred to as a dot appearance pattern) representing dot appearance information for every pixel, that is, dot presence/absence information of the number substantively proportional to the number of gradations composed of an observed pixel, and for performing halftoning on the basis of the information. In order to decide the content of dot appearance pattern of the observed pixel, the method includes: using the dot appearance pattern which has been already decided to neighboring pixels of the observed pixel; calculating expectation value (hereinafter, referred to as a histogram) of the dot appearance in the neighboring pixels for every element number of elements composing the dot appearance pattern; setting dot presence information preferentially to the element number of which the dot appearance number is small, on the basis of the expectation value; and deciding the dot appearance pattern of the observed pixel so as to set dot absence information to the element number of which dot appearance number is large.
  • Hereinafter, the anti-correlation digital halftoning method will be explained with concrete examples. In the following explanation, the processing is performed with changing the observed pixel from left to right.
  • As shown in FIG. 30, in the image processing by the anti-correlation digital halftoning method, a random valuable r (r is an integral value) is previously determined at random from the range of 0 to (n−1) (Step T1), before original image data (multi-gradation image data) are input. “n” is the maximum number of a pixel value gi,j. The pixel value gi,j is a gradation value of the pixel in i-th row and the j-th column, and is any one of values in the range of 0 to n.
  • After the original image data are input, the pixel value gi,j of the pixel (the observed pixel) in i and row j column is obtained from the original image data (Step T2).
  • After the pixel value gi,j is obtained, a local filter P of the pixel in the i-th row and the j-th column is generated on the basis of the pixel value gi,j (Step T3). Concretely, first, Δ is obtained by assigning the pixel value gi,j to the following formula (1). Then, the range of the left column of FIG. 31 where the obtained belongs is specified. Thereby, the information of the local filter P corresponding to the specified range is specified from the right column of FIG. 31. Incidentally, in FIG. 31, for example, “Δε[0, 13/255)” means “0≦Δ<13/255”.
    Δ=|g i,j −n/2|/n  (1)
  • For example, if the pixel value gi,j is 120, “Δ=|120−255/2|/255=7.5/255” is derived by the above formula (1). Then, it can be specified that the a (7.5/255) belongs to “Δε[0, 13/255)” described in the most upper cell of the left column of the table in FIG. 31. Thereby, R(K1, 6, −5), which is described in the cell to the right of the above specified cell where “Δε[0, 13/255)” is described, can be specified as the information of the local filter P.
  • Next, when the specified information is conveniently generalized to define as “R(K, lk, ε(lk)”, first, any one of six basic filters K1 to K6 shown in FIGS. 32A to 33C is selected with reference to the “K”. Next, a filter with lk rows×(2lk−1) columns having breadth for (lk−1) pixels from the pixel marked with “x”, that is, the pixel in the i-th row and the j-th column, in the upper, left and right direction respectively, is generated. Then, with reference to the “lk” and “ε(lk)”, the pixel number of the basic filter K is applied directly to each of pixels from the 1st column to the (lk−ε(lk))-th column of the generated filter. Moreover, 0 is applied to each of pixels beyond the (lk−ε(lk))-th column. Thereby, the local filter P is generated.
  • For example, if the information of the local filter P is represented as R(K6, 4, −1), the local filter P is generated with the following procedures. That is, in the R(K6, 4, −1), the entry corresponding to the basic filter K is “K6”, and therefore, a basic filter K6 shown in FIG. 33C is specified as the basic filter K from three basic filters K4 to K6 respectively shown in FIGS. 33A to 33C. Then, in the R(K6, 4, −1), the entry corresponding to lk is “4”, and the entry corresponding to ε(lk) is “−1”. Therefore, first, a filter with 4 rows×7 (=2×4−1) columns having breadth for 3 (=lk−1) pixels in the upper, left and right direction respectively from the pixel marked with “x” in the basic filter K6 in FIG. 33C, is generated. After that, in the generated filter with 4 rows×7 columns, the pixel number of the basic filter K6 is applied directly to each of pixels from the 1st column to the 5th (=4−(−1)) column. Moreover, 0 is applied to each of pixels beyond the 5th column. The local filter P generated with the above procedures is shown in FIG. 34.
  • After the local filter P is generated, a histogram Hi,j[k] of the pixel in the i-th row and the j-th column is calculated (Step T4). The “histogram Hi,j[k]” means the sum value (the expectation value) which is obtained as follows; that is, when each arrangement position of the neighboring pixel of the observed pixel indicated by “x” in the local filter P is represented by (x, y), each dot appearance pattern Cx,y[k] of the neighboring pixel of the observed pixel is weighted with the pixel value of the pixel in the position of (x, y) of the local filter P and added one another for every value of an element (an element number) k. In this regard, however, “k” is an arbitrary integral value from 0 to (n−1), and is synonymous with the element (the element number) k of the dot appearance pattern Cx,y[k]. Further, “the dot appearance pattern Cx,y[k]” is the sequence (the dot appearance information array) composed of Ci,j[0] to Ci,j[n−1] respectively taking the value of 0 and 1. In this case, when any one of values from 0 to (n−1) is assigned to the element k, if the dot appearance pattern Ci,j[k] is “1”, it denotes that a dot is formed in the pixel in the i-th row and the j-th column, and if the dot appearance pattern Ci,j[k] is “0”, it denotes that a dot is not formed.
  • For example, when the local filter P shown in FIG. 34 is generated, if the position (x, y) of each pixel and the pixel value px,y of each pixel in the local filter P are set as shown in FIGS. 35A and 35B respectively, the histogram Hi,j[k] of the observed pixel (the pixel marked with “x” in FIGS. 34, 35A and 35B) in the i-th row and the j-th column is calculated for every value of an element (an element number) k, according to the following Formulas. H i , j [ 0 ] = C x1 , y1 [ 0 ] × p x1 , y1 + C x1 , y2 [ 0 ] × p x1 , y2 + C x1 , y3 [ 0 ] × p x1 , y3 + + C x4 , y3 [ 0 ] × p x4 , y3 H i , j [ 1 ] = C x1 , y1 [ 1 ] × p x1 , y1 + C x1 , y2 [ 1 ] × p x1 , y2 + C x1 , y3 [ 1 ] × p x1 , y3 + + C x4 , y3 [ 1 ] × p x4 , y3 H i , j [ 2 ] = C x1 , y1 [ 2 ] × p x1 , y1 + C x1 , y2 [ 2 ] × p x1 , y2 + C x1 , y3 [ 2 ] × p x1 , y3 + + C x4 , y3 [ 2 ] × p x4 , y3 H i , j [ n - 1 ] = C x1 , y1 [ n - 1 ] × p x1 , y1 + C x1 , y2 [ n - 1 ] × p x1 , y2 + C x1 , y3 [ n - 1 ] × p x1 , y3 + + C x4 , y3 [ n - 1 ] × p x4 , y3
  • Next, the histograms Hi,j[0] to Hi,j[n−1] respectively calculated for each element k are rearranged in ascending order. Then, an element number array S[k] for the histogram Hi,j[k] is calculated (Step T5).
  • For example, when the histograms Hi,j[0] to Hi,j[n−1] are rearranged in the order of “Hi,j[8]<Hi,j[3]<Hi,j[4]<Hi,j[1]<Hi,j[5]< . . . <Hi,j[n−1]”, the element number array S[k] is calculated as {8, 3, 4, 1, 5, . . . , (n−1)}. Incidentally, in the element number array S[k], “8” is the 0th element and “3” is the 1st element.
  • After the element number array S[k] is calculated, a count value Count is set to 0 (Step T6). Then, the value of the element S[Count] in the order corresponding to the value of the count value Count among the element number array S[k] is assigned to the element k′ of the element number array S[k] (Step T7). That is, for example, in the above case of the element number array S[k] (={8, 3, 4, 1, 5, . . . , (n−1)}), because the count value Count is “0”, “8” (=S[0]) is assigned to the k′.
  • Accordingly, the relation between the count value Count and the pixel value (gi,j−1) is compared (Step T8).
  • As the result of the comparison, if the count value is equal to or less than the pixel value (gi,j−1), the dot appearance pattern Ci,j[k′] corresponding to the element k′ is set to “1” (Step T9), or if the count value is more than the pixel value (gi,j−1), the dot appearance pattern Ci,j[k′] corresponding to the element k′ is set to “0” (Step T10). For example, when the pixel value (gi,j−1) is “3” and the element number array S[k] is {8, 3, 4, 1, 5, . . . , (n−1)}, first, the element Ci,j[8] is set to “1”, among the dot appearance pattern Ci,j[k].
  • After the processing in Step T9 or Step T10 is completed, “1” is added to the count value Count (Step T11), the relation between the count value Count (=1) and (n−1) is compared (Step T12), the processing from Step T7 to Step T11 are repeated until the count value Count becomes the same value as (n−1), and thereby, the dot appearance pattern Ci,j[k′] is decided. Thereby, the elements Ci,j[8] Ci,j[3] and Ci,j[4] are set to “1” as described above. After the dot appearance pattern Ci,j[k] is decided, Ci,j[r] of which element number is random variable r determined in above Step T1 is calculated as an output value bi,j of the pixel in the i-th row and the j-th column, among the dot appearance pattern Ci,j[k] (Step T13). Incidentally, the output value bi,j is “0” or “1” as can be seen from the processing of above Step T9 or Step T10.
  • After the output value bi,j is calculated, it is judged whether or not the output values b have been calculated with respect to all the pixels of the input original image data (Step T14). If it is judged that the output values b of all the pixels is not calculated, the processing from above Step T2 to Step T13 are repeated with respect to each unprocessed pixel. If it is judged that the output values b of all the pixels, that is, the output image data of pseudo halftone is calculated, the processing is ended.
  • According to the image processing by the above anti-correlation digital halftoning, when one pixel is focused, dot appearance frequency is proportional to the pixel value of the pixel. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved. Therefore, the anti-correlation digital halftoning method has the feature that there are few textures peculiar to the error diffusion method.
  • Incidentally, for deciding the dot appearance pattern Ci,j[k] with respect to the end portion of an image, the dot appearance pattern with respect to the neighboring pixels other than an area of the image is required. Therefore, for the neighboring pixels other than an area of the image, the dot appearance pattern is previously decided by using a random valuable or the like. In particular, for example, the dot appearance pattern is defined as follows.
    C i,j [k]=1 (rBR<nΔ), 0 (rBR≧nΔ)
  • Hereupon, Δ=|gi,j−n/2|/n, and “gi,j” is the pixel value of the observed pixel. Further, “rBR” is a random valuable included in {0, 1, . . . (int)(n/2)} and is different value every time.
  • However, in the above anti-correlation digital halftoning method, there are following problems.
  • In the first place, in the case where the anti-correlation digital halftoning method is applied to a color image or a grayscale image resolved for every different density, because the dot arrangement between the different colors is not concerned, the color heterogeneity is easily generated. Further, the local variation of lightness becomes random, and accordingly, the roughness is increased.
  • In the second place, the anti-correlation digital halftoning method comprises the outstanding feature that the dispersibility for the bilevel halftoning of a monochrome image is well. However, the anti-correlation digital halftoning method sometimes generates the pattern comprising a regular periodic structure with respect to a specific input value. As the problems being spoken generally, although it seems that the simple periodic pattern is preferred as the result of the halftoning of the input data with a certain level, on the other hand, the border where the data value changes is enhanced and a pseudo outline is generated in many cases.
  • In the anti-correlation digital halftoning method, because a certain level of consideration has been already given, it is difficult to generate the periodic pattern as that generated by the common Floyd-Steinberg type error diffusion method. However, the periodic structure is sometimes generated with respect to a specific image pattern. For example, it has been known that although the pseudo outline is not outstanding with respect to the gradation pattern (ramp input), a regular checker pattern is sometimes generated in the portion where the 50% value constantly continues in a wide range.
  • In the third place, there is the case where the generation of continuous dots is required in the highlight part of the image, by the printing method of printers such as electro-photograpic system or the like.
  • However, conventionally, the generation probability of a systematic dot arrangement or a different dot arrangement has not been controlled. Therefore, the dot arrangement of the processed image strongly depends on the image. Further, the effect of the processing is unstable because of indetermination of the shape of the dot arrangement or interference of a different dot arrangement.
  • In the fourth place, in the case where the anti-correlation digital halftoning method is applied to a color image or a grayscale image resolved for every different density, if the dispersibility between the non-recording dot and the low occupancy rate dot in the case where the summation of the occupancy rate per different dot unit area is not more than 100%, or the dispersibility between the overlapped recording dots and the low occupancy rate dot in the case where the summation of the occupancy rate per different dot unit area is more than 100% is worse, the periodic structure becomes to be outstanding. However, because those relations have not been considered conventionally, the dot dispersibility sometimes becomes worse when there is the dot of which occupancy rate is low.
  • SUMMARY OF THE INVENTION
  • As a first object, it is an object of the present invention to provide an image processing apparatus and an image processing method capable of reducing color heterogeneity or roughness and obtaining a color image or a grayscale image of which local variation of lightness is inhibited.
  • As a second object, it is an object of the present invention to provide an image processing apparatus and an image processing method capable of controlling a dot so as not to make the dot have the periodic structure and preventing the pseudo outline, when the halftoning processing using the anti-correlation digital halftoning method is performed.
  • As a third object, it is an object of the present invention to provide an image processing apparatus and an image processing method capable of specifying generation probability of the systematic dot arrangement and the different dot arrangement in the highlight part of the image to obtain resolution faithful to the original image the original image, and at the same time, generating a specified systematic dot arrangement, improving the dispersibility between the different dots and the stable effect of the processing which has low dependence on the image, when the halftoning processing using the anti-correlation digital halftoning method is performed.
  • As a fourth object, it is an object of the present invention to provide an image processing apparatus and an image processing method capable of obtaining favorable dot dispersibility, regardless of the occupancy rate per unit area of each of dots, when the halftoning processing using the anti-correlation digital halftoning method is performed.
  • To solve the above problems, according to a first aspect of the present invention, an image processing apparatus comprises a processor for performing:
      • a first quantization for deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data with regard to a first color of a plurality of colors different from each other; and
      • a second quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel of multi-gradation image data with regard to a second color other than the first color of the plurality of colors different from each other, after the first quantization is performed,
      • when the multi-gradation image data with regard to each of the plurality of colors different from each other are quantized and converted into pseudo halftone output image data.
  • Hereupon, “the plurality of colors” means the plurality of colors that at least any one of lightness, chroma, or hue is different.
  • Further, “deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data” means deciding the dot appearance information array with respect to the data with regard to the observed pixel among the multi-gradation image data.
  • “The dot appearance information array decided by the first quantization” may be decided with respect to the observed pixel, or may be decided with respect to each of the observed pixel and the neighboring pixel of the observed pixel.
  • Further, “deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high” means deciding the second color dot appearance information array so as to make the expectation value of the second color dot appearance to be small in the element number of which the expectation value of the dot appearance is large among the first color dot appearance information array, and make the expectation value of the second color dot appearance to be large in the element number of which the expectation value of the dot appearance is small among the first color dot appearance information array.
  • The first color and the second color are not limited to one color, respectively, and may be a plurality of colors.
  • According to the image processing apparatus of the present invention, in the second quantization, the second color dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the dots of the different colors is adjusted.
  • Therefore, unlike in the conventional case, it is possible to obtain the color image of which color heterogeneity and roughness are reduced and local variation of lightness is inhibited.
  • In the above case, preferably, an anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, is substantially the highest.
  • According to the above image processing apparatus, the anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with the dot appearance information array with respect to the neighboring pixel of the observed pixel, to which the first quantization is already performed, is substantially the highest. Accordingly, the dots of the first color are certainly dispersed.
  • Therefore, it is possible to adjust the correlation between the dots of the different colors, after the roughness of the first color has been previously reduced. Accordingly, it is possible to obtain color image of which roughness is further reduced and local variation of lightness is inhibited.
  • Incidentally, “an anti-correlation of the dot appearance information array with respect to the observed pixel with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, is high” means that the expectation value of the dot appearance in the observed pixel is small in the element number of which the expectation value of the dot appearance is large among the dot appearance information array of the neighboring pixel, and the expectation value of the dot appearance in the observed pixel is large in the element number of which the expectation value of the dot appearance is small among the dot appearance information array of the neighboring pixel.
  • Further, “the neighboring pixel of the observed pixel” is the pixel other than the observed pixel, and is the pixel in the range which is required for representing the necessary gradation value where the observed pixel is as the center thereof by the area rate. For example, the neighboring pixels in the case where the bilevel halftoning is performed to 8-bit gradation image data are ideally the 256 pixels which are the closest to the observed pixel. However, the neighboring pixels are actually the pixels the number of which is several times 256, because of nonlinearity of visual property and reflectivity. However, only part of the pixels the number of which is several times 256 may be used as the neighboring pixels because of the balance with the amount of calculation in the image processing.
  • Further preferably, the processor decides the dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
  • According to the above image processing apparatus, the dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization, to which the predetermined weighting is performed, to be high. Accordingly, it is possible to easily adjust the correlation between the dots of the different colors.
  • Further preferably, the processor performs a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel of the multi-gradation image data with regard to a third color other than the first color and the second color of the plurality of colors, after the second quantization is performed.
  • According to the above image processing apparatus, the dot appearance information array of the third color is decided so as to make the anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel, in the third quantization. Accordingly, the correlation between the third color and the first color, or between the third color and the second color is adjusted.
  • Therefore, unlike in the conventional case, it is possible to obtain the color image of which color heterogeneity and roughness are reduced and local variation of lightness is inhibited.
  • Hereupon, “the dot appearance information of the first color and the second color respectively decided by the first quantization and the second quantization” may be decided with respect to the observed pixel or may be decided with respect to each of the observed pixel and the neighboring pixel.
  • Further, the third color is not limited to one color, and may be a plurality of colors.
  • Further preferably, lightness of the first color is lower than lightness of the second color.
  • According to the above image processing apparatus, the dot appearance information array is decided in ascending order of the lightness, that is, in descending order of visibility. Accordingly, unlike in the case where the dot appearance information array is decided in descending order of lightness, it is possible to certainly disperse the dots of which color comprises high visibility.
  • Therefore, it is possible to obtain the image of which color heterogeneity and roughness are little.
  • Further preferably, the first color is blue and the second color is red or green.
  • According to the above image processing apparatus, it is possible to obtain the effects similar to those of the invention described in any of claims 1 to 5, with respect to the multi-gradation image data with regard to RGB.
  • Further preferably, the first color is black and the second color is magenta or cyan.
  • According to the above image processing apparatus, it is possible to obtain the effects similar to those of the invention described in any of claims 1 to 5, with respect to the multi-gradation image data with regard to YMCK.
  • Further preferably, the processor calculates an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel, and adds a random value to the calculated expectation value.
  • According to the above image processing apparatus, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further preferably, the processor performs the quantization for deciding the dot appearance information array so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
  • According to the above image processing apparatus, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Moreover, when the multi-value anti-correlation digital halftoning method is applied, it is possible to prevent the pseudo outline in the vicinity of the quantization level.
  • Further preferably, the processor controls
      • performing an arrangement of a dot of which an occupancy rate per unit area is low, after performing an arrangement of a dot of which the occupancy rate per unit area is high, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • performing the arrangement of the dot of which the occupancy rate per unit area is high, after performing the arrangement of the dot of which the occupancy rate per unit area is low, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data.
  • According to the above image processing apparatus, in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data,
      • the arrangement of the dot of which the occupancy rate per unit area is low is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is high is performed, in the case where there are two or more kinds of the dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data. Accordingly, it is possible to obtain the favorable dot dispersibility, regardless of the occupancy rate per unit area of each of dots. Thereby, it is possible to perform the favorable image processing.
  • According to a second aspect of the present invention, an image processing method comprises:
      • performing a first quantization for deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data with regard to a first color of a plurality of colors different from each other; and
      • performing a second quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel of multi-gradation image data with regard to a second color other than the first color of the plurality of colors different from each other, after the first quantization is performed,
      • when the multi-gradation image data with regard to each of the plurality of colors different from each other are quantized and converted into pseudo halftone output image data.
  • According to the image processing method of the present invention, in the second quantization, the second color dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the dots of the different colors is adjusted.
  • Therefore, unlike in the conventional case, it is possible to obtain the color image of which color heterogeneity and roughness are reduced and local variation of lightness is inhibited.
  • In the above case, preferably, the dot appearance information array with respect to the observed pixel is decided so as to make an anti-correlation with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization.
  • According to the above image processing method, the dot appearance information array with respect to the observed pixel is decided so as to make the anti-correlation with the dot appearance information array with respect to the neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization. Accordingly, the dots of the first color are certainly dispersed.
  • Therefore, it is possible to adjust the correlation between the dots of the different colors, after the roughness of the first color has been previously reduced.
  • Accordingly, it is possible to obtain color image of which roughness is further reduced and local variation of lightness is inhibited.
  • Further preferably, the dot appearance information array is decided so as to make an anti-correlation with the dot appearance information array previously decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
  • According to the above image processing method, the dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array previously decided by the first quantization, to which a predetermined weighting is performed, to be high. Accordingly, it is possible to easily adjust the correlation between the dots of the different colors.
  • Further preferably, the method further comprises performing a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel of the multi-gradation image data with regard to a third color other than the first color and the second color of the plurality of colors, after the second quantization is performed.
  • According to the above image processing method, in the third quantization, the dot appearance information array of the third color is decided so as to make the anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel. Accordingly, the correlation between the third color and the first color, or between the third color and the second color is adjusted.
  • Therefore, unlike in the conventional case, it is possible to obtain the color image of which color heterogeneity and roughness are reduced and local variation of lightness is inhibited.
  • Further preferably, a color of which lightness is lower than lightness of the second color is selected as the first color, in the first quantization.
  • According to the above image processing method, the dot appearance information array is decided in ascending order of the lightness, that is, in descending order of visibility. Accordingly, unlike in the case where the dot appearance information array is decided in descending order of lightness, it is possible to certainly disperse the dots of which the visibility is high.
  • Therefore, it is possible to obtain the image of which color heterogeneity and roughness are little.
  • Further preferably, blue is selected as the first color, and red or green is selected as the second color.
  • According to the above image processing method, it is possible to obtain the effects similar to those of the invention described in any of claims 1 to 5, with respect to the multi-gradation image data with regard to RGB.
  • Further preferably, black is selected as the first color, and magenta or cyan is selected as the second color.
  • According to the above image processing method, it is possible to obtain the effects similar to those of the invention described in any of claims 1 to 5, with respect to the multi-gradation image data with regard to YMCK.
  • Further preferably, an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel is calculated for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel; and
      • a random value is added to the calculated expectation value.
  • According to the above image processing method, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further preferably, the quantization for deciding the dot appearance information array is performed so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
  • According to the above image processing method, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Moreover, when the multi-value anti-correlation digital halftoning method is applied, it is possible to prevent the pseudo outline in the vicinity of the quantization level.
  • Further preferably, an arrangement of a dot of which an occupancy rate per unit area is low is performed, after an arrangement of a dot of which the occupancy rate per unit area is high is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data.
  • According to the above image processing method, in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, an arrangement of a dot of which an occupancy rate per unit area is low is performed, after an arrangement of a dot of which the occupancy rate per unit area is high is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data. Accordingly, it is possible to obtain the favorable dot dispersibility, regardless of the occupancy rate per unit area of each of dots. Thereby, it is possible to perform the favorable image processing.
  • According to a third aspect of the present invention, an image processing apparatus comprises a processor for performing:
      • a first quantization for deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data with regard to a first density of a plurality of densities different from each other; and
      • a second quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel of multi-gradation image data with regard to a second density other than the first density of the plurality of densities different from each other, after the first quantization is performed,
      • When multi-gradation black-and-white image data are resolved into the multi-gradation image data comprising the plurality of densities different from each other, and then, quantized and converted into pseudo halftone output image data.
  • According to the image processing apparatus of the present invention, in the second quantization, the second density dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the dots of the different density is adjusted.
  • Therefore, unlike in the conventional case, it is possible to obtain the grayscale image of which density heterogeneity and roughness are reduced and local variation of lightness is inhibited.
  • In the above case, preferably, an anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed is substantially the highest.
  • According to the above image processing apparatus, the anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with the dot appearance information array with respect to the neighboring pixel of the observed pixel, to which the first quantization is already performed, is substantially the highest. Accordingly, the dots of the first density are certainly dispersed.
  • Therefore, it is possible to adjust the correlation between the dots of the different density, after the roughness of the first density has been previously reduced. Accordingly, it is possible to obtain grayscale image of which roughness is further reduced and local variation of lightness is inhibited.
  • Further preferably, the processor decides the dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
  • According to the above image processing apparatus, the dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization, to which the predetermined weighting is performed, to be high. Accordingly, it is possible to easily adjust the correlation between the dots of the different density.
  • Further preferably, the processor performs a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel of the multi-gradation image data with regard to a third density other than the first density and the second density of the plurality of densities, after the second quantization is performed.
  • According to the above image processing apparatus, in the third quantization, the dot appearance information array of the third density is decided so as to make the anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel. Accordingly, the correlation between the third density and the first density, or between the third density and the second color is adjusted.
  • Therefore, unlike in the conventional case, it is possible to obtain the grayscale image of which density heterogeneity and roughness are reduced and local variation of lightness is inhibited.
  • Further preferably, lightness of the first density is lower than lightness of the second density.
  • According to the above image processing apparatus, the dot appearance information array is decided in ascending order of the lightness, that is, in descending order of visibility. Accordingly, unlike in the case where the dot appearance information array is decided in descending order of lightness, it is possible to certainly disperse the dots of which density comprises high visibility.
  • Therefore, it is possible to obtain the image of which density heterogeneity and roughness are little.
  • Further preferably, the processor calculates an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel, and adds a random value to the calculated expectation value.
  • According to the above image processing apparatus, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further preferably, the processor performs the quantization for deciding the dot appearance information array so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
  • According to the above image processing apparatus, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image-data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Moreover, when the multi-value anti-correlation digital halftoning method is applied, it is possible to prevent the pseudo outline in the vicinity of the quantization level.
  • Further preferably, the processor controls
      • performing an arrangement of a dot of which an occupancy rate per unit area is low, after performing an arrangement of a dot of which the occupancy rate per unit area is high, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • performing the arrangement of the dot of which the occupancy rate per unit area is high, after performing the arrangement of the dot of which the occupancy rate per unit area is low, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data.
  • According to the above image processing apparatus, in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data,
      • the arrangement of the dot of which the occupancy rate per unit area is low is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is high is performed, in the case that there are two or more kinds of the dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data. Accordingly, it is possible to obtain the favorable dot dispersibility, regardless of the occupancy rate per unit area of each of dots. Thereby, it is possible to perform the favorable image processing.
  • According to a fourth aspect of the present invention, an image processing method comprises:
      • performing a first quantization for deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data with regard to a first density of a plurality of densities different from each other; and
      • performing a second quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel of multi-gradation image data with regard to a second density other than the first density of the plurality of densities different from each other, after the first quantization is performed,
      • When multi-gradation black-and-white image data are resolved into the multi-gradation image data comprising the plurality of densities different from each other, and then, quantized and converted into pseudo halftone output image data.
  • According to the image processing method of the present invention, in the second quantization, the second density dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the dots of the different density is adjusted.
  • Therefore, unlike in the conventional case, it is possible to obtain the grayscale image of which density heterogeneity and roughness are reduced and local variation of lightness is inhibited.
  • In the above case, preferably, the dot appearance information array with respect to the observed pixel is decided so as to make an anti-correlation with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization.
  • According to the above image processing method, the dot appearance information array with respect to the observed pixel is decided so as to make the anti-correlation with the dot appearance information array with respect to the neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization. Accordingly, the dots of the first density are certainly dispersed.
  • Therefore, it is possible to adjust the correlation between the dots of the different density, after the roughness of the first density has been previously reduced. Accordingly, it is possible to obtain grayscale image of which roughness is further reduced and local variation of lightness is inhibited.
  • Further preferably, the dot appearance information array is decided so as to make an anti-correlation with the dot appearance information array previously decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
  • According to the above image processing method, the dot appearance information array is decided so as to make the anti-correlation with the dot appearance information array decided by the first quantization, to which the predetermined weighting is performed, to be high. Accordingly, it is possible to easily adjust the correlation between the dots of the different density.
  • Further preferably, the method further comprises performing a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization to be high, with respect to the observed pixel of the multi-gradation image data with regard to a third density other than the first density and the second density of the plurality of densities, after the second quantization is performed.
  • According to the above image processing method, in the third quantization, the dot appearance information array of the third density is decided so as to make the anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization to be high, with respect to the observed pixel. Accordingly, the correlation between the third density and the first density, or between the third density and the second color is adjusted.
  • Therefore, unlike in the conventional case, it is possible to obtain the grayscale image of which density heterogeneity and roughness are reduced and local variation of lightness is inhibited.
  • Further preferably, a density of which lightness is lower than lightness of the second density is selected as the first density, in the first quantization.
  • According to the above image processing method, the dot appearance information array is decided in ascending order of the lightness, that is, in descending order of visibility. Accordingly, unlike in the case where the dot appearance information array is decided in descending order of lightness, it is possible to certainly disperse the dots of which density comprises high visibility.
  • Therefore, it is possible to obtain the image of which density heterogeneity and roughness are little.
  • Further preferably, an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel is calculated for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel; and
      • a random value is added to the calculated expectation value.
  • According to the above image processing method, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further preferably, the quantization for deciding the dot appearance information array is performed so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
  • According to the above image processing method, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Moreover, when the multi-value anti-correlation digital halftoning method is applied, it is possible to prevent the pseudo outline in the vicinity of the quantization level.
  • Further preferably, an arrangement of a dot of which an occupancy rate per unit area is low is performed, after an arrangement of a dot of which the occupancy rate per unit area is high is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data.
  • According to the above image processing method, in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data,
      • the arrangement of the dot of which the occupancy rate per unit area is low is performed, after the arrangement of the dot of which the occupancy rate per unit area is high is performed, in the case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after the arrangement of the dot of which the occupancy rate per unit area is low is performed, in the case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data. Accordingly, it is possible to obtain the favorable dot dispersibility, regardless of the occupancy rate per unit area of each of dots. Thereby, it is possible to perform the favorable image processing.
  • According to a fifth aspect of the present invention, an image processing apparatus comprises a processor for:
      • calculating an expectation value of an appearance of a dot in a neighboring pixel, to which a quantization is already performed, of the observed pixel of multi-gradation image data, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel; and
      • adding a random value to the calculated expectation value,
      • when the quantization for deciding the dot appearance information array is performed so as to make an anti-correlation with the dot appearance information array with respect to the neighboring pixel to be high,
      • in a case that the multi-gradation image data are quantized and converted into pseudo halftone output image data.
  • According to the image processing apparatus of the present invention, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element pixel number of the element composing the dot appearance information array with respect to the neighboring pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • In the above case, preferably, the processor sets and changes the random value according to a gradation value of each pixel.
  • According to the above image processing apparatus, it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further preferably, the processor sets and changes the random value according to a position of each pixel.
  • According to the above image processing apparatus, it is possible to control the space frequency characteristic by setting and changing the random value according to the position of the pixel. Consequently, it is possible to control the dot so as not to generate the periodic structure, more certainly. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • According to a sixth aspect of the present invention, an image processing apparatus comprises a processor for performing a quantization for deciding a dot appearance information array so as to make an anti-correlation with a dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel,
      • in a case that the multi-gradation image data are quantized and converted into pseudo halftone output image data.
  • According to the image processing apparatus of the present invention, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Moreover, when the multi-value anti-correlation digital halftoning method is applied, it is possible to prevent the pseudo outline in the vicinity of the quantization level.
  • In the above case, preferably, the processor sets and changes the random value according to a gradation value of each pixel.
  • According to the above image processing apparatus, it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further preferably, the processor sets and changes the random value according to a position of each pixel.
  • According to the above image processing apparatus, it is possible to control the space frequency characteristic by setting and changing the random value according to the position of the pixel. Consequently, it is possible to control the dot so as not to generate the periodic structure, more certainly. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • According to a seventh aspect of the present invention, an image processing method comprises:
      • calculating an expectation value of an appearance of a dot in a neighboring pixel, to which a quantization is already performed, of the observed pixel of multi-gradation image data, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel; and
      • adding a random value to the calculated expectation value,
      • when the quantization for deciding the dot appearance information array is performed so as to make an anti-correlation with the dot appearance information array with respect to the neighboring pixel to be high,
      • in a case that the multi-gradation image data are quantized and converted into pseudo halftone output image data.
  • According to the image processing method of the present invention, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element pixel number of the element composing the dot appearance information array with respect to the neighboring pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • In the above case, preferably, the random value is set and changed according to a gradation value of each pixel.
  • According to the above image processing method, it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further preferably, the random value is set and changed according to a position of each pixel.
  • According to the above image processing method, it is possible to control the space frequency characteristic by setting and changing the random value according to the position of the pixel. Consequently, it is possible to control the dot so as not to generate the periodic structure, more certainly. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • According to an eighth aspect of the present invention, an image processing method comprises:
      • performing a quantization for deciding a dot appearance information array so as to an anti-correlation with a dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel,
      • in a case that the multi-gradation image data are quantized and converted into pseudo halftone output image data.
  • According to the image processing method of the present invention, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Moreover, when the multi-value anti-correlation digital halftoning method is applied, it is possible to prevent the pseudo outline in the vicinity of the quantization level.
  • In the above case, preferably, the random value is set and changed according to a gradation value of each pixel.
  • According to the above image processing method, it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further preferably, the random value is set and changed according to a position of each pixel.
  • According to the above image processing method, it is possible to control the space frequency characteristic by setting and changing the random value according to the position of the pixel. Consequently, it is possible to control the dot so as not to generate the periodic structure, more certainly. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • According to a ninth aspect of the present invention, an image processing apparatus comprises a processor for performing control of specifying a shape of a systematic dot arrangement in highlight part of multi-gradation image data,
      • when the multi-gradation image data are quantized and converted into pseudo halftone output image data.
  • According to the image processing apparatus of the present invention, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, the shape of the systematic dot arrangement is specified in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image.
  • In the above case, preferably, the processor performs control of specifying the shape of the systematic dot arrangement, by specifying generation probability of the dot arrangement in the highlight part of the multi-gradation image data.
  • According to the above image processing apparatus, the shape of the systematic dot arrangement is specified by specifying the generation probability of the dot arrangement in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, certainly.
  • Further preferably, the processor sets a value representing a different dot arrangement in a same dot appearance information array, after deciding a local filter for every value corresponding to the generation probability of the different dot arrangement to calculate an element number array according to the local filter, in an observed pixel of the multi-gradation image data.
  • According to the above image processing apparatus, the value representing the different dot arrangement is set in the same dot appearance information array, after the local filter is decided for every value corresponding to the generation probability of the different dot arrangement to calculate the element number array according to the local filter, in the observed pixel of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, more certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, more certainly.
  • Further preferably, the processor sets the value representing the dot arrangement while avoiding an element number where a value representing other dot arrangement is set.
  • According to the above image processing apparatus, the value representing the dot arrangement is set while avoiding the element number where the value representing other dot arrangement is set. Therefore, it is possible to obtain the resolution faithful to the original image, further certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, further certainly.
  • Further preferably, the processor judges an output status of the observed pixel according to a status of a pixel which is already processed and the specified dot arrangement.
  • According to the above image processing apparatus, the output status of the observed pixel is judged according to the status of the pixel which is already processed and the specified dot arrangement. Therefore, it is possible to obtain the resolution faithful to the original image, furthermore certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, furthermore certainly.
  • Further preferably, the processor specifies the shape of the dot arrangement by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously.
  • According to the above image processing apparatus, the shape of the dot arrangement is specified by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously. Therefore, it is possible to obtain the resolution faithful to the original image, much further certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, much further certainly.
  • According to a tenth aspect of the present invention, an image processing method comprises specifying a shape of a systematic dot arrangement in a highlight part of multi-gradation image data,
      • when the multi-gradation image data are quantized and converted into pseudo halftone output image data.
  • According to the image processing method of the present invention, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, the shape of the systematic dot arrangement is specified in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image.
  • In the above case, preferably, the shape of the systematic dot arrangement is specified by specifying generation probability of the dot arrangement in the highlight part of the multi-gradation image data.
  • According to the above image processing method, the shape of the systematic dot arrangement is specified by specifying the generation probability of the dot arrangement in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, certainly.
  • Further preferably, a value representing a different dot arrangement is set in a same dot appearance information array, after a local filter is decided for every value corresponding to the generation probability of the different dot arrangement to calculate an element number array according to the local filter, in an observed pixel of the multi-gradation image data.
  • According to the above image processing method, the value representing the different dot arrangement is set in the same dot appearance information array, after the local filter is decided for every value corresponding to the generation probability of the different dot arrangement to calculate the element number array according to the local filter, in the observed pixel of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, more certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, more certainly.
  • Further preferably, the value representing the dot arrangement is set while avoiding an element number where a value representing other dot arrangement is set.
  • According to the above image processing method, the value representing the dot arrangement is set while avoiding the element number where the value representing other dot arrangement is set. Therefore, it is possible to obtain the resolution faithful to the original image, further certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, further certainly.
  • Further preferably, an output status of the observed pixel is judged according to a status of a pixel which is already processed and the specified dot arrangement.
  • According to the above image processing method, the output status of the observed pixel is judged according to the status of the pixel which is already processed and the specified dot arrangement. Therefore, it is possible to obtain the resolution faithful to the original image, furthermore certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, furthermore certainly.
  • Further preferably, the shape of the dot arrangement is specified by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously.
  • According to the above image processing method, the shape of the dot arrangement is specified by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously. Therefore, it is possible to obtain the resolution faithful to the original image, much further certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, much further certainly.
  • According to an eleventh aspect of the present invention, an image processing apparatus comprises a processor controls
      • performing an arrangement of a dot of which an occupancy rate per unit area is low, after performing an arrangement of a dot of which the occupancy rate per unit area is high, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • performing the arrangement of the dot of which the occupancy rate per unit area is high, after performing the arrangement of the dot of which the occupancy rate per unit area is low, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data
      • when the multi-gradation image data are quantized and converted into pseudo halftone output image data.
  • According to the image processing apparatus of the present invention, in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data,
      • the arrangement of the dot of which the occupancy rate per unit area is low is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is high is performed, in the case where there are two or more kinds of the dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data. Accordingly, it is possible to obtain the favorable dot dispersibility, regardless of the occupancy rate per unit area of each of dots. Thereby, it is possible to perform the favorable image processing.
  • According to a twelfth aspect of the present invention, an image processing method comprises
      • performing an arrangement of a dot of which an occupancy rate per unit area is low, after performing an arrangement of a dot of which the occupancy rate per unit area is high, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • performing the arrangement of the dot of which the occupancy rate per unit area is high, after performing the arrangement of the dot of which the occupancy rate per unit area is low, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data
      • when the multi-gradation image data are quantized and converted into pseudo halftone output image data.
  • According to the image processing method of the present invention, in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data,
      • the arrangement of the dot of which the occupancy rate per unit area is low is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is high is performed, in the case where there are two or more kinds of the dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data. Accordingly, it is possible to obtain the favorable dot dispersibility, regardless of the occupancy rate per unit area of each of dots. Thereby, it is possible to perform the favorable image processing.
    BRIEF DESCRIPTION OF THE DRAWINGS
  • The present invention will become more fully understood from the detailed description given hereinafter and the accompanying drawing given by way of illustration only, and thus are not intended as a definition of the limits of the present invention, and wherein:
  • FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus related to the present invention;
  • FIG. 2 is a flowchart showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a first embodiment;
  • FIG. 3 is a drawing schematically showing an output image in the case where an image processing method related to a first embodiment is used;
  • FIG. 4 is a drawing schematically showing an output image in the case where an image processing method related to a first embodiment is used;
  • FIG. 5 is a drawing schematically showing an output image in the case where an image processing method related to a first embodiment is used;
  • FIG. 6 is a drawing schematically showing an output image in the case where a conventional image processing method is used;
  • FIG. 7 is a drawing schematically showing an output image in the case where a conventional image processing method is used;
  • FIG. 8 is a drawing schematically showing an output image in the case where a conventional image processing method is used;
  • FIG. 9 is a flowchart showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a second embodiment;
  • FIG. 10A is a drawing showing an output image of multi-gradation image data in a third embodiment;
  • FIG. 10B is a drawing showing an output image in the case where an image processing method related to a third embodiment is used;
  • FIG. 10C is a drawing showing an output image in the case where a conventional image processing method is used;
  • FIG. 10D is a drawing showing an output image in the case where an image processing method related to a third embodiment is used;
  • FIG. 10E is a drawing showing an output image in the case where an image processing method related to a third embodiment is used;
  • FIG. 11 is a flowchart showing an anti-correlation digital halftoning processing of a first color over time, executed by a processor of an image processing apparatus, in a third embodiment;
  • FIG. 12 is a flowchart showing an anti-correlation digital halftoning processing of a second or later colors over time, executed by a processor of an image processing apparatus, in a third embodiment;
  • FIG. 13 is a drawing showing procedure for generating output image data, to which trilevel halftoning is performed, from black-and-white image data in a fourth embodiment;
  • FIG. 14 is a drawing showing a density resolution table in a fourth embodiment;
  • FIG. 15 is a drawing showing procedure for generating output image data, to which trilevel halftoning is performed for each of colors, from color multi-gradation image data in a fifth embodiment;
  • FIG. 16 is a flowchart showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a sixth embodiment;
  • FIG. 17A is a drawing showing an output image in the case where a conventional image processing method is used;
  • FIG. 17B is a drawing showing an output image in the case where an image processing method related to a sixth embodiment is used;
  • FIG. 17C is a drawing showing an output image in the case where an image processing method related to a sixth embodiment is used;
  • FIG. 18 is an explanation drawing of a random valuable storage table in a sixth embodiment;
  • FIG. 19 is a drawing showing procedure for generating output image data, to which bilevel halftoning is performed, from monochrome multi-gradation image data in a sixth embodiment;
  • FIG. 20 is a drawing for explaining a method for executing addition of a random valuable to multi-gradation image data in a sixth embodiment;
  • FIGS. 21A and 21B are flowcharts showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a seventh embodiment;
  • FIGS. 22A and 22B are flowcharts showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in a seventh embodiment;
  • FIG. 23 is a drawing for explaining dots in status 1 and dots in status 2 in a seventh embodiment;
  • FIG. 24 is a correspondence table among an input pixel value, a status 1 level value and a status 2 level value in a seventh embodiment;
  • FIG. 25A is a drawing showing a basic filter KA in a seventh embodiment;
  • FIG. 25B is a drawing showing a basic filter KB in a seventh embodiment;
  • FIGS. 26A to 26E are drawings showing output images of results of an anti-correlation digital halftoning processing with respect to a patch of which pixel value is 32;
  • FIG. 27 is a flowchart showing an anti-correlation digital halftoning processing over time, executed by a processor of an image processing apparatus, in an eighth embodiment;
  • FIGS. 28A to 28D are drawings for explaining a dot arrangement method in the case where the summation of an occupancy rate per unit area of dots is not more than 100% in an eighth embodiment;
  • FIGS. 29A to 29D are drawings for explaining a dot arrangement method in the case where the summation of an occupancy rate per unit area of dots is more than 100% in an eighth embodiment;
  • FIG. 30 is a flowchart showing an image processing by a conventional anti-correlation digital halftoning method over time;
  • FIG. 31 is a table showing correspondence between a value Δ based on a pixel value and information of a local filter P;
  • FIG. 32A is a drawing showing a basic filter K1;
  • FIG. 32B is a drawing showing a basic filter K2;
  • FIG. 32C is a drawing showing a basic filter K3;
  • FIG. 33A is a drawing showing a basic filter K4;
  • FIG. 33B is a drawing showing a basic filter K5;
  • FIG. 33C is a drawing showing a basic filter K6;
  • FIG. 34 is a drawing showing a local filter P (=R(K6, 4, −1));
  • FIGS. 35A and 35B are drawings for explaining generation of a histogram Hi,j[k].
  • PREFERRED EMBODIMENTS OF THE INVENTION
  • Hereinafter, the embodiments of an image processing apparatus and an image processing method related to the present invention will be described referring to the drawings. However, the present invention is not limited to the examples shown in the drawings.
  • First Embodiment
  • Hereinafter, the first embodiment of the present invention will be described referring to the drawings.
  • Incidentally, the first embodiment is given to accomplish particularly the above first, second and fourth objects, and corresponds to claims 1 to 8, 10, 11 to 18, 20, 21 to 26, 28, 29 to 34, and 36.
  • First, the configuration of an image processing apparatus 1 related to the present embodiment will be described.
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus related to the present invention. As shown in FIG. 1, the image processing apparatus 1 comprises a processor 2 for quantizing input multi-gradation image (original image) data to convert it into a pseudo halftone output image data, and outputting the output image data. Incidentally, the image processing apparatus 1 can be mounted in a known output apparatus such as an inkjet printer or the like. Further, in the present embodiment, the multi-gradation image data will be explained as data related to an R(red)G(blue)B(green) image of which each pixel value comprises 8-bit (256-gradation) grayscale.
  • The processor (computer) 2 comprises a ROM (Read Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5.
  • The ROM 3 stores an image processing program. The image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • The RAM 4 includes work area for the CPU 5.
  • The CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4, and generates an output image from the multi-gradation image data.
  • Next, the image processing method related to the present invention will be described with reference to FIG. 2. Incidentally, in the following explanation, the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right. However, the processing direction after changing a row including a predetermined number of pixels, may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction. Preferably, the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 2 is a flowchart showing the anti-correlation digital halftoning processing over time, which the processor 2 of the image processing apparatus 1 executes on the basis of the image processing program in order to generate the output image data.
  • As shown in FIG. 2, before the multi-gradation image data is input, the processor 2 previously determines a random valuable r (Step S1), similarly to the conventional Step T1.
  • After the multi-gradation image data is input, the processor 2 obtains a pixel value g(col n)i,j with respect to the pixel in the i-th row and the j-th column among the multi-gradation image data of each of colors. Then, the processor 2 judges whether or not the summation of the pixel values g(col n)i,j of each of colors is more than 255, that is, whether or not the summation of the occupancy rates of the pixel values of each of colors is more than 100% (Step S2). In the present embodiment, with respect to the three colors of col 0, col 1 and col 2, the processor 2 judges whether or not the summation of these occupancy rates is more than 100%. Further, in the following description, the condition is assumed as “(the occupancy rate of col0)>(the occupancy rate of col1)>(the occupancy rate of col2)”. Incidentally, in the following description, c[cl] includes the value of 1, 2, and 3, and denotes n in the notation col_n for identifying the color.
  • Hereupon, when the summation of the pixel values of each of colors g(col 0)i,j, g(col 1)i,j and g(col 2)i,j is not more than 255, that is, the summation of the occupancy rates of the pixel values of each of colors is not more than 100%, the dots of which occupancy rate per unit area is low (low occupancy rate dots) are arranged to the dot appearance information array (dot appearance pattern) after the dots of which occupancy rate per unit is high (high occupancy rate dots) are arranged to the dot appearance information array. That is, the arrangements to the dot appearance information array are performed in order of col 0, col 1 and col 2. For that purpose, c[cl] is set as c[0]=0, c[1]=1 and c[2]=2, and the value of cl is set as cl=0 as the initial value (Step S3).
  • On the other hand, when the summation of the pixel values of each of colors g(col 0)i,j, g(col 1)i,j and g(col 2)i,j is more than 255, that is, the summation of the occupancy rates of the pixel values of each of colors is more than 100%, the dots of which occupancy rate per unit area is high (high occupancy rate dots) are arranged to the dot appearance information array (dot appearance pattern) after the dots of which occupancy rate per unit is low (low occupancy rate dots) are arranged to the dot appearance information array. That is, the arrangements to the dot appearance information array are performed in order of col 2, col 1 and col 0. For that purpose, in the present embodiment, c[cl] is set as c[0]=2, c[1]=1 and c[2]=0, and the value of cl is set as cl=0 as the initial value (Step S4).
  • Next, the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value g(col c[cl])i,j (Step S5), similarly to the conventional Step T3.
  • After the local filter P is generated, the processor 2 calculates a histogram H(col c[cl])i,j[k] of the pixel in the i-th row and the j-th column (Step S6), similarly to the conventional Step T4.
  • Next, after the above histogram H(col c[cl])i,j[k] is calculated, the processor 2 adds the random value rand( ) to the histogram H(col c[cl])i,j[k], which is being processed, with the appropriate weight w corresponding to the input image data (Step S7). That is, with respect to each of the values (the expectation values) of the histograms H(col c[cl])i,j[0] to H(col c[cl])i,j[n−1], the processor 2 adds the random values corresponding to each of the values.
  • In particular, the following calculation is performed.
    H (col c[cl])i,j [k]+=w(rand( ), In i,j)
    Ini,j is the value of the input pixel. rand( ) is an integer random value and is always different. As the random value, for example, it is possible to use random numbers of M-sequence.
  • As above, in the calculation of the histogram for deciding the dot appearance pattern of the observed pixel, by adding not only the neighboring dot appearance patterns of the pixel being currently processed (dot appearance information arrays with respect to the neighboring pixel) but also the random value, the periodic structure is avoided and the generation of the pseudo outline is prevented.
  • Further, the amplitude corresponding to the input value is set, and the randomness is enhanced with respect to the input value (gradation value) specific for the generation of the periodicity.
  • After Step S7, it is judged whether or not cl is larger than 0 (Step S8). When cl is larger than 0, C(col c[cl-1])i,j[k] is added to H(col c[cl])i,j[k] (Step S9).
  • Moreover, after Step S9, it is judged whether or not cl is larger than 1 (Step S10). When cl is larger than 1, C(col c[cl-2])i,j[k] is added to H(col c[cl])i,j[k] (Step S1).
  • Incidentally, when cl is 0 in Step S8, the processing skips over Steps S9 to S11, to Step S12. Further, when cl is equal to or less than 1 in the Step S10, the processing skips over Step S11 to Step S12.
  • Next, the processor 2 decides an element number array S[k] and a dot appearance pattern (dot appearance information array) C(col c[cl])i,j[k′] and calculates output values b with respect to all elements, that is, the output image data (Steps S12 to S23), similarly to the conventional Steps T5 to T14.
  • Thereby when one pixel is focused, the dot appearance frequency is proportional to the pixel value gi,j thereof. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • Incidentally, in the present embodiment, “1” is added to cl in Step S21, and it is judged whether or not cl is 2 in Step S22. Thereby, it is judged whether or not the quantization has been performed with respect to all the color of col 0, col 1 and col 2.
  • The output images obtained by the above image processing method are shown in FIGS. 3 to 5.
  • Incidentally the output images obtained by the conventional image processing method are shown in FIGS. 6 to 8.
  • Incidentally, in FIGS. 3 to 8, each of colors is represented by an alphabetical letter so that the output images can be represented in ways easy to understand. That is, the red dot is represented by “R”, the green dot is represented by “G”, the yellow dot in the case where the red dot and the green dot are overlapped each other is represented by white color (no alphabetical letter), and the portion where the dot does not exist is painted in black and represented by “K”. Incidentally, hereupon, the examples where the blue dot does not exist are shown.
  • FIGS. 3 and 6 are the examples of the output images in the case of the input multi-gradation image (original image) where R(red)=180, G(green)=40 and B(blue)=0.
  • FIGS. 4 and 7 are the examples of the output images in the case of the input multi-gradation image (original image) where R(red)=128, G(green)=128 and B(blue)=0.
  • FIGS. 5 and 8 are the examples of the output images in the case of the input multi-gradation image (original image) where R(red)=40, G(green)=220 and B(blue)=0.
  • As shown in FIGS. 3 to 5, the output images obtained by the image processing apparatus and the image processing method in the present embodiment differs from the conventional output image shown in FIGS. 6 to 8. That is, the dots of each of colors disperse uniformly, and consequently, the overlapping part or the non-dotted point part is decreased.
  • As above, according to the above image processing method, in the calculation of the histogram for deciding the dot appearance pattern of the observed pixel, the correlation between the dots of different colors is adjusted by concerning not only the dot appearance patterns around the observed pixel with regard to the color which is currently processed but also the dot appearance pattern of the observed pixel with regard to the color which has been processed. Therefore, it is possible to obtain the RGB image of which color heterogeneity or roughness is reduced and local variation of lightness is inhibited.
  • That is, because the dot appearance patterns C(col c[1])i,j of the second color and C(col c[2])i,j of the third color are decided on the basis of the dot appearance pattern C(col c[0])i,j of the first color previously decided with respect to the pixel in the i-th row and j-th column, it is possible to certainly adjust the correlation between the dots of different colors.
  • Incidentally, as the example of FIG. 3, in the case where the input pixel value of the observed pixel is as R (red)=180, G (green)=40 and B (blue)=0, the first color is red, the second color is green and the third color is blue. As the example in FIG. 5, in the case where the input pixel value of the observed pixel is as R=40, G=220 and B=0, the first color is blue, the second color is red and the third color is green. As the example in FIG. 5, in the case where the input pixel value of the observed pixel is as R=128, G=128 and B=0, because the summation of the occupancy rates of the dots described later is just 100%, although the first color, the second color and the third color are different from each other, the three colors may be defined in any order among red, green and blue.
  • Further, according to the image processing apparatus and the image processing method in the present embodiment, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element number of the element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further, according to the image processing apparatus and the image processing method of the present embodiment, in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data,
      • the arrangement of the dot of which the occupancy rate per unit area is low is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is high is performed, in the case where there are two or more kinds of the dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data. Accordingly, it is possible to obtain the favorable dot dispersibility, regardless of the occupancy rate per unit area of each of dots. Thereby, it is possible to perform the favorable image processing.
    Second Embodiment
  • Next, the second embodiment will be described.
  • Incidentally, the second embodiment is given to accomplish particularly the above first, second and fourth objects, and corresponds to claims 1 to 7, 9, 10, 11 to 17, 18, 20, 21 to 25, 27, 28, 29 to 33, 35, and 36.
  • Because an image processing apparatus 1 in the present embodiment comprises the same configurations as the image processing apparatus described in the above first embodiment, the explanation thereof will be omitted.
  • Further, the same note is provided to the same component as one of the above first embodiment.
  • Hereinafter, an image processing method related to the present embodiment will be described with reference to FIG. 9.
  • Incidentally, in the first embodiment, the random value is added in the calculation of the histogram for deciding the dot appearance pattern of the observed pixel. However, in the present embodiment, the random value is added to the gradation value of the observed pixel of the multi-gradation image data. Thereby, the periodic structure easily generated by the specific input value is avoided, and consequently, the generation of the pseudo outline is prevented.
  • Further, in the following explanation, the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right. However, the processing direction after changing a row including a predetermined number of pixels, may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction. Preferably, the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 9 is a flowchart showing the anti-correlation digital halftoning processing over time, which the processor 2 of the image processing apparatus 1 executes on the basis of the image processing program in order to generate the output image data.
  • As shown in FIG. 2, before the multi-gradation image data is input, the processor 2 previously determines a random valuable r (Step S51), similarly to the conventional Step T1.
  • After the multi-gradation image data is input, the processor 2 obtains a pixel value g(col n)i,j with regard to the pixel in the i-th row and the j-th column among the multi-gradation image data of each of colors. Then, the processor 2 judges whether or not the summation of the pixel values g(col n)i,j of each of colors is more than 255, that is, whether or not the summation of the occupancy rates of the pixel values of each of colors is more than 100% (Step S52) In the present embodiment, with respect to the three colors of col 0, col 1 and col 2, the processor 2 judges whether the summation of the occupancy rates of the three colors of each of colors is more than 100%. Further, also in the present embodiment, the condition is assumed as “(the occupancy rate of col0)>(the occupancy rate of col1)>(the occupancy rate of col2)”.
  • Hereupon, when the summation of the pixel values of each of colors g(col 0)i,j, g(col 1)i,j and g(col 2)i,j is not more than 255, that is, the summation of the occupancy rates of the pixel values of each of colors is not more than 100%, the dots of which occupancy rate per unit area is low (low occupancy rate dots) are arranged to the dot appearance information array (dot appearance pattern) after the dots of which occupancy rate per unit is high (high occupancy rate dots) are arranged to the dot appearance information array. That is, the arrangements to the dot appearance information array are performed in order of col 0, col 1 and col 2. For that purpose, c[cl] is set as c[0]=0, c[1]=1 and c[2]=2, and the value of cl is set as cl=0 as the initial value (Step S53).
  • On the other hand, when the summation of the pixel values of each of colors g(col 0)i,j, g(col 1)i,j and g(col 2)i,j is more than 255, that is, the summation of the occupancy rates of the pixel values of each of colors is more than 100%, the dots of which occupancy rate per unit area is high (high occupancy rate dots) are arranged to the dot appearance information array (dot appearance pattern) after the dots of which occupancy rate per unit is low (low occupancy rate dots) are arranged to the dot appearance information array. That is, the arrangements to the dot appearance information array are performed in order of col 2, col 1 and col 0. For that purpose, in the present embodiment, c[cl] is set as c[0]=2, c[1]=1 and c[2]=0, and the value of cl is set as cl=0 as the initial value (Step S54).
  • Next, the processor 2 generates the random value, and adds the random value to the pixel value g(col c[cl])i,j (Step S55). Incidentally, the addition method of the random value will be explained in detail in the following sixth embodiment.
  • As above, the periodic structure is avoided by adding the random value to the pixel value of the observed pixel, and consequently, the generation of the pseudo outline is prevented.
  • Further, the amplitude corresponding to the input value is set, and the randomness is enhanced with respect to the input value (gradation value) specific for the generation of the periodicity.
  • Next, the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value g(col c[cl])i,j (Step S56), similarly to the conventional Step T3.
  • After the local filter P is generated, the processor 2 calculates a histogram H(col c[cl])i,j[k] of the pixel in the i-th row and the j-th column (Step S57), similarly to the conventional Step T4.
  • After Step S57, it is judged whether or not cl is larger than 0 (Step S58). When cl is larger than 0, C(col c[cl-1])i,j[k] is added to H(col c[cl])i,j[k] (Step S59).
  • Moreover, after Step S59, it is judged whether or not cl is larger than 1 (Step S60). When cl is larger than 1, C(col c[cl-2])i,j[k] is added to H(col c[cl])i,j[k] (Step S61).
  • Incidentally, when cl is 0 in Step S58, the processing skips over Steps S59 to S61 to Step S62. Further, when cl is equal to or less than 1 in Step S60, the processing skips over Step S61 to Step S62.
  • Next, the processor 2 decides an element number array S[k] and a dot appearance pattern (dot appearance information array) C(col c[cl])i,j[k′] and calculates output values b with respect to all elements, that is, the output image data (Steps S62 to S73), similarly to the conventional Steps T6 to T14.
  • Thereby when one pixel is focused, the dot appearance frequency is proportional to the pixel value gi,j thereof. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • Incidentally, in the present embodiment, “1” is added to cl in Step S71, and it is judged whether or not cl is 2 in Step S72. Thereby, it is judged whether or not the quantization has been performed with respect to all the color of col 0, col 1 and col 2.
  • As above, according to the image processing apparatus and the image processing method in the present embodiment, it is possible to obtain the same effects as those of the above first embodiment.
  • Incidentally, in the first embodiment and the second embodiment, the multi-gradation image data with regard to the RGB color image is quantized and converted into the pseudo halftone output image data. However, not limited to this case, the multi-gradation black-and-white data with regard to a plurality of grayscale colors may be quantized, and the pseudo halftone output image data may be generated.
  • Further, in the first embodiment and the second embodiment, all the processing is not always executed at the same time. By executing part of the processing, part of effects described above can be realized. Hereinafter, embodiments for accomplishing the first object, the second object and the fourth object severally, which are accomplished in the above first embodiment and the above second embodiment, will be described. Further, an embodiment for accomplishing the third object related to those embodiments will be also described.
  • Third Embodiment
  • Hereinafter, the third embodiment of the present invention will be described with reference to the drawings.
  • Incidentally, the third embodiment is given to accomplish particularly the above first object, and corresponds to claims 1 to 7, and 11 to 17.
  • Further, the same note is provided to the same component as one of the above first embodiment.
  • First, the configuration of an image processing apparatus 1 related to the present invention will be explained.
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus. As shown in FIG. 1, the image processing apparatus 1 comprises a processor 2 for converting an input multi-gradation image data into a pseudo halftone output image data, and outputting the output image data. Incidentally, the image processing apparatus 1 can be mounted in a known output apparatus such as an inkjet printer or the like. Further, in the present embodiment, the multi-gradation image data will be explained as data related to a gradation image each of which gradation values of R(red), G(green) and B(blue) changes from 0 to n (n≧2), as shown in FIG. 10A.
  • The processor (computer) 2 comprises a ROM (Read. Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5.
  • The ROM 3 stores an image processing program related to the present invention. The image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • The RAM 4 includes work area for the CPU 5.
  • The CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4, and generates an output image from the multi-gradation image data.
  • Next, the image processing method related to the present invention will be described with reference to FIGS. 11 and 12. Incidentally, in the following explanation, the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right. However, the processing direction after changing a row including a predetermined number of pixels, may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction. Preferably, the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 11 is a flowchart showing the anti-correlation digital halftoning (the first quantization) processing, executed by the processor 2 of the image processing apparatus 1 on the basis of the above image processing program in order to generate the output image data of any one color of red, green or blue (in the present embodiment, the color is blue as an example).
  • As shown in FIG. 11, before the multi-gradation image data is input, the processor 2 previously determines a random valuable r (Step S101), similarly to the conventional Step T1.
  • After the multi-gradation image data is input, the processor 2 obtains a pixel value gi,j with regard to the pixel in the i-th row and the j-th column among the blue multi-gradation image data (Step S102). Then, the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value gi,j (Step S103), similarly to the conventional Step T3.
  • After the local filter P is generated, the processor 2 calculates a histogram H(B)i,j[k] of the pixel in the i-th row and the j-th column (Step S104), similarly to the conventional Step T4. Hereupon, the letter “k” in the parenthesis of the subscript provided to “H” represents the color (blue, in the present embodiment).
  • Next, the processor 2 decides an element number array S[k] and a dot appearance pattern (dot appearance information array) C(B)i,j[k], and calculates output values b with respect to all elements, that is, the output image data (Steps S105 to S114), similarly to the conventional Steps T5 to T14. Thereby when one pixel is focused, dot appearance frequency is proportional to the pixel value gi,j thereof. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • When it is judged that the output image data of blue has been calculated, the processor 2 executes the anti-correlation digital halftoning (the second quantization) processing for generating the output image data of green and red.
  • FIG. 12 is a flowchart showing the anti-correlation digital halftoning processing that the processor 2 of the image processing apparatus 1 executes for generating the output image data of the second or later colors, on the basis of the image processing program. Incidentally, in the present embodiment, the processor 2 executes the anti-correlation digital halftoning processing in order of blue, green and red.
  • As shown in FIG. 12, the processor 2 executes the same processing as the above Steps S102 to S104, that is, obtains the pixel value gi,j of green with respect to the pixel in the i-th row and the j-th column, generates the local filter P, and calculates the histogram H(G)i,j[k] (Steps S120 to S122).
  • After the histogram H(G)i,j[k] of green is calculated, the processor 2 add the dot appearance pattern C(B)i,j[k] of blue, which is decided with respect to the pixel in the i-th row and the j-th column in the above Steps S107 to S111, to the histogram H(G)i,j[k] with a predetermined weight W(B)i,j, as shown in the following formula written in C language (Step S123). That is, each of the dot appearance patterns C(B)i,j[0] to C(B)i,j[k] is added to each of the histograms H(G)i,j[0] to H(G)i,j[n−1] with a predetermined weight W(B)i,j, respectively.
    H (G)i,j [k]+=W (B)i,j *C (B)i,j [k]
  • Thereby, the correlation between the blue dots and the green dots is adjusted. Hereupon, “a predetermined weight” is set on the basis of the relation between the color processed previously and the color processed currently, that is, between blue and green. When the amount of the weight W(B)i,j is large, it is hard that the blue dots and the green dots are overlapped each other. When the weight W(B)i,j is close to 0, the blue dots and the green dots are dispersed at random each other, as before. When the weight W(B)i,j is a negative value, the blue dots and green dots tend to be overlapped each other. In the present embodiment, also in view of the amount of the coefficient of the above-described local filter, the amount of the weight W(B)i,j is set to 64 (times). Incidentally, the subscript “col” in FIG. 4 represents the color to which the processing has been executed (hereupon, the color is blue).
  • Next, the processor 2 calculates the element number array S[k], decides the dot appearance pattern C(G)i,j[k] calculates the output values b with respect to all pixels, and ends the generation of the output image data of green (Steps S124 to S133), similarly to the above Steps S105 to S114.
  • Next, the processor 2 executes the same processing as the above Steps S102 to S104, that is, obtains the pixel value gi,j of red with respect to the pixel in the i-th row and the j-th column, generates the local filter P, and calculates the histogram H(R)i,j[k] (Steps S140 to S142).
  • After the histogram H(R)i,j[k] of red is calculated, the processor 2 adds the dot appearance pattern C(B)i,j[k] of blue, which is decided with respect to the pixel in the i-th row and the j-th column in the above Steps S107 to S111, and the dot appearance pattern C(G)i,j[k] of green, which is decided with respect to the pixel in the i-th row and the j-th column in the above Steps S126 to S130 with respect to the pixel in the i-th row and the j-th column, to the histogram H(R)i,j[k] with predetermined weights W(B)i,j and W(G)i,j, respectively (Step S143). Thereby, the correlations between the blue dots and the red dots, and the green dots and the red dots are adjusted. Incidentally, in the present embodiment, the amount of the weight W(G)i,j is also set to 64 (times).
    H (R)i,j [k]+=W (B)i,j *C (B)i,j [k]+W (G)i,j *C (G)i,j [k]
  • Hereupon, in order to simplify the calculation, all the decided dot appearance patterns C(B)i,j[k] and C(G)i,j[k] may be not always used. For example, also when the above formula is defined as follows by using only the dot appearance pattern C(B)i,j[k] of blue, the favorable result can be obtained compared with the case of the conventional dot arrangement.
    H (R)i,j [k]+=W (B)i,j *C (B)i,j [k]
  • Next, the processor 2 calculates the element number array S[k], decides the dot appearance pattern C(R)i,j[k], calculates the output values b with respect to all pixels, and ends the generation of the output image data of red (Steps S144 to S153), similarly to the above Steps S105 to S114.
  • The output image obtained by the above image processing method is shown in FIG. 10B, and the output image obtained by the conventional image processing method is shown in FIG. 10C as comparison. Incidentally, in FIGS. 10B and 10C, in the case where any one of dots of R, G or B is output, the pixel is represented with white, and in the case where any dot is not output, the pixel is represented with black, so as to represent the dominance of the output image clearly.
  • As shown in these figures, according to the output image obtained by the above image processing method, the dots of each of colors are dispersed uniformly, and consequently, there are less overlapping part or non-dotted point part, differing from the conventional output image.
  • As above, according to the above image processing method, in the calculation of the histogram for determining the dot appearance pattern of the observed pixel, the correlation between the dots of different colors is adjusted by concerning not only the dot appearance patterns around the observed pixel with regard to the color which is currently processed but also the dot appearance pattern of the observed pixel with regard to the color which has been processed. Therefore, it is possible to obtain the RGB image of which color heterogeneity or roughness is reduced and local variation of lightness is inhibited.
  • That is, because the dot appearance patterns C(G)i,j[k] of green and C(R)i,j[k] of red are decided on the basis of the dot appearance pattern C(B)i,j[k] of blue previously decided with respect to the pixel in the i-th row and j-th column, it is possible to certainly adjust the correlation between the dots of different colors.
  • Modification of the Third Embodiment (1)
  • Next, a modification of the image processing apparatus 1 in the above third embodiment will be described. Incidentally, the same note is provided to the same component as one of the above third embodiment, and the explanation thereof will be omitted.
  • The image processing apparatus 1 of the present modification comprises the same components as those of the image processing apparatus 1 described in the above third embodiment. However, the image processing apparatus 1 of the present modification performs the generation of the output image data by not frame sequential method but line sequential method. That is, after this image processing apparatus 1 has calculated the output values b of blue (green) with respect to all the pixels composing the column in the above Step S114 (S133), the image processing apparatus 1 ends the anti-correlation digital halftoning processing for blue (green), and starts the anti-digital halftoning processing for green (red).
  • When the dot appearance patterns of the second or later colors are decided, because also the image processing apparatus 1 uses the dot appearance pattern which has been already decided for other color, it is possible to obtain the same effect as the above third embodiment.
  • Modification of the Third Embodiment (2)
  • Next, another modification of the image processing apparatus 1 will be described. Incidentally, the same note is provided to the same component as one of the above third embodiment, and the explanation thereof will be omitted.
  • The image processing apparatus 1 of the present modification comprises the same components as those of the image processing apparatus 1 described in the above third embodiment. However, the image processing apparatus 1 of the present modification performs the generation of the output image data by not frame sequential method but dot sequential method. That is, after this image processing apparatus 1 has calculated the output value b of blue (green) with respect to one pixel in the above Step S114 (S133), the image processing apparatus 1 ends the anti-correlation digital halftoning processing for blue (green), and starts the anti-digital halftoning processing for green (red).
  • When the dot appearance patterns of the second or later colors are decided, because also the image processing apparatus 1 uses the dot appearance pattern which has been already decided for the color, it is possible to obtain the same effects as those of the above third embodiment.
  • Incidentally, in the above third embodiment and the modifications, the above explanation is given in the case where the anti-correlation digital halftoning processing of green is started after the output value bi,j of blue is calculated. However, the anti-correlation digital halftoning processing of green may be started before the output value bi,j is calculated as long as after the dot appearance pattern C(B)i,j[k] of blue has been decided.
  • Further, the above explanation is given in the case where the random valuable r is determined in the above Step S101. However, the fixed value in the range of 0 to (n−1) may be previously decided, or the random valuable r may be decided after the dot appearance patterns for all images are decided.
  • Further, the above explanation is given in the case where the histograms Hi,j[k] are arranged in ascending order when the element number array S[k] is calculated. However, the histograms Hi,j[k] may be arranged in another order, as long as there is dispersibility between the dots to be appeared. Further, when the element number array S[k] is calculated, instead of using the histogram Hi,j[k], an evaluation function related to the distribution of the dot around the observed pixel may be set and used. It is possible to set such evaluation function by using the dot appearance pattern for the neighboring pixels of the observed pixel.
  • Further, although each of the amounts of the weights W(B)i,j and W(B)i,j are explained as 64 (times), it may be another value such as −32 (times), 128 (times) or the like. When the amount is −32 (times), it is also possible that the dispersibility between the dots of different colors is decreased and the dots of almost colors are overlapped each other. Further, when the amount is 128 (times), the dots of each of colors are dispersed more uniformly as shown in FIG. 10D. Consequently, it is possible to further decrease the overlapping part or the non-dotted point part.
  • In addition, the explanation is given in the case where each of the dot appearance patterns C(B)i,j[k] of blue and C(G)i,j[k] of green with respect to the pixel in the i-th row and the j-th column is added to the histogram H(R)i,j[k] of red with respect to the pixel in the i-th row and the j-th column with each of the weights W(B)i,j and W(G)i,j respectively. However, as shown in the following formula, each of the dot appearance patterns C(B)i+δ,j[k] of blue and C(G)i+δ,j[k] of green with respect to the neighboring pixel of the pixel in the i-th row and the j-th column may be also add with each of the predetermined weights W(B)i+δ,j[k] and W(G)i+δ,j[k] respectively. Incidentally, in the formula, the summation symbol “Σ” in the right-hand side means that the summation is executed with respect to all the processed colors. Further, “δ” is “−1” or “+1”, and denotes the index of the column being already processed according to the processing direction of the image processing apparatus 1. However, the value of “δ” is not limited to the above value. H i , j [ κ ] += col { W ( col ) i , j * C ( col ) i , j [ κ ] + W ( col ) i + δ , j [ κ ] * C ( col ) i + δ , j [ κ ] } [ Formula 1 ]
  • As concrete example, the result of the output where W(col)i,j=64 and (col)i+δ,j=32 is shown in FIG. 10E. As known in FIG. 10E, when each of the dot appearance pattern of the neighboring pixel is added, it is possible that the correlation between the blue dot and the green dot is more certainly adjusted, the color heterogeneity or the roughness is reduced, and modest randomness is provided to the dot position of each of colors.
  • Further, the above explanation is given in the case where the image processing apparatus 1 process the multi-gradation image data of a plurality of colors with regard to R, G and B. However, the multi-gradation image data of three colors such as Y (yellow), M (magenta) and C (cyan), the multi-gradation image data of four colors of Y, M, C, and K (black), or the like may be processed.
  • In this case, preferably, the anti-correlation digital halftoning processing is performed starting with the multi-gradation image data of the color of which lightness is low, that is, the color having high visibility. Thereby, compared with the case where the output image data is generated starting with the color of which lightness is high, it is possible that the dot of the color having high visibility is certainly dispersed. Therefore, it is possible to obtain the image of which color heterogeneity or roughness is visually low.
  • Moreover, for example, when the processing of the observed pixel is performed in order of C, M and Y, even if the dot of yellow of which lightness is the highest and visibility is the lowest is overlapped with the dot of another color, the effect caused by the overlapping is visually low. Therefore, the amount of the weight W which is used when the dot appearance patterns C(c)i,j[k] and C(M)i,j[k] are added to the histogram H(Y)i,j[k] of yellow may be decreased. As above, by setting the amount of the weight W on the basis of the relation between the color of which dot appearance pattern C(col)i,j[k] is decided first and the color of which dot appearance pattern C(col)i,j[k] is currently decided, it is possible that the dots of a plurality of colors each of which visibilities is different from each other are dispersed and arranged appropriately. Incidentally, the above subscript “(col)” represents any of colors of C, M or Y.
  • Further, it is possible to change the pixel value of each of the pixels of six basic filters K1 to K6 shown in FIGS. 32A to 33C. That is, the pixel values are not always the same as those in FIGS. 32A to 33C. Further, FIG. 31 is not always used when the local filter P is generated. Moreover, the local filter P may not be calculated based on the basic filters K1 to K6. For example, the table which previously stores the local filter P corresponding to the input pixel value may be used.
  • Fourth Embodiment
  • Next, the image processing apparatus 1 in the fourth embodiment will be described.
  • Incidentally, the fourth embodiment is given to accomplish particularly the above first object, and corresponds to claims 21 to 25, and 29 to 33.
  • Further, the same note is provided to the same component as one of the above third embodiment.
  • The image processing apparatus 1 in the present embodiment comprises the same configurations as the image processing apparatus 1 explained in the above third embodiment. However, the image processing apparatus 1 in the present embodiment performs the quantization processing to the multi-gradation black-and-white image data with respect to a plurality of grayscale colors, and generates the pseudo halftone output image data.
  • In particular, for example, as shown in FIG. 13, the image processing apparatus 1 performs the density resolution of the white-and-black image data of 256-gradation, that is, 8-bit, into the dark color image data and the light color image data, by using the density resolution table. After that, first, the image processing apparatus 1 performs the anti-correlation digital halftoning (the first quantization) with respect to the dark color image data. Next, the image processing apparatus 1 performs the anti-correlation digital halftoning (the second quantization) with respect to the light color image data by using the dot appearance pattern of the dark dot according to the following formula. Thereby, the output image data, to which trilevel halftoning is performed, is generated.
    H (light)i,j [k]+=W*C (dark)i,j [k]
  • Incidentally, as the density resolution table, for example, the one shown in FIG. 14 can be cited. Further, in the above formula, “H(light)i,j[k] ” is the histogram for calculating the dot appearance pattern of the light dot, and “H(dark)i,j[k] ” is the histogram for calculating the dot appearance pattern of the dark dot. Further, “W” is the positive fixed number.
  • Hereupon, preferably, the amount of the weight W is adjusted according to the pixel value of the dark color image data which has been processed with respect to the pixel in the i-th row and the j-th column. Concretely, when the pixel value of the dark color image data is small, it is preferable that the dark dot and the light dot are overlapped each other by bringing the amount of the weight W close to 0. Further, when the pixel value of the dark color image data is large, it is preferable that the random overlapping of the dark dot and the light dot is reduced by increasing the amount of the weight W.
  • According to the present image processing apparatus 1, compared with the case where each of the appearance of the dark and the light dots is decided independently, the dispersibility of the dark dot and the light dot is improved, and the random overlapping is reduced. Therefore, it is possible to decrease the heterogeneity of the dark and the light dots or the roughness.
  • Incidentally, in the above fourth embodiment, the explanation is given in the case where the density resolution of the black-and-white image data into the dark color image data and the light color image data is performed before the anti-correlation digital halftoning is performed. However, the density resolution of the black-and-white image data into the three or more image data may be performed. In this case, it is preferable that the anti-correlation digital halftoning is performed with respect to the image data in ascending order of the lightness, that is, the descending order of the density. Then, in the anti-correlation digital halftoning with respect to the high lightness image data, it is preferable that the lower the lightness of the color of the dot appearance pattern C(dark)i,j[k] is, the larger the amount of the weight W is made to be, to use for the calculation of the dot appearance pattern C(light)i,j[k]. Thereby, the lower the lightness of the dot is and the higher the visibility of the dot is, the more the dispersibility can be improved. Therefore, it is possible to obtain the image of which color heterogeneity or roughness is visually low.
  • Fifth Embodiment
  • Next, the image processing apparatus 1 in the fifth embodiment will be described.
  • Incidentally, the fifth embodiment is given to accomplish particularly the above first object, and corresponds to claims 1 to 7, 11 to 17, 21 to 25 and 29 to 33.
  • Further, the same note is provided to the same component as one of the above third embodiment, and the explanation thereof will be omitted.
  • The image processing apparatus 1 in the present embodiment comprises the same configurations as the image processing apparatus 1 explained in the above third embodiment. However, the image processing apparatus 1 in the present embodiment processes the color multi-gradation image data, and generates the color output image data to which multilevel halftoning is performed for every color.
  • In particular, for example, as shown in FIG. 15, the image processing apparatus 1 generates the data of dark black, dark cyan, dark magenta and dark yellow, and the data of light black, light cyan and light magenta from the image data comprising 256-gradation for every color of Y, M, Y and K. After that, the image processing apparatus 1 performs the anti-correlation digital halftoning processing with respect to any one color. Next, the image processing apparatus 1 performs the anti-correlation digital halftoning processing with respect to the data of the second or later color by using the dot appearance pattern which has been already decided. Thereby, the image processing apparatus 1 generates the output image data, to which the bilevel halftoning is performed with respect to the color of yellow and the trilevel halftoning is performed with respect to the colors of black, cyan and magenta. Incidentally, the order for the anti-correlation digital halftoning processing may be the order of dark black, dark cyan, dark magenta, light black, light cyan, light magenta, and dark yellow, according to the lightness of each of colors. Further, the output image data may be generated in order of dark black, light black, dark cyan, light cyan, dark magenta, light magenta, and dark yellow, in order to improve the dot dispersibility between the same system colors. Further, it is possible to use the combination of a 4-dimensional look-up-table and an interpolation calculation, the above density resolution table, or the like, for the density resolution of the image data of each of colors.
  • According to this image processing apparatus 1, the correlation between the dots of the different colors and density is adjusted. Therefore, unlike in the conventional case, it is possible to obtain the YMCK image of which color heterogeneity, density heterogeneity and roughness or reduced is local variation of lightness is inhibited.
  • Sixth Embodiment
  • Hereinafter, the sixth embodiment of the present invention will be described with reference to the drawings.
  • Incidentally, the sixth embodiment is given to accomplish particularly the second object, and corresponds to claims 37 to 48.
  • Further, the same note is provided to the same component as one of the above first embodiment.
  • First, the configuration of an image processing apparatus 1 related to the present embodiment will be explained.
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus 1 related to the present embodiment. As shown in FIG. 1, the image processing apparatus 1 comprises a processor 2 for quantizing an input multi-gradation image data to convert it into a pseudo halftone output image data, and outputting the output image data. Incidentally, the image processing apparatus 1 can be mounted in a known output apparatus such as an inkjet printer or the like. Further, in the present embodiment, the multi-gradation image data will be explained as data related to a RGB image each of which pixel values comprises 8-bit grayscale.
  • The processor (computer) 2 comprises a ROM (Read Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5.
  • The ROM 3 stores an image processing program related to the present invention. The image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • The RAM 4 includes work area for the CPU 5.
  • The CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4, and generates an output image from the multi-gradation image data.
  • Next, the image processing method related to the present invention will be described with reference to FIGS. 16 to 20. Incidentally, in the following explanation, the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right. However, the processing direction after changing a row including a predetermined number of pixels, may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction. Preferably, the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 16 is a flowchart showing the anti-correlation digital halftoning processing over time, executed by the processor 2 of the image processing apparatus 1 on the basis of the above image processing program in order to generate the output image data.
  • As shown in FIG. 16, before the multi-gradation image data is input, the processor 2 previously determines a random valuable r (Step S201), similarly to the conventional Step T1.
  • After the multi-gradation image data is input, the processor 2 obtains a pixel value gi,j with regard to the pixel in the i-th row and the j-th column among the multi-gradation image data (Step S202). Then, the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value gi,j (Step S203), similarly to the conventional Step T3.
  • After the local filter P is generated, the processor 2 calculates a histogram Hi,j[k] of the pixel in the i-th row and the j-th column (Step S204), similarly to the conventional Step T4.
  • Next, after the above histogram Hi,j[k] is calculated, the processor 2 adds the random value rand( ) to the histogram Hi,j[k], which is being processed, with the appropriate weight w corresponding to the input image data (Step S205). That is, with respect to each of the values (the expectation values) of the histograms Hi,j[0] to Hi,j[n−1], the processor 2 adds the random values corresponding to each of the values.
  • In particular, the following calculation is performed.
    H i,j [k]+=w(rand( ), In i,j)
    Ini,j is the value of the input pixel. rand( ) is a integer random value and is always different. As the random value, for example, it is possible to use random numbers of M-sequence.
  • As above, in the calculation of the histogram for deciding the dot appearance pattern of the observed pixel, by adding not only the neighboring dot appearance patterns of the pixel being currently processed (dot appearance information arrays with respect to the neighboring pixel) but also the random value, the periodic structure is avoided and the generation of the pseudo outline is prevented.
  • Further, the amplitude corresponding to the input value is set, and the randomness is enhanced with respect to the input value (gradation value) specific for the generation of the periodicity.
  • After Step S205, the processor 2 decides an element number array S[k] and a dot appearance pattern (dot appearance information array) Ci,j[k], and calculates output values b with respect to all elements, that is, the output image data (Steps S206 to S215), similarly to the conventional Steps T5 to T14. Thereby when one pixel is focused, dot appearance frequency is proportional to the pixel value gi,j thereof. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • As an example, the result in the case where the conventional algorithm is applied to 50% gray image (Ini,j=128) is shown in FIG. 17A. Further, the result in the case where the present algorithm is applied is shown in FIG. 17B. FIGS. 17A and 17B are the results in the case where the random value rand( ) is defined as integer type and w is defined as follows.
      • w(rand( ), Ini,j)=rand( )%32; in the case of 125≦Ini,j≦130
      • w(rand( ), Ini,j)=0; in the case that Ini,j is in the range other than the above
  • Thereby, in FIG. 17A, there exist the A part where the periodicity of regular generation and non-generation of the dots is strongly generated, and the other D part, and accordingly, the pseudo outline is generated on the border (shown by the dot-line). However, in FIG. 17B, there exist no periodic structure, and the pseudo outline is not generated.
  • The setting of w is decided in view of the maximum value of the filter coefficient used when the histogram of the anti-correlation digital halftoning method is calculated. It is appropriate that the maximum value of w is set to almost half of the maximum value of the filter coefficient shown in FIGS. 32A to 33C with respect to the 50% input value.
  • Incidentally, the weight w, which is the function of the input pixel value, for example, may be set as follows, so as to lessen the amplitude sequentially with respect to the input value adjacent to 50%.
      • w(rand( ), Ini,j)=rand( )%32; in the case of Ini,j=127 or 128;
      • w(rand( ), Ini,j)=rand( )%16; in the case of Ini,j=126 or 129;
      • w(rand( ), Ini,j)=rand( )%8; in the case of Ini,j=125 or 130;
      • w(rand( ), Ini,j)=0; in the case that Ini,j is in the range other than the above.
  • Moreover, when periodic artifacts are generated in another specific portion according to the selection (setting) of the filter coefficient, w can be set appropriately corresponding to the portion (position). For example, when it is intended that the input value around 33.67% is randomize in addition to 50%, w may be set as follows.
      • w(rand( ), Ini,j)=rand( )%32; in the case of Ini,j=85, 127, 128, or 170
      • w(rand( ), Ini,j)=rand( )%16; in the case of Ini,j=84, 86, 126, 129, 169, or 171
      • w(rand( ), Ini,j)=rand( )%8; in the case of Ini,j=83, 87, 125, 130, 168, or 172
      • w(rand( ), Ini,j)=0; in the case that Ini,j is in the range other than the above
  • Further, in the above example, w is set as follows, in the case that Ini,j is a value other than the specific values.
      • w(rand( ), Ini,j)=0
  • However, when it is intended to further increase the randomness, not 0 but the random value having small amplitude (for example, w(rand( ), Ini,j)=rand( )%8) may be added to the histogram, over the whole gradation range except for the above specific values.
  • Incidentally, although a calculation operator % for the remainder of the random value is used for the setting of w, a random value may be set as the function of the random value and the input value.
  • Further, as for the random value, a pattern may be prepared previously as a table, and a pattern reference address may be changed corresponding to the number (k) and the position (i, j) of the dot appearance pattern.
  • For example, as shown in FIG. 18, 4096 random patterns (0 to 4095) are prepared previously, and the pattern number to be referred corresponding to k of the dot appearance pattern is changed. Moreover, the starting position to be added to the initial dot appearance pattern (k=0) may be shifted for every pixel.
  • Furthermore, when the processing is performed with respect to a plurality of colors, it is preferable that the dot appearance pattern of the color, which has been already processed, is added to the histogram to be calculated in the processing for the second or later colors, with a predetermined weight. By doing so, it is possible to decrease the color heterogeneity or the roughness, by adjusting the correlation with the dot of other color.
  • Incidentally, in the case of the anti-correlation digital halftoning processing from a color image, the anti-correlation digital halftoning processing for generating the output image data for all the color is performed.
  • Further, in the above embodiment, the random value is added in the calculation of the histogram for deciding the dot appearance pattern of the observed pixel. However, there is also the method where the random value is added to the gradation value of the observed pixel of the multi-gradation image data, and thereby, the periodic structure easily generated by the specific input value is avoided, and consequently, the generation of the pseudo outline is prevented.
  • Hereinafter, the above method will be described.
  • FIG. 19 is a block diagram of the configuration of the method. In the random value addition block, the image data and the position of the image data are input. After the random value is generated, the data is output to the anti-correlation halftoning block.
  • Hereupon, as shown in the random value addition interior block diagram of FIG. 20, the random value is previously calculated by the 64×64 matrix, and stored in LUT (look-up-table). The address of the LUT is set by performing the calculation of i %64 and j %64 according to the positions of i and j. The pattern of the random value is set as the white noise characteristic.
  • Further, the amplitude of the random value is set as follows, according to the input value.
      • w(rand( ), Ini,j)=rand( )%11-5; in the case of Ini,j=127 or 128
      • w(rand( ), Ini,j)=rand( )%7-3; in the case of Ini,j=126 or 129
      • w(rand( ), Ini,j)=rand( )%3-1; in the case of Ini,j=125 or 130
      • w(rand( ), Ini,j)=0; in the case that Ini,j is in the range other than the above
  • Then, Imodi,j is set as Imodi,j=Ini,j+w(rand( ), Ini,j). The result of the processing is shown in FIG. 17C. It can be confirmed that the periodic structure is decreased albeit gradually, compared with the case of the randomization of the histogram.
  • Incidentally, the pattern of the random value is not limited to the white noise characteristic, and, for example, may be the blue noise characteristic.
  • Incidentally, in the anti-correlation halftoning block, the anti-correlation digital halftoning processing which is the same as the conventional one is performed.
  • According to the above method, it is also possible that the dispersibility in the vicinity of a middle level while the multi-value anti-correlation digital halftoning processing is improved. That is, in the portion described above, because the uniform level occupies 100%, the pseudo outline is sometimes generated caused by the difference of the image structure with the other portion. However, if the random value is added in the vicinity of the middle level, it is possible to avoid the uniform level and to improve the dispersibility.
  • As above, according to the image processing apparatus and the image processing method of the present embodiment, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the expectation value of the dot appearance in the neighboring pixel of the observed pixel, which is calculated for every element pixel number of the element composing the dot appearance information array with respect to the neighboring pixel. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Further, in the present embodiment, it is possible to adequately set the amount of correction for preventing the periodicity, according to the input gradation value, by setting and changing the random value according to the gradation value of the pixel. Consequently, it is possible to set the strength of the randomness corresponding to the degree of needs. Therefore it is possible to control the dot so as not to generate the periodic structure. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Moreover, in the present embodiment, it is possible to control the space frequency characteristic by setting and changing the random value according to the position of the pixel. Consequently, it is possible to control the dot so as not to generate the periodic structure, more certainly. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Furthermore, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, it is possible to control the dot so as not to generate the periodic structure by adding a random value to the gradation value of the observed pixel of the multi-gradation image data. Accordingly, it is possible to prevent the output image from the pseudo outline.
  • Moreover, when the multi-value anti-correlation digital halftoning method is applied, it is possible to prevent the pseudo outline in the vicinity of the quantization level.
  • Incidentally, the present invention is not limited to each of the above embodiments, and may be modified or changed design diversely without departing from the essence thereof.
  • For example, in the present embodiment, the input image is the monochrome image comprising the 8-bit grayscale. However, not limited to that, it is possible to use other input image of which gradation, resolution, color (monochrome or color) or the like are appropriate.
  • Further, in the present embodiment, the output image is the black-and-white output image to which the bilevel halftoning is performed. However, not limited to that, it is possible to use the output image comprising three or more output values including the color image.
  • Seventh Embodiment
  • Hereinafter, the seventh embodiment of the present invention will be described with reference to the drawings.
  • Incidentally, the seventh embodiment is given to accomplish particularly the third object, and corresponds to claims 49 to 60.
  • Further, the same note is provided to the same component as one of the above first embodiment.
  • First, the configuration of an image processing apparatus 1 related to the present embodiment will be explained.
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus 1 related to the present embodiment. As shown in FIG. 1, the image processing apparatus 1 comprises a processor 2 for quantizing an input multi-gradation image (original image) data to convert it into a pseudo halftone output image data, and outputting the output image data. Incidentally, the image processing apparatus 1 can be mounted in a known output apparatus such as a leaser printer, digital copier or the like. Further, in the present embodiment, the multi-gradation image data will be explained as data with regard to a monochrome image each of which pixel values comprises the 8-bit grayscale. Further, in the present embodiment, the 8-bit (256-gradation) multi-gradation image data is quantized to two levels (values) of white (non-recording) or black (dot recording) with respect to one pixel.
  • The processor (computer) 2 comprises a ROM (Read Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5.
  • The ROM 3 stores an image processing program related to the present invention. The image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • The RAM 4 includes work area for the CPU 5.
  • The CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4, and generates an output image from the multi-gradation image data.
  • Next, the image processing method related to the present invention will be described with reference to FIGS. 21A to 26E. Incidentally, in the following explanation, the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right. However, the processing direction after changing a row including a predetermined number of pixels, may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction. Preferably, the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • Further, as shown in FIG. 23, the case where after one dot is recorded, there is no effects for the generation of the next dot is defined as “status 1”, and the case where after one dot is recorded, the processing is performed so as to generate the next dot is defined as “status 2”.
  • FIGS. 21A and 21B are flowcharts showing the anti-correlation digital halftoning processing over time, executed by the processor 2 of the image processing apparatus 1 on the basis of the above image processing program in order to generate the output image data of the pixel in the coordinate of the 0th row and the 0th column.
  • As shown in FIGS. 21A and 21B, before the multi-gradation image data is input, the processor 2 previously determines a random valuable r (Step S301), similarly to the conventional Step T1.
  • After the multi-gradation image data is input, the processor 2 obtains a pixel value (input pixel value) g(0, 0) with regard to the pixel (observed pixel) in the 0th row and the 0th column among the multi-gradation image data. Then, the processor 2 specifies the generation probability of the dots in the status 1 and the status 2, on the basis of the above pixel value. Further, the processor 2 calculates the status 1 level value (status 1 gradation value) g1(0, 0) corresponding to the dot in the status 1, and the status 2 level value (status 2 gradation value) g2(0, 0) corresponding to the dot in the status 2. Incidentally, the pixel value g(0, 0) means the gradation value of the pixel in the 0th row and the 0th column. Further, hereupon, the summation of the generation probability of the status 1 and the status 2 is set to be 1, and the summation of the status 1 level value g1(0, 0) and the status 2 level value g2(0, 0) is set to be the value of the pixel value g(0, 0).
  • In the table of FIG. 24, the correspondence between the status 1 level value g1 and the status 2 level value g2 is shown. This correspondence is the same as the relation between the generation probability of the status 1 and the status 2 with respect to the input pixel value, and is decided so as to optimize the output image.
  • After the status 1 level value g1(0, 0) and the status 2 level value g2(0, 0) are calculated, the processor 2 generates the local filter P1 (Step S303) with respect to the status 1 dot of the pixel in the 0th row and the 0th column, on the basis of the status 1 level value g1(0, 0) and the basic filter KA shown in FIG. 25A, among the two filters of the basic filter KA (where all of the coefficients are positive numbers) shown in FIG. 25A and the basic filter KB (where the coefficient of the pixel just left side of the observed pixel is a negative number) shown in FIG. 25B. Because the detail procedures are the same as those of the conventional Step T3, the description thereof will be omitted.
  • After the local filter P1 is generated, the processor 2 calculates the histogram H1(0, 0)[k] of the status 1 level value g1(0, 0) in the 0th row and the 0th column (Step S304). Because the detail procedures are the same as those of the conventional Step T4, the description thereof will be omitted. Incidentally, in the present embodiment, “dot appearance pattern Ci,j[k]” is the sequence (dot appearance information array) composed of Ci,j[0] to Ci,j [n−1], each of which is 0, 1 or 2. If the dot appearance pattern Ci,j[k] is “1” when any value of 0 to (n−1) is assigned to the element k, the dot appearance pattern Ci,j[k] means that the dot of the status 1 is formed in the pixel in the i-th row and the j-th column. If the dot appearance pattern Ci,j[k] is “2”, it means that the dot of the status 2 is formed in the pixel in the i-th row and the j-th column. If the dot appearance pattern Ci,j[k] is “0”, it means that the dot is not formed.
  • Next, the processor 2 rearranges the histograms H1(0, 0)[0] to H1(0, 0)[n−1] of the status 1 level value g1(0, 0) calculated with respect to each element k, in ascending order. Then the processor 2 calculates the element number array S1[k] which represents the order of the histogram H1(0, 0)[k] (Step S305).
  • For example, the histograms H1(0, 0)[0] to H1(0, 0)[n−1] are rearranged in the order of “H1(0, 0)[8]<H1(0, 0)[3]<H1(0, 0)[4]<H1(0, 0)[1]<H1(0, 0)[5]< . . . <H1(0, 0)[n−1] ”, the element number array S1[k] is calculated as {8, 3, 4, 1, 5, . . . , (n−1)}. Incidentally, in the element number array S1[k], “8” is the 0th element and “3” is the 1st element.
  • After Step S305, the processor 2 provides “1 (status 1 dot recording)” or “0 (non-recording)” to the dot appearance pattern (dot appearance information array) C0,0[k′], similarly to the conventional Steps T6 to T12. Then, the processor 2 decides the appearance pattern of the status 1 dot among the dot appearance pattern C0,0[k] (Steps S306 to S312).
  • After the appearance pattern of the status 1 dot is decided, next, the processor 2 generates the local filter P2 (Step S313) with respect to the status 2 dot of the pixel in the 0th row and the 0th column, on the basis of the status 2 level value g2(0, 0) and the basic filter KA shown in FIG. 25A, among the two filters of the basic filter KA shown in FIG. 25A and the basic filter KB shown in FIG. 25B. Then, the processor 2 calculates the histogram H2(0, 0)[k] (Step S314). The detail procedures are the same as those of the above Steps S303 and S304.
  • Next, the processor 2 performs the same processing as the above Step S305, and calculates the element number array S2[k] of the histogram H2(0, 0)[k] calculated with respect to each of elements k (Step S315).
  • After the element number array S2[k] is calculated, the processor 2 sets the count value Count to 0 and sets the count value Count′ to 0 (Step S316). Further, the processor 2 assigns the value of the element S[Count], the order of which corresponds to the count value Count among the element number array S[k], to the element k′ of the element number array S2[k] (Step S317).
  • Then, the processor 2 judges whether or not “0” is set to the dot appearance pattern C0,0[k′] of the part of the element k corresponding to the element k′ (=0) (Step S318). When “0” is set to the dot appearance pattern C0,0[k′] by the processing of the above Step S310, the processor 2 changes “0”, which is set in the dot appearance pattern C0,0[k′] of the aforementioned part, into “2” (Step S319), and adds 1 to the count value Count′ 1 (Step S320).
  • On the other hand, when “1” is set to the dot appearance pattern C0,0[k′] of the part of the element k corresponding to the element k′ (=0) by the processing of the above Step S309, the processor 2 does not change “1”, which is set in the dot appearance pattern C0,0[k′] of the aforementioned part, and leaves it as it is.
  • That is, in the dot appearance pattern C0,0[k], the processor 2 set “2” which means the status 2 dot, while avoiding the part where “1” which means the status 1 dot is already set.
  • After the above processing is ended, the processor 2 adds 1 to the count value Count (Step S321). Then the processor 2 compares the relation between the count value Count′ (=1) and (status 2 level value g2(0, 0)−1) (Step S322). The processor 2 repeatedly perform the processing from Step S317 to Step S321 until the count value Count′ exceeds (status 2 level value g2(0, 0)−1). Thereby, the processor 2 decides the appearance pattern of the status 2 dot among the dot appearance patterns C0,0[k]. Then when the appearance pattern of the status 2 dot is decided, according to that, the dot appearance pattern C0,0[k] is decided.
  • Incidentally, in order to decide the appearance pattern of the status 2 dot, the processor 2 should repeatedly perform the processing from Step S317 to Step S321 until the count value Count′ exceeds (status 2 level value g2(0, 0)−1), and it is not necessary to repeat the processing until the element number k is (n−1) as the processing for the status 1 dot. This is because the part where “2” is not set to the dot appearance pattern C0,0[k] is set to “1” or “0” in the above processing for the status 1 dot. Thereby, there is the advantage that it is not necessary to perform excessive processing.
  • After the dot appearance pattern C0,0[k] is decided, the processor 2 calculates C0,0[r], the index of which is the random variable determined in the above Step S1, as the output value b′0,0 of the pixel in the 0th row and the 0th column, among the dot appearance patterns C0,0[k] (Step S323).
  • Then, the processor 2 judges whether the output value b′0,0 is “0” (Step S324). When the value b′0,0 is “0”, the output b0,0 is “0”, that is, non-recording (white) is decided. When the value b′0,0 is “1” or “2”, the output b0,0 is “1”, that is, recording black is decided (Step S326).
  • After that, the processing for the next pixel is performed.
  • FIGS. 22A and 22B are flowcharts showing the anti-correlation digital halftoning processing over time, executed by the processor 2 of the image processing apparatus 1, in order to generate the output image data of the pixels in the coordinates other than the coordinate of the i-th row and the j-th column.
  • As shown in FIGS. 22A and 22B, first, the processor 2 obtains the pixel value (input pixel value) g(i, j) with regard to the pixel (observed pixel) in the i-th row and the j-th column among the multi-gradation image data. Then, the processor 2 specifies the generation probability of the dots in the status 1 and the status 2, on the basis of the above pixel value. Further, the processor 2 calculates the status 1 level value (status 1 gradation value) g1(i, j) corresponding to the dot in the status 1, and the status 2 level value (status 2 gradation value) g2(i, j) corresponding to the dot in the status 2. Incidentally, the pixel value g(i, j) means the gradation value of the pixel in the 0th row and the 0th column, and is any value in the range of 0 to n (n=255) in the present embodiment. Further, hereupon, the summation of the generation probability of the status 1 and the status 2 is set to be 1, and the summation of the status 1 level value g1(i, j) and the status 2 level value g2(i, j) is set to be the value of the pixel value g(i, j).
  • In the table of FIG. 24, the correspondence between the status 1 level value g1 and the status 2 level value g2 is shown. This correspondence is the same as the relation between the generation probability of the status 1 and the status 2 with respect to the input pixel value, and is decided so as to optimize the output image.
  • After the status 1 level value g1(i, j) and the status 2 level value g2(i, j) are calculated, the processor 2 generates the local filter P1 (Step S332) with respect to the status 1 of the pixel in the i-th row and the j-th column, on the basis of the status 1 level value g1(i, j) and the basic filter KA shown in FIG. 25A, among the two filters of the basic filter KA (where all of the coefficients are positive numbers) shown in FIG. 25A and the basic filter KB (where the coefficient of the pixel just left side of the observed pixel is a negative number) shown in FIG. 25B. Because the detail procedures are the same as those of the conventional Step T3, the description thereof will be omitted.
  • After the local filter P− is generated, the processor 2 calculates the histogram H1(i, j)[k] of the status 1 level value g1(i, j) in the i-th row and the j-th column (Step S333). Because the detail procedures are the same as those of the conventional Step T4, the description thereof will be omitted. Incidentally, in the present embodiment, “dot appearance pattern Ci,j[k]” is the sequence (dot appearance information array) composed of Ci,j[0] to Ci,j [n−1], each of which is 0, 1 or 2. If the dot appearance pattern Ci,j[k] is “1” when any value of 0 to (n−1) is assigned to the element k, the dot appearance pattern Ci,j[k] means that the dot of the status 1 is formed in the pixel in the i-th row and the j-th column. If the dot appearance pattern Ci,j[k] is “2”, it means that the dot of the status 2 is formed in the pixel in the i-th row and the j-th column. If the dot appearance pattern Ci,j[k] is “0”, it means that the dot is not formed.
  • Next, the processor 2 rearranges the histograms H1(i, j)[0] to H1(i, j)[n−1] of the status 1 level value g1(i, j) calculated with respect to each element k, in ascending order. Then the processor 2 calculates the element number array S1[k] which represents the order of the histogram H1(i, j)[k] (Step S334).
  • For example, the histograms H1(i, j)[0] to H1(i, j)[n−1] are rearranged in the order of “H1(i, j)[8]<H1(i, j)[3]<H1(i, j)[4]<H1(i, j)[1]<H1(i, j)[5]< . . . <H1(i, j)[n−1] ”, the element number array S1[k] is calculated as {8, 3, 4, 1, 5, . . . , (n−1)}. Incidentally, in the element number array S1[k], “8” is the 0th element and “3” is the 1st element.
  • After Step S334, the processor 2 provides “1 (status 1 dot recording)” or “0 (non-recording)” to the dot appearance pattern (dot appearance information array) Ci,j[k′], similarly to the conventional Steps T6 to T12. Then, the processor 2 decides the appearance pattern of the status 1 dot among the dot appearance pattern Ci,j[k] (Steps S335 to S341).
  • After the appearance pattern of the status 1 dot is decided, next, the processor 2 decides the appearance pattern of the status 2 dot.
  • First, the processor 2 judges whether or not the output value b′i,j-1 of the observed pixel processed just before the current observed pixel, that is, the pixel in the i-th row and the (j−1)-th column is “2 (that is, forming the status 2 dot)”, and additionally, the coordinate (i, j−1) of the observed pixel processed just before the current observed pixel is an isolated point (Step S342).
  • Hereupon, when b′i,j-1 is “2” and (i, j−1) is the isolated point, the processor 2 generates the local filter P2 (Step S344) with respect to the status 2 dot of the pixel in the i-th row and the j-th column, on the basis of the status 2 level value g2(i, j) and the basic filter KB shown in FIG. 25B of the two basic filter KA shown in FIG. 25A and KB shown in FIG. 25B. In the basic filter KB, the coefficient of the pixel just left side of the observed pixel is a negative number (“−64” in the present embodiment). When the local filter is generated and the dot appearance pattern is formed by using the basic filter KB, the negative number effects to the pixel number defined as non-recording in the dot appearance pattern of the observed pixel processed just before the current observed pixel. Accordingly, the expectation value of the histogram becomes small value, and the pixel number of the dot recording is provided in the observed pixel processed just before the current observed pixel, in ascending order of the element number array S2[k]. Thereby, the possibility that the aforementioned pixel number is provided with “2” becomes higher, and the possibility that the continuous dots are formed becomes higher. Hereupon, if the generation probability of the status 1 and the status 2 are changed, it is possible to change the rate for forming the continuous dots. Further, it is possible to specify the shape of systematic dot arrangement.
  • On the other hand, in at least one of the case where b′i,j is not “2” but “0” or “1”, or the case where (i, j) is not the isolated point, the processor 2 generates the local filter P2 (Step S343) with respect to the status 2 dot of the pixel in the i-th row and the j-th column, on the basis of the status 2 level value g2(i, j) and the basic filter KA shown in FIG. 25A, among the two filters of the basic filter KA shown in FIG. 25A and the basic filter KB shown in FIG. 25B.
  • Then, the processor 2 calculates the histogram H2(i, j)[k] based on the local filter(Step S345). The detail procedures are the same as those of the above Steps S332 and S333.
  • Next, the processor 2 performs the same processing as the above Step S334, and calculates the element number array S2[k] of the histogram H2(i, j)[k] calculated with respect to each of elements k (Step S346).
  • After the element number array S2[k] is calculated, the processor 2 sets the count value Count to 0 and sets the count value Count′ to 0 (Step S347). Further, the processor 2 assigns the value of the element S[Count], the order of which corresponds to the count value Count among the element number array S[k], to the element k′ of the element number array S2[k] (Step S348).
  • Then, the processor 2 judges whether or not “0” is set to the dot appearance pattern Ci,j[k′] of the part of the element k corresponding to the element k′ (=0) (Step S349). When “0” is set to the dot appearance pattern Ci,j[k′] by the processing of the above Step S339, the processor 2 changes “0”, which is set in the dot appearance pattern Ci,j[k′] of the aforementioned part, into “2” (Step S350), and adds 1 to the count value Count′ 1 (Step S351).
  • On the other hand, when “1” is set to the dot appearance pattern Ci,j[k′] of the part of the element k corresponding to the element k′ (=0) by the processing of the above Step S338, the processor 2 does not change “1”, which is set in the dot appearance pattern Ci,j[k′] of the aforementioned part, and leaves it as it is.
  • That is, in the dot appearance pattern Ci,j[k], the processor 2 set “2” which means the status 2 dot, while avoiding the part where “1” which means the status 1 dot is already set.
  • After the above processing is ended, the processor 2 adds 1 to the count value Count (Step S352). Then the processor 2 compares the relation between the count value Count′ (=1) and (status 2 level value g2(i, j)−1) (Step S353). The processor 2 repeatedly perform the processing from Step S348 to Step S352 until the count value Count′ exceeds (status 2 level value g2(i, j)−1). Thereby, the processor 2 decides the appearance pattern of the status 2 dot among the dot appearance patterns Ci,j[k]. Then when the appearance pattern of the status 2 dot is decided, according to that, the dot appearance pattern Ci,j[k] is decided.
  • Incidentally, in order to decide the appearance pattern of the status 2 dot, the processor 2 should repeatedly perform the processing from Step S348 to Step S352 until the count value Count′ exceeds (status 2 level value g2(i, j)−1), and it is not necessary to repeat the processing until the element number k is (n−1) as the processing for the status 1 dot. This is because the part where “2” is not set to the dot appearance pattern Ci,j[k] is set to “1” or “0” in the above processing for the status 1 dot. Thereby, there is the advantage that it is not necessary to perform excessive processing.
  • After the dot appearance pattern Ci,j[k] is decided, the processor 2 calculates Ci,j[r], the index of which is the random variable determined in the above Step S301, as the output value b′i,j of the pixel in the i-th row and the j-th column, among the dot appearance patterns Ci,j[k] (Step S354).
  • Then, the processor 2 judges whether the output value b′i,j is “0” (Step S355). When the value b′i,j is “0”, the output bi,j is “0”, that is, non-recording (white) is decided. When the value b′i,j is “1” or “2”, the output bi,j is “1”, that is, recording black is decided (Step S357).
  • After that, the same processing is performed to the next pixel. Finally, the above processing is performed to all the pixels, and accordingly, the output image data is calculated. Thereby, when one pixel is focused, the dot appearance frequency is proportional to the pixel value gi,j thereof. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • Further, it is possible to specify the generation probability of the status 1 and the status 2, and to control the amount of the generation of the different dot arrangements, in the highlight part of the image. Thereby, it is possible to improve the dispersibility of the status 1 and the status 2 in the halftoning processing where the anti-correlation digital halftoning is used. Moreover, it is possible to generate the specified dot arrangement by setting the coefficient of the local filter to be negative number.
  • Examples of the output images based on the above image processing method are shown in FIGS. 26A to 26E. FIGS. 26A to 26E show five results of the processing with respect to the patches where the pixel value is 32 and the generation probability of the status 1 and the status 2 are different respectively.
  • That is, in FIG. 26A, the generation probability of the status 1 is 0% and that of the status 2 is 100%. Then, the generation probability of the status 1 is increased and that of the status 2 is decreased, in order of FIGS. 26B, 26C, and 26D. In FIG. 26E, the generation probability of the status 1 is 100% and that of the status 2 is 0%.
  • Further, as described above, as the generation probability of the status 1 becomes higher and that of the status 2 becomes lower as in the order of FIGS. 26A, 26B, 26C, 26D, and 26E, the isolated dots in the image are increased. That is, by the present invention, it is proved that the systematic dot arrangement in the output image can be controlled.
  • According to the image processing apparatus of the present invention, in the dot arrangement in the processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, the shape of the systematic dot arrangement is specified in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image.
  • Further, in the present embodiment, the shape of the systematic dot arrangement is specified by specifying the generation probability of the dot arrangement in the highlight part of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, certainly.
  • Moreover, in the present embodiment, the value representing the different dot arrangement is set in the same dot appearance information array, after the local filter is decided for every value corresponding to the generation probability of the different dot arrangement to calculate the element number array according to the local filter, in the observed pixel of the multi-gradation image data. Therefore, it is possible to obtain the resolution faithful to the original image, more certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, more certainly.
  • Furthermore, in the present embodiment, the value representing the dot arrangement is set while avoiding the element number where the value representing other dot arrangement is set. Therefore, it is possible to obtain the resolution faithful to the original image, further certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, further certainly.
  • Further, in the present embodiment, the output status of the observed pixel is judged according to the status of the pixel which is already processed and the specified dot arrangement. Therefore, it is possible to obtain the resolution faithful to the original image, furthermore certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, furthermore certainly.
  • Moreover, in the present embodiment, the shape of the dot arrangement is specified by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously. Therefore, it is possible to obtain the resolution faithful to the original image, much further certainly. At the same time, it is possible to generate the specified systematic dot arrangement to improve the dispersibility between the different dot arrangements, and obtain the stable effect of the processing having less dependence on the image, much further certainly.
  • Incidentally, the present invention is not limited to each of the embodiments, and may be modified or changed design diversely without departing from the essence thereof.
  • For example, in the present embodiment, after the dot of the status 1 is decided, the dot of the status 2 is decided. However, not limited to that, corresponding to the diversity of the processing, for example, after the dot of the status 2 is decided, the dot of the status 1 may be decided.
  • Further, in the present embodiment, the two kinds of dot generation status such as the status 1 and the status 2 are defined. However, not limited to that, corresponding to the diversity of the dot arrangements, for example, another dot generation status such as the generation status of three or more continuous dots may be defined. Moreover, the dot continuous direction is not limited to the horizontal direction, and may be the vertical direction or the oblique direction.
  • Further, in the present embodiment, the input image is the monochrome image comprising the 8-bit grayscale. However, not limited to that, corresponding to the diversity of the images, it is possible to use other input image of which gradation, resolution, color (monochrome or color) or the like are appropriate.
  • Moreover, in the present embodiment, the output image is the black-and-white output image to which the bilevel halftoning is performed. However, not limited to that, it is possible to use the output image comprising three or more output values including the color image.
  • Eighth Embodiment
  • Hereinafter, the eighth embodiment of the present invention will be described with reference to the drawings.
  • Incidentally, the eighth embodiment is given to accomplish particularly the fourth object, and corresponds to claims 61 and 62.
  • Further, the same note is provided to the same component as one of the above first embodiment.
  • First, the configuration of an image processing apparatus 1 related to the present invention will be explained.
  • FIG. 1 is a block diagram showing a schematic configuration of the image processing apparatus 1 related to the present embodiment. As shown in FIG. 1, the image processing apparatus 1 comprises a processor 2 for quantizing input multi-gradation image (original image) data to covert into a pseudo halftone output image data, and outputting the output image data. Incidentally, the image processing apparatus 1 can be mounted in a known output apparatus such as an inkjet printer or the like. Further, in the present embodiment, the multi-gradation image data will be explained as data with regard to a CM color image of which each pixel value comprises 8-bit grayscale. Further, in the present embodiment, the 8-bit (256-gradation) multi-gradation image is quantized to three levels (values) of white (non-recording), cyan (cyan dot recording) and magenta (magenta dot recording), with respect to one pixel.
  • The processor (computer) 2 comprises a ROM (Read Only Memory) 3 connected each other, a RAM (Random Access Memory) 4 and a CPU (Central Processing Unit) 5.
  • The ROM 3 stores an image processing program related to the present invention. The image processing program is for making the processor 2 execute the anti-correlation digital halftoning processing to the multi-gradation image data.
  • The RAM 4 includes work area for the CPU 5.
  • The CPU 5 develops the image processing program stored in the ROM 3 to the work area in the RAM 4, and generates an output image from the multi-gradation image data.
  • Next, the image processing method related to the present invention will be described with reference to FIG. 27. Incidentally, in the following explanation, the image processing apparatus 1 executes the processing with switching the observed pixel in the direction from left to right. However, the processing direction after changing a row including a predetermined number of pixels, may be the also direction from left to right, may be the direction from right to left contrary, or may be selected at random between the left direction and the right direction. Preferably, the image processing apparatus 1 reverses the processing direction for every row or a plurality of rows so as to execute the processing in the snaking order as a whole.
  • FIG. 27 is a flowchart showing the anti-correlation digital halftoning processing executed which the processor 2 of the image processing apparatus 1 executes on the basis of the image processing program in order to generate the output image data of any one color of cyan and magenta (the first color output image data).
  • As shown in FIG. 27, before the multi-gradation image data is input, the processor 2 previously determines a random valuable r (Step S401), similarly to the conventional Step T1.
  • After the multi-gradation image data is input, the processor 2 obtains a pixel value gi,j with regard to the pixel (observed pixel) in the i-th row and the j-th column among the multi-gradation image data (Step S402). Then, the processor 2 generates a local filter P of the pixel in the i-th row and the j-th column on the basis of the pixel value gi,j (Step S403), similarly to the conventional Step T3.
  • After the local filter P is generated, the processor 2 calculates a histogram Hi,j[k] of the pixel in the i-th row and the j-th column (Step S404), similarly to the conventional Step T4.
  • Next, the processor 2 rearranges the histograms Hi,j[0] to Hi,j[n−1] calculated for each element k in ascending order, and calculates an element number array S[k] representing the order of the histogram Hi,j[k] (Step S405).
  • For example, the histograms Hi,j[0] to Hi,j[n−1] are rearranged in the order of “Hi,j[8]<Hi,j[3]<Hi,j[4]<Hi,j[1]<Hi,j[5]< . . . <Hi,j[n−1]”, the element number array S[k] is calculated as {8, 3, 4, 1, 5, . . . , (n−1)}. Incidentally, in the element number array S[k], “8” is the 0th element and “3” is the 1st element.
  • After Step S405, the processor 2 decides a dot appearance pattern (dot appearance information array) Ci,j[k], and calculates output values b with respect to all elements, that is, the output image data (Steps S406 to S414), similarly to the conventional Steps T6 to T14. Thereby, when one pixel is focused, dot appearance frequency is proportional to the pixel value gi,j thereof. Further, when a plurality of pixels adjacent each other are focused, the dot in each of pixels appears so as to maximize the anti-correlation with the neighboring pixels substantially. Therefore, the dispersibility of the dots formed on a recording medium while an image recording is improved.
  • If it is judged that the first color output image data is calculated, the processor 2 executes the anti-correlation digital halftoning processing to generate the other color output image data (second color output image data), similarly to the case of the fist color output image data.
  • Hereinafter, the method where the dots of two colors are arranged on the dot appearance pattern will be explained with the concrete example.
  • Hereupon, an input image is a CM color image. Further, the input image is quantized to two levels. That is, with respect to one pixel, any of white (non-recording), C (cyan dot recording), M (magenta dot recording), or B (blue dot recording) generated when the C dot and the M dot are overlapped each other, is output after the halftoning.
  • First, an explanation will be given to the following case; that is, the case where the dot of which occupancy rate per unit area is low (low occupancy rate dot) is arranged after the dot of which occupancy rate per unit area is high (high occupancy rate dot) is arranged to the dot appearance information array (dot appearance pattern), when there are two or more dots of which occupancy rates per unit area are different from each other and the summation of the occupancy rates is not more than 100% in the input gradation signal (multi-gradation image data), in using the anti-correlation digital halftoning method.
  • As an example, in the observed pixels g1 and g2 shown in FIG. 28A, each of dots is represented by “C” or “M” according to the difference thereof, the occupancy rate per unit area of the C dot is 80%, the occupancy rate per unit area of the M dot is 10%, and the element number to be used when the output image is output is 0.
  • When the output of g1 is 0, the element number 0 of g1 is non-recording. Accordingly, the whole arrangement of the element number array can be assumed as FIG. 28B. That is, the non-recording is set on the element number 0 side (left side) with the 10% occupancy rate, the C dots are arranged next to the non-recording with the 80% occupancy rate, and the M dots are arranged next to the C dots with the 10% occupancy rate.
  • Next, when the arrangement of g2 is decided, the occupancy rates per unit area of the C dot and the M dot are compared each other. In this example, because the occupancy rate of the C dot is higher, the arrangement of the C dot is performed first. Then, when the arrangement of the C dot is performed, there is a high possibility that the C dots are arranged in the element numbers of the non-recording of g1 by the anti-correlation digital halftoning. Therefore, the arrangement is given as FIG. 28C. That is, the C dots of the 10% occupancy rate part among the 80% occupancy rate are arranged in the 10% occupancy rate part on the element number 0 side (that is, the left side) where the arrangement of g1 is set as non-recording. Then, the C dots of another 10% occupancy rate part among the remaining 70% occupancy rate are arranged in the element numbers other than those where the C dots have been arranged for the arrangement of g1 as much as possible. Therefore the C dots of another 10% occupancy rate part among the remaining 70% occupancy rate are arranged in the 10% occupancy rate part on the right side where the element numbers are large and the M dots have been arranged for the arrangement of g1. Then, the C dots of the further remaining 60% occupancy rate part are arranged in the element numbers where the C dots have been arranged for the arrangement of g1. After that, the M dots are arranged in the 10% occupancy rate part among the vacant part (that is, the 20% occupancy rate part where the C dots have been arranged for the arrangement of g1). Accordingly, the other 10% occupancy rate part is set as non-recording. Thereby, the output of g2 is decided as C.
  • Hereupon, the occupancy rate per unit area of the C dots is as high as 80% and the probability of appearance of the M dots and the non-recording are low. Therefore, there is highly probability of the dot appearance as follows: that is, only the C dots appear for a while; then, after only the C dots appear for a while, the M dot appears; furthermore, after only the C dots appear for a while again, the non-recording appears. Seen on a screen, the M dots and the non-recording appear dispersively on the background of C dots as shown in FIG. 28D.
  • That is, it is possible that the continuous appearance of the non-recording and the low occupancy rate dot is prevented, when there are two or more dots of which occupancy rates per unit area are different from each other and the summation of the occupancy rates is not more than 100% in the input gradation signal (multi-gradation image data), in using the anti-correlation digital halftoning method.
  • Next, an explanation will be given to the following case; that is, the case where the dot of which occupancy rate per unit area is high (high occupancy rate dot) is arranged after the dot of which occupancy rate per unit area is low (low occupancy rate dot) is arranged to the dot appearance information array (dot appearance pattern), when there are two or more dots of which occupancy rates per unit area are different from each other and the summation of the occupancy rates is more than 100% in the input gradation signal (multi-gradation image data), in using the anti-correlation digital halftoning method.
  • As an example, in the observed pixels g1 and g2 shown in FIG. 29A, each of dots is represented by “C” or “M” according to the difference thereof, the occupancy rate per unit area of the C dot is 10%, the occupancy rate per unit area of the M dot is 95%, and the element number to be used when the output image is output is 0.
  • When the output of g1 is B (blue dot recording), that is, the C dot and the M dot are overlapped each other, the element number 0 of g1 is B. Accordingly, the whole arrangement of the element number array can be assumed as FIG. 29B. That is, the M dots are arranged on the element number 0 side (left side) with the 90% occupancy rate, the C dots of the 5% occupancy rate part among the 10% occupancy rate are arranged in the vacant part next to the M dots, and the other C dots of the 5% occupancy rate part are arranged on the element number 0 side (left side) while being overlapped with the M dots. Accordingly, as a result, in the 5% occupancy rate of the element number 0 side (left side), the B dots resulted from the overlapping of the C dots and the M dots are arranged.
  • Next, when the arrangement of g2 is decided, the occupancy rates per unit area of the C dot and the M dot are compared each other. In this example, because the occupancy rate of the C dot is lower, the arrangement of the C dot is performed first. Then, when the arrangement of the C dot is performed, there is a high possibility that the C dots are arranged in the element numbers other than those where the B dots resulted from the overlapping of the C dots and the M dots are arranged by the anti-correlation digital halftoning. Therefore, the arrangement is given as FIG. 29C. That is, the C dots are applied in the 10% occupancy rate part next to the 5% occupancy rate part on the element number 0 side where the B dots have been arranged for the arrangement of g1. Then, the M dots are arranged in the element numbers other than those where the C dots have been arranged as much as possible. Therefore the M dots are arranged in the 5% occupancy rate part on the element number 0 side and the 90% occupancy rate part on the right side of which element number is large. As a result, the B dots are arranged in the 5% occupancy rate part where the M dots and C dots are overlapped each other. Thereby, the output of g2 is decided as M.
  • Hereupon, the occupancy rate per unit area of the M dots is as high as 95% and the probability of appearance of the C dots and the B dots are low. Therefore, there is highly probability of the dot appearance as follows: that is, only the M dots appear for a while; then, after only the M dots appear for a while, the C dot appears; furthermore, after only the M dots appear for a while again, the B dot appears. Seen on a screen, the M dots and the non-recording appear dispersively on the background of M dots as shown in FIG. 29D.
  • That is, it is possible that the continuous appearance of the overlapped dot and the low occupancy rate dot is prevented, when there are two or more dots of which occupancy rates per unit area are different from each other and the summation of the occupancy rates is more than 100% in the input gradation signal (multi-gradation image data), in using the anti-correlation digital halftoning method.
  • Incidentally, when there are two or more dots of which occupancy rates per unit area are the same as each other in the input gradation signal (multi-gradation image data) in using the anti-correlation digital halftoning method, the order of the arrangement of the dots to the dot appearance information array (dot appearance pattern) may be decided by an appropriate method.
  • For example, when each of different dots is respectively represented by C and M, the case where each of the occupancy rates per unit area of the C dots and the M dots is 40%, or the case where each of the occupancy rates per unit area of the C dots and the M dots is 60%, can be cited. In these case, the order of the arrangement may be decided by an appropriate method such as the method for deciding at random by using random valuables, the method for previously preparing arrangement patterns to apply the patterns in order, or the like.
  • By doing as above, the diversity of the processing can be managed.
  • As above, according to the image processing apparatus and the image processing, in the image processing for quantizing the multi-gradation image data to convert it into pseudo halftone output image data, the arrangement of the dot of which the occupancy rate per unit area is low is performed, after performing
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, in the case where there are two or more kinds of the dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
      • the arrangement of the dot of which the occupancy rate per unit area is high is performed, after performing the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data. Accordingly, it is possible to obtain the favorable dot dispersibility, regardless of the occupancy rate per unit area of each of dots. Thereby, it is possible to perform the favorable image processing.
  • Incidentally, the present invention is not limited to each of the above embodiments, and may be modified or changed design diversely without departing from the essence thereof.
  • For example, in the present embodiment, the present invention is applied to the dots of the different colors. However, not limited to that, corresponding to the diversity of the processing, for example, the present invention may be applied to the grayscale dots of the same color.
  • Further, in the present embodiment, the input image is the color image comprising only color of C and M. However, not limited to that, it is possible to use other input image of which gradation, resolution, color (monochrome or color) or the like are appropriate.
  • Further, in the present embodiment, the output image comprises two kinds of dots of C and M. However, not limited to that, it is possible to apply the present embodiment to the output image comprising three or more various output values, corresponding to the diversity of the ink.
  • No. Tokugan 2003-200460 filed on Jul. 23, 2003, No. Tokugan 2003-292120 filed on Aug. 12, 2003, No. Tokugan 2003-304549 filed on August 28 and No. Tokugan 2003-379682 filed on Nov. 10, 2004 including specification, claims, drawings and summary are incorporated herein by reference in its entirety.

Claims (62)

1. An image processing apparatus comprising a processor for performing:
a first quantization for deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data with regard to a first color of a plurality of colors different from each other; and
a second quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel of multi-gradation image data with regard to a second color other than the first color of the plurality of colors different from each other, after the first quantization is performed,
when the multi-gradation image data with regard to each of the plurality of colors different from each other are quantized and converted into pseudo halftone output image data.
2. The image processing apparatus of claim 1, wherein an anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, is substantially the highest.
3. The image processing apparatus of claim 1, wherein the processor decides the dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
4. The image processing apparatus of claim 1, wherein the processor performs a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel of the multi-gradation image data with regard to a third color other than the first color and the second color of the plurality of colors, after the second quantization is performed.
5. The image processing apparatus of claim 1, wherein lightness of the first color is lower than lightness of the second color.
6. The image processing apparatus of claim 1, wherein the first color is blue and the second color is red or green.
7. The image processing apparatus of claim 1, wherein the first color is black and the second color is magenta or cyan.
8. The image processing apparatus of claim 1, wherein the processor calculates an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel, and adds a random value to the calculated expectation value.
9. The image processing apparatus of claim 1, wherein the processor performs the quantization for deciding the dot appearance information array so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
10. The image processing apparatus of claim 1, wherein the processor controls
performing an arrangement of a dot of which an occupancy rate per unit area is low, after performing an arrangement of a dot of which the occupancy rate per unit area is high, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
performing the arrangement of the dot of which the occupancy rate per unit area is high, after performing the arrangement of the dot of which the occupancy rate per unit area is low, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data.
11. An image processing method comprising:
performing a first quantization for deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data with regard to a first color of a plurality of colors different from each other; and
performing a second quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel of multi-gradation image data with regard to a second color other than the first color of the plurality of colors different from each other, after the first quantization is performed,
when the multi-gradation image data with regard to each of the plurality of colors different from each other are quantized and converted into pseudo halftone output image data.
12. The image processing method of claim 11, wherein the dot appearance information array with respect to the observed pixel is decided so as to make an anti-correlation with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization.
13. The image processing method of claim 11, wherein the dot appearance information array is decided so as to make an anti-correlation with the dot appearance information array previously decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
14. The image processing method of claim 11, further comprising performing a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, to be high, with respect to the observed pixel of the multi-gradation image data with regard to a third color other than the first color and the second color of the plurality of colors, after the second quantization is performed.
15. The image processing method of claim 11, wherein a color of which lightness is lower than lightness of the second color is selected as the first color, in the first quantization.
16. The image processing method of claim 11, wherein blue is selected as the first color, and red or green is selected as the second color.
17. The image processing method of claim 11, wherein black is selected as the first color, and magenta or cyan is selected as the second color.
18. The image processing method of claim 11, wherein
an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel is calculated for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel; and
a random value is added to the calculated expectation value.
19. The image processing method of claim 11, wherein the quantization for deciding the dot appearance information array is performed so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
20. The image processing method of claim 11, wherein
an arrangement of a dot of which an occupancy rate per unit area is low is performed, after an arrangement of a dot of which the occupancy rate per unit area is high is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
the arrangement of the dot of which the occupancy rate per unit area is high is performed, after the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data.
21. An image processing apparatus comprising a processor for performing:
a first quantization for deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data with regard to a first density of a plurality of densities different from each other; and
a second quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel of multi-gradation image data with regard to a second density other than the first density of the plurality of densities different from each other, after the first quantization is performed,
When multi-gradation black-and-white image data are resolved into the multi-gradation image data comprising the plurality of densities different from each other, and then, quantized and converted into pseudo halftone output image data.
22. The image processing apparatus of claim 21, wherein an anti-correlation of the dot appearance information array with respect to the observed pixel, which is decided by the first quantization, with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed is substantially the highest.
23. The image processing apparatus of claim 21, wherein the processor decides the dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
24. The image processing apparatus of claim 21, wherein the processor performs a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization, with respect to the observed pixel of the multi-gradation image data with regard to a third density other than the first density and the second density of the plurality of densities, after the second quantization is performed.
25. The image processing apparatus of claim 21, wherein lightness of the first density is lower than lightness of the second density.
26. The image processing apparatus of claim 21, wherein the processor calculates an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel, and adds a random value to the calculated expectation value.
27. The image processing apparatus of claim 21, wherein the processor performs the quantization for deciding the dot appearance information array so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
28. The image processing apparatus of claim 21, wherein the processor controls
performing an arrangement of a dot of which an occupancy rate per unit area is low, after performing an arrangement of a dot of which the occupancy rate per unit area is high, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
performing the arrangement of the dot of which the occupancy rate per unit area is high, after performing the arrangement of the dot of which the occupancy rate per unit area is low, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data.
29. An image processing method comprising:
performing a first quantization for deciding a dot appearance information array with respect to an observed pixel of multi-gradation image data with regard to a first density of a plurality of densities different from each other; and
performing a second quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information array decided by the first quantization to be high, with respect to the observed pixel of multi-gradation image data with regard to a second density other than the first density of the plurality of densities different from each other, after the first quantization is performed,
When multi-gradation black-and-white image data are resolved into the multi-gradation image data comprising the plurality of densities different from each other, and then, quantized and converted into pseudo halftone output image data.
30. The image processing method of claim 29, wherein the dot appearance information array with respect to the observed pixel is decided so as to make an anti-correlation with a dot appearance information array with respect to a neighboring pixel of the observed pixel, to which the first quantization is already performed, to be substantially the highest, in the first quantization.
31. The image processing method of claim 29, wherein the dot appearance information array is decided so as to make an anti-correlation with the dot appearance information array previously decided by the first quantization, to which a predetermined weighting is performed, to be high, in the second quantization.
32. The image processing method of claim 29, further comprising performing a third quantization for deciding a dot appearance information array so as to make an anti-correlation with the dot appearance information decided by at least one of the first quantization and the second quantization to be high, with respect to the observed pixel of the multi-gradation image data with regard to a third density other than the first density and the second density of the plurality of densities, after the second quantization is performed.
33. The image processing method of claim 29, wherein a density of which lightness is lower than lightness of the second density is selected as the first density, in the first quantization.
34. The image processing method of claim 29, wherein
an expectation value of an appearance of a dot in a neighboring pixel of the observed pixel is calculated for every element number of an element composing the dot appearance information array with respect to the neighboring pixel of the observed pixel; and
a random value is added to the calculated expectation value.
35. The image processing method of claim 29, wherein the quantization for deciding the dot appearance information array is performed so as to make the anti-correlation with the dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel.
36. The image processing method of claim 29, wherein
an arrangement of a dot of which an occupancy rate per unit area is low is performed, after an arrangement of a dot of which the occupancy rate per unit area is high is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
the arrangement of the dot of which the occupancy rate per unit area is high is performed, after the arrangement of the dot of which the occupancy rate per unit area is low is performed, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data.
37. An image processing apparatus comprising a processor for:
calculating an expectation value of an appearance of a dot in a neighboring pixel, to which a quantization is already performed, of the observed pixel of multi-gradation image data, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel; and
adding a random value to the calculated expectation value,
when the quantization for deciding the dot appearance information array is performed so as to make an anti-correlation with the dot appearance information array with respect to the neighboring pixel to be high,
in a case that the multi-gradation image data are quantized and converted into pseudo halftone output image data.
38. The image processing apparatus of claim 37, wherein the processor sets and changes the random value according to a gradation value of each pixel.
39. The image processing apparatus of claim 37, wherein the processor sets and changes the random value according to a position of each pixel.
40. An image processing apparatus comprising a processor for performing a quantization for deciding a dot appearance information array so as to make an anti-correlation with a dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel,
in a case that the multi-gradation image data are quantized and converted into pseudo halftone output image data.
41. The image processing apparatus of claim 40, wherein the processor sets and changes the random value according to a gradation value of each pixel.
42. The image processing apparatus of claim 40, wherein the processor sets and changes the random value according to a position of each pixel.
43. An image processing method comprising:
calculating an expectation value of an appearance of a dot in a neighboring pixel, to which a quantization is already performed, of the observed pixel of multi-gradation image data, for every element number of an element composing the dot appearance information array with respect to the neighboring pixel; and
adding a random value to the calculated expectation value,
when the quantization for deciding the dot appearance information array is performed so as to make an anti-correlation with the dot appearance information array with respect to the neighboring pixel to be high,
in a case that the multi-gradation image data are quantized and converted into pseudo halftone output image data.
44. The image processing method of claim 43, wherein the random value is set and changed according to a gradation value of each pixel.
45. The image processing method of claim 43, wherein the random value is set and changed according to a position of each pixel.
46. An image processing method comprising:
performing a quantization for deciding a dot appearance information array so as to an anti-correlation with a dot appearance information array with respect to a neighboring pixel, to which the quantization is already performed, of the observed pixel of the multi-gradation image data, to be high, after a random value is added to a gradation value of the observed pixel,
in a case that the multi-gradation image data are quantized and converted into pseudo halftone output image data.
47. The image processing method of claim 46, wherein the random value is set and changed according to a gradation value of each pixel.
48. The image processing method of claim 46, wherein the random value is set and changed according to a position of each pixel.
49. An image processing apparatus comprising a processor for performing control of specifying a shape of a systematic dot arrangement in a highlight part of multi-gradation image data,
when the multi-gradation image data are quantized and converted into pseudo halftone output image data.
50. The image processing apparatus of claim 49, wherein the processor performs control of specifying the shape of the systematic dot arrangement, by specifying generation probability of the dot arrangement in the highlight part of the multi-gradation image data.
51. The image processing apparatus of claim 50, wherein the processor sets a value representing a different dot arrangement in a same dot appearance information array, after deciding a local filter for every value corresponding to the generation probability of the different dot arrangement to calculate an element number array according to the local filter, in an observed pixel of the multi-gradation image data.
52. The image processing apparatus of claim 51, wherein the processor sets the value representing the dot arrangement while avoiding an element number where a value representing other dot arrangement is set.
53. The image processing apparatus of claim 52, wherein the processor judges an output status of the observed pixel according to a status of a pixel which is already processed and the specified dot arrangement.
54. The image processing apparatus of claim 53, wherein the processor specifies the shape of the dot arrangement by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously.
55. An image processing method comprising specifying a shape of a systematic dot arrangement in a highlight part of multi-gradation image data,
when the multi-gradation image data are quantized and converted into pseudo halftone output image data.
56. The image processing method of claim 55, wherein the shape of the systematic dot arrangement is specified by specifying generation probability of the dot arrangement in the highlight part of the multi-gradation image data.
57. The image processing apparatus of claim 56, wherein a value representing a different dot arrangement is set in a same dot appearance information array, after a local filter is decided for every value corresponding to the generation probability of the different dot arrangement to calculate an element number array according to the local filter, in an observed pixel of the multi-gradation image data.
58. The image processing method of claim 57, wherein the value representing the dot arrangement is set while avoiding an element number where a value representing other dot arrangement is set.
59. The image processing method of claim 58, wherein an output status of the observed pixel is judged according to a status of a pixel which is already processed and the specified dot arrangement.
60. The image processing method of claim 59, wherein the shape of the dot arrangement is specified by setting a coefficient, which is close to the observed pixel in a dot continuous generation direction in the local filter, to be a negative number, with respect to the pixel needed to be generated continuously.
61. An image processing apparatus comprising a processor controls
performing an arrangement of a dot of which an occupancy rate per unit area is low, after performing an arrangement of a dot of which the occupancy rate per unit area is high, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
performing the arrangement of the dot of which the occupancy rate per unit area is high, after performing the arrangement of the dot of which the occupancy rate per unit area is low, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data
when the multi-gradation image data are quantized and converted into pseudo halftone output image data.
62. An image processing method comprising
performing an arrangement of a dot of which an occupancy rate per unit area is low, after performing an arrangement of a dot of which the occupancy rate per unit area is high, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and a summation of the occupancy rates of dots is not more than 100%, in the multi-gradation image data, and
performing the arrangement of the dot of which the occupancy rate per unit area is high, after performing the arrangement of the dot of which the occupancy rate per unit area is low, in a case that there are two or more kinds of dots of which the occupancy rates per unit area are different from each other and the summation of the occupancy rates of dots is more than 100%, in the multi-gradation image data
when the multi-gradation image data are quantized and converted into pseudo halftone output image data.
US10/893,607 2003-07-23 2004-07-16 Image processing apparatus and image processing method Abandoned US20050219623A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/267,113 US7791766B2 (en) 2003-07-23 2008-11-07 Image processing apparatus and image processing method

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
JP2003200460A JP4238660B2 (en) 2003-07-23 2003-07-23 Image processing apparatus, image processing method, and image processing program
JP2003-200460 2003-07-23
JP2003-292120 2003-08-12
JP2003292120A JP4222151B2 (en) 2003-08-12 2003-08-12 Image processing apparatus, image processing method, and image processing program
JP2003-304549 2003-08-28
JP2003304549A JP2005078150A (en) 2003-08-28 2003-08-28 Image processor, image processing method and image processing program
JP2003379682A JP4222187B2 (en) 2003-11-10 2003-11-10 Image processing apparatus, image processing method, and image processing program
JP2003-379682 2003-11-10

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/267,113 Continuation US7791766B2 (en) 2003-07-23 2008-11-07 Image processing apparatus and image processing method

Publications (1)

Publication Number Publication Date
US20050219623A1 true US20050219623A1 (en) 2005-10-06

Family

ID=35053947

Family Applications (2)

Application Number Title Priority Date Filing Date
US10/893,607 Abandoned US20050219623A1 (en) 2003-07-23 2004-07-16 Image processing apparatus and image processing method
US12/267,113 Expired - Fee Related US7791766B2 (en) 2003-07-23 2008-11-07 Image processing apparatus and image processing method

Family Applications After (1)

Application Number Title Priority Date Filing Date
US12/267,113 Expired - Fee Related US7791766B2 (en) 2003-07-23 2008-11-07 Image processing apparatus and image processing method

Country Status (1)

Country Link
US (2) US20050219623A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050140998A1 (en) * 2003-12-25 2005-06-30 Qing Gao Image processing apparatus, image processing method and image processing program
US20060103883A1 (en) * 2004-11-12 2006-05-18 Niranjan Damera-Venkata AM-FM halftone screen design
US20070285490A1 (en) * 2006-06-13 2007-12-13 Canon Kabushiki Kaisha Image forming apparatus and image forming method
US20100259793A1 (en) * 2009-04-08 2010-10-14 Seiko Epson Corporation Printing apparatus, printing method and method of generating dither mask
USD750637S1 (en) * 2013-06-10 2016-03-01 Apple Inc. Display screen or portion thereof with animated graphical user interface
USD833476S1 (en) * 2010-05-27 2018-11-13 Apple Inc. Display screen or portion thereof with animated graphical user interface

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100046532A (en) * 2008-10-27 2010-05-07 삼성전자주식회사 Image forming apparatus, image forming system and printing method thereof
JP5218333B2 (en) * 2009-08-21 2013-06-26 セイコーエプソン株式会社 Image processing device
JP2012186769A (en) * 2011-03-08 2012-09-27 Fuji Xerox Co Ltd Image processing apparatus and program
US8767264B2 (en) 2011-03-24 2014-07-01 Seiko Epson Corporation Printing device and printing method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5402245A (en) * 1994-01-27 1995-03-28 Hewlett-Packard Company Bi-level digital color printer system exhibiting improved undercolor removal and error diffusion procedures
US5473446A (en) * 1992-05-04 1995-12-05 Hewlett-Packard Company Color digital halftoning using black and secondary color replacement and color vector dithering
US5509085A (en) * 1992-10-07 1996-04-16 Seiko Epson Corporation Image processor and printing apparatus which perform binary coding of color components
US5973803A (en) * 1995-03-16 1999-10-26 Lexmark International, Inc. Combined color halftoning
US6108452A (en) * 1996-01-05 2000-08-22 Canon Information Systems Research Australia Pty Ltd. Geometrically reducing mask error diffusion
US6124844A (en) * 1996-01-05 2000-09-26 Canon Kabushiki Kaisha Force field halftoning
US6476934B1 (en) * 1997-01-02 2002-11-05 Canon Kabushiki Kaisha Geometrically reducing influence halftoning
US6671071B1 (en) * 1999-10-19 2003-12-30 Xerox Corporation Threshold bias circuits for enhanced color error diffusion

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4920501A (en) * 1988-10-19 1990-04-24 Eastman Kodak Company Digital halftoning with minimum visual modulation patterns
US5528377A (en) * 1994-03-29 1996-06-18 E. I. Du Pont De Nemours And Company Extended density color printing
WO1998003341A1 (en) 1996-07-18 1998-01-29 Seiko Epson Corporation Printer and image recording method
JP4348748B2 (en) 1996-07-18 2009-10-21 セイコーエプソン株式会社 Printing apparatus and image recording method
JP3790613B2 (en) 1997-08-08 2006-06-28 ローランドディー.ジー.株式会社 How to create a scatter dither
US6798537B1 (en) * 1999-01-27 2004-09-28 The University Of Delaware Digital color halftoning with generalized error diffusion vector green-noise masks
US6501564B1 (en) * 1999-05-07 2002-12-31 Hewlett-Packard Company Tone dependent plane dependent error diffusion halftoning
JP2001245151A (en) 2000-03-02 2001-09-07 Minolta Co Ltd Image processing apparatus
JP2001285629A (en) 2000-03-29 2001-10-12 Canon Inc Image processing apparatus and image processing method
JP4938942B2 (en) 2000-09-04 2012-05-23 キヤノン株式会社 Inkjet printing system and inkjet printing method
US7099046B2 (en) * 2000-11-30 2006-08-29 Canon Kabushiki Kaisha Image processing apparatus and image processing method
US7079289B2 (en) * 2001-10-01 2006-07-18 Xerox Corporation Rank-order error diffusion image processing
US7173733B2 (en) * 2002-11-07 2007-02-06 University Of Delaware Method for modeling color halftones
JP2005191959A (en) * 2003-12-25 2005-07-14 Konica Minolta Holdings Inc Apparatus, method, and program for image processing
US7362472B2 (en) * 2004-03-05 2008-04-22 Eastman Kodak Company Color error diffusion

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5473446A (en) * 1992-05-04 1995-12-05 Hewlett-Packard Company Color digital halftoning using black and secondary color replacement and color vector dithering
US5509085A (en) * 1992-10-07 1996-04-16 Seiko Epson Corporation Image processor and printing apparatus which perform binary coding of color components
US5402245A (en) * 1994-01-27 1995-03-28 Hewlett-Packard Company Bi-level digital color printer system exhibiting improved undercolor removal and error diffusion procedures
US5973803A (en) * 1995-03-16 1999-10-26 Lexmark International, Inc. Combined color halftoning
US6363172B1 (en) * 1995-03-16 2002-03-26 Lexmark International, Inc. Combined color halftoning
US6108452A (en) * 1996-01-05 2000-08-22 Canon Information Systems Research Australia Pty Ltd. Geometrically reducing mask error diffusion
US6124844A (en) * 1996-01-05 2000-09-26 Canon Kabushiki Kaisha Force field halftoning
US6476934B1 (en) * 1997-01-02 2002-11-05 Canon Kabushiki Kaisha Geometrically reducing influence halftoning
US6671071B1 (en) * 1999-10-19 2003-12-30 Xerox Corporation Threshold bias circuits for enhanced color error diffusion

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050140998A1 (en) * 2003-12-25 2005-06-30 Qing Gao Image processing apparatus, image processing method and image processing program
US7492482B2 (en) * 2003-12-25 2009-02-17 Konica Minolta Holdings, Inc. Image processing apparatus, image processing method and image processing program
US20060103883A1 (en) * 2004-11-12 2006-05-18 Niranjan Damera-Venkata AM-FM halftone screen design
US9167130B2 (en) * 2004-11-12 2015-10-20 Hewlett-Packard Development Company, L.P. AM-FM halftone screen design
US20070285490A1 (en) * 2006-06-13 2007-12-13 Canon Kabushiki Kaisha Image forming apparatus and image forming method
US7796150B2 (en) * 2006-06-13 2010-09-14 Canon Kabushiki Kaisha Image forming apparatus with multi-color dot image formation
US20100259793A1 (en) * 2009-04-08 2010-10-14 Seiko Epson Corporation Printing apparatus, printing method and method of generating dither mask
US8542409B2 (en) * 2009-04-08 2013-09-24 Seiko Epson Corporation Printing apparatus, printing method and method of generating dither mask
USD833476S1 (en) * 2010-05-27 2018-11-13 Apple Inc. Display screen or portion thereof with animated graphical user interface
USD750637S1 (en) * 2013-06-10 2016-03-01 Apple Inc. Display screen or portion thereof with animated graphical user interface
USD772251S1 (en) 2013-06-10 2016-11-22 Apple Inc. Display screen or portion thereof with animated graphical user interface

Also Published As

Publication number Publication date
US7791766B2 (en) 2010-09-07
US20090116072A1 (en) 2009-05-07

Similar Documents

Publication Publication Date Title
US7791766B2 (en) Image processing apparatus and image processing method
US5317653A (en) Method for quantization gray level pixel data with application of under compensated error diffusion
US5268774A (en) Halftoning with enhanced dynamic range and edge enhanced error diffusion
US5325211A (en) Error diffusion with output and input based feedback
US7369276B2 (en) Multi-level halftoning providing improved texture uniformity
JPH05336373A (en) Image recorder
US20020039199A1 (en) Image processing method, and image processor and storage medium thereof
US6753978B1 (en) Higher order error diffusion of digital halftoning
US7315398B2 (en) Multi-level error diffusion with color image data
US7511857B2 (en) Halftoning method and system
Frank et al. A machine learning approach to design of aperiodic, clustered-dot halftone screens via direct binary search
US20040085553A1 (en) Multitoning a digital image having at least one group of similar colors channels
US7295347B2 (en) Image processing method for generating multi-level data
US7492482B2 (en) Image processing apparatus, image processing method and image processing program
US6995872B2 (en) Reduced-buffer error diffusion
JP4238660B2 (en) Image processing apparatus, image processing method, and image processing program
JP4151520B2 (en) Image processing apparatus, image processing method, and image processing program
JP4116265B2 (en) Image processing method and image processing apparatus
JP4027300B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4222187B2 (en) Image processing apparatus, image processing method, and image processing program
JP4549306B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
JP4158652B2 (en) Image processing apparatus, image processing method, and image processing program
JP4222151B2 (en) Image processing apparatus, image processing method, and image processing program
JP4238673B2 (en) Image processing apparatus, image processing method, and image processing program
JP4496765B2 (en) Image processing apparatus, image processing method, and image processing program

Legal Events

Date Code Title Description
AS Assignment

Owner name: KONICA MINOLTA HOLDINGS, INC., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HIRAMOTO, KENICHIRO;GAO, QING;REEL/FRAME:015593/0615

Effective date: 20040625

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION