1D Inverse DCT VI
- Updated2025-07-30
- 2 minute(s) read
Computes the inverse Discrete Cosine Transform (DCT) of the input sequence DCT {X}. Wire data to the DCT {X} input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
DCT {X}
—
DCT {X} is the real input sequence.
X
—
X is the inverse DCT of DCT {X}.
error
—
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
1D Inverse DCT
If y represents the input sequence DCT {X}, the one-dimensional inverse DCT of y is defined as:
and
where N is the length of the input sequence DCT {X}, y(k) is the k-th element of DCT {X}, and x(n) is the n-th element of the output sequence X. This VI applies a fast inverse DCT algorithm instead of calculating the inverse DCT directly. LabVIEW implements this fast inverse DCT algorithm using an FFT technique.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Signal Processing\Transforms\Image Compression with DCT.vi
DCT {X}
—
X
—
error
—