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

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

댓글을 달려면 로그인하십시오.

 채택된 답변

Image Analyst
Image Analyst 2013년 4월 28일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by