So I'm using scipy.ndimage.zoom to resize a 3D volume. However I would like to understand better the mode parameter. From the documentation it can have the following values:
{‘reflect’, ‘grid-mirror’, ‘constant’, ‘grid-constant’, ‘nearest’, ‘mirror’, ‘grid-wrap’, ‘wrap’}
Reasoning,
constantwithorder=1might represent a bilinear interpolation. What do the other modes represent?Also, how can I perform a bicubic interpolation?
orderrepresents the degree of the interpolant.1=bilinear,3=bicubic. This is independent of theordersetting.