Patent ID: 6259428
Filing Date: 2001-07-10
Classification: G06T,G09G,H04N

Abstract:
A method for substituting colors in a graphic image, wherein the graphic image includes one or more current colors, wherein the graphic image comprises a plurality of color elements, the method comprising:receiving user input specifying the color to be replaced within the graphic image (Cr) and a new color (Cn);converting the color to be replaced (Cr) to hue, luminance and saturation components (Hr, Lr, Sr);converting the new color (Cn) to hue, luminance and saturation components (Hn, Ln, Sn);receiving a hue variance value indicating a percentage of hue variance;for each color element, performing a color substitution operation, wherein said performing said color substitution comprises:obtaining a current color (Cc) of a current color element in the graphic image;converting the current color (Cc) to hue, luminance and saturation components (Hc, Lc, Sc);determining if Hc matches Hr within the specified hue variance value;if Hc matches Hr within the specified hue variance value, then:setting the value of Hc to the value of Hn;converting Hc, Lc and Sc to an rgb format; andmodifying the current color element according to the rgb format to produce a new color for the current color element.