Info

This question is closed. Reopen it to edit or answer.

i convert the image in im2bw format. then i extract the boundary the using 8-connected method .but i can't separate to single object boundary from multiple object .please any one give the coding how to split the single object from multiple object...

1 view (last 30 days)
if true
% code
end

Answers (2)

rabia
rabia on 25 Sep 2012
Why dont you use BWLABEL to label different objects and then separate objects can be identified based on separate lables

Image Analyst
Image Analyst on 25 Sep 2012
Edited: Image Analyst on 25 Sep 2012
Use bwboundaries() - it will get you the boundaries of all the individual regions in your binary image. See my image segmentation demo where I do that: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 This demo also gives you individual regions by cropping them out of the original multi-object image.

This question is closed.

Community Treasure Hunt

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

Start Hunting!