Connecting segmented region in image I am working on segmenting hands from monocular images and I have already come up with a pretty descent segmentation. The only issues I am having are when people have rings on their finger. Then the hand is no longer a connected component and I get the hand and the finger component. The following image shows my segmented mask, where the ring finger is detached because of a ring.



Is there any natural method to connect components like these together? Otherwise I could try to segment the rings, but not all people have rings, so I would prefer to try to tackle this in this way.

Also, if there is another SE better suited for this question, please let me know.
I guess that the missing area is due to a ring. A solution would be to use a PCA in order to compute the finger orientation. Then you apply a closing (mathematica morphology) with an segment oriented segment (same orientation as the finger).

It might modify a little bit the gap between the fingers where they are connected to the hand.