I am performing retinal blood vessel segmentation and i need to perform morphological reconstruction by dilation.
I am implementing a paper titled " AUTOMATIC DETECTION OF MICROANEURYSMS AND HEMORRHAGES IN COLOR EYE FUNDUS IMAGES" by Sérgio Bortolin Júnior1 and Daniel Welfer2 .
I quote from paper," the detection of the blood vessels was performed from a morphological reconstruction by dilation, denoted by R. In this operation, we used a diamond-shaped structuring element with radius of 1 pixel."
In the below image, first image is f9 and the second image is f10 (the reconstructed output)
I am attaching an example of f9 as f9.jpg
Can somebody help me do this task?