detect and fit curved lines in an image
Mostrar comentarios más antiguos
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 comentario
sheeha66
el 26 de Mzo. de 2015
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
Respuestas (2)
Image Analyst
el 11 de Dic. de 2012
1 voto
If you have the coordinates of the pixels, you could use polyfit to fit them to a polynomial.
3 comentarios
Eric Franck
el 11 de Dic. de 2012
Image Analyst
el 11 de Dic. de 2012
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
el 15 de Feb. de 2013
Jürgen
el 8 de Dic. de 2012
0 votos
Hi,
Hough Transform can also be used for detecting curves:http://faculty.washington.edu/cfolson/papers/pdf/cviu99.pdf
regards,J
1 comentario
Eric Franck
el 11 de Dic. de 2012
Categorías
Más información sobre Trigonometry en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!