Suppose I have a Morphological Graph as follows:
and I would like to combine some of these edges which are significantly shorter than the others into a singular edge as indicated in red in the following picture:
How would I do this?
Any help would be appreciated!
Manipulate your original image before you apply MorphologicalGraph
. Use Image Processing tools for this. For example, simple application of Dilation
can shrink a short edge, compare: