class
ImageResamplerResample an image to a given spatial resolution.
Contents
- Reference
Base classes
- class ProcessObject
- Abstract base class for all process objects.
Public functions
- auto create(float spacingX, float spacingY, float spacingZ, bool useInterpolation) -> std::shared_ptr<ImageResampler>
- Create instance.
- void setOutputSpacing(float spacingX, float spacingY)
- void setOutputSpacing(float spacingX, float spacingY, float spacingZ)
- void setInterpolation(bool useInterpolation)
- void loadAttributes() virtual
Private functions
- void execute() virtual
Function documentation
std::shared_ptr<ImageResampler> fast:: ImageResampler:: create(float spacingX,
float spacingY,
float spacingZ,
bool useInterpolation)
Create instance.
Parameters | |
---|---|
spacingX | Pixel spacing in x direction |
spacingY | Pixel spacing in y direction |
spacingZ | Pixel spacing in z direction |
useInterpolation | Whether to use linear interpolation, or just nearest neighbor. |
Returns | instance |