Patent ID: 8355572

Claim:
A computer implemented method for mapping an out of gamut RGB color to a surface of a color gamut, the method comprising: retrieving, from a memory, an input point x c having {R c G c B c } values in RGB space, said input point x c being outside a surface of a color gamut of a target image output device; determining a lightness value comprising: γ=⅓( R c +G c +B c ); determining a chroma vector comprising: C -> = [ C r C g C b ] = [ R c - γ G c - γ B c - γ ] ; determining a minimum saturation and a maximum saturation of point x c , respectively, comprising: a 0 =MIN( C r , C g , C b ), and a 2 =MAX( C r , C g , C b ); calculating a new lightness value γ′ and a new chroma vector, {right arrow over (C′)}=(C′ r , C′ g , C′ b ) T , said new chroma vector being constrained to an input hue of point x c , and wherein, in response to (a 2 −a 0 )≧1, scaling said chroma vector {right arrow over (C)} to obtain said new chroma vector, C ′ -> = [ C r ′ C g ′ C b ′ ] = 1 a 2 - a 0 ⁢ C -> ; converting said new lightness value and said new chroma vector to {R′ c G′ c B′ c } values; and providing said {R′ c G′ c B′ c } values to an image processing system.