Removal of error diffusion artifacts with alternating distribution weights
AssigneeXerox Corporation
InventorDavid A. Mantell
Life of this patent
Estimating the term…
Abstract
The present invention provides method and systems for processing a continuous-tone image, represented by a plurality of pixels, to provide an encoded display image suitable for printing on a print medium. The method of the invention distributes fractional weighted portions of an error, indicative of a difference between the color value of each electronically encoded pixel and an output state representing the pixel on the print medium, to selected subsequent pixels. The fractional portions are selected based on the color value of the pixel being processed and its position relative to the other pixels. The method of the invention advantageously reduces error diffusion artifacts in the printed image.
Claims19
A method for converting a continuous-tone image represented by electronically encoded pixels each specifying a color value into an encoded display image for electronic printing, comprising the steps of:
- selecting each of said electronically encoded pixels sequentially,
- comparing the color value of the selected pixel with selected thresholds,
- selecting an output state from a set of output states for displaying said pixel based on the comparison of the color value with the selected thresholds,
- obtaining an error value indicative of a difference between said selected output state and said color value of the pixel, and
- modifying the color value of each of a selected group of subsequent pixels by a weighted fractional portion of said error value, said weighted fractional portion being selected based on the color value of said selected pixel and based on a position of said pixel within said continuous-tone image to provide an encoded display image.
An image processing system for converting a continuous-tone image represented by a plurality of electronically encoded pixels, each having a color value, stored in an input buffer into an encoded image for electronic printing, comprising
- a buffer controller for sequentially selecting one of said pixels stored in said input buffer,
- a first summing circuit receiving the color value of said selected pixel and modifying said color value based on a fractional error value obtained from a previously processed pixel to obtain a modified color value,
- an image register receiving said modified color value and temporarily storing said modified value,
- a comparator receiving said modified value from said image register and comparing said modified value with a selected threshold to choose one of a plurality of output states based on said comparison, said selected output state representing said selected pixel in the encoded image,
- a change sign inverter receiving said selected output state and producing a sign-inverted output state,
- a second summing circuit receiving said modified color value and said sign-inverted output state to produce an error value indicative of a difference between said modified color value and said output state,
- a modifier receiving said error value from said summing circuit and receiving a weighted fraction from a look-up table and modifying said error value based on said weighted fraction to obtain a fractional error value to be applied to a subsequent pixel, said weighted fraction being selected based on the color value of said selected pixel and its position within said electronically encoded image, and
- an error buffer for storing said fractional error value.
A printer for printing an image of a continuous-tone representation of a plurality of electronically encoded pixels each specifying a color value as a pattern of dots on a print medium, each dot representing a selected output state value, comprising
- a segmenting element which segments the plurality of electronically encoded pixels into a plurality of segments,
- an error diffuser receiving said plurality of pixel values and converting said pixel values into an encoded display image, said diffuser distributing fractional portions of a difference between a color value of a pixel and the output state value of a dot representing said pixel to selected subsequent pixels based on color value of said pixel and based on which segment of the plurality of segments said pixel is located, and
- a printing mechanism responsive to said encoded display image for generating the pattern of dots on the print medium.
A method for converting a continuous-tone represented as a two-dimensional array of electronically encoded pixels each specifying a gray scale value into an encoded display image for electronic printing, comprising the steps of
- segmenting the two-dimensional array of electronically encoded pixels into a plurality of regions,
- comparing the gray scale value of a selected pixel with a selected threshold,
- selecting an output state from a set of binary states for displaying said pixel based on the comparison of the gray scale value with the selected threshold,
- obtaining an error value indicative of a difference between said selected output state and said gray scale value of the pixel,
- dividing said error value into a plurality of fractional error values based on which segment said selected pixel is located within said segmented two-dimensional array and based on the gray scale intensity of said pixel,
- adding to each of a selected plurality of subsequent pixels one of said fractional error values based on a relative position of said subsequent pixel to said selected pixel,
- repeating the above steps for each pixel in said array to produce an encoded display image.
Dependencies are inferred from the claim text.