Hough Transform for detecting Rectangles

Hello everyone. I am looking for Matlab code, using the Hough Transform for detecting rectangles.I've seen the codes and examples for circles and lines and they are really well explained, but a code for a rectangle is nowhere to be found.Can anyone please give me some directions or even better a working code ? Thank you.

답변 (1개)

Image Analyst
Image Analyst 2013년 5월 20일

0 개 추천

You can also take a look at the corner() function in the Image Processing Toolbox.

댓글 수: 3

Corner uses Harris–Stephens algorithm , not Hough Transform . Please provide the answer of the quesion what is asked.
Image Analyst
Image Analyst 2020년 8월 2일
I don't have an answer for that specific method, that's why I offered an alternative. He could also do it by deep learning. I'm not going to provide the Hough algorithm answer because he asked this over 7 years ago and I'm sure he's not waiting on my answer after all this time.
mostafa shoaib
mostafa shoaib 2020년 9월 4일
I want the hough transform code to detect rectangels from a raster satellite image.

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

질문:

2013년 5월 20일

댓글:

2020년 9월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by