compute the orientation of a line in a image

조회 수: 1 (최근 30일)
Promila
Promila 2011년 9월 27일
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 .

채택된 답변

Image Analyst
Image Analyst 2011년 9월 27일
call bwconncomp() and then regionprops() and ask for "orientation". See if that works for you.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by