how to clustering/segment binary image?

I need to find an algorithm that can segement following image as circled.
I think semantic segmentation probably can do it, but I dont have enough labeled data for training.
K-mean clustering wouldent work.
Also, since all three parts are connected, regionprop dont work either.
I am apperciate if anyone could suggest any approaches that can segement images as described above.

Products

Release

R2020b

Asked:

on 31 Oct 2020

Answered:

on 3 Nov 2020

Community Treasure Hunt

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

Start Hunting!