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 ?

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

 Réponse acceptée

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.

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by