필터 지우기
필터 지우기

How to change the conventional theta values from [-90,89] to [0,359] ?

조회 수: 1 (최근 30일)
Hi with reference to the Hough lines, I would like to know how to use the theta values which are from [0,359] instead of the default one.

채택된 답변

Matt J
Matt J 2014년 1월 12일
편집: Matt J 2014년 1월 12일
lines = houghlines(BW, ...);
shiftedTheta=num2cell([lines.theta]+180);
[lines.theta]=deal(shiftedTheta{:});

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by