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 visualizaciones (últimos 30 días)
how can i find out the minimum (x1,y1) and maximum (x2,y2) cordinates of any image in the form of minimu boundary ractangle?

Respuesta aceptada

Matt Kindig
Matt Kindig el 18 de Mzo. de 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.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by