Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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.

Réponse acceptée

Matt J
Matt J le 12 Jan 2014
Modifié(e) : Matt J le 12 Jan 2014
lines = houghlines(BW, ...);
shiftedTheta=num2cell([lines.theta]+180);
[lines.theta]=deal(shiftedTheta{:});

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by