18 #ifndef __itkDiscreteGaussianDerivativeImageFunction_h
19 #define __itkDiscreteGaussianDerivativeImageFunction_h
46 template<
class TInputImage,
class TOutput =
double >
77 itkStaticConstMacro(ImageDimension2,
unsigned int,
78 InputImageType::ImageDimension);
109 virtual OutputType Evaluate(
const PointType & point)
const;
112 virtual OutputType EvaluateAtIndex(
const IndexType & index)
const;
115 virtual OutputType EvaluateAtContinuousIndex(
116 const ContinuousIndexType & index)
const;
124 itkSetMacro(Variance, VarianceArrayType);
125 itkGetConstMacro(Variance,
const VarianceArrayType);
126 itkSetVectorMacro(Variance,
double, VarianceArrayType::Length);
130 virtual void SetVariance(
double variance)
132 m_Variance.Fill(variance);
140 void SetSigma(
const double sigma)
142 SetVariance(sigma * sigma);
151 itkSetClampMacro(MaximumError,
double, 0.00001, 0.99999);
152 itkGetConstMacro(MaximumError,
double);
156 itkSetMacro(Order, OrderArrayType);
157 itkGetConstMacro(Order,
const OrderArrayType);
158 itkSetVectorMacro(Order,
unsigned int, OrderArrayType::Length);
162 virtual void SetOrder(
unsigned int order)
172 itkSetMacro(NormalizeAcrossScale,
bool);
173 itkGetConstMacro(NormalizeAcrossScale,
bool);
174 itkBooleanMacro(NormalizeAcrossScale);
178 itkSetMacro(UseImageSpacing,
bool);
179 itkGetConstMacro(UseImageSpacing,
bool);
180 itkBooleanMacro(UseImageSpacing);
187 itkSetMacro(MaximumKernelWidth,
unsigned int);
188 itkGetConstMacro(MaximumKernelWidth,
unsigned int);
192 itkSetMacro(InterpolationMode, InterpolationModeType);
193 itkGetConstMacro(InterpolationMode, InterpolationModeType);
200 virtual void SetInputImage(
const InputImageType *ptr);
214 void PrintSelf(std::ostream & os,
Indent indent)
const;
216 void RecomputeGaussianKernel();
257 #include "itkDiscreteGaussianDerivativeImageFunction.hxx"