I wander if some one can help me in skin detection program

2 visualizaciones (últimos 30 días)
Hi everyone I hope that some can help me in my problem that I am in. I want the help in Skin Detection and find the way to write the program for that using the threshold in the (RGB) space Welling to here from you all soon

Respuesta aceptada

Image Analyst
Image Analyst el 28 de Ag. de 2013
Because of the boomerang/banana shaped gamut of skin, there's no way to segment out skin with simple thresholding in any color space (rgb, lab, hsv, YCbCr, etc.). You'll have to look up and employ more sophisticated methods. You might be able to get it for one particular image but you won't be able to find all skin colors that any person in an image might possibly have for any arbitrary image that you might be presented with.
  2 comentarios
Karbala'a Unvi. Science
Karbala'a Unvi. Science el 28 de Ag. de 2013
Thank you for your quick respond, that mean I have to have one image and find the color threshold for it in the color space that I am working on?. Can I find a stander threshold for ( white or colored people) at the same time. Thank you again
Image Analyst
Image Analyst el 28 de Ag. de 2013
Your best bet is to do it in hsv color space. Everyone has skin color in the orangish hue range, at least somewhere in the red to yellow range. So you can get the hue in general. However the chroma depends on the value and you can't get that with simple thresholding. Just going by hue will also get you gray objects since they may be in the orange hue zone, they just aren't very saturated. So you need to carve out the "elbow" of the boomerang so that you don't pick up gray objects as skin. Neutral (black/white) is okay for very very light skinned people or for very very dark skinned people, but not for people with medium levels of brightness (Y, V, or L values). You might be able to map out a boomerang shape in the Value vs. Chroma plane and then determine if a pixel with it's particular Value and Chroma are within that boomerang shape.
Another problem is that everything that is skin colored will get picked up regardless if it's skin or something else, like a piece of fruit or something.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by