cv.phase - MATLAB File Help |
Calculates the rotation angle of 2D vectors
ang = cv.phase(x, y)
ang = cv.phase(..., 'OptionName',optionValue, ...)
x
.x
.The function cv.phase calculates the rotation angle of each 2D vector that
is formed from the corresponding elements of x
and y
:
angle(I) = atan2(y(I), x(I))
The angle estimation accuracy is about 0.3 degrees. When x(I)=y(I)=0
, the
corresponding angle(I)
is set to 0.