OpenLvVision_OpenCv.lvlib:TransformTo3D.vim

Performs a matrix transformation on the input points to map them into 3D space.

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

OpenLvVision_OpenCv.lvlib:TransformTo3D.vim

cerrcodeclst

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.

    cbool

    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.

    ci32

    code

    cstr

    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.

c1dnclst

Src

The input coordinates (Can be 2D or 3D points).

    cnclst

    Point

      csgl

      X

      csgl

      Y

      csgl

      Z

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

M

The transformation matrix. Must have exactly 3 Rows.

ierrcodeclst

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.

    ibool

    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.

    ii32

    code

    istr

    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.

i1dnclst

Dst

The destination array for the calculated 3D points

    inclst

    Point

      isgl

      X

      isgl

      Y

      isgl

      Z