Phase
OpenLvVision_OpenCv.lvlib:Phase.vim
Calculates the rotation angle of 2D vectors.
The function phase calculates the rotation angle of each 2D vector formed from the corresponding elements of x and y:
The angle estimation accuracy is about 0.3 degrees.
When x(I) = 0 and y(I) = 0, the corresponding angle(I) is set to 0.
For detailed information, please refer to the OpenCV documentation

| error in error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| code |
| source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| X array of x-coordinates; this must be a single-precision or double-precision floating-point array. |
|
| Y array of y-coordinates, that must have the same size and same type as x. |
|
| angleInDegrees when true, the function calculates the angle in degrees, otherwise, they are measured in radians. |
| error out error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| code |
| source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| angle output array of vector angles; it has the same size and same type as x . |
|











