MATLAB Answers

Vein Detection in Angiogram image

6 views (last 30 days)
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
Explorer
Explorer on 24 Mar 2016
Yes, I am getting this result. I want to remove other things. Only veins should be there.

Sign in to comment.

Accepted Answer

Matthew Eicholtz
Matthew Eicholtz on 23 Mar 2016
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.

Community Treasure Hunt

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

Start Hunting!

Translated by