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;
106 const ContinuousIndexType & index)
const ITK_OVERRIDE;
120 itkSetMacro(Sigma, SigmaArrayType);
121 itkGetConstReferenceMacro(Sigma, SigmaArrayType);
127 virtual void SetInputImage(
const InputImageType *ptr) ITK_OVERRIDE;
132 itkSetMacro(Extent, ExtentArrayType);
133 itkGetConstReferenceMacro(Extent, ExtentArrayType);
142 itkSetMacro(MaximumError, ErrorArrayType);
143 itkGetConstReferenceMacro(MaximumError, ErrorArrayType);
150 itkSetMacro(MaximumKernelWidth,
int);
151 itkGetConstMacro(MaximumKernelWidth,
int);
159 itkSetMacro(UseImageSpacing,
bool);
160 itkGetConstMacro(UseImageSpacing,
bool);
161 itkBooleanMacro(UseImageSpacing);
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...
Point< float, itkGetStaticConstMacro(ImageDimension) > PointType
void RecomputeGaussianKernel()
ErrorArrayType m_MaximumError
Superclass::ContinuousIndexType ContinuousIndexType
GaussianFunctionPointer m_GaussianFunction
NeighborhoodOperatorImageFunction< InputImageType, TOutput > OperatorImageFunctionType
virtual TOutput Evaluate(const PointType &point) const override
void SetSigma(const double *sigma)
OperatorInternalImageFunctionPointer m_OperatorInternalImageFunction
OperatorArrayType m_ContinuousOperatorArray
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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...
virtual void SetExtent(ExtentArrayType _arg)
SmartPointer< const Self > ConstPointer
virtual TOutput EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
ImageFunction< TInputImage, TOutput > Superclass
Superclass::PointType PointType
void PrintSelf(std::ostream &os, Indent indent) const override
unsigned int m_FilterDimensionality
N-dimensional gaussian spatial function class.
GaussianBlurImageFunction()
InputImageType::IndexType IndexType
void RecomputeContinuousGaussianKernel(const double *offset) const
OperatorInternalImageFunctionType::Pointer OperatorInternalImageFunctionPointer
TInputImage InputImageType
~GaussianBlurImageFunction()
itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) > ErrorArrayType
InputImageType::PixelType InputPixelType
OperatorImageFunctionType::Pointer OperatorImageFunctionPointer
ContinuousIndex< float, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) > SigmaArrayType
OperatorImageFunctionPointer m_OperatorImageFunction
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
GaussianSpatialFunction< TOutput, 1 > GaussianFunctionType
virtual void SetInputImage(const InputImageType *ptr) override
Define additional traits for native types such as int or float.
GaussianBlurImageFunction Self
static const unsigned int ImageDimension
virtual TOutput EvaluateAtIndex(const IndexType &index) const override
GaussianFunctionType::Pointer GaussianFunctionPointer
itk::Image< InputPixelRealType, itkGetStaticConstMacro(ImageDimension) > InternalImageType
Evaluates a function of an image at specified position.
Templated n-dimensional image class.
void operator=(const Self &)