I would like to convert a binary image to a set of objects but I can’t figure out how. I need the opposite of the ConvertObjectsToImage module. Basically, what bwlabel does in Matlab. I have a binary image that I have masked down to isolate structures of interest and now I want to clean out some unwanted content using object metrics like solidity and perimeter ratio but I can’t because I’m starting from a binary not an object set.
It seems like this is computationally simple. It must be happening behind the scenes in IdentifyPrimaryObjects so the code can do it. There are a lot of examples where binary manipulations are preferred and others where object manipulations are preferred so I can’t the first person to want to go both ways.
What am I missing?