Patent ID: 8842911

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 luma component value; based on analysis of the luma component values of the pixels of the first and second images, determining a set of transforms to modify pixel values of the first image so that the pixel values of the first image are similar to pixel values of the second image; and applying the set of transforms to the first image such that the pixel values of the first image are similar to the pixel values of the second image, wherein the set of transforms to modify pixel values of the first image so that the pixel values of the first image are similar to the pixel values of the second image comprises a transform to modify luma component values of a first percentage of pixels in the first image such that, after the transform is applied, the first percentage of pixels in the first image, having luma component values that are within a range of luma component values, is equivalent to a second percentage of pixels in the second image having luma component values that are within the range of luma component values.