Hough Transform for detecting Rectangles

5 views (last 30 days)
MUTTER
MUTTER on 20 May 2013
Commented: mostafa shoaib on 4 Sep 2020
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.

Answers (1)

Image Analyst
Image Analyst on 20 May 2013
You can also take a look at the corner() function in the Image Processing Toolbox.
  3 Comments
Image Analyst
Image Analyst on 2 Aug 2020
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 on 4 Sep 2020
I want the hough transform code to detect rectangels from a raster satellite image.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!