Vein Detection in Angiogram image

There are veins in above image. I need to find out the location of pixels at which veins are present.
I tried to do this:
img=imread('segmented plus orignal image 1\aa00001.jpg');
bi=im2bw(img); imshow(bi)
But still, it is not clear.

2 Comments

What do you mean by "it is not clear"? Is this the result you get?
Yes, I am getting this result. I want to remove other things. Only veins should be there.

Sign in to comment.

 Accepted Answer

You may want to try edge detection followed by some image morphological operations (e.g. dilation, erosion) and region flood-filling.
Also, if your results from im2bw are as depicted in the comment above, the bwareaopen function may be helpful.

More Answers (1)

Image Analyst
Image Analyst on 24 Mar 2016
Has that image already been through a Hessian or Frangi filter?

Categories

Community Treasure Hunt

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

Start Hunting!