Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I am using matlab R2011b so I have't 'imfindcircles' function. My aim is to detect optic nerve and make it totaly white. How can I do that?Original image:https://www.dropbox.com/s/btzxkt778u5cga6/A.jpg?dl=0[^]Binary image:https://www.dropbox.com/s/t5jpw505lx44u81/B.jpg?dl=0[^]In the result image the area in the red circle should be white:https://www.dropbox.com/s/wgn5vhmpczk77p4/C.jpg?dl=0[^]
Posted
Updated 26-Nov-14 8:27am
v2
Comments
Sergey Alexandrovich Kryukov 26-Nov-14 10:55am    
Isn't it the scotoma (blind spot)? "Optic nerve" sounds confusing to me...
—SA

1 solution

I'm not using Matlab, but I've done recognition of some features using AForge.NET and can tell you that your case is not the so easy, due to several problems of your image: the lack of colors; the spot you are looking for is fuzzy, it's shape is very irregular due to oblique lighting showing shadows from some veins; there are other fuzzy spots in the image; they look different to your eyes but will confuse the standard recognition algorithms; there are long whitish veins which also can be detected as false positives.

You will need certain experimenting to "solve" this image. But the general way should be this: first, you perform contrasting transform to the picture, probably going to extreme. Then you perform blob analysis. If the blob detection algorithm has size discrimination (filtering out by size), especially in two directions (vertical, horizontal), you should use it. After blob detection, I'm almost sure you are going to have some false positives, so you will have to perform your own filtering to choose the right one. This problem is greatly simplified by the fact that you have only one object. Most likely, the sizes of this feature lie in a pretty narrow domain, do you can look at the convex hull instances of the detected spots and find one which is the "most rounded" with the sizes closest to the expected size.

Sorry if my advice is not definitive enough. I would need to conduct a good deal of research myself to resolve this kind of recognition, but I feel that it's quite possible.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900