Inverse discrete cosine transform (DCT)
y = imdct(x);
Input Matrix (1D or 2D)
Output Matrix same dimension with x
Performs an inverse discrete Cosine transform of 1D or 2D array.
S = imread(fullpath(getIPCVpath() + "/images/measure_gray.jpg")); y = imdct(S); y2 = zeros(y); y2(1:100,1:100) = y(1:100,1:100); imshow(y2,jetcolormap(256)); S2 = imidct(y2); imshow(S2); | ![]() | ![]() |