title: How to split a picture in numpy array format?
body: <p>I have an image of shape (31278,25794,3). I would like to know how is possible to obtain MxN segment of the picture, using np functions. For example starting from:
  <a href="https://i.stack.imgur.com/CpfGb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CpfGb.jpg" alt="enter image description here" /></a></p>
  <p>I would like to obtain:</p>
  <p><a href="https://i.stack.imgur.com/pwYq1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pwYq1.jpg" alt="enter image description here" /></a></p>