Error diffusion method and apparatus

Facsimile and static presentation processing – Static presentation processing – Attribute control

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C358S003260

Reexamination Certificate

active

06678073

ABSTRACT:

FIELD OF THE INVENTION
The invention relates generally to the field of printing. More specifically, the invention relates to a method and apparatus for distributing the error resulting from quantizing the pixels of an image.
BACKGROUND OF THE INVENTION
Image information (whether color or black and white) is commonly derived by scanning in a greyscale format containing a large number of levels (e.g., 256 levels for black and white and more than 16 million levels for color). The resulting image is often unprintable by standard printers. Standard printers print in a limited number of levels. In the binary case, a printer prints at two levels, either a spot or no spot. In a quaternary case, four levels are printed, which may correspond to no spot or one of three different spot sizes. Greyscale image data may be represented in a very large number of values. Accordingly, it is necessary to reduce greyscale image data to the limited number of levels to enable a printer to print the image.
One standard method of converting greyscale pixel image data to binary level pixel image data is through the use of dithering or halftoning processes. In such processes, each greyscale pixel within a given area is compared to one of a set of preselected thresholds comprising a matrix of threshold values (or a halftone cell). The effect of such an arrangement is that for an area where the image is gray, some of the thresholds within the matrix are exceeded, while others are not. In the binary case, the portions of the matrix (or cell elements) in which the thresholds are exceeded are printed as black, while the remaining elements remain white. The effect of the distribution of black and white over the cell is integrated by the human eye as a shade of gray.
Dithering presents problems in that the amount of gray within an original image is not maintained exactly over an area because the finite number of elements inside each halftone cell only allows the reproduction of a finite number of greyscale levels. The error arising from the difference between the threshold value and the actual greyscale value at any particular cell is simply thrown away. This results in loss of image information and the formation of image artifacts. A known example is the banding (or false contour) artifact that can be seen in smooth image areas. The image input greyscale varies smoothly over an image area, while the halftoned image has to make a transition from one halftone dot (greyscale) to another. This transition can clearly be seen as a band running through smooth image parts. Also, these errors create undesirable textures and long range patterns, often referred to as worms.
Algorithms that convert grayscale images to binary or other number of level images attempting to preserve gray density are known. Known error diffusion methods attempt to maintain gray by making the conversion from gray pixels to binary or other level pixels on a pixel-by-pixel basis. The methods compare each pixel to a threshold, and the difference between the greyscale pixel value and the threshold is distributed to a selected group of neighboring pixels in accordance with a weighting method. The adjusted image pixels are then fed back as inputs to the processing method. In this way, the error calculated includes all errors previously distributed.
One example is an error diffusion algorithm, as taught in “An Adaptive Algorithm for Spatial Greyscale” by Floyd and Steinberg, Proceedings of the SID 17/2, 75-77 (1976) (hereinafter, “Floyd and Steinberg”). The Floyd and Steinberg method proposes distribution of error determined in the quantization of the nth pixel in scan line l (i.e., pixel position n, l) for the distribution matrix including pixels at pixel locations corresponding to pixels {(n+1, l), (n−1, l+1), (n, l+1), (n+
1
,
1
+1)}. Distribution weighting in accordance with the method is given by {(n+1, l)=0.4375, (n−1, l+1)=0.1875 (n, l+1)=0.3125 (n+1, l+1)=0.0625}. See
FIG. 1
for a block diagram representation of the Floyd and Steinberg error distribution coefficients.
An alternative error diffusion method is taught in “Images from Computers,” by M. R. Schroder (sometimes spelled Schroeder) in IEEE Spectrum, pp. 66-78 (1969) (hereinafter Schroder). In this method, the error is only calculated between the original input pixel and the output, neglecting all previously distributed errors. This method leads to a poorer greyscale representation than the Floyd and Steinberg approach, but to higher image contrast. Modifications to the algorithm by Schroder are taught in “Design of Optimal Filters for Error-Feedback Quantization of Monochrome Pictures” by Jung Guk Kim and Gil Kim, Information Sciences 39, pp. 285-298 (1986).
In representing small variations in image appearance with an error diffusion technique, large areas of the image are required for the variation to be represented. Thus, while error diffusion is effective in maintaining gray over the image, it requires a rather large area of the image for the error compensation to be effective. Over such areas, undesirable textures and long-range patterns (e.g., worms), inherent in the distribution of error, may occur. Such artifacts particularly appear in the highlight and shadow areas of an image rendered with the original coefficient set proposed by Floyd and Steinberg.
Other error diffusion methods have been proposed that have more complex and elaborate error diffusion techniques. These other techniques still result in images with worms and can require significant computational resources to implement. These techniques also conserve intensity, resulting in propagating the errors over the entire image, instead of keeping the errors localized. A need exists for a simple error distribution method that keeps the error localized and avoids elements, (e.g., worms) that are caused by phase distortion.
SUMMARY OF THE INVENTION
This invention relates to methods and apparatus of diffusing error caused by quantizing each pixel within an image formed of a plurality of pixels. This invention utilizes simple error processing, thus minimizing the computing resources necessary to implement. By implementing a simple error processing with lossy and linear phase characteristics, this invention keeps errors localized and eliminates worms and random noise that degrades a printed image.
In one aspect, 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 of the coefficients 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 linear phase filter algorithm uses finite impulse response techniques. In another embodiment, the combining of one coefficient with the second error term for each pixel position is accomplished by multiplying each coefficient by the second error term. In another embodiment, the portion of the second error term distributed to the pixel a

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Error diffusion method and apparatus does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Error diffusion method and apparatus, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Error diffusion method and apparatus will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3224414

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.