vessel density calculation of fundus image in MATLAB
2 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
Image Analyst
2020-3-10
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 个评论
Image Analyst
2020-3-11
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!