18 #ifndef itkGaussianBlurImageFunction_h
19 #define itkGaussianBlurImageFunction_h
42 template<
typename TInputImage,
typename TOutput =
double >
71 itkStaticConstMacro(ImageDimension,
unsigned int, InputImageType::ImageDimension);
99 virtual TOutput Evaluate(
const PointType & point)
const ITK_OVERRIDE;
102 virtual TOutput EvaluateAtIndex(
const IndexType & index)
const ITK_OVERRIDE;
105 virtual TOutput EvaluateAtContinuousIndex(
114 void SetSigma(
const double *sigma);
116 void SetSigma(
const float *sigma);
118 void SetSigma(
const double sigma);
127 virtual void SetInputImage(
const InputImageType *ptr) ITK_OVERRIDE;
134 void SetExtent(
const double *extent);
137 void SetExtent(
const double extent);
150 itkSetMacro(MaximumKernelWidth,
int);
151 itkGetConstMacro(MaximumKernelWidth,
int);
159 itkSetMacro(UseImageSpacing,
bool);
160 itkGetConstMacro(UseImageSpacing,
bool);
161 itkBooleanMacro(UseImageSpacing);
170 void operator=(
const Self &);
172 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
174 void RecomputeGaussianKernel();
176 void RecomputeContinuousGaussianKernel(
const double *offset)
const;
180 virtual TOutput EvaluateAtIndex(
181 const IndexType & index,
const OperatorArrayType & operatorArray)
const;
211 #ifndef ITK_MANUAL_INSTANTIATION
212 #include "itkGaussianBlurImageFunction.hxx"
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
Superclass::ContinuousIndexType ContinuousIndexType
GaussianFunctionPointer m_GaussianFunction
NeighborhoodOperatorImageFunction< InputImageType, TOutput > OperatorImageFunctionType
OperatorInternalImageFunctionPointer m_OperatorInternalImageFunction
OperatorArrayType m_ContinuousOperatorArray
NeighborhoodOperatorImageFunction< InternalImageType, TOutput > OperatorInternalImageFunctionType
FixedArray< NeighborhoodType, itkGetStaticConstMacro(ImageDimension) > OperatorArrayType
OperatorArrayType m_OperatorArray
InternalImageType::Pointer InternalImagePointer
Compute the convolution of a neighborhood operator with the image at a specific location in space...
NumericTraits< InputPixelType >::RealType InputPixelRealType
itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) > ExtentArrayType
Superclass::IndexType IndexType
GaussianOperator< TOutput, itkGetStaticConstMacro(ImageDimension) > GaussianOperatorType
Neighborhood< TOutput, itkGetStaticConstMacro(ImageDimension) > NeighborhoodType
Compute the convolution of a neighborhood operator with the image at a specific location in space...
SmartPointer< const Self > ConstPointer
ImageFunction< TInputImage, TOutput > Superclass
Superclass::PointType PointType
ImageBaseType::PointType PointType
unsigned int m_FilterDimensionality
N-dimensional Gaussian spatial function class.
OperatorInternalImageFunctionType::Pointer OperatorInternalImageFunctionPointer
TInputImage InputImageType
itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) > ErrorArrayType
InputImageType::PixelType InputPixelType
OperatorImageFunctionType::Pointer OperatorImageFunctionPointer
~GaussianBlurImageFunction() override
itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) > SigmaArrayType
OperatorImageFunctionPointer m_OperatorImageFunction
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
GaussianSpatialFunction< TOutput, 1 > GaussianFunctionType
Define additional traits for native types such as int or float.
GaussianBlurImageFunction Self
GaussianFunctionType::Pointer GaussianFunctionPointer
itk::Image< InputPixelRealType, itkGetStaticConstMacro(ImageDimension) > InternalImageType
Evaluates a function of an image at specified position.
Templated n-dimensional image class.
ImageBaseType::IndexType IndexType