Claims
- 1. An apparatus for converting input image data specified in a YUV format into display image data specified as color index values which are mapped through an RGB color palette for display on a raster scan video display, where the input image data are sequentially received input pixels, each of said input pixels including Y component bits, U component bits, and V component bits, said apparatus comprising:
- means for adding noise to at least one of the Y component bits, the U component bits, and the V component bits of each of the input pixels, thereby generating a dithered input pixel comprising a first number of bits for said each of the input pixels;
- a means for quantizing each said dithered input pixel to generate a mapping look-up table index comprising a second number of bits, where the second number is less than the first number; and
- a mapping look-up table means for receiving each said mapping look-up table index and outputting a color index pair in response to each said mapping look-up table index, wherein the mapping look-up table means includes storage locations, each of the storage locations stores a pair of color index values which map to horizontally contiguous pixels of the raster scan video display, and each said color index pair consists of one said pair of color index values.
- 2. The apparatus of claim 1, also including:
- a frame buffer coupled to an output of the mapping look-up table means for storing a plurality of the color index pairs output sequentially from said mapping look-up table means.
- 3. The apparatus of claim 1, also including:
- means for converting each said color index pair into a pair of horizontally contiguous RGB pixels of the display image data.
- 4. The apparatus of claim 3, wherein the means for converting each said color index pair into a pair of horizontally contiguous RGB pixels includes:
- a color look-up table means coupled to an output of the frame buffer, for outputting an RGB pixel signal in response to each of the color palette indexes of each said color index pair; and
- a digital to analog converter coupled to an output of the color look-up table means for forming an analog red video signal, an analog green video signal, and an analog blue video signal in response to each said RGB pixel signal output from the color look-up table means.
- 5. The apparatus of claim 1, wherein the noise is pseudo-random noise.
- 6. The apparatus of claim 1, wherein the means for quantizing each said dithered input pixel consists of means for masking and shifting each said dithered input pixel.
- 7. The apparatus of claim 1, wherein a first color index value of each said color index pair is chosen to be a best match to an expanded YUV value corresponding to one said mapping look-up table index, and a second color index value of each said color index pair is chosen to be a best match to an error-propagated YUV color value that is a component by component sum of the expanded YUV value and the error to the best match between the first color index value and the expanded YUV value.
- 8. An apparatus for converting input image data specified in a YUV format into display image data specified in a RGB format for display on a raster scan video display, where the input image data are sequentially received input pixels, each of said input pixels including Y component bits, U component bits, and V component bits, said apparatus comprising:
- means for adding noise to at least one of the Y component bits, the U component bits, and the V component bits of each of the input pixels, thereby generating a dithered input pixel comprising a first number of bits for said each of the input pixels;
- a means for masking and shifting each said dithered input pixel to generate a mapping look-up table index comprising a second number of bits, where the second number is less than the first number;
- a mapping look-up table means for receiving each said mapping look-up table index and outputting a color index pair in response to each said mapping look-up table index, wherein the mapping look-up table means includes storage locations, each of the storage locations stores one said color index pair, and each said color index pair is a pair of color palette indices; and
- means for converting each said color index pair into a pair of horizontally contiguous RGB pixels of the display image data.
- 9. The apparatus of claim 8, also including:
- a frame buffer coupled to an output of the mapping look-up table means for storing a plurality of color index pairs output sequentially from said mapping look-up table means.
- 10. The apparatus of claim 9, wherein the means for converting each said color index pair into a pair of horizontally contiguous RGB pixels includes:
- a color look-up table means coupled to an output of the frame buffer, for outputting an RGB pixel signal in response to each of the color palette indices of each of the color index pairs; and
- a digital to analog converter coupled to an output of the color look-up table means for forming an analog red video signal, an analog green video signal, and an analog blue video signal in response to each said RGB pixel signal output from the color look-up table means.
- 11. The apparatus of claim 8, wherein the noise is pseudo-random noise.
- 12. The apparatus of claim 8, wherein each said mapping look-up table index includes a quantized Y component consisting of 6 binary bits, a quantized U component consisting of 4 binary bits, and a quantized V component consisting of 4 binary bits.
- 13. The apparatus of claim 8, wherein the means for adding noise comprises a linear feedback counter.
- 14. The apparatus of claim 13, wherein the means for adding noise also includes means for shifting a sequence of 32 bit words out of a shift register and means for exclusive oring a 32 bit word in the shift register with a constant value each time a least significant bit of a 32 bit word shifted out of the shift register is `0`.
- 15. The apparatus of claim 14, wherein the constant value is $A3000000 (hexadecimal).
- 16. A method of converting image data specified in a YUV format into display image data specified in a RGB format for display on a raster scan video display, comprising the steps of:
- (a) receiving image data for drawing a pixel, where the image data are in a YUV format and include Y component data, U component data, and V component data;
- (b) adding noise to at least one of the Y component data, the U component data, and the V component data, thereby forming a dithered YUV pixel signal comprising a first number of bits for one of said input pixels;
- (c) generating from the dithered YUV pixel signal, a mapping look-up table index comprising a second number of bits, where the second number is less than the first number;
- (d) supplying the mapping look-up table index to a mapping look-up table, and selecting a first color palette index and a second color palette index stored in the mapping look-up table in response to the mapping look-up table index; and
- (e) displaying a pair of RGB pixels of the display image data, in response to the first color palette index and the second color palette index that have been selected in response to said mapping look-up table index.
- 17. The method of claim 16, wherein the RGB pixels of each said pair of RGB pixels are horizontally contiguous.
- 18. The method of claim 16, also including the step of generating the mapping look-up table before performing step (d), wherein the step of generating the mapping look-up table includes the steps of:
- determining a luminance value Y" and chrominance values U" and V" for each RGB value of an RGB color palette for the display image data;
- generating an expanded YUV value, comprising bits Y', U', and V', for each said mapping look-up table index; and
- selecting as the first color palette index for each said mapping look-up table index, an index to the RGB value which corresponds to values Y.sub.m ", U.sub.m ", and V.sub.m ", wherein the values Y.sub.m ", U.sub.m ", and V.sub.m " are determined by minimizing an error value E over all values Y", U", and V", to determine a minimum error E.sub.m, where E is substantially equal to LA+MB+NC, where L, M, and N are weighting factors, A is the absolute value of Y"-Y', B is the absolute value of U"-U', C is the absolute value of V"-V', E.sub.m =LA.sub.m +MB.sub.m +NC.sub.m, where A.sub.m, is the absolute value of Y.sub.m "-Y', B.sub.m is the absolute value of U.sub.m "-U', and C.sub.m is the absolute value of V.sub.m "-V'.
- 19. The method of claim 18, wherein the step of generating the mapping look-up table also includes the steps of:
- selecting as the second color palette index for each said mapping look-up table index, an index to the RGB value which corresponds to values Y.sub.e ", U.sub.e ", and V.sub.e ", wherein the values Y.sub.e ", U.sub.e ", and V.sub.e " are determined by generating an error propagated expanded index comprising bits Y'", U'", and V'" from the expanded YUV value for the mapping look-up table index, and then minimizing an error value E' over all values Y", U", and V", where E' is substantially equal to LA'+MB'+NC', where A' is the absolute value of Y"-Y'", B' is the absolute value of U"-U'", and C' is the absolute value of V"-V'".
- 20. The method of claim 18, wherein M is substantially equal to N, and L is substantially equal to 4N.
- 21. The method of claim 16, wherein step (b) includes the steps of:
- adding a signal indicative of a pseudo-random number to each of the Y component data, the U component data, and the V component data, thereby forming Y, U, and V noise components;
- quantizing the Y, U, and V noise components, thereby forming quantized Y, U, and V components; and
- concatenating the quantized Y, U and V components thereby forming the dithered YUV pixel signal.
- 22. A method for generating a mapping look-up table for use in converting image data specified in a YUV format into display image data specified in a RGB format for display on a raster scan video display, said method including the steps of:
- determining a luminance value Y" and chrominance values U" and V" for each RGB value of an RGB color palette for the display image data;
- generating an expanded YUV value, comprising bits Y', U', and V', for each mapping look-up table index of a set of mapping look-up table indices; and
- selecting as a first color palette index for said each mapping look-up table index, an index to the RGB value which corresponds to values Y.sub.m ", U.sub.m ", and V.sub.m ", wherein the values Y.sub.m ", U.sub.m ", and V.sub.m " are determined by minimizing an error value E over all values Y", U", and V", to determine a minimum error E.sub.m, where E is substantially equal to LA+MB+NC, where L, M, and N are weighting factors, A is the absolute value of Y"-Y', B is the absolute value of U"-U', C is the absolute value of V"-V', E.sub.m =LA.sub.m +MB.sub.m +NC.sub.m, where A.sub.m is the absolute value of Y.sub.m "-Y', B.sub.m is the absolute value of U.sub.m "-U', and C.sub.m is the absolute value of V.sub.m "-V'.
- 23. The method of claim 22, also including the steps of:
- selecting as a second color palette index for said each mapping look-up table index, an index to the RGB value which corresponds to values Y.sub.e ", U.sub.e ", and V.sub.e ", wherein the values Y.sub.e ", U.sub.e ", and V.sub.e " are determined by generating an error propagated expanded index comprising bits Y'", U'", and V'" from the expanded YUV value for the mapping look-up table index, and then minimizing an error value E' over all values Y", U", and V", where E' is substantially equal to LA'+MB'+NC', where A' is the absolute value of Y"-Y'", B' is the absolute value of U"-U'", and C' is the absolute value of V"-V'".
- 24. The method of claim 23, also including step of:
- storing the first color palette indices and the second color palette indices in storage locations of the mapping look-up table, so that both the first color palette index and the second color palette index for each mapping look-up table index are stored in a common storage location of the mapping look-up table.
- 25. The method of claim 22, wherein M is substantially equal to N, and L is substantially equal to 4N.
CROSS-REFERENCE TO RELATED APPLICATION
The present application is a continuation of U.S. patent application Ser. No. 07/823,249, filed Jan. 21, 1992 now abandoned.
US Referenced Citations (11)
Non-Patent Literature Citations (2)
Entry |
Three sheets of schematic circuit diagrams describing the Digital F/X TO200 product (dated Jun. 17, 1988). |
*IEEE Standard Dictionary of Electrical and Electronics Terms, 3d ed., The Institute of Electrical and Electronics Engineers, Inc., 1984, pp. 696 and 727. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
823249 |
Jan 1992 |
|