Two dimensional inverse discrete cosine transform
B = idct2(A) B = idct2(A, m, n)
Real or complex vector/matrix/array.
Real or complex vector/matrix/array.
positive integer (number of rows).
positive integer (number of columns).
B = idct2(A) returns the two dimensional inverse discrete cosine transform of A. Size of B and A are same. B = dct2(A, m, n) returns the two dimensional inverse discrete cosine transform of A having size m-by-n by padding or truncating the size of A before transformation.