Discrete cosine transform (DCT)
y = imdct(x);
Input Matrix (1D or 2D)
Output Matrix same dimension with x
Performs a forward discrete Cosine transform of 1D or 2D array.
S = imread(fullpath(getIPCVpath() + "/images/measure_gray.jpg")); y = imdct(S); imshow(y,jetcolormap(256)); | ![]() | ![]() |