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

1 vue (au cours des 30 derniers jours)
Shaila parvin
Shaila parvin le 28 Avr 2013
i want to check is there any rectangle in an image. may i have the matlab code for this?
  1 commentaire
Walter Roberson
Walter Roberson le 28 Avr 2013
Will the rectangle be aligned with the horizontal? Or could it be rotated?

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 28 Avr 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 commentaires
Shaila parvin
Shaila parvin le 3 Mai 2013
are they bulit in functions?
Image Analyst
Image Analyst le 3 Mai 2013
They are included in the Image Processing Toolbox.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by