Claims
- 1. A memory efficient, multi-resolution color mapping system for adjusting an input color value, comprising:
a multi-resolution color look up table comprising:
a low resolution look up table formed of a number of low resolution regions; a high resolution look up table formed of a number of high resolution regions; an index table having a number of index entries each of which uniquely identifies a particular one of the low resolution regions; and a tag look up table having a number of tag entries each of which corresponds to a particular index entry wherein when a particular index entry has a corresponding non-zero tag entry, the non-zero tag entry points to a particular high-resolution region that is overlaid on the identified low resolution region wherein the particular high-resolution region is used for generating a color offset value that is used to adjust the input color value.
- 2. A system as recited in claim 1 further comprising:
an interpolator unit coupled to the multi-resolution color look up table arranged to interpolate, if needed, the particular high-resolution region thereby generating the color offset value; and a color adjuster unit coupled to the color multi-resolution look up table arranged to add the color offset value to the input color value to generate the adjusted color value.
- 3. A system as recited in claim 1 wherein if the tag entry is zero, the corresponding low-resolution table region only is used for the color offset interpolation, if needed.
- 4. A system as recited in claim 3, wherein the color value is a pixel chroma value.
- 5. A system as recited in claim 4, wherein the multi-resolution look up table is a multi-resolution chroma value look up table, wherein the low resolution look up table is a low resolution chroma value look up table and wherein the high resolution look up table is a high resolution chroma look up table.
- 6. A system as recited in claim 5, wherein the color offset value is a pixel chroma offset value.
- 7. A system as recited in claim 6, wherein the pixel chroma value is defined by a first and a second component.
- 8. A system as recited in claim 7, wherein the first and the second components are a U component and a V component, respectively, in a YUV color space.
- 9. A system as recited in claim 8, wherein the first and the second components are each a fixed precision digital number each having a fixed number of bits.
- 10. A system as recited in claim 9, wherein the pointing is based upon selected ones of the bits of each of the first and second components.
- 11. A system as recited in claim 10, wherein the interpolating includes using pixel chroma value offsets at the vertices using the other ones of the bits as interpolation weights.
- 12. A multi-resolution method of generating an output pixel chroma value based upon a of an input pixel chroma value, comprising:
providing a multi-resolution table comprising:
a low resolution table; and a high resolution table that is delineated by a number of high resolution table vertices; identifying a location in the low resolution table corresponding to the input pixel chroma value; determining if the identified location is associated with the high resolution table; determining a pixel chroma value offset based upon a relationship between the identified location and the high resolution table vertices; and applying the pixel chroma value offset to the input pixel chroma value.
- 13. A method as recited in claim 12, wherein the input pixel chroma value is defined by a first and a second component.
- 14. A method as recited in claim 13, wherein the first and the second components are a U component and a V component, respectively, in a YUV color space.
- 15. A method as recited in claim 14, wherein the first and the second components are each a fixed precision digital number each having a fixed number of bits.
- 16. A method as recited in claim 5, wherein the determining if the identified location is associated with the high resolution table comprises:
pointing to an entry in a tag lookup table based upon selected ones of the bits of each of the first and second components; and pointing to the high resolution table, if any, based upon the entry.
- 17. A method as recited in claim 16, wherein the determining a pixel chroma value offset is based upon other ones of the bits of each of the first and the second components.
- 18. A method as recited in claim 12, if there is no high resolution table associated with the identified location, then
defining a the location of the input pixel chroma value with respect to surrounding coarse resolution table vertices; determining the pixel chroma value offset based upon the low resolution table vertices by interpolating the chroma value offsets stored at the low resolution table vertices using the other ones of the bits as interpolation weights; and generating an output pixel chroma value by adding the pixel chroma value offset to the input pixel chroma value.
- 19. Computer program product for providing a multi-resolution method of generating an output pixel chroma value based upon a of an input pixel chroma value, comprising:
computer code for providing a multi-resolution table comprising:
a low resolution table; and a high resolution table that is delineated by a number of high resolution table vertices; computer code for identifying a location in the low resolution table corresponding to the input pixel chroma value; computer code for determining if the identified location is associated with the high resolution table; computer code for determining a pixel chroma value offset based upon a relationship between the identified location and the high resolution table vertices; computer code for applying the pixel chroma value offset to the input pixel chroma value; and computer readable medium for storing the computer code.
Parent Case Info
[0001] This application is a continuation of U.S. application Ser. No. 10/146,257 filed May 13, 2002 entitled “Apparatus and method for multi-resolution color mapping for display devices” which is hereby incorporated by reference.
Continuations (1)
|
Number |
Date |
Country |
Parent |
10146257 |
May 2002 |
US |
Child |
10890077 |
Jul 2004 |
US |