Reputation: 458
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, constant
with order=1
might represent a bilinear interpolation. What do the other modes represent?
Also, how can I perform a bicubic interpolation?
Upvotes: -1
Views: 704
Reputation:
order
represents the degree of the interpolant. 1=bilinear
, 3=bicubic
. This is independent of the order
setting.
Upvotes: 0