Documentation for vtkImageShrink3D

vtkImageShrink3D - Subsamples an image.

Super Class: vtkImageFilter

Description:

vtkImageShrink3D shrinks an image by sub sampling on a uniform grid (integer multiples).

 

Methods:

void vtkImageShrink3D ()
static vtkImageShrink3D *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetShrinkFactors (int ,int ,int )
void SetShrinkFactors (int *)
int *GetShrinkFactors ()
void SetShift (int ,int ,int )
void SetShift (int *)
int *GetShift ()
void SetAveraging (int )
int GetAveraging ()
void AveragingOn ()
void AveragingOff ()
void ExecuteImageInformation ()
void ComputeRequiredInputUpdateExtent (int ,int )
void ThreadedExecute (vtkImageData * ,vtkImageData * ,int ,int )

 

Detailed Method Descriptions:

Set/Get the shrink factors

void SetShrinkFactors (int ,int ,int )
void SetShrinkFactors (int *)
int *GetShrinkFactors ()

Set/Get the pixel to use as origin.

void SetShift (int ,int ,int )
void SetShift (int *)
int *GetShift ()

Choose Averaging or sub sampling. The averaging neighborhood currently implemented is not centered on the sampled pixel. This may cause a half pixel shift in your output image. You can changed "Shift to get arround this, or use vtkImageGaussianSmooth or vtkImageMean with strides.

void SetAveraging (int )
int GetAveraging ()
void AveragingOn ()
void AveragingOff ()