Pupil Detection using Hough Transform

9 次查看(过去 30 天)
Hi guys,
I would like to ask is there an accurate Hough transform source code available that can detect pupil/circle and draw a circle around the pupil and return the radius as well?
I have tried several methods but they cannot detect the pupil accurately, which results in more than one circle being drawn.
Looking forward to your experienced help. Thank you!

采纳的回答

David Young
David Young 2011-12-19
It's hard to help when you don't say what you have tried so far. The HT contributions on the file exchange should work - have you tried, for example this one?

更多回答(1 个)

Ivan
Ivan 2011-12-23
Hi David, I just saw your code, it was brilliant. The problem with my current code is that it is too lengthy and processing time takes much longer than yours. And it was not as sensitive as yours.
Thank you so much your prompt reply. I have a question which I replied on your page. Maybe i can post it here as well.
Here is a picture for clearer understanding..
If i were to set the Npeaks to 5, it would mean that 5 circles will be detected. However, I would like only one of the circle. Is there a way i can correct your code to eliminate the rest of the circles, or do I have to add on to the code? Thank you once again!
  1 个评论
Abdullah
Abdullah 2017-5-4
Hello, Why this code can work on some images but cannot work on other images?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by