VTK
|
Filters that operate on pixel neighborhoods. More...
#include <vtkImageSpatialAlgorithm.h>
Filters that operate on pixel neighborhoods.
vtkImageSpatialAlgorithm is a super class for filters that operate on an input neighborhood for each output pixel. It handles even sized neighborhoods, but their can be a half pixel shift associated with processing. This superclass has some logic for handling boundaries. It can split regions into boundary and non-boundary pieces and call different execute methods.
Definition at line 33 of file vtkImageSpatialAlgorithm.h.
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageContinuousDilate3D, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel3D, and vtkImageSobel2D.
Definition at line 37 of file vtkImageSpatialAlgorithm.h.
vtkImageSpatialAlgorithm::vtkImageSpatialAlgorithm | ( | ) | [protected] |
vtkImageSpatialAlgorithm::~vtkImageSpatialAlgorithm | ( | ) | [inline, protected] |
Definition at line 52 of file vtkImageSpatialAlgorithm.h.
static vtkImageSpatialAlgorithm* vtkImageSpatialAlgorithm::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageContinuousDilate3D, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel3D, and vtkImageSobel2D.
static int vtkImageSpatialAlgorithm::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageContinuousDilate3D, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel3D, and vtkImageSobel2D.
virtual int vtkImageSpatialAlgorithm::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageContinuousDilate3D, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel3D, and vtkImageSobel2D.
static vtkImageSpatialAlgorithm* vtkImageSpatialAlgorithm::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageContinuousDilate3D, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel3D, and vtkImageSobel2D.
virtual vtkObjectBase* vtkImageSpatialAlgorithm::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageContinuousDilate3D, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel3D, and vtkImageSobel2D.
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageContinuousDilate3D, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageHybridMedian2D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel3D, and vtkImageSobel2D.
void vtkImageSpatialAlgorithm::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageContinuousDilate3D, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageDilateErode3D, vtkImageMedian3D, vtkImageRange3D, vtkImageSobel3D, and vtkImageSobel2D.
virtual int* vtkImageSpatialAlgorithm::GetKernelSize | ( | ) | [virtual] |
Get the Kernel size.
virtual void vtkImageSpatialAlgorithm::GetKernelSize | ( | int & | , |
int & | , | ||
int & | |||
) | [virtual] |
Get the Kernel size.
virtual void vtkImageSpatialAlgorithm::GetKernelSize | ( | int | [3] | ) | [virtual] |
Get the Kernel size.
virtual int* vtkImageSpatialAlgorithm::GetKernelMiddle | ( | ) | [virtual] |
Get the Kernel middle.
virtual void vtkImageSpatialAlgorithm::GetKernelMiddle | ( | int & | , |
int & | , | ||
int & | |||
) | [virtual] |
Get the Kernel middle.
virtual void vtkImageSpatialAlgorithm::GetKernelMiddle | ( | int | [3] | ) | [virtual] |
Get the Kernel middle.
virtual int vtkImageSpatialAlgorithm::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageAlgorithm.
Reimplemented in vtkImageVariance3D, vtkImageRange3D, vtkImageSobel3D, and vtkImageSobel2D.
void vtkImageSpatialAlgorithm::ComputeOutputWholeExtent | ( | int | extent[6], |
int | handleBoundaries | ||
) | [protected] |
virtual int vtkImageSpatialAlgorithm::RequestUpdateExtent | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
Subclasses can reimplement this method to translate the update extent requests from each output port into update extent requests for the input connections.
Reimplemented from vtkImageAlgorithm.
void vtkImageSpatialAlgorithm::InternalRequestUpdateExtent | ( | int * | extent, |
int * | inExtent, | ||
int * | wholeExtent | ||
) | [protected] |
int vtkImageSpatialAlgorithm::KernelSize[3] [protected] |
Definition at line 52 of file vtkImageSpatialAlgorithm.h.
int vtkImageSpatialAlgorithm::KernelMiddle[3] [protected] |
Definition at line 55 of file vtkImageSpatialAlgorithm.h.
int vtkImageSpatialAlgorithm::HandleBoundaries [protected] |
Definition at line 56 of file vtkImageSpatialAlgorithm.h.