class
IsotropicResamplerResample an image so that the the pixel spacing is equal in both directions.
Contents
This image resampler will resample the image so it has the same spacing in both directions, resulting in an isotropic image. This resampler will select the target spacing from the input image.
If you want to specify exactly which spacing to use, you should use ImageResampler instead.
Inputs:
- 0: Image
Outputs:
- 0: Image
Base classes
- class ImageResampler
- Resample an image to a given spatial resolution.
Public types
Public functions
- auto create(SpacingSelector spacingSelector, bool useInterpolation) -> std::shared_ptr<IsotropicResampler>
- Create instance.
- void setSpacingSelector(SpacingSelector spacingSelector)
Private functions
- void execute() virtual
Enum documentation
Function documentation
std::shared_ptr<IsotropicResampler> fast:: IsotropicResampler:: create(SpacingSelector spacingSelector,
bool useInterpolation)
Create instance.
Parameters | |
---|---|
spacingSelector | Which spacing to select from image to use for resampling. Default is smallest. |
useInterpolation | Whether to use linear interpolation, or just nearest neighbor. |
Returns | instance |