Finding Angle between two lines on an image

26 visualizaciones (últimos 30 días)
JohnDoe_User
JohnDoe_User el 18 de Abr. de 2016
Respondida: Nikhil Vyas el 27 de Abr. de 2016
I am new to Matlab. I would like to upload images from a folder then draw two lines on a image and find the angle between the two lines, then move onto the next images. Once I am complete with all of the images, I would like to have a report with image name and angle that I found. Any leads?

Respuestas (1)

Nikhil Vyas
Nikhil Vyas el 27 de Abr. de 2016
You may use Hough Transform to detect multiple lines on an image. Once you have the lines, it's pretty straightforward to calculate the angle. For details & usage of Hough Transform, refer the following link.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by