MATLAB: How to apply (dct,dct2) an image

dctMATLAB

for my image .bmp…how to apply (dct,dct2) an image? ..with code

Best Answer

image = imread('Image.bmp');
y = dct(image);
help dct
or
help dct2
in matlab will give you a better idea.
Related Question