TransformTo2D
OpenLvVision_OpenCv.lvlib:TransformTo2D.vim
Performs a matrix transformation on the input points to project them into 2D coordinates
The function transform performs the matrix transformation of every element of the array src and stores the results in dst:
- When
m.cols == src.channels():$ \texttt{dst}(I) = \texttt{m} \cdot \texttt{src}(I) $ - When
m.cols == src.channels() + 1(using an extra dimension for translation):$ \texttt{dst}(I) = \texttt{m} \cdot [\texttt{src}(I); 1] $
Every element of the $N$-channel array src is interpreted as an $N$-element vector that is transformed using the $M \times N$ or $M \times (N+1)$ matrix m to an $M$-element vector — the corresponding element of the output array dst.
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. |
| Src The input coordinates (Can be 2D or 3D points). |
| Point |
| X |
| Y |
| M The transformation matrix. Must have exactly 2 Rows. |
| 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. |
| Dst The destination array for the calculated 2D points. |
| Point |
| X |
| Y |














