#include <vtkImageGaussianSmooth.h>
vtkImageGaussianSmooth implements a convolution of the input image with a gaussian. Supports from one to three dimensional convolutions.
Definition at line 31 of file vtkImageGaussianSmooth.h.
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetStandardDeviations (double, double, double) |
virtual void | SetStandardDeviations (double[3]) |
void | SetStandardDeviation (double std) |
void | SetStandardDeviations (double a, double b) |
virtual double * | GetStandardDeviations () |
virtual void | GetStandardDeviations (double &, double &, double &) |
virtual void | GetStandardDeviations (double[3]) |
void | SetStandardDeviation (double a, double b) |
void | SetStandardDeviation (double a, double b, double c) |
virtual void | SetRadiusFactors (double, double, double) |
virtual void | SetRadiusFactors (double[3]) |
void | SetRadiusFactors (double f, double f2) |
void | SetRadiusFactor (double f) |
virtual double * | GetRadiusFactors () |
virtual void | GetRadiusFactors (double &, double &, double &) |
virtual void | GetRadiusFactors (double[3]) |
virtual void | SetDimensionality (int) |
virtual int | GetDimensionality () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImageGaussianSmooth * | SafeDownCast (vtkObject *o) |
static vtkImageGaussianSmooth * | New () |
Protected Member Functions | |
vtkImageGaussianSmooth () | |
~vtkImageGaussianSmooth () | |
void | ComputeKernel (double *kernel, int min, int max, double std) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | InternalRequestUpdateExtent (int *, int *) |
void | ExecuteAxis (int axis, vtkImageData *inData, int inExt[6], vtkImageData *outData, int outExt[6], int *pcycle, int target, int *pcount, int total, vtkInformation *inInfo) |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) |
Protected Attributes | |
int | Dimensionality |
double | StandardDeviations [3] |
double | RadiusFactors [3] |
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 34 of file vtkImageGaussianSmooth.h.
vtkImageGaussianSmooth::vtkImageGaussianSmooth | ( | ) | [protected] |
vtkImageGaussianSmooth::~vtkImageGaussianSmooth | ( | ) | [protected] |
virtual const char* vtkImageGaussianSmooth::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageGaussianSmooth* vtkImageGaussianSmooth::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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 46 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 48 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 56 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 58 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 67 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 69 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] |
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 84 of file vtkImageGaussianSmooth.h.
double vtkImageGaussianSmooth::StandardDeviations[3] [protected] |
Definition at line 85 of file vtkImageGaussianSmooth.h.
double vtkImageGaussianSmooth::RadiusFactors[3] [protected] |
Definition at line 86 of file vtkImageGaussianSmooth.h.