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.

产品

版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by