Under segmentation with bwboundaries

My goal is to use bwboundaries to recognize each of these objects, so that I can later analyze each object individually. bwboundaries() does a great job most of the time, but it will occasionally recognize a cluster of distinct objects as 1. In the largest red rectangle above, it has drawn 1 boundary around all three objects. Specifying the connectivity resulted in no change. I'd appreciate any help on this problem - I can't figure out how to get three boundaries out of these 3 objects.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by