Image color modification in a computer-aided design system
AssigneeComputer Design, Inc.
InventorHo-Long Liao
Life of this patent
Estimating the term…
Abstract
A method and system for alternatingly applying different colors to a realistic computer generated graphic image while preserving the effects of shading, highlights, reflectors and other lighting effects. A user selects a "New Color" to apply to an image and picks an "Original Color" from the image in an area not subject to extreme lighting effects. The difference between the parameters of these two colors in (H,S,V) coordinates is determined and applied to every pixel in a segment of the image to calculate a replacement pixel color. Tools are provided to allow the user to divide an image into segments to which color modification can be individually applied.
Claims24
In a computer-aided design system, a method for modifying the color of computer generated continuous-color graphic images including the steps of:
- selecting a first color by receiving a user selection of a location on a computer generated continuous-color graphic image from a locating instrument and determining color coordinates at said location;
- selecting a second color to be applied to at least part of said computer generated continuous-color graphic image, said second color having color coordinates that are different from the color coordinates at said location;
- and
- modifying the color coordinates of said part of said computer generated graphic image as a function of the mathematical difference between the color coordinates at said location and the color coordinate of said second color to produce a new graphic image.
In a computer-aided design system, a method for modifying the color of computer generated continuous-color graphic images including the steps of:
- selecting a first color by receiving a user selection of a location on a computer generated continuous-color graphic image from a locating instrument and determining color coordinates as said location, one of said coordinates being hue;
- selecting a second color to be applied to at least part of said computer generated continuous-color graphic image, said second color having color coordinates including hue, wherein said hue that is a coordinate of said second color is different from the hue at said location;
- determining the mathematical difference between said hue coordinate at said location and said hue that is a coordinate of said second color;
- and
- modifying at least a part of said computer generated continuous-color graphic image as a function of said mathematical difference between said hue coordinate at said location and said hue that is a coordinate of said second color to produce a new computer generated continuous-color graphic image.
In a computer-aided design system, a method for modifying the color of computer generated continuous-color graphic images including the steps of:
- selecting a first color having (H,S,V) coordinates by receiving a user selection at a location on a computer generated continuous-color graphic image from a locating instrument and determining color coordinates at said location;
- selecting a second color to be applied to at least part of said computer generated continuous-color graphic image, said second color having (H,S,V) coordinates that are different from those at said location;
- determining the mathematical difference between said (H,S,V) coordinates at said location and said (H,S,V) coordinates of said second color;
- and
- modifying the (H,S,V) coordinates of said part of said computer generated continuous-color graphic image as a function of said mathematical difference between said (H,S,V) coordinates at said location and said (H,S,V) coordinates of said second color to produce a new graphic image.
In a computer-aided design system, a method for modifying the color of computer generated continuous-color graphic images including the steps of:
- (a) selecting a first color having (H,S,V) coordinates by receiving a user selection of a location on a computer generated continuous-color graphic image from a locating instrument and determining (H,S,V) coordinates at said location;
- (b) selecting a second color to be applied to at least part of said computer generated continuous-color graphic image, said second color having (H,S,V) coordinates different from those at said location;
- (c) determining the mathematical difference in (H,S,V) coordinates between said (H,S,V) coordinates at said location and said (H,S,V) coordinates of said second color;
- (d) examining a pixel in a computer generated continuous-color graphic image and determining the (H,S,V) coordinates of said pixel;
- (e) summing said mathematical difference in (H,S,V) coordinates between said (H,S,V) coordinates at said location and said (H,S,V) coordinates of said second color with said (H,S,V) coordinates of the examined pixel to obtain new (H,S,V) coordinates;
- (f) replacing the examined pixel with a new pixel having said new (H,S,V) coordinates;
- and
- (g) repeating steps (d)-(f) for all pixels in at least a portion of said computer generated continuous-color graphic image.
A system for modifying the colors of computer generated continuous-color graphic images in a computer-aided design system comprising:
- first selecting means for receiving a user selection of a location on a computer generated continuous-color graphic image to be defined as a first color and for determining the hue at said location;
- second selecting means for receiving a user selection of a second color to be applied to at least a portion of said computer generated continuous-color graphic image, said second color having a hue that is different from the hue at said location, and means for determining the hue of said second color;
- first determining means responsive to said first and second selecting means for determining a variance number that is a function of the mathematical difference between said hue at said location and said hue of said second color;
- means for scan-converting said computer generated continuous-color graphic image in said design system;
- second determining means responsive to said scan-converting means for determining color coordinates of a pixel;
- calculating means responsive to said color coordinates and said variance number for calculating replacement color coordinates of a pixel as a function of the sum of the color coordinates of the pixel and the variance number;
- and
- means responsive to the replacement color coordinates of a pixel for replacing the color coordinates of the corresponding pixel in the computer generated continuous-color graphic image.
Dependencies are inferred from the claim text.