GetPerspectiveTransform
OpenLvVision_OpenCv.lvlib:GetPerspectiveTransform.vi
Calculates a perspective transform from four pairs of the corresponding points.
The function calculates a 3 × 3 perspective transformation matrix such that:
where
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 Coordinates of quadrangle vertices in the source image. |
| Point |
| X |
| Y |
| Dst Coordinates of the corresponding quadrangle vertices in the destination image. |
| Point |
| X |
| Y |
| DecompTypes method passed to cv::solve DECOMP_LU: Gaussian elimination with the optimal pivot element chosen. DECOMP_SVD : singular value decomposition (SVD) method; the system can be over-defined and/or the matrix DECOMP_EIG: eigenvalue decomposition; the matrix src1 must be symmetrical DECOMP_CHOLESKY: Cholesky factorization. he matrix src1 must be symmetrical and positively defined. DECOMP_QR: QR factorization; the system can be over-defined and/or the matrix src1 can be singular DECOMP_NORMAL:while all the previous flags are mutually exclusive, this flag can be used together with any of the previous; it means that the normal equations |
| 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. |
| Result |
| Numeric |












