基础知识介绍

逆离散余弦变换从离散余弦变换 (DCT) 系数中重建序列。idct 函数是 dct 函数的逆。

The DCT has four standard variants. For a transformed signal y of length N, and with δkℓ the Kronecker delta, the inverses are defined by:

【 MATLAB 】逆离散余弦变换(idct)的基础知识介绍_其它

序列从 n = 1 和 k = 1 而不是通常的 n = 0 和 k = 0, 因为 MATLAB®向量运行从1到 N, 而不是从0到 N-1。

DCT 的所有变体都是酉的 (或等价的, 正交的): 要查找正向变换, 请在每个定义中切换 k 和 n。特别是, DCT-1 和 DCT-4 是它们自己的逆, DCT-2 和 DCT-3 是彼此的逆。