Error diffusion method and apparatus
First Claim
1. A method of diffusing error caused by quantizing each pixel within an image formed of a plurality of pixels, each pixel representing a greyscale value of the image at a location (n, l) within the image, and having an original greyscale value associated therewith, the method comprising:
- (a) adding to the original greyscale value of a pixel having a position (n, l) within the image a first error term resulting from quantization of previously processed pixels to derive a modified greyscale value;
(b) comparing the modified greyscale value of the pixel with a threshold to select an output value representing the pixel;
(c) calculating a second error term having a value that is the difference between the output value and the modified greyscale value;
(d) distributing the second error term to a preselected plurality of neighboring pixels at positions (n+1, l), (n−
1, l+1), (n, l+1), (n+1, l+1) using a linear phase filter algorithm having a set of distribution coefficients with a sum less than one, wherein one of the coefficients within the set of coefficients is combined with the second error term for each pixel position; and
(e) repeating steps (a)-(d) for each pixel within the image.
6 Assignments
0 Petitions
Accused Products
Abstract
The invention relates to a method of diffusing error caused by quantizing each pixel within an image formed of a plurality of pixels, each pixel representing a greyscale value of the image at a location (n, l) within the image, and having an original greyscale value associated therewith. The method includes the steps of adding to the original greyscale value of a pixel having a position (n, l) within the image a first error term resulting from quantization of previously processed pixels to derive a modified greyscale value, comparing the modified greyscale value of the pixel with a threshold to select an output value representing the pixel, calculating a second error term having a value that is the difference between the output value and the modified greyscale value, and distributing the second error term to a preselected plurality of neighboring pixels at positions (n+1, l), (n−1, l+1), (n, l+1), (n+1, l+1) using a linear phase filter algorithm having a set of distribution coefficients with a sum less than one, wherein one coefficient within the set of coefficients is combined with the second error term for each pixel position. The method also includes these steps being repeated for each pixel within the image. In another embodiment, the portion of the second error term distributed to the pixel at position (n+1, l+1) equals the portion of the second error term distributed to the pixel at position (n−1, l+1).
-
Citations
24 Claims
-
1. A method of diffusing error caused by quantizing each pixel within an image formed of a plurality of pixels, each pixel representing a greyscale value of the image at a location (n, l) within the image, and having an original greyscale value associated therewith, the method comprising:
-
(a) adding to the original greyscale value of a pixel having a position (n, l) within the image a first error term resulting from quantization of previously processed pixels to derive a modified greyscale value;
(b) comparing the modified greyscale value of the pixel with a threshold to select an output value representing the pixel;
(c) calculating a second error term having a value that is the difference between the output value and the modified greyscale value;
(d) distributing the second error term to a preselected plurality of neighboring pixels at positions (n+1, l), (n−
1, l+1), (n, l+1), (n+1, l+1) using a linear phase filter algorithm having a set of distribution coefficients with a sum less than one, wherein one of the coefficients within the set of coefficients is combined with the second error term for each pixel position; and
(e) repeating steps (a)-(d) for each pixel within the image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of diffusing error caused by quantizing each pixel within an image formed of a plurality of pixels, each pixel representing a greyscale value of the image at a location within the image, and having an original greyscale value associated therewith, the method comprising:
-
(a) adding to the original greyscale value of a pixel having a position (n, l) within the image a first error term resulting from quantization of previously processed pixels to derive a modified greyscale value;
(b) comparing the modified greyscale value of the pixel with a threshold to select an output value representing the pixel;
(c) calculating a second error term having a value that is less than the difference between the output value and the modified greyscale value;
(d) distributing the second error term to a preselected plurality of neighboring pixels at positions (n+1, l), (n−
1, l+1), (n, l+1), (n+1, l+1), wherein the portion of the second error term distributed to the pixel at position (n+1, l+1) equals the portion of the second error term distributed to the pixel at position (n−
1, l+1), and the portion of the second error term distributed to the pixel at position (n−
1, l+1) combined with the portion of the second error term for the pixel at position (n+1, l+1) equals the portion of the second error term for the pixel at position (n, l+1), and the portion of the second error term distributed to the pixel at position (n+1, l) equals the sum of the portion of the second error term of the pixel at position (n+1, l+1) combined with the portion of the second error term of the pixel at position (n, l+1) and combined with the portion of the second error term of the pixel at position (n−
1, l+1); and
(e) repeating steps (a)-(d) for each pixel within the image. - View Dependent Claims (11, 12, 13)
-
-
14. An apparatus for diffusing error caused by quantizing each pixel within an image formed of a plurality of pixels, each pixel representing a greyscale value of the image at a location (n, l) within the image, and having an original greyscale value associated therewith, the apparatus comprising:
-
a first summing module for adding to the original greyscale value of a pixel having a position (n, l) within the image a first error term resulting from quantization of previously processed pixels to derive a modified greyscale value;
a second summing module operatively connected to the output of the first summing module and the output of the quantizer for calculating a second error term having a value that is less than the difference between the output value and the modified greyscale value;
a quantizer operatively connected to the output of the first module comparing the modified greyscale value of the pixel with a threshold to select an output value representing the pixel; and
an error filter module operatively connected to the input of the first summing module and the output of the second summing module for distributing the second error term, to preselected plurality of neighboring pixels at positions (n+1, l), (n−
1, l+1), (n, l+1), (n+1, l+1) using a linear phase filter algorithm having a set of distribution coefficients with a sum less than one, wherein one of the coefficients within the set of coefficients is combined with the second error term for each pixel position.- View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
a memory element, including a storage location for at least some of the pixels in the plurality of pixels of an image, wherein the portion of the second error term distributed to a particular pixel is added to contents of the designated storage location of that particular pixel.
-
Specification