how can i find out the minimum (x1,y1) and maximum (x2,y2) cordinates of any image in matlab in the form of minimum boundary ractangle ?

4 views (last 30 days)
how can i find out the minimum (x1,y1) and maximum (x2,y2) cordinates of any image in the form of minimu boundary ractangle?

Accepted Answer

Matt Kindig
Matt Kindig on 18 Mar 2013
First, you will need to threshold the desired region of your image (i.e. the portion for which you want to find the boundary rectangle). You can then extract the corners--which is what I assume you mean by (x1,y1) and (x2,y2)) of the bounding rectangle-- easily.
If you upload an image, we can provide more specific assistance.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!