フィルターのクリア

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

1 回表示 (過去 30 日間)
Vishal Raveendranathan
Vishal Raveendranathan 2014 年 1 月 12 日
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