I have an ndarray I of 100 colored images, where I.shape is: (100,1,3,100,200).
This resizes a single image: i=cv2.resize(i,(10,25)), but what is an efficient way to resize all the images in I, such that the ndarray shape becomes: (100,1,3,10,25) ?