title: Slice 2d array into smaller 2d arrays
body: <p>Is there a way to slice a 2d array in numpy into smaller 2d arrays?</p>
  
  <p><strong>Example</strong></p>
  
  <pre><code>[[1,2,3,4],   -&gt;    [[1,2] [3,4]   
   [5,6,7,8]]          [5,6] [7,8]]
  </code></pre>
  
  <p>So I basically want to cut down a 2x4 array into 2 2x2 arrays. Looking for a generic solution to be used on images.</p>