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.

Réponses (1)

Image Analyst
Image Analyst le 20 Mai 2013

0 votes

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

3 commentaires

Satadru Mukherjee
Satadru Mukherjee le 2 Août 2020
Corner uses Harris–Stephens algorithm , not Hough Transform . Please provide the answer of the quesion what is asked.
Image Analyst
Image Analyst le 2 Août 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 le 4 Sep 2020
I want the hough transform code to detect rectangels from a raster satellite image.

Connectez-vous pour commenter.

Question posée :

le 20 Mai 2013

Community Treasure Hunt

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

Start Hunting!

Translated by