Documentation for vtkImageResample

vtkImageResample - Resamples an image using linear interpolation.

Super Class: vtkImageDecomposeFilter

Description:

This filter produces an output with different spacing (and extent) than the input. Linear interpolation is used to resample the data. The Output spacing can be set explicitly or relative to input spacing with the SetAxisMagnificationFactor method.

 

Methods:

void vtkImageResample ()
static vtkImageResample *New ()
const char *GetClassName ()
void SetAxisOutputSpacing (int ,float )
void SetAxisMagnificationFactor (int ,float )
float GetAxisMagnificationFactor (int )
void ExecuteImageInformation ()
void ComputeRequiredInputUpdateExtent (int ,int )
void ThreadedExecute (vtkImageData * ,vtkImageData * ,int ,int )

 

Detailed Method Descriptions:

Constructor: Sets default filter to be identity.

void vtkImageResample ()

Set desired spacing. Zero is a reserved value indicating spacing has not been set.

void SetAxisOutputSpacing (int ,float )

Set/Get Magnification factors. Zero is a reserved value indicating values have not been computed.

void SetAxisMagnificationFactor (int ,float )
float GetAxisMagnificationFactor (int )