Shape Recognition, hough transform

조회 수: 5 (최근 30일)
Pugazhendhi
Pugazhendhi 2012년 2월 22일
편집: Cedric 2013년 10월 23일
Hi All:
I seen more examples to recognize line/circles/ellipse using Hough transform, but i didnt find examples for square or rectangles. Can anyone help me on this?
thanks.

답변 (2개)

Geoff
Geoff 2012년 2월 24일
You could look at this code on FileExchange, which appears to support triangles and squares:
It's been years since I did anything with the hough transform, but from memory if you want to find rectangles (or indeed ellipses) you need to search a range of possible width/height ratios or hard-code the width/height ratio that you are looking for. I think even with regular geometry like squares and circles you still need to specify a width/radius.
  댓글 수: 1
Pugazhendhi
Pugazhendhi 2012년 2월 24일
Thanks for the reply. What you assumed is correct. I am looking for a code which should detect the shapes like square/rectangle and plot on the image. I found few codes for hough transform and I didnt get the method/way to detect shapes.

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


Andri Pranata
Andri Pranata 2012년 12월 9일
hi pugazhendi :) you said you've seed code to detect ellipse? could you give me the code? i need that code for my research, thankyou :)

Community Treasure Hunt

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

Start Hunting!

Translated by