18#ifndef itkGaussianBlurImageFunction_h
19#define itkGaussianBlurImageFunction_h
38template <
typename TInputImage,
typename TOutput =
double>
64 using typename Superclass::ContinuousIndexType;
67 static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
152 itkSetMacro(MaximumKernelWidth,
int);
153 itkGetConstMacro(MaximumKernelWidth,
int);
161 itkSetMacro(UseImageSpacing,
bool);
162 itkGetConstMacro(UseImageSpacing,
bool);
163 itkBooleanMacro(UseImageSpacing);
198 int m_MaximumKernelWidth{};
201 unsigned int m_FilterDimensionality{};
204 bool m_UseImageSpacing{
true };
211#ifndef ITK_MANUAL_INSTANTIATION
212# include "itkGaussianBlurImageFunction.hxx"
Compute the convolution of a neighborhood operator with the image at a specific location in space,...
typename GaussianFunctionType::Pointer GaussianFunctionPointer
void SetSigma(const double *sigma)
void SetSigma(const float *sigma)
void SetSigma(const double sigma)
~GaussianBlurImageFunction() override=default
TInputImage InputImageType
void RecomputeContinuousGaussianKernel(const double *offset) const
void SetExtent(const double *extent)
TOutput Evaluate(const PointType &point) const override
typename OperatorInternalImageFunctionType::Pointer OperatorInternalImageFunctionPointer
TOutput EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
void PrintSelf(std::ostream &os, Indent indent) const override
typename NumericTraits< InputPixelType >::RealType InputPixelRealType
typename InternalImageType::Pointer InternalImagePointer
typename OperatorImageFunctionType::Pointer OperatorImageFunctionPointer
virtual TOutput EvaluateAtIndex(const IndexType &index, const OperatorArrayType &operatorArray) const
typename InputImageType::PixelType InputPixelType
GaussianBlurImageFunction()
void RecomputeGaussianKernel()
void SetExtent(const double extent)
TOutput EvaluateAtIndex(const IndexType &index) const override
void SetInputImage(const InputImageType *ptr) override
A NeighborhoodOperator whose coefficients are a one dimensional, discrete Gaussian kernel.
N-dimensional Gaussian spatial function class.
Evaluates a function of an image at specified position.
typename InputImageType::IndexType IndexType
Templated n-dimensional image class.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Compute the convolution of a neighborhood operator with the image at a specific location in space,...
Define additional traits for native types such as int or float.
A templated class holding a geometric point in n-Dimensional space.
SmartPointer< Self > Pointer
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents