compute the orientation of a line in a image

3 views (last 30 days)
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 .

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!