MATLAB Answers

Line length and orientation angle of two or more intersecting lines

조회 수: 3(최근 30일)
SS
SS 2021년 1월 7일
편집: SS 2021년 2월 23일
I am using regionprops function to find the lengths and orientation angles of some lines in binary images. There is no issue with the function when these lines do not intersect. However, when there are some intersecting lines like in the shape of "X, +, V or any other shape" the result is a bit weird. How can I overcome this problem? Are there any other ways to find these parameters?

채택된 답변

Catalytic
Catalytic 2021년 1월 7일
You should probably be using houghlines instead of regionprops.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by