<< idct Image_Processing_Tool_2 ifwht >>

Image_Processing_Tool_2 >> Image_Processing_Tool_2 > idct2

idct2

Two dimensional inverse discrete cosine transform

Calling Sequence

B = idct2(A)
B = idct2(A, m, n)

Arguments

A

Real or complex vector/matrix/array.

B

Real or complex vector/matrix/array.

m

positive integer (number of rows).

n

positive integer (number of columns).

Description

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.

Examples

a = [2 1 6 10; 4 12 13 6; 6 8 9 13; 9 21 23 4];
b = dct2(a);
c = idct2(b); // The original matrix is obtained.

See Also

Authors

<< idct Image_Processing_Tool_2 ifwht >>