首页>
外国专利>
method for quantizing pixels of a color image, method for processing color image for quantizing output, and color image processor for quantizing output colors.
method for quantizing pixels of a color image, method for processing color image for quantizing output, and color image processor for quantizing output colors.
A method of color image processing for quantizing output includes obtaining an input for an object pixel which is represented by a vector in a first color space. A modified input equal to the input plus a sum of errors from other pixels in a neighborhood of the object pixel is generated. For each color component in the first color space, where corresponding color components of the modified input are located with respect to a preset range is determined. If the modified input's color component is greater than the preset range, then that color component for an output is determined to be on; if less than the preset range, then that color component for the output is determine to be off; and, if within the preset range, then that color component for the output is determined to be unknown. A transformed modified input is mapped to a perceptual color space when any color component of the output is unknown. Colors consistent with color components of the output that have already been determined are also mapped to the perceptual color space. The color in the perceptual color space that lies closest to the transformed modified input is chosen. An output in the first color space having color components on and off is generated consistent with the determinations and/or choices made. Error for the object pixel is then calculated as the difference between the output and the modified input.
展开▼