Patent ID: 8358812

Claim:
A method performed by a software process executing on a computer system, the method comprising: accessing a digital image in the RGB color space, the digital image comprising a plurality of pixels, each pixel having a red component value, R, a blue component value, B, and a green component value, G; without transforming the digital image to another color space, identifying each pixel in the digital image for which a red component value is greater than or equal to a green component value, R≧G, and for which the green component value is greater than a blue component value, G≧B, for each identified pixel, calculating a chroma value by subtracting the pixel's blue component value from the pixel's red component value, R−B, and determining whether the digital image depicts human skin based at least in part on determining whether the calculated chroma value is within a predetermined value range; and generating a temporary image by masking a plurality of pixels of the digital image for which the chroma value is outside of the predetermined value range.