I have a binary image like the following image. I want to plot the border of each object with different color. As far as I know, I need to use bwtraceboundary. But, I don't know how to choose the starting point that has to be parsed in the second input argument of bwtraceboundary. Any help is appreciated. Thanks.
MATLAB: How to trace the boundary of each object in a binary image
bwboundariesbwtraceboundary
Best Answer