Parameters: |
- input (mango.Dds) – mango.Dds image which is to be re-sampled.
- interptype (InterpolationType) – Type of interpolation for re-sampling, see InterpolationType.
- factor (3-sequence of float) – Sampling rate, factor=(2.0,2.0,2.0) returns
an image which is 8 times the size (number of voxels) of the input.
If factor=(0.5,0.5,0.5) returns an image which is 1/8
times the size (number of voxels) of the input image.
- voxsz (3-sequence of float) – New voxel size, the re-sampling rate/factor is
calculated as factor=input.md.getVoxelSize()/voxsz
(with appropriate size-unit conversion).
- voxunit (str) – String indicating the length unit of the voxsz
argument.
|