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.

Respuestas (1)

Image Analyst
Image Analyst el 20 de Mayo de 2013

0 votos

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

3 comentarios

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

Iniciar sesión para comentar.

Preguntada:

el 20 de Mayo de 2013

Comentada:

el 4 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by