Claims
- 1. A method for building an inverse color look-up table in a color graphics system, said inverse color look-up table for accepting as an address input RGB color information and providing as a data output index information for indexing a color look-up table, said method comprising the steps of:
- initializing an array of data elements, each of said data elements for storing said index information, each of said data elements corresponding to a color position in RGB color space;
- storing a first index value in said array, said first index value corresponding to an index for said color look-up table, said first index value stored in a first of said data elements, said first data element corresponding to a color represented by said first index value in said color look-up table;
- storing an address of said first data element in a queue means for later processing;
- for a second of said data elements, said second of said data elements logically next to said first data element in RGB color space;
- (a) determining whether said second data element has been assigned an index value;
- (b) If said second data element has not been assigned an index value, assigning said second data element said first index value and storing an address for said second data element in said queue means.
- 2. The method as recited by claim 1, further comprising repeating steps (a) and (b) for a third, fourth, fifth, sixth and seventh data element, said second, third, fourth, fifth, sixth and seventh data elements being logically left, right, above, below, in front of and behind said first data element in said RGB color space.
- 3. The method as recited by claim 2, wherein an index value for each color in said color look-up table is stored in said array and said queue prior to processing said second data element.
- 4. The method as recited by claim 3, wherein steps (a) and (b) are repeated for each address in said queue.
Parent Case Info
BACKGROUND OF THE INVENTION
This is a divisional of application Ser. No. 07/195,083 filed May 17, 1988 pending.
US Referenced Citations (3)
Number |
Name |
Date |
Kind |
4368463 |
Quilliam |
Jan 1983 |
|
4598282 |
Pugsley |
Jul 1986 |
|
4799053 |
Van Aken et al. |
Jan 1989 |
|
Divisions (1)
|
Number |
Date |
Country |
Parent |
195083 |
May 1988 |
|