18#ifndef itkDiscreteGradientMagnitudeGaussianImageFunction_h
19#define itkDiscreteGradientMagnitudeGaussianImageFunction_h
46template <
typename TInputImage,
typename TOutput =
double>
103#if !defined(ITK_LEGACY_REMOVE)
106 InterpolationModeEnum::NearestNeighbourInterpolation;
107 static constexpr InterpolationModeEnum LinearInterpolation = InterpolationModeEnum::LinearInterpolation;
154 itkSetClampMacro(MaximumError,
double, 0.00001, 0.99999);
155 itkGetConstMacro(MaximumError,
double);
161 itkSetMacro(NormalizeAcrossScale,
bool);
162 itkGetConstMacro(NormalizeAcrossScale,
bool);
163 itkBooleanMacro(NormalizeAcrossScale);
167 itkSetMacro(UseImageSpacing,
bool);
168 itkGetConstMacro(UseImageSpacing,
bool);
169 itkBooleanMacro(UseImageSpacing);
176 itkSetMacro(MaximumKernelWidth,
unsigned int);
177 itkGetConstMacro(MaximumKernelWidth,
unsigned int);
253#ifndef ITK_MANUAL_INSTANTIATION
254# include "itkDiscreteGradientMagnitudeGaussianImageFunction.hxx"
void operator=(const Self &)
ImageFunction< TInputImage, TOutput, TOutput > Superclass
OutputType Evaluate(const PointType &point) const override
GaussianDerivativeOperatorArrayType m_OperatorArray
Neighborhood< TOutput, Self::ImageDimension2 > KernelType
FixedArray< double, Self::ImageDimension2 > VarianceArrayType
virtual void SetVariance(double variance)
DiscreteGradientMagnitudeGaussianImageFunction(const Self &)
void RecomputeGaussianKernel()
DiscreteGradientMagnitudeGaussianImageFunction Self
FixedArray< GaussianDerivativeOperatorType, 2 *Self::ImageDimension2 > GaussianDerivativeOperatorArrayType
DiscreteGradientMagnitudeGaussianImageFunction()
virtual void Initialize()
OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
OperatorImageFunctionPointer m_OperatorImageFunction
OutputType EvaluateAtIndex(const IndexType &index) const override
static constexpr unsigned int ImageDimension2
void PrintSelf(std::ostream &os, Indent indent) const override
~DiscreteGradientMagnitudeGaussianImageFunction() override=default
FixedArray< unsigned int, Self::ImageDimension2 > OrderArrayType
void SetSigma(const double sigma)
bool m_NormalizeAcrossScale
itk::GaussianDerivativeOperatorEnums::InterpolationMode InterpolationModeEnum
void SetInputImage(const InputImageType *ptr) override
unsigned int m_MaximumKernelWidth
virtual void SetVariance(VarianceArrayType _arg)
NeighborhoodOperatorImageFunction< InputImageType, TOutput > OperatorImageFunctionType
InterpolationModeEnum m_InterpolationMode
KernelArrayType m_KernelArray
itk::GaussianDerivativeOperator< TOutput, Self::ImageDimension2 > GaussianDerivativeOperatorType
typename OperatorImageFunctionType::Pointer OperatorImageFunctionPointer
SmartPointer< Self > Pointer
VarianceArrayType m_Variance
SmartPointer< const Self > ConstPointer
FixedArray< KernelType, Self::ImageDimension2 > KernelArrayType
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