how to obtain the coordinates of a bounding box

1 view (last 30 days)
i need to do 2 tasks, where the first task is to draw a bounding box for only a square object in an image
once i have a bounding box drawn around the square object, i need to determine the bounding box's coordinates and its size so that i can crop the object out for further processing.
thank you in advance for helping me out

Answers (1)

Image Analyst
Image Analyst on 12 Jun 2013
This is done in my image segmentation tutorial: BlobsDemo

Community Treasure Hunt

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

Start Hunting!