我新的图像处理。在我的应用程序中,我想检测并移除眼睛周围的皮肤。 皮肤检测和清除在Emgucv
在上述图像我想提取眼睛区域(和眼眉)没有皮肤。
首先,我试图从图像去除皮肤之前执行皮肤检测。我以前在emgu简历AdaptiveSkinDetector
方法,这里是我的代码
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);
但它没有检测皮肤。我的代码中是否有错误? 有没有更好的方法来进行皮肤检测? (使用颜色,也许?) 引用/代码示例会很有用。
您的帮助是高度赞赏
在此先感谢
您是否尝试将图像设置为二进制形式? –
是,使用该代码 图片 Binary_Image = eyebrow_img_crop.ThresholdBinary(新灰色(threshold_value),新的灰度(255)); 但没有表现出预期的结果 –
gouthaman93