Shape Recognition, hough transform
9 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
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.
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 :)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!