Image processing apparatus and image processing method that can print an image in which a pattern or sweeping phenomenon specific to the error diffusion process does not appear
First Claim
1. An image processing method, executed by an image processing apparatus, for performing a quantization process of multivalued image data into a lower level N-value (N is an integer equal to or more than 2) by an error diffusion process, the image processing method comprising:
- inputting multivalued image data of an image;
an obtaining step of adding an error from a peripheral pixel to the multivalued image data of a target pixel of an image to obtain a correction value;
a setting step of, from a threshold value matrix configured such that different values are arrayed in a row array and in a column array, selecting one value according to a pixel position of the target pixel in the image to set a threshold value for comparing with the correction value, the row consisting of pixels corresponding to values in the row array and the column consisting of pixels corresponding to values in the column array intersecting;
a quantization step of, according to a result of comparing the threshold value set in the setting step with the correction value obtained in the obtaining step, outputting N-value data;
a diffusion step of diffusing an error between the correction value and the N-value data, the error occurring in association with the quantization step, in a peripheral pixel position where the quantization step has not been performed; and
outputting a value indicating printing or non-printing of the target pixel,wherein in the threshold value matrix, average values in respective rows or average values in respective columns are almost a same value.
1 Assignment
0 Petitions
Accused Products
Abstract
In order to vary a threshold value for performing an error diffusion process depending on a pixel position, a threshold value matrix configured to have pluralities of rows and columns is prepared. In this case, pieces of data in the threshold value matrix are arrayed such that average values in the respective rows and average values in the respective columns are almost the same value. If such a threshold value matrix is used to perform the error diffusion process, the dot sparseness and denseness do not occur with a period of the matrix, and therefore the pattern or sweeping phenomenon specific to the error diffusion can be suppressed.
-
Citations
29 Claims
-
1. An image processing method, executed by an image processing apparatus, for performing a quantization process of multivalued image data into a lower level N-value (N is an integer equal to or more than 2) by an error diffusion process, the image processing method comprising:
-
inputting multivalued image data of an image; an obtaining step of adding an error from a peripheral pixel to the multivalued image data of a target pixel of an image to obtain a correction value; a setting step of, from a threshold value matrix configured such that different values are arrayed in a row array and in a column array, selecting one value according to a pixel position of the target pixel in the image to set a threshold value for comparing with the correction value, the row consisting of pixels corresponding to values in the row array and the column consisting of pixels corresponding to values in the column array intersecting; a quantization step of, according to a result of comparing the threshold value set in the setting step with the correction value obtained in the obtaining step, outputting N-value data; a diffusion step of diffusing an error between the correction value and the N-value data, the error occurring in association with the quantization step, in a peripheral pixel position where the quantization step has not been performed; and outputting a value indicating printing or non-printing of the target pixel, wherein in the threshold value matrix, average values in respective rows or average values in respective columns are almost a same value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An image processing method, executed by an image processing apparatus, for performing a quantization process of multivalued image data into a lower level N-value (N is an integer equal to or more than 2) by an error diffusion process, the image processing method comprising:
-
inputting multivalued image data of an image; an obtaining step of adding an error from a peripheral pixel to the multivalued image data of a target pixel of an image to obtain a correction value; a setting step of, from a threshold value matrix configured such that different values are arrayed in a row array and in a column array, selecting one value according to a pixel position of the target pixel in the image to set a threshold value for comparing with the correction value, the row consisting of pixels corresponding to values in the row array and the column consisting of pixels corresponding to values in the column array intersecting; a quantization step of, according to a result of comparing the threshold value set in the setting step with the correction value obtained in the obtaining step, outputting N-value data; a diffusion step of diffusing an error between the correction value and the N-value data, the error occurring in association with the quantization step, in a peripheral pixel position where the quantization step has not been performed; and outputting a value indicating printing or non-printing of the target pixel, wherein in the threshold value matrix, average values in respective rows or average values in respective columns are included in a range of ±
15% of an average value of them. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. An image processing method, executed by an image processing apparatus, for performing a quantization process of multivalued image data into a lower level N-value (N is an integer equal to or more than 2) by an error diffusion process, the image processing method comprising:
-
inputting multivalued image data of an image; an obtaining step of adding an error from a peripheral pixel to the multivalued image data of a target pixel of an image to obtain a correction value; a setting step of, from a threshold value matrix configured such that different values are arrayed in a row array and in a column array, selecting one value according to a pixel position of the target pixel in the image to set a threshold value for comparing with the correction value, the row consisting of pixels corresponding to values in the row array and the column consisting of pixels corresponding to values in the column array intersecting; a quantization step of, according to a result of comparing the threshold value set in the setting step with the correction value obtained in the obtaining step, outputting N-value data; a diffusion step of diffusing an error between the correction value and the N-value data, the error occurring in association with the quantization step, in a peripheral pixel position where the quantization step has not been performed; and outputting a value indicating printing or non-printing of the target pixel, wherein in the threshold value matrix, a variation among average values in respective rows or a variation among average values in respective columns are kept low as compared with a case of generating random numbers to prepare the different values. - View Dependent Claims (19, 20, 21, 22, 23)
-
-
24. An image processing apparatus for performing a quantization process of multivalued image data into a lower level N-value (N is an integer equal to or more than 2) by an error diffusion process, the image processing apparatus comprising:
-
a processor executing; inputting multivalued image data of an image; an obtaining step of adding an error from a peripheral pixel to the multivalued image data of a target pixel of an image to obtain a correction value; a setting step of, from a threshold value matrix configured such that different values are arrayed in a row array and in a column array, selecting one value according to a pixel position of the target pixel in the image to set a threshold value for comparing with the correction value, the row consisting of pixels corresponding to values in the row array and the column consisting of pixels corresponding to values in the column array intersecting; a quantization step of, according to a result of comparing the threshold value set by the setting step with the correction value obtained by the obtaining step, outputting N-value data; a diffusion step of diffusing an error between the correction value and the N-value data, the error occurring in association with the quantization step, in a peripheral pixel position where the quantization step has not been performed; and outputting a value indicating printing or non-printing of the target pixel, wherein in the threshold value matrix, average values in respective rows or average values in respective columns are almost a same value. - View Dependent Claims (25, 26, 27, 28, 29)
-
Specification