Method and apparatus for changing specified color in a color image
First Claim
1. A method of changing a color in a color image into another color, said method comprising the steps of:
- (a) specifying first and second colors for defining a color range to be processed by color change operation;
(b) specifying a substitute color, which is to be used as a color component of a changed color after said color change operation;
(c) obtaining first and second color vectors representing said first and second colors in a color space;
(d) obtaining a substitute color vector representing said substitute color in said color space;
(e) obtaining a third color vector linearly independent of the first and second color vectors;
(f) expressing a color of each pixel in said color image by a linear combination of said first through third color vectors, to thereby obtain first through third coefficients for said first through third color vectors; and
(g) if said first coefficient for a current pixel is positive, executing the color change operation through combing said substitute color vector, said second color vector, and said third color vector while using said first through third coefficients as weighting factors, respectively, to thereby produce a changed-color vector representing a changed color of the current pixel.
2 Assignments
0 Petitions
Accused Products
Abstract
A subject color and a non-subject color of color change operation are specified and then a first color vector representing the subject color and a second color vector representing the non-subject color are obtained. A substitute color for replacing a component of the subject color is further specified, and a color vector representing the substitute color is obtained. A third color vector independent of the first and second color vectors is further determined. A color of each pixel in an original color image is expressed by linear combination of the first through third color vectors, thereby obtaining first through third coefficients for the first through the third color vectors. If the first coefficient is positive, the first color vector is replaced by the substitute color vector. The pixel color after the color change operation is then determined by producing a composite vector using the first through the third coefficients.
-
Citations
16 Claims
-
1. A method of changing a color in a color image into another color, said method comprising the steps of:
-
(a) specifying first and second colors for defining a color range to be processed by color change operation; (b) specifying a substitute color, which is to be used as a color component of a changed color after said color change operation; (c) obtaining first and second color vectors representing said first and second colors in a color space; (d) obtaining a substitute color vector representing said substitute color in said color space; (e) obtaining a third color vector linearly independent of the first and second color vectors; (f) expressing a color of each pixel in said color image by a linear combination of said first through third color vectors, to thereby obtain first through third coefficients for said first through third color vectors; and (g) if said first coefficient for a current pixel is positive, executing the color change operation through combing said substitute color vector, said second color vector, and said third color vector while using said first through third coefficients as weighting factors, respectively, to thereby produce a changed-color vector representing a changed color of the current pixel. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of changing a color in a color image into another color, said method comprising the steps of:
-
(a) specifying a subject color and a pair of adjoining non-subject colors for defining a color range to be processed by color change operation; (b) specifying a substitute color, which is to be used as a color component of a changed color after said color change operation; (c) obtaining a first color vector representing said first color in a color space, and a pair of second color vectors representing said pair of adjoining non-subject colors; (d) obtaining a substitute color vector representing said substitute color in said color space; (e) successively selecting one of said pair of second color vectors, and obtaining a third color vector linearly independent of the first color vector and said selected second color vector, to thereby obtain a pair of vector combinations each including said first vector, said selected second vector, and said third vector; (f) selecting one of said pair of vector combinations, and expressing a color of each pixel in said color image by a linear combination of three color vectors included in said selected vector combination, to thereby obtain first through third coefficients for said three color vectors; and (g) executing the color change operation through combing said substitute color vector, said selected second color vector included in the selected vector combination, and said third color vector while using said first through third coefficients as weighting factors, respectively, to thereby produce a changed-color vector representing a changed color of the current pixel. - View Dependent Claims (7, 8)
-
-
9. An apparatus of changing a color in a color image into another color, said apparatus comprising:
-
means for specifying first and second colors for defining a color range to be processed by color change operation, and a substitute color, which is to be used as a color component of a changed color after said color change operation; means for obtaining first and second color vectors representing said first and second colors in a color space; means for obtaining a substitute color vector representing said substitute color in said color space; computation means for obtaining a third color vector linearly independent of the first and second color vectors; means for expressing a color of each pixel in said color image by a linear combination of said first through third color vectors, to thereby obtain first through third coefficients for said first through third color vectors; and color changing means for, if said first coefficient for a current pixel is positive, executing the color change operation through combing said substitute color vector, said second color vector, and said third color vector while using said first through third coefficients as weighting factors, respectively, to thereby produce a changed-color vector representing a changed color of the current pixel. - View Dependent Claims (10, 11, 12, 13)
-
-
14. An apparatus of changing a color in a color image into another color, said apparatus comprising:
-
means for specifying a subject color and a pair of adjoining non-subject colors for defining a color range to be processed by color change operation, and a substitute color, which is to be used as a color component of a changed color after said color change operation; means for obtaining a first color vector representing said first color in a color space, and a pair of second color vectors representing said pair of adjoining non-subject colors; means for obtaining a substitute color vector representing said substitute color in said color space; computation means for successively selecting one of said pair of second color vectors, and obtaining a third color vector linearly independent of the first color vector and said selected second color vector, to thereby obtain a pair of vector combinations each including said first vector, said selected second vector, and said third vector; coefficient operation means for selecting one of said pair of vector combinations, and expressing a color of each pixel in said color image by a linear combination of three color vectors included in said selected vector combination, to thereby obtain first through third coefficients for said three color vectors; and color changing means for executing the color change operation through combing said substitute color vector, said selected second color vector included in the selected vector combination, and said third color vector while using said first through third coefficients as weighting factors, respectively, to thereby produce a changed-color vector representing a changed color of the current pixel. - View Dependent Claims (15, 16)
-
Specification