Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkImageSeparableConvolution Class Reference

#include <vtkImageSeparableConvolution.h>

Inheritance diagram for vtkImageSeparableConvolution:

Inheritance graph
[legend]
Collaboration diagram for vtkImageSeparableConvolution:

Collaboration graph
[legend]
List of all members.

Detailed Description

3 1D convolutions on an image

vtkImageSeparableConvolution performs a convolution along the X, Y, and Z axes of an image, based on the three different 1D convolution kernels. The kernels must be of odd size, and are considered to be centered at (int)((kernelsize - 1) / 2.0 ). If a kernel is NULL, that dimension is skipped. This filter is designed to efficiently convolve separable filters that can be decomposed into 1 or more 1D convolutions. It also handles arbitrarly large kernel sizes, and uses edge replication to handle boundaries.

Tests:
vtkImageSeparableConvolution (Tests)

Definition at line 39 of file vtkImageSeparableConvolution.h.

Public Types

typedef vtkImageDecomposeFilter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void SetXKernel (vtkFloatArray *)
virtual vtkFloatArrayGetXKernel ()
virtual void SetYKernel (vtkFloatArray *)
virtual vtkFloatArrayGetYKernel ()
virtual void SetZKernel (vtkFloatArray *)
virtual vtkFloatArrayGetZKernel ()
void PrintSelf (ostream &os, vtkIndent indent)
unsigned long int GetMTime ()

Static Public Member Functions

static vtkImageSeparableConvolutionNew ()
static int IsTypeOf (const char *type)
static vtkImageSeparableConvolutionSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkImageSeparableConvolution ()
 ~vtkImageSeparableConvolution ()
void ComputeInputUpdateExtent (int inExt[6], int outExt[6])
void IterativeExecuteData (vtkImageData *inData, vtkImageData *outData)
void ExecuteInformation (vtkImageData *input, vtkImageData *output)
void ExecuteInformation ()

Protected Attributes

vtkFloatArrayXKernel
vtkFloatArrayYKernel
vtkFloatArrayZKernel


Member Typedef Documentation

typedef vtkImageDecomposeFilter vtkImageSeparableConvolution::Superclass
 

Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3.

Reimplemented from vtkImageDecomposeFilter.

Definition at line 43 of file vtkImageSeparableConvolution.h.


Constructor & Destructor Documentation

vtkImageSeparableConvolution::vtkImageSeparableConvolution  )  [protected]
 

vtkImageSeparableConvolution::~vtkImageSeparableConvolution  )  [protected]
 


Member Function Documentation

static vtkImageSeparableConvolution* vtkImageSeparableConvolution::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual const char* vtkImageSeparableConvolution::GetClassName  )  [virtual]
 

Reimplemented from vtkImageDecomposeFilter.

static int vtkImageSeparableConvolution::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageDecomposeFilter.

virtual int vtkImageSeparableConvolution::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageDecomposeFilter.

static vtkImageSeparableConvolution* vtkImageSeparableConvolution::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkImageDecomposeFilter.

virtual void vtkImageSeparableConvolution::SetXKernel vtkFloatArray  )  [virtual]
 

virtual vtkFloatArray* vtkImageSeparableConvolution::GetXKernel  )  [virtual]
 

virtual void vtkImageSeparableConvolution::SetYKernel vtkFloatArray  )  [virtual]
 

virtual vtkFloatArray* vtkImageSeparableConvolution::GetYKernel  )  [virtual]
 

virtual void vtkImageSeparableConvolution::SetZKernel vtkFloatArray  )  [virtual]
 

virtual vtkFloatArray* vtkImageSeparableConvolution::GetZKernel  )  [virtual]
 

void vtkImageSeparableConvolution::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 vtkImageDecomposeFilter.

unsigned long int vtkImageSeparableConvolution::GetMTime  )  [virtual]
 

Overload standard modified time function. If kernel arrays are modified, then this object is modified as well.

Reimplemented from vtkObject.

void vtkImageSeparableConvolution::ComputeInputUpdateExtent int  inExt[6],
int  outExt[6]
[protected, virtual]
 

Reimplemented from vtkImageIterateFilter.

void vtkImageSeparableConvolution::IterativeExecuteData vtkImageData inData,
vtkImageData outData
[protected, virtual]
 

Implements vtkImageIterateFilter.

void vtkImageSeparableConvolution::ExecuteInformation vtkImageData input,
vtkImageData output
[protected, virtual]
 

Reimplemented from vtkImageIterateFilter.

void vtkImageSeparableConvolution::ExecuteInformation  )  [inline, protected, virtual]
 

Reimplemented from vtkImageIterateFilter.

Definition at line 79 of file vtkImageSeparableConvolution.h.

References vtkImageIterateFilter::ExecuteInformation().


Member Data Documentation

vtkFloatArray* vtkImageSeparableConvolution::XKernel [protected]
 

Definition at line 71 of file vtkImageSeparableConvolution.h.

vtkFloatArray* vtkImageSeparableConvolution::YKernel [protected]
 

Definition at line 72 of file vtkImageSeparableConvolution.h.

vtkFloatArray* vtkImageSeparableConvolution::ZKernel [protected]
 

Definition at line 73 of file vtkImageSeparableConvolution.h.


The documentation for this class was generated from the following file: