| CPC G06V 10/28 (2022.01) [G06V 10/54 (2022.01); G06V 10/60 (2022.01); H04N 1/405 (2013.01)] | 42 Claims |

|
1. A non-transitory computer readable storage medium storing a program for causing a computer to perform quantization on a density value of each pixel in an input image, the density value indicating density of a color, the quantization comprising:
a pixel selecting process of sequentially selecting a pixel of interest to be subjected to the quantization;
a use rate determining process of determining a first use rate and a second use rate based on the density value of the pixel of interest, the first use rate indicating a degree of influence of a dither matrix noise on the quantization of the pixel of interest, the dither matrix noise being a noise designated by a preset dither matrix, the second use rate indicating a degree of influence of an accumulated error on the quantization of the pixel of interest, the accumulated error being obtained by accumulating quantization errors resulting from the quantization of peripheral pixels;
a quantization executing process of quantizing the density value of the pixel of interest by using a dither matrix noise according to the first use rate for the pixel of interest and using the accumulated error according to the second use rate for the pixel of interest; and
an adding process of adding at least part of the accumulated error not used in the quantization of the pixel of interest to a quantization error resulting from the quantization of the pixel of interest.
|