2-D inverse discrete cosine transform
For any matrix A
, idct2(dct2(A))
equals A
to within round-off error.
idct2
computes the two-dimensional inverse DCT using:
where
and
[1] Jain, A. K., Fundamentals of Digital Image Processing, Englewood Cliffs, NJ, Prentice Hall, 1989, pp. 150-153.
[2] Pennebaker, W. B., and J. L. Mitchell, JPEG: Still Image Data Compression Standard, New York, Van Nostrand Reinhold, 1993.