Thanks to the comments of cgohlke. Below are two alternatives I found that work for floating-point images.
For single-channel images: im2 = scipy.ndimage.interpolation.zoom(im, 0.5)
: im2 = scipy.ndimage.interpolation.zoom(im, (0.5, 0.5, 1.0))
- OpenCV.
im2 = cv2.resize(im, (im.shape[1]/2, im.shape[0]/2))
, . , .