How to fill the blank regions within blood vessels?

1 view (last 30 days)
output.jpg
Hello,
I am doing the blood vessel extraction of retinal eye fundus images and got an output as in figure above.But I can see some
gaps within the blood vessels which need to be filled(i.e, the black lines inside the white blood vessels).
Can anyone suggest me how to do this task.

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 1 Dec 2019
If I am not mistaken, I have answered this question some time back.
Steps:
  1. Invert (So that the target black pixels become tiny white regions)
  2. Morphological Operation (Erode the image with proper struturing element), so that all tiny white region within the vessels should be erode.
  3. Dilate by same structuring element to mainain the same in the others parts of the image
  4. Invert Back
Cheers :)
  2 Comments
Krishna Chaitanya
Krishna Chaitanya on 4 Dec 2019
sorry i'm new to matlab which structuring element should i use for this task
KALYAN ACHARJYA
KALYAN ACHARJYA on 4 Dec 2019
Try with multiple types, see which are best fit in your case. May be
SE = strel('disk',r,n)

Sign in to comment.

More Answers (0)

Categories

Find more on Biomedical Imaging in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!