how to make bounding box using centroid

3 views (last 30 days)
swati
swati on 6 Jun 2012
i am trying to make bonding box on a particular region,i know its centroid.Is there any way to get the region bounding box using its centroid. I know this statement to get boundingbox using standard deviation rectangle('Position', s(lowStd(k)).BoundingBox,'EdgeColor','y');

Answers (1)

Image Analyst
Image Analyst on 6 Jun 2012
Yes. See my image segmentation tutorial. It does that. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

Community Treasure Hunt

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

Start Hunting!