Question: what is idct2 in matlab?
Answer: B = idct2( A ) returns the two-dimensional inverse discrete cosine transform (DCT) of A . ... If m or n is smaller than the corresponding dimension of A , then idct2 crops A before the transformation.