IMAGE PROCESSING APPARATUS, PRINTING APPARATUS, IMAGE PROCESSING METHOD, AND IMAGE PROCESSING PROGRAM
First Claim
1. An image processing apparatus for processing image data having a plurality of pixels and expressing an image using a gradation value for each pixel, the image processing apparatus comprising:
- an input unit for inputting the image data;
a region-dividing processor for dividing the image into at least a first region and a second region on the basis of the inputted image data;
a comparator for comparing gradation values of pixels in the first region and threshold values corresponding to the pixels of the first region of a dither mask having a plurality of threshold values;
a first dot-decision processor for deciding whether or not dots are formed in pixels of the first region among first boundary pixels, which are pixels in the first region near the boundary between the first region and the second region, using information on pixels included in the first region and not using information on pixels included in the second region;
a second dot-decision processor for deciding whether or not dots are formed in pixels of the second region among some of the pixels in the second region, using information on pixels included in the first region and information on pixels included in the second region; and
a dot data generator for generating dot data for the image data using formation or non-formation of dots as decided by the first and second dot-decision processors.
1 Assignment
0 Petitions
Accused Products
Abstract
An image is divided into first a second regions on the basis of inputted image data, and a comparison is made between the gradation values of pixels in the first region and threshold values corresponding to the pixels of the first region of a dither mask. The results of the comparison are referenced to determine whether or not dots are formed in the pixels of the first region. Errors are calculated based on the results of determining the first boundary pixels, which are in the first region near the boundary between the first region second regions. Some of the errors are distributed as diffusion errors to pixels in the second region near the boundary. The diffusion errors distributed from the first boundary pixels are added, and it is determined whether or not dots are formed by the error diffusion method in the pixels of the second region.
-
Citations
13 Claims
-
1. An image processing apparatus for processing image data having a plurality of pixels and expressing an image using a gradation value for each pixel, the image processing apparatus comprising:
-
an input unit for inputting the image data; a region-dividing processor for dividing the image into at least a first region and a second region on the basis of the inputted image data; a comparator for comparing gradation values of pixels in the first region and threshold values corresponding to the pixels of the first region of a dither mask having a plurality of threshold values; a first dot-decision processor for deciding whether or not dots are formed in pixels of the first region among first boundary pixels, which are pixels in the first region near the boundary between the first region and the second region, using information on pixels included in the first region and not using information on pixels included in the second region; a second dot-decision processor for deciding whether or not dots are formed in pixels of the second region among some of the pixels in the second region, using information on pixels included in the first region and information on pixels included in the second region; and a dot data generator for generating dot data for the image data using formation or non-formation of dots as decided by the first and second dot-decision processors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A printing apparatus for performing a printing operation on the basis of image data having a plurality of pixels and expressing an image using a gradation value for each pixel, the printing apparatus comprising:
-
an input unit for inputting the image data; a region-dividing processor for dividing the image into at least a first region and a second region on the basis of the inputted image data; a comparator for comparing gradation values of pixels in the first region and threshold values corresponding to the pixels of the first region of a dither mask having a plurality of threshold values; a first dot-decision processor for adding the diffusion errors distributed from processed pixels near the first boundary pixels to the gradation values of the first boundary pixels in the first boundary pixels, which are pixels in the first region near the boundary between the first region and the second region, calculating the first corrected gradation values, and referencing at least the comparison results to decide whether or not dots are formed in pixels of the first region, and then calculating errors between the first corrected gradation values and the first decision result values, which are values corresponding to density expressed by the pixels in the results of decisions among the first boundary pixels, and distributing the errors as diffusion errors to unprocessed pixels near the first boundary pixels; a second dot-decision processor for calculating second corrected gradation values in which diffusion errors distributed from processed pixels among some of the pixels in the second region in an adjacent area that includes the first boundary pixels have been added to the gradation values of the pixels, comparing the second corrected gradation values and a predetermined threshold value to decide whether or not dots are formed, calculating errors between the second corrected gradation values and second decision result values, which are values corresponding to density expressed by the pixels in the results of the decisions, and distributing the errors as diffusion errors to pixels in an adjacent area; a dot data generator for generating dot data for the image data using formation or non-formation of dots as decided by the first and second dot-decision processors; and a printing unit for performing a printing operation on the basis of the dot data.
-
-
13. An image processing method for processing image data having a plurality of pixels and expressing an image using a gradation value for each pixel, the image processing method comprising:
-
inputting the image data; dividing the image into at least a first region and a second region on the basis of the inputted image data; comparing gradation values of pixels in the first region and threshold values corresponding to the pixels of the first region of a dither mask having a plurality of threshold values; adding the diffusion errors distributed from processed pixels near the first boundary pixels to the gradation values of the first boundary pixels, the first boundary pixels being pixels in the first region near the boundary between the first region and the second region, calculating the first corrected gradation values, and referencing at least the comparison results to decide whether or not dots are formed in pixels of the first region, and then calculating errors between the first corrected gradation values and the first decision result values, which are values corresponding to density expressed by the pixels in the results of decisions among the first boundary pixels, and distributing the errors as diffusion errors to unprocessed pixels near the first boundary pixels; calculating second corrected gradation values in which diffusion errors distributed from processed pixels among some of the pixels in the second region in an adjacent area that includes the first boundary pixels have been added to the gradation values of the pixels, comparing the second corrected gradation values and a predetermined threshold value to decide whether or not dots are formed, calculating errors between the second corrected gradation values and second decision result values, which are values corresponding to density expressed by the pixels in the results of the decisions, and distributing the errors as diffusion errors to pixels in an adjacent area; and generating dot data for the image data using formation or non-formation of dots as decided by the first and second dot-decision processors.
-
Specification