MATLAB: Separating Ellipsoids

image processing

Hi everyone, I have an image processing question. I have a bunch of binary ellipsoids and some of them touch each other (forming what looks like a "8"). Can anyone suggest a method to separate the two ellipsoids?
Thanks in advance

Best Answer

You need to use watershed()