0

I'm trying to split a 9x512 image (called test) into 384 3x4 images, but trying the following code:

splited = test.reshape(-1,3,4)
plt.imshow(splited[0,:,:])

I don't get the same result as doing:

plt.imshow(test[0:3,0:4])

I would really appreciate your help :)

demongolem
  • 9,474
  • 36
  • 90
  • 105
florpi
  • 177
  • 1
  • 11

0 Answers0