Info

此问题已关闭。 请重新打开它进行编辑或回答。

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 次查看(过去 30 天)
if true
% code
end

回答(2 个)

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

Image Analyst
Image Analyst 2012-9-25
编辑:Image Analyst 2012-9-25
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.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by