Removing noise for efficient erosion of image

2 次查看(过去 30 天)
I am working on a project which detects in which direction the eye is looking at. I have used Viola-Jones algorithm for detecting the eyes. After that, I have binarized the image, complemented it and then intend to erode it with a disk structuring element. While it works when the eye looks straight, I do not get the proper shape of the iris when it is looking left or right. I suspect it is due to the reflected light which is seen as black pixels (instead of white) on the edge of the iris in the image attached. 'imfill' has not helped with this. Can somebody please help me with this?

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by