Idct
OpenLvVision_OpenCv.lvlib:Idct.vim
Performs a inverse discrete Cosine transform of 1D or 2D array.
The function cv::dct performs inverse discrete Cosine transform (DCT) of a 1D or 2D floating-point array:
- Inverse Cosine transform of a 1D vector of N elements:$ X = \left(C^{(N)}\right)^{-1} \cdot Y = \left(C^{(N)}\right)^T \cdot Y $
(since $C^{(N)}$ is an orthogonal matrix, $C^{(N)} \cdot (C^{(N)})^T = I$)
- Inverse 2D Cosine transform of an $M \times N$ matrix:$ X = \left(C^{(N)}\right)^T \cdot X \cdot C^{(N)} $
The function chooses the mode of operation by checking the flags and the size of the input array:
- If
(flags & DCT_ROWS) != 0, the function performs a 1D transform of each row. - If the array is a single row or a single column, the function performs a 1D transform.
- Otherwise, a 2D transform is performed.
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 input floating-point array. |
| Dst output array of the same size and type as src . |
| Rows performs a forward or inverse transform of every individual row of the input matrix. This flag enables you to transform multiple vectors simultaneously and can be used to decrease the overhead (which is sometimes several times larger than the processing itself) to perform 3D and higher-dimensional transforms and so forth. |
| 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 out output array of the same size and type as src . |









