18#ifndef itkDiscreteGaussianDerivativeImageFunction_h
19#define itkDiscreteGaussianDerivativeImageFunction_h
46template <
typename TInputImage,
typename TOutput =
double>
99#if !defined(ITK_LEGACY_REMOVE)
102 InterpolationModeEnum::NearestNeighbourInterpolation;
103 static constexpr InterpolationModeEnum LinearInterpolation = InterpolationModeEnum::LinearInterpolation;
154 itkSetClampMacro(MaximumError,
double, 0.00001, 0.99999);
155 itkGetConstMacro(MaximumError,
double);
176 itkSetMacro(NormalizeAcrossScale,
bool);
177 itkGetConstMacro(NormalizeAcrossScale,
bool);
178 itkBooleanMacro(NormalizeAcrossScale);
182 itkSetMacro(UseImageSpacing,
bool);
183 itkGetConstMacro(UseImageSpacing,
bool);
184 itkBooleanMacro(UseImageSpacing);
191 itkSetMacro(MaximumKernelWidth,
unsigned int);
192 itkGetConstMacro(MaximumKernelWidth,
unsigned int);
268#ifndef ITK_MANUAL_INSTANTIATION
269# include "itkDiscreteGaussianDerivativeImageFunction.hxx"
virtual void SetVariance(VarianceArrayType _arg)
DiscreteGaussianDerivativeImageFunction()
NeighborhoodOperatorImageFunction< InputImageType, TOutput > OperatorImageFunctionType
bool m_NormalizeAcrossScale
virtual void Initialize()
unsigned int m_MaximumKernelWidth
FixedArray< GaussianDerivativeOperatorType, Self::ImageDimension2 > GaussianDerivativeOperatorArrayType
void PrintSelf(std::ostream &os, Indent indent) const override
InterpolationModeEnum m_InterpolationMode
FixedArray< unsigned int, Self::ImageDimension2 > OrderArrayType
void RecomputeGaussianKernel()
GaussianDerivativeOperatorEnums::InterpolationMode InterpolationModeEnum
DiscreteGaussianDerivativeImageFunction(const Self &)
static constexpr unsigned int ImageDimension2
VarianceArrayType m_Variance
ImageFunction< TInputImage, TOutput, TOutput > Superclass
virtual void SetVariance(double variance)
Neighborhood< TOutput, Self::ImageDimension2 > KernelType
itk::GaussianDerivativeOperator< TOutput, Self::ImageDimension2 > GaussianDerivativeOperatorType
void operator=(const Self &)
KernelType m_DerivativeKernel
SmartPointer< Self > Pointer
~DiscreteGaussianDerivativeImageFunction() override=default
FixedArray< double, Self::ImageDimension2 > VarianceArrayType
OperatorImageFunctionPointer m_OperatorImageFunction
DiscreteGaussianDerivativeImageFunction Self
typename OperatorImageFunctionType::Pointer OperatorImageFunctionPointer
virtual void SetOrder(unsigned int order)
OutputType Evaluate(const PointType &point) const override
GaussianDerivativeOperatorArrayType m_OperatorArray
void SetInputImage(const InputImageType *ptr) override
void SetSigma(const double sigma)
OutputType EvaluateAtIndex(const IndexType &index) const override
OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
SmartPointer< const Self > ConstPointer
Simulate a standard C array with copy semantics.
static constexpr unsigned int Length
A NeighborhoodOperator whose coefficients are a one dimensional, discrete derivative Gaussian kernel.
typename InputImageType::PixelType InputPixelType
typename InputImageType::IndexValueType IndexValueType
typename InputImageType::IndexType IndexType
Point< TOutput, Self::ImageDimension > PointType
ContinuousIndex< TOutput, Self::ImageDimension > ContinuousIndexType
TInputImage InputImageType
Control indentation during Print() invocation.
Compute the convolution of a neighborhood operator with the image at a specific location in space,...
SmartPointer< Self > Pointer
A light-weight container object for storing an N-dimensional neighborhood of values.
virtual void Modified() const
Implements transparent reference counting.
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