Usage
resize(im, size_x = -100L, size_y = -100L, size_z = -100L,
size_c = -100L, interpolation_type = 1L, boundary_conditions = 0L,
centering_x = 0, centering_y = 0, centering_z = 0, centering_c = 0)
Arguments
size_x
Number of columns (new size along the X-axis).
size_y
Number of rows (new size along the Y-axis).
size_z
Number of slices (new size along the Z-axis).
size_c
Number of vector-channels (new size along the C-axis).
interpolation_type
Method of interpolation:
-1 = no interpolation: raw memory resizing.
0 = no interpolation: additional space is filled according to boundary_conditions.
1 = nearest-neighbor interpolation.
2 = moving average interpolation.
3 = linear interpolation.
4 = gr
boundary_conditions
Border condition type.
centering_x
Set centering type (only if interpolation_type=0).
centering_y
Set centering type (only if interpolation_type=0).
centering_z
Set centering type (only if interpolation_type=0).
centering_c
Set centering type (only if interpolation_type=0).