29 #ifndef vtkImageGaussianSmooth_h 30 #define vtkImageGaussianSmooth_h 33 #include "vtkImagingGeneralModule.h" 54 vtkSetVector3Macro(StandardDeviations,
double);
56 {this->SetStandardDeviations(std,std,std);}
58 {this->SetStandardDeviations(a,b,0.0);}
59 vtkGetVector3Macro(StandardDeviations,
double);
67 {this->SetStandardDeviations(a,b,0.0);}
69 {this->SetStandardDeviations(a,b,c);}
77 vtkSetVector3Macro(RadiusFactors,
double);
79 this->SetRadiusFactors(f,f2,1.5);}
81 vtkGetVector3Macro(RadiusFactors,
double);
89 vtkSetMacro(Dimensionality,
int);
90 vtkGetMacro(Dimensionality,
int);
98 double StandardDeviations[3];
99 double RadiusFactors[3];
101 void ComputeKernel(
double *kernel,
int min,
int max,
double std);
103 void InternalRequestUpdateExtent(
int *,
int*);
104 void ExecuteAxis(
int axis,
vtkImageData *inData,
int inExt[6],
106 int *pcycle,
int target,
int *pcount,
int total,
112 int outExt[6],
int id)
override;
void SetStandardDeviations(double a, double b)
Sets/Gets the Standard deviation of the gaussian in pixel units.
void SetStandardDeviation(double a, double b, double c)
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void SetRadiusFactors(double f, double f2)
Sets/Gets the Radius Factors of the gaussian (no unit).
void SetStandardDeviation(double std)
Sets/Gets the Standard deviation of the gaussian in pixel units.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
Performs a gaussian convolution.
Generic filter that has one input.
void SetRadiusFactor(double f)
Sets/Gets the Radius Factors of the gaussian (no unit).
a simple class to control print indentation
topologically and geometrically regular array of data
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up,...
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetStandardDeviation(double a, double b)
Sets/Gets the Standard deviation of the gaussian in pixel units.