compute the orientation of a line in a image

1 visualizzazione (ultimi 30 giorni)
i have a binary image which contain some line segments.For each point location,i want to calculate the orientation of its corresponding line .please suggest an solution
thanks in advance .

Risposta accettata

Image Analyst
Image Analyst il 27 Set 2011
call bwconncomp() and then regionprops() and ask for "orientation". See if that works for you.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by