I want to partition a PGM image into overlapping blocks and do a DCT transformation to every block. Then I want to take the first column of each DCT matrix and put them all to a new matrix.
I have read the answer to the post: How to partition an image to 64 block in matlab, but I am not sure it's working properly. Can I use blockproc
function to make overlapping block and if I can how am I supposed to use it?
I would prefer an answer with for loops.