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 ?

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

Risposta accettata

Matt Kindig
Matt Kindig il 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.

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by