Patent ID: 8611655

Claim:
A non-transitory computer readable medium storing a computer program which when executed by at least one processing unit performs a color matching operation, the computer program comprising sets of instructions for: identifying first and second images, each image comprising a plurality of pixels, each pixel comprising a hue component value; identifying a set of hue ranges for the first image based on analysis of the hue component values of pixels in the first image; identifying a set of hue ranges for the second image based on analysis of the hue component values of pixels in the second image; and modifying hue component values of pixels in the first image by (1) determining a set of hue shift operations that each shifts hues of pixels in a particular hue range in the set of hue ranges for the first image towards hues in a corresponding hue range for the second image and (2) performing the set of hue shift operations on pixels in the first image.