dear Vinay,thanks for your usful code,but when i run it this error acure:
??? Error using ==> minus
Matrix dimensions must agree.
Error in ==> dct1 at 325
plz help me to run your code!
Sir this code works very well for gray images... I tried this for color images by converting the RGB to YCbCr and then did the code for each Y, Cb, Cr separately and then combined it.... it worked without any errors .... but the i couldnt restore the color image as the input image.... please could you help me to work with the color images also.... please do reply...