Patent ID: 8390895

Claim:
A method of converting real domain image data from a first color space to a second color space, the method comprising: generating a lookup table comprising color values defined in the second color space that correspond to color values in the first color space; clustering the real domain image data into blocks of pixels; and for each block of pixels: converting a color value in the block of pixels from the first color space to the second color space according to the lookup table using a conversion engine; computing differences between the color value and color values of pixels in the block; scaling the computed differences according to a table of scaling factors; and adding the scaled differences to the converted color value to convert the color values of the pixels in the block to the second color space, wherein converting the color value from the first color space to the second color space according to the lookup table comprises determining an average color value for the block of pixels and converting the average color value to the second color space according to the lookup table, wherein computing the differences comprises computing differences between the average color value and all color values of pixels in the block; and further comprising determining when a computed color value difference of a pixel in the block breaches a threshold color value; and converting the color value of the pixel to the second color space according to the lookup table when the difference breaches said threshold.