18 #ifndef itkGaussianBlurImageFunction_h
19 #define itkGaussianBlurImageFunction_h
42 template<
typename TInputImage,
typename TOutput =
double >
72 static constexpr
unsigned int ImageDimension = InputImageType::ImageDimension;
75 TOutput, Self::ImageDimension >;
100 TOutput Evaluate(
const PointType & point)
const override;
103 TOutput EvaluateAtIndex(
const IndexType & index)
const override;
106 TOutput EvaluateAtContinuousIndex(
115 void SetSigma(
const double *sigma);
117 void SetSigma(
const float *sigma);
119 void SetSigma(
const double sigma);
135 void SetExtent(
const double *extent);
138 void SetExtent(
const double extent);
151 itkSetMacro(MaximumKernelWidth,
int);
152 itkGetConstMacro(MaximumKernelWidth,
int);
160 itkSetMacro(UseImageSpacing,
bool);
161 itkGetConstMacro(UseImageSpacing,
bool);
162 itkBooleanMacro(UseImageSpacing);
169 void PrintSelf(std::ostream & os,
Indent indent)
const override;
171 void RecomputeGaussianKernel();
173 void RecomputeContinuousGaussianKernel(
const double *offset)
const;
177 virtual TOutput EvaluateAtIndex(
208 #ifndef ITK_MANUAL_INSTANTIATION
209 #include "itkGaussianBlurImageFunction.hxx"
typename Superclass::ContinuousIndexType ContinuousIndexType
typename GaussianFunctionType::Pointer GaussianFunctionPointer
InternalImagePointer m_InternalImage
A NeighborhoodOperator whose coefficients are a one dimensional, discrete Gaussian kernel...
Light weight base class for most itk classes.
ErrorArrayType m_MaximumError
Define numeric traits for std::vector.
GaussianFunctionPointer m_GaussianFunction
typename InternalImageType::Pointer InternalImagePointer
OperatorInternalImageFunctionPointer m_OperatorInternalImageFunction
OperatorArrayType m_ContinuousOperatorArray
typename OperatorImageFunctionType::Pointer OperatorImageFunctionPointer
OperatorArrayType m_OperatorArray
typename NumericTraits< InputPixelType >::RealType InputPixelRealType
Compute the convolution of a neighborhood operator with the image at a specific location in space...
Compute the convolution of a neighborhood operator with the image at a specific location in space...
TInputImage InputImageType
typename Superclass::IndexType IndexType
ImageBaseType::IndexType IndexType
unsigned int m_FilterDimensionality
N-dimensional Gaussian spatial function class.
typename OperatorInternalImageFunctionType::Pointer OperatorInternalImageFunctionPointer
typename Superclass::PointType PointType
OperatorImageFunctionPointer m_OperatorImageFunction
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
Evaluates a function of an image at specified position.
Templated n-dimensional image class.
typename InputImageType::PixelType InputPixelType