may i have the matlab code for checking a rectangle in an image?

i want to check is there any rectangle in an image. may i have the matlab code for this?

1 comentario

Will the rectangle be aligned with the horizontal? Or could it be rotated?

Iniciar sesión para comentar.

 Respuesta aceptada

Image Analyst
Image Analyst el 28 de Abr. de 2013
Yes, there are things you can do, like trying the corner() function, or hough() or houghlines(). Or you might be able to just do simply thresholding. That's about all I can say unless you upload an image. Would you do that?

2 comentarios

are they bulit in functions?
They are included in the Image Processing Toolbox.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by