I am new to Image processing. In my application, I want detect and remove skin surrounding an eye.
In the above image I want to extract the eye area (and eye brow) without skin.
First, I tried to perform skin detection before removing skin from the image. I used the AdaptiveSkinDetector
method in emgu cv, Here is my code
AdaptiveSkinDetector a = new AdaptiveSkinDetector(1, AdaptiveSkinDetector.MorphingMethod.ERODE);
Image<Gray, Byte> skin = new Image<Gray, Byte>(ImageFramecolourrighteye.Width, ImageFramecolourrighteye.Height);
a.Process(ImageFramecolourrighteye, skin);
CvInvoke.cvShowImage("Skin detection", skin);
But the it is not detecting skin. Are there any errors in my code? Is there any better way to perform skin detection? (using colors, perhaps?) References / code sample would be useful.
Your help is highly appreciated
Thanks in advance
Skin is a very good example proven to be detected well by hue, detect using hue, and play with Saturation and Value until you reach the least nosiy ones, example below, there are many of them. Hue detection will allow you to get skin regardless of its color or brightness.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.