主权项 |
1. An apparatus comprising:
a display device including a plurality of display elements, each display element capable of displaying one of N discrete primary colors in a color space associated with the display device at a given time; and a hardware processor capable of communicating with the display device, the processor capable of processing incoming image data including a plurality of input colors for display by the display device, the image data including a plurality of image pixels, for each image pixel, the processor capable of identifying M primary colors, the M primary colors when temporally dithered producing a color that is perceptually similar to an input color (C) of the image pixel, wherein M represents a number of sub-frames for temporal dithering including a first sub-frame and a last sub-frame, wherein for a given sub-frame, the processor is capable of:
determining in a color space an error that corresponds to a difference in color values between a primary color selected for the given sub-frame and a target color for the given sub-frame, anddiffusing the error to a subsequent sub-frame, and wherein any residual error at the last sub-frame in the color space is spatially diffused to one or more neighboring input image pixels. |