compute the orientation of a line in a image

1 Ansicht (letzte 30 Tage)
Promila
Promila am 27 Sep. 2011
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 .

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by