I want to decompose a grayscale image of 512*512 in 64 nonoverlapping blocks of size 64*64. After that, i want to apply 1 level of DWT on each of 64 blocks. Further need the LL component of each block for further steps. Unable to apply dwt2 function using blockproc in Matlab.