title: Block wise processing of an image in matlab
body: <p>I have an image of size 256*256 and I want block wise processing of that image. To do that I want to get 64*64=4096 blocks, each of 16 pixels. I'm new to Matlab so I found it hard to find specific commands to do that. So far what I have is,</p>
  
  <pre><code>    I=imread('kidneyimage.jpg');
      I=rgb2gray(I);
      % block wise processing needed.
  </code></pre>
  
  <p>Any help with the commands is really appreciated.</p>