VTK
|
Performs a gaussian convolution. More...
#include <vtkImageGaussianSmooth.h>
Performs a gaussian convolution.
vtkImageGaussianSmooth implements a convolution of the input image with a gaussian. Supports from one to three dimensional convolutions.
Definition at line 32 of file vtkImageGaussianSmooth.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 35 of file vtkImageGaussianSmooth.h.
vtkImageGaussianSmooth::vtkImageGaussianSmooth | ( | ) | [protected] |
vtkImageGaussianSmooth::~vtkImageGaussianSmooth | ( | ) | [protected] |
static int vtkImageGaussianSmooth::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.
virtual int vtkImageGaussianSmooth::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.
static vtkImageGaussianSmooth* vtkImageGaussianSmooth::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageGaussianSmooth::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageGaussianSmooth::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.
static vtkImageGaussianSmooth* vtkImageGaussianSmooth::New | ( | ) | [static] |
Creates an instance of vtkImageGaussianSmooth with the following defaults: Dimensionality 3, StandardDeviations( 2, 2, 2), Radius Factors ( 1.5, 1.5, 1.5)
Reimplemented from vtkAlgorithm.
virtual void vtkImageGaussianSmooth::SetStandardDeviations | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
Sets/Gets the Standard deviation of the gaussian in pixel units.
virtual void vtkImageGaussianSmooth::SetStandardDeviations | ( | double | [3] | ) | [virtual] |
Sets/Gets the Standard deviation of the gaussian in pixel units.
void vtkImageGaussianSmooth::SetStandardDeviation | ( | double | std | ) | [inline] |
Sets/Gets the Standard deviation of the gaussian in pixel units.
Definition at line 47 of file vtkImageGaussianSmooth.h.
void vtkImageGaussianSmooth::SetStandardDeviations | ( | double | a, |
double | b | ||
) | [inline] |
Sets/Gets the Standard deviation of the gaussian in pixel units.
Definition at line 49 of file vtkImageGaussianSmooth.h.
virtual double* vtkImageGaussianSmooth::GetStandardDeviations | ( | ) | [virtual] |
Sets/Gets the Standard deviation of the gaussian in pixel units.
virtual void vtkImageGaussianSmooth::GetStandardDeviations | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Sets/Gets the Standard deviation of the gaussian in pixel units.
virtual void vtkImageGaussianSmooth::GetStandardDeviations | ( | double | [3] | ) | [virtual] |
Sets/Gets the Standard deviation of the gaussian in pixel units.
void vtkImageGaussianSmooth::SetStandardDeviation | ( | double | a, |
double | b | ||
) | [inline] |
Sets/Gets the Standard deviation of the gaussian in pixel units. These methods are provided for compatibility with old scripts
Definition at line 57 of file vtkImageGaussianSmooth.h.
void vtkImageGaussianSmooth::SetStandardDeviation | ( | double | a, |
double | b, | ||
double | c | ||
) | [inline] |
Sets/Gets the Standard deviation of the gaussian in pixel units. These methods are provided for compatibility with old scripts
Definition at line 59 of file vtkImageGaussianSmooth.h.
virtual void vtkImageGaussianSmooth::SetRadiusFactors | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.
virtual void vtkImageGaussianSmooth::SetRadiusFactors | ( | double | [3] | ) | [virtual] |
Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.
void vtkImageGaussianSmooth::SetRadiusFactors | ( | double | f, |
double | f2 | ||
) | [inline] |
Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.
Definition at line 68 of file vtkImageGaussianSmooth.h.
void vtkImageGaussianSmooth::SetRadiusFactor | ( | double | f | ) | [inline] |
Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.
Definition at line 70 of file vtkImageGaussianSmooth.h.
virtual double* vtkImageGaussianSmooth::GetRadiusFactors | ( | ) | [virtual] |
Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.
virtual void vtkImageGaussianSmooth::GetRadiusFactors | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.
virtual void vtkImageGaussianSmooth::GetRadiusFactors | ( | double | [3] | ) | [virtual] |
Sets/Gets the Radius Factors of the gaussian (no unit). The radius factors determine how far out the gaussian kernel will go before being clamped to zero.
virtual void vtkImageGaussianSmooth::SetDimensionality | ( | int | ) | [virtual] |
Set/Get the dimensionality of this filter. This determines whether a one, two, or three dimensional gaussian is performed.
virtual int vtkImageGaussianSmooth::GetDimensionality | ( | ) | [virtual] |
Set/Get the dimensionality of this filter. This determines whether a one, two, or three dimensional gaussian is performed.
void vtkImageGaussianSmooth::ComputeKernel | ( | double * | kernel, |
int | min, | ||
int | max, | ||
double | std | ||
) | [protected] |
virtual int vtkImageGaussianSmooth::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 vtkImageGaussianSmooth::InternalRequestUpdateExtent | ( | int * | , |
int * | |||
) | [protected] |
void vtkImageGaussianSmooth::ExecuteAxis | ( | int | axis, |
vtkImageData * | inData, | ||
int | inExt[6], | ||
vtkImageData * | outData, | ||
int | outExt[6], | ||
int * | pcycle, | ||
int | target, | ||
int * | pcount, | ||
int | total, | ||
vtkInformation * | inInfo | ||
) | [protected] |
void vtkImageGaussianSmooth::ThreadedRequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector, | ||
vtkImageData *** | inData, | ||
vtkImageData ** | outData, | ||
int | extent[6], | ||
int | threadId | ||
) | [protected, virtual] |
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.
Reimplemented from vtkThreadedImageAlgorithm.
int vtkImageGaussianSmooth::Dimensionality [protected] |
Definition at line 85 of file vtkImageGaussianSmooth.h.
double vtkImageGaussianSmooth::StandardDeviations[3] [protected] |
Definition at line 86 of file vtkImageGaussianSmooth.h.
double vtkImageGaussianSmooth::RadiusFactors[3] [protected] |
Definition at line 87 of file vtkImageGaussianSmooth.h.