Given an image of tubular-like structures from which the edges have been extracted, I would like to fill/flood the regions inside the edges. It's worth to mention that the edges represent an edgeness measure/likelihood. The more blue it looks like, the more probable an edge is to be found. Any ideas how to fill the regions?
I applied a set of successive morphological closings with structural elements of different sizes (circles with sizes of: 5x5,7x7,9x9,11x11,13x13,15x15). However the results are not so nice yet. What it's important to note is that the width of the tubular structures is not uniform, and also the input image exhibits some holes that shall not be filled in.
An illustration of an input image is given on the following link:
An illustration of the output after the multi-scale closing is given at:
Any suggestions are appreciated :-)