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

조회 수: 1 (최근 30일)
i want to check is there any rectangle in an image. may i have the matlab code for this?
  댓글 수: 1
Walter Roberson
Walter Roberson 2013년 4월 28일
Will the rectangle be aligned with the horizontal? Or could it be rotated?

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

채택된 답변

Image Analyst
Image Analyst 2013년 4월 28일
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
Shaila parvin
Shaila parvin 2013년 5월 3일
are they bulit in functions?
Image Analyst
Image Analyst 2013년 5월 3일
They are included in the Image Processing Toolbox.

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by