Documentation for vtkImageGradient

vtkImageGradient - Computes the gradient vector.

Super Class: vtkImageFilter

Description:

vtkImageGradient computes the gradient vector of an image. The vector results are stored as scalar components. The Dimensionality determines whether to perform a 2d or 3d gradient. The default is two dimensional XY gradient. OutputScalarType is always float. Gradient is computed using central differences.

 

Methods:

void vtkImageGradient ()
static vtkImageGradient *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetDimensionality (int )
int GetDimensionality ()
void SetHandleBoundaries (int )
int GetHandleBoundaries ()
void HandleBoundariesOn ()
void HandleBoundariesOff ()
void ExecuteImageInformation ()
void ComputeRequiredInputUpdateExtent (int ,int )
void ThreadedExecute (vtkImageData * ,vtkImageData * ,int ,int )

 

Detailed Method Descriptions:

Determines how the input is interpreted (set of 2d slices ...)

void SetDimensionality (int )
int GetDimensionality ()

If "HandleBoundariesOn" then boundary pixels are duplicated So central differences can get values.

void SetHandleBoundaries (int )
int GetHandleBoundaries ()
void HandleBoundariesOn ()
void HandleBoundariesOff ()