Computes the gradient vector.
More...
#include <vtkImageGradient.h>
Inherits vtkThreadedImageAlgorithm.
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkImageGradient () |
|
| ~vtkImageGradient () |
|
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
void | ThreadedRequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId) |
|
Computes the gradient vector.
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 double. Gradient is computed using central differences.
- Examples:
- vtkImageGradient (Examples)
- Tests:
- vtkImageGradient (Tests)
Definition at line 37 of file vtkImageGradient.h.
vtkImageGradient::vtkImageGradient |
( |
| ) |
|
|
protected |
vtkImageGradient::~vtkImageGradient |
( |
| ) |
|
|
inlineprotected |
static int vtkImageGradient::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkImageGradient::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkImageGradient::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkImageGradient::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkImageGradient::SetDimensionality |
( |
int |
| ) |
|
|
virtual |
Determines how the input is interpreted (set of 2d slices ...)
virtual int vtkImageGradient::GetDimensionality |
( |
| ) |
|
|
virtual |
Determines how the input is interpreted (set of 2d slices ...)
virtual void vtkImageGradient::SetHandleBoundaries |
( |
int |
| ) |
|
|
virtual |
Get/Set whether to handle boundaries. If enabled, boundary pixels are treated as duplicated so that central differencing works for the boundary pixels. If disabled, the output whole extent of the image is reduced by one pixel.
virtual int vtkImageGradient::GetHandleBoundaries |
( |
| ) |
|
|
virtual |
Get/Set whether to handle boundaries. If enabled, boundary pixels are treated as duplicated so that central differencing works for the boundary pixels. If disabled, the output whole extent of the image is reduced by one pixel.
virtual void vtkImageGradient::HandleBoundariesOn |
( |
| ) |
|
|
virtual |
Get/Set whether to handle boundaries. If enabled, boundary pixels are treated as duplicated so that central differencing works for the boundary pixels. If disabled, the output whole extent of the image is reduced by one pixel.
virtual void vtkImageGradient::HandleBoundariesOff |
( |
| ) |
|
|
virtual |
Get/Set whether to handle boundaries. If enabled, boundary pixels are treated as duplicated so that central differencing works for the boundary pixels. If disabled, the output whole extent of the image is reduced by one pixel.
virtual int vtkImageGradient::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkImageGradient::RequestUpdateExtent |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkImageGradient::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
void vtkImageGradient::ThreadedRequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
, |
|
|
vtkImageData *** |
inData, |
|
|
vtkImageData ** |
outData, |
|
|
int |
outExt[6], |
|
|
int |
threadId |
|
) |
| |
|
protected |
int vtkImageGradient::HandleBoundaries |
|
protected |
int vtkImageGradient::Dimensionality |
|
protected |
The documentation for this class was generated from the following file: