Clear Filters
Clear Filters

vessel density calculation of fundus image in MATLAB

2 views (last 30 days)
Hi,
I have segmented blood vessels from the fundus image. I want to calculate vessel density as one my feature from this segmented image (attached here).
I came across the method provided in 'http://www5.informatik.uni-erlangen.de/Forschung/Publikationen/2012/Budai12-BVD-talk.pdf'.
Can any one help me with this? Other possible suggetions are also welcome.
Thanks in advance!

Answers (1)

Image Analyst
Image Analyst on 10 Mar 2020
I'd sum the image to get the sum of all white pixels in the mask, then do the same for the convex hull and ratio them
numVesselPixels = sum(mask(:));
chImage = bwconvhull(mask, 'union');
roiArea = sum(chImage(:));
vesselDensity = numVesselPixels / roiArea;
  3 Comments
Image Analyst
Image Analyst on 11 Mar 2020
It's only the same if the mask is the same as the convex hull. The convex hull would be roughly circular, like you put a rubber band around your blobs. Your mask will include some areas that definitely will not include vessels. You have to decide what reference area you want. The one you have might be better since it will be the same regardless of patient or how many vessels the patient has.
Bala Amala Kannan
Bala Amala Kannan on 12 Mar 2020
Edited: Bala Amala Kannan on 12 Mar 2020
Thank you so much. Then I will use the mask I have.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!