detect and fit curved lines in an image
16 次查看(过去 30 天)
显示 更早的评论
I'm working on a project that includes lane detection and tracking; I'm able to detect straight lines in image using HT; I'd like to know how to accurately detect and fit curved lines in an image. Thanks folks
1 个评论
sheeha66
2015-3-26
Hi eric.My project is exactly like you but im using the b-snake rather than HT.Can I know how you removed the unwanted background such as trees and shadows from the road? What is suitable technique that you use ? I really hope for your reply.Tq
回答(2 个)
Image Analyst
2012-12-11
If you have the coordinates of the pixels, you could use polyfit to fit them to a polynomial.
3 个评论
Image Analyst
2012-12-11
Well, maybe use the algorithm J recommended above or pick one from the exhaustive list I gave in Vision Bib. Or start simply with an edge detection routine, like the edge() function in MATLAB. Of course getting those coordinates is required before fitting to a curve can be done - you have to have something to fit to.
Image Analyst
2013-2-15
Jürgen
2012-12-8
Hi,
Hough Transform can also be used for detecting curves:http://faculty.washington.edu/cfolson/papers/pdf/cviu99.pdf
regards,J
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Trigonometry 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!