18 #ifndef __itkDiscreteGradientMagnitudeGaussianImageFunction_h
19 #define __itkDiscreteGradientMagnitudeGaussianImageFunction_h
46 template<
class TInputImage,
class TOutput =
double >
77 itkStaticConstMacro(ImageDimension2,
unsigned int,
78 InputImageType::ImageDimension);
112 virtual OutputType Evaluate(
const PointType & point)
const;
115 virtual OutputType EvaluateAtIndex(
const IndexType & index)
const;
118 virtual OutputType EvaluateAtContinuousIndex(
119 const ContinuousIndexType & index)
const;
125 itkSetMacro(Variance, VarianceArrayType);
126 itkGetConstMacro(Variance,
const VarianceArrayType);
127 itkSetVectorMacro(Variance,
double, VarianceArrayType::Length);
131 virtual void SetVariance(
double variance)
133 m_Variance.Fill(variance);
140 void SetSigma(
const double sigma)
142 SetVariance(sigma * sigma);
150 itkSetClampMacro(MaximumError,
double, 0.00001, 0.99999);
151 itkGetConstMacro(MaximumError,
double);
157 itkSetMacro(NormalizeAcrossScale,
bool);
158 itkGetConstMacro(NormalizeAcrossScale,
bool);
159 itkBooleanMacro(NormalizeAcrossScale);
163 itkSetMacro(UseImageSpacing,
bool);
164 itkGetConstMacro(UseImageSpacing,
bool);
165 itkBooleanMacro(UseImageSpacing);
172 itkSetMacro(MaximumKernelWidth,
unsigned int);
173 itkGetConstMacro(MaximumKernelWidth,
unsigned int);
177 itkSetMacro(InterpolationMode, InterpolationModeType);
178 itkGetConstMacro(InterpolationMode, InterpolationModeType);
185 virtual void SetInputImage(
const InputImageType *ptr);
198 void PrintSelf(std::ostream & os,
Indent indent)
const;
200 void RecomputeGaussianKernel();
241 #include "itkDiscreteGradientMagnitudeGaussianImageFunction.hxx"