Patent ID: 8031936

Claim:
An image processing method comprising: obtaining a probability table comprising: a color coordinate index defining multiple color locations in the probability table; and a skin probability stored at the color locations; uploading the probability table from a system memory as a probability texture to a texture memory of a graphics processing unit, wherein the probability texture is stored as a first texture in the texture memory of the graphics processing unit; uploading a source image from the system memory as an image texture to the texture memory of the graphics processing unit, wherein the image texture is stored as a second texture in the texture memory of the graphics processing unit; issuing an occlusion query from a processor to the graphics processing unit to request a skin pixel count resulting from a draw call; issuing the draw call to the graphics processing unit to initiate a texture mapping of the probability texture onto a render target based on the image texture; and receiving an occlusion result from the graphics processing unit comprising the skin pixel count resulting from the draw call.