I want to divide the grayscale image which in my case is the 'cameraman.tif' into 8×8 blocks then run dct2 on each block to
later hide a binary watermark image into each block.
So far I tried blockproc and many other methods but none of them satisfy my needs.
Best Answer