Patent ID: 8908964

Claim:
A method for transforming colors in a color image by a destination device, wherein the color image comprises pixels with color information, the method comprising: accessing a depth map corresponding to the color image, wherein the depth map comprises depth information for the color image and indicates relative position of objects in the color image from a reference point of view; accessing a collection of plural different color transforms; accessing a correspondence table which is constructed to store a mapping between depth information and the plural different color transforms in the collection; selecting a color transform for a target pixel from the collection of plural different color transforms, wherein the color transform is selected based on a depth value determined for the target pixel, and wherein the selecting comprises determining an index into the correspondence table by using the depth value determined, and selecting a color transform corresponding to the index in the correspondence table; and applying the selected color transform to the color information of the target pixel, wherein the accessed collection of color transforms is based on computational capability of the destination device, and wherein in the selecting step, the selected color transform is relatively accurate but computationally intensive for depth values inside a depth of field, while the selected color transform is relatively crude but computationally efficient for depth values outside the depth of field.