Color matching using color segmentation
First Claim
1. A non-transitory computer readable medium storing a computer program which when executed by at least one processing unit matches colors of a first image to colors of a second image, the program comprising sets of instructions for:
- identifying a first set of transforms for converting pixel values of the first and second images from first and second color spaces to a device-independent color space;
modifying the first set of transforms to generate a second set of transforms that not only convert the pixel values of the first and second images to the device-independent color space, but also shift colors during the transform in order to segment the colors into more-defined color segments in the device-independent color space;
applying the second set of transforms to pixel values of the first and second images; and
modifying, for each color segment in the color segments, pixel values in the first image so that colors of pixels in the first image that fall within the color segment shift towards colors of pixels in the second image that fall within the color segment.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments provide a computer program for matching colors of a first image to colors of a second image. The computer program identifies a set of transforms for converting the first image to a device-independent color space. The computer program modifies the set of transforms to segment colors of the first image into a set of segmented colors. The computer program applies the modified set of transforms to pixel values of the first image in order to segment the pixels of the first image into the set of segmented colors. The computer program applies the modified set of transforms to pixel values of the second image in order to segment the pixels of the second image into the set of segmented colors. The computer program matches each segmented color in the set of segmented colors in the first image to the segmented color in the second image.
57 Citations
27 Claims
-
1. A non-transitory computer readable medium storing a computer program which when executed by at least one processing unit matches colors of a first image to colors of a second image, the program comprising sets of instructions for:
-
identifying a first set of transforms for converting pixel values of the first and second images from first and second color spaces to a device-independent color space; modifying the first set of transforms to generate a second set of transforms that not only convert the pixel values of the first and second images to the device-independent color space, but also shift colors during the transform in order to segment the colors into more-defined color segments in the device-independent color space; applying the second set of transforms to pixel values of the first and second images; and modifying, for each color segment in the color segments, pixel values in the first image so that colors of pixels in the first image that fall within the color segment shift towards colors of pixels in the second image that fall within the color segment. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method for color matching a first image to a second image, the method comprising:
-
determining a first set of transforms for modifying pixel values of pixels in the first image to match a first set of characteristics of the first image to the first set of characteristics of the second image; segmenting pixels of the first image into a set of colors and pixels of the second image into the set of colors; determining a second set of transforms for modifying pixel values of pixels in the first image to match a second set of characteristics of each color in the set of colors of the first image to the second set of characteristics of the corresponding color of the second image; and modifying the pixel values of the first image to match the pixel values of the second image by applying the first set of transforms and the second set of transforms to the pixel values of the first image so that the first set of characteristics of the first image matches to the first set of characteristics of the second image and the second set of characteristics of each color in the set of colors of the first image matches to the second set of characteristics of the corresponding color of the second image. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
-
Specification