Method for matching colors of data displayed on connected computer systems
First Claim
1. A computer implemented method for translating a color used in a first visual type to a color in a second visual type, said computer implemented method comprising the steps of:
- (a) allocating a ramp of a plurality of colors in a colormap of said second visual type, wherein said allocated ramp colors are evenly spaced within a color palette of said second visual type, and wherein said allocated ramp colors comprise fewer than all available colors in said colormap of said second visual type;
(b) selecting one of said used colors from said first visual type;
(c) comparing said selected used color to each allocated ramp color and to all additional colors previously allocated in said colormap to select a one of said allocated colors close to said selected used color;
(d) determining a difference between said selected allocated color and said selected used color;
(e) when said difference is less than a predetermined amount, using said selected colormap color as a translated color;
(f) when said difference is more than said predetermined amount, allocating an additional color in said colormap of said second visual type, wherein said additional color has palette values related to said selected used color, and selecting said additional color as said translated color;
(g) sending said translated color to said second visual type; and
(h) repeating steps (b) through (g) for each color used in said first visual type.
2 Assignments
0 Petitions
Accused Products
Abstract
A system that translates the color of a pixel being displayed in a first visual type into a comparably colored pixel for a second visual type. The system first allocates a ramp of colors evenly distributed over the color palette of the second visual type, with the ramp occupying half of the colormap in the second visual type. For each pixel displayed on the first visual type, the colors of the pixel are matched to the ramp and if a close color is in the ramp, it is displayed on the second visual type. If no ramp color is sufficiently close, a new color is allocated in the colormap of the second visual type, if possible. Color translations are retained and used again when possible. When read-only and read-write classes of colors are used, a corresponding class is defined in the second visual type'"'"'s colormap.
-
Citations
14 Claims
-
1. A computer implemented method for translating a color used in a first visual type to a color in a second visual type, said computer implemented method comprising the steps of:
-
(a) allocating a ramp of a plurality of colors in a colormap of said second visual type, wherein said allocated ramp colors are evenly spaced within a color palette of said second visual type, and wherein said allocated ramp colors comprise fewer than all available colors in said colormap of said second visual type; (b) selecting one of said used colors from said first visual type; (c) comparing said selected used color to each allocated ramp color and to all additional colors previously allocated in said colormap to select a one of said allocated colors close to said selected used color; (d) determining a difference between said selected allocated color and said selected used color; (e) when said difference is less than a predetermined amount, using said selected colormap color as a translated color; (f) when said difference is more than said predetermined amount, allocating an additional color in said colormap of said second visual type, wherein said additional color has palette values related to said selected used color, and selecting said additional color as said translated color; (g) sending said translated color to said second visual type; and (h) repeating steps (b) through (g) for each color used in said first visual type. - View Dependent Claims (2, 3, 4)
-
-
5. A computer implemented method for translating a color used in a first visual type to a color in a second visual type, said computer implemented method comprising the steps of:
-
(a) allocating a ramp of a plurality of colors in a colormap of said second visual type, wherein said allocated ramp colors are evenly spaced within a color palette of said second visual type, wherein said allocated ramp colors comprises less than all available colors in a colormap of said second visual type; (b) selecting one of said used colors from said first visual type; (c) when said selected used color has been previously translated, selecting a previously translated color as a translated color; (d) comparing said selected color to each color of said allocated ramp colors and to all additional colors previously allocated in said colormap to select one of said allocated colors close to said selected used color; (e) determining a difference between said selected allocated color and said selected used color; (f) when said difference is less than a predetermined amount, using said selected allocated color as said translated color; (g) when said difference is more than said predetermined amount, allocating an additional color in said colormap of said second visual type, wherein said additional color has palette values related to said selected color, and selecting said additional color as said translated color; (h) retaining said translated color as said previously translated color for said selected color; (i) sending said translated color to said second visual type; and (j) repeating steps (b) through (i) for all colors used in said first visual type. - View Dependent Claims (6, 7, 8)
-
-
9. A computer implemented method for translating a color used in a first visual type to a color in a second visual type, wherein said first visual type displays colors using red, green, and blue values each of at least 4 bits in width, said computer implemented method comprising the steps of:
-
(a) allocating a ramp of a plurality of colors in a colormap of said second visual type, wherein said allocated ramp colors are evenly spaced within a color palette of said second visual type, wherein said allocated ramp colors comprises less than all available colors in a colormap of said second visual type; (b) defining a true-index of a plurality of values in said first visual type, wherein said true-index comprises a first predetermined number of values; (c) selecting one of said used colors from said first visual type; (d) determining red, green, and blue values for said selected used color; (e) reducing each of said red, green, and blue values to a reduced value comprising one of said first predetermined number of values; (f) when said selected used color has not been previously translated, transferring to step (j); (g) indexing said true-index using said reduced value and retrieving a true-index color from said true-index; (h) determining a difference between said true-index color and said selected used color; (i) when said difference is less than a predetermined amount, using said true-index color as a translated color and transferring to step (k); (j) allocating an additional color in said colormap of said second visual type, wherein said additional color has palette values related to said selected used color, selecting said additional color as said translated color, and storing said additional color in said true-index as a previously translated color; (k) sending said translated color to said second visual type; and (l) repeating steps (b) through (k) for each color used in said first visual type. - View Dependent Claims (10)
-
-
11. A computer implemented method for translating a color displayed in a first window of a first computer system using a first visual type into a color displayed in a second window of a second computer system using a second visual type, said computer implemented method comprising the steps of:
-
(a) upon connecting said first window to said second window, allocating a ramp of a plurality of colors in a colormap of said second visual type, wherein said allocated ramp colors are evenly spaced within a color palette of said second visual type, and wherein said allocated ramp colors comprise less than all available colors in said colormap of said second visual type; (b) receiving a pixel for display in said first window, said pixel having a pixel color from said first visual type; (c) when said pixel color has been previously translated, selecting a previously translated pixel color as a translated pixel color; (d) comparing said pixel color to each allocated ramp color and to all additional colors previously allocated in said colormap to select a one of said allocated colors close to said pixel color; (e) determining a difference between said selected allocated color and said pixel color; (f) when said difference is less than a predetermined amount, using said selected allocated color as said translated pixel color; (g) when said difference is more than said predetermined amount, allocating an additional color in said colormap of said second visual type in said second computer system, wherein said additional color has palette values related to said pixel color, and selecting said additional color as said translated pixel color; (h) retaining said translated pixel color as said previously translated pixel color for said selected color; (i) sending said translated color to said second visual type in said second computer system; and (j) repeating steps (b) through (i) so long as said first window remains connected to said second window. - View Dependent Claims (12, 13, 14)
-
Specification