18 #ifndef __itkGaussianDerivativeImageFunction_h
19 #define __itkGaussianDerivativeImageFunction_h
37 template<
class TInputImage,
class TOutput =
double >
40 Vector< TOutput, ::itk::GetImageDimension< TInputImage >::ImageDimension >,
66 typedef typename InputImageType::IndexType
IndexType;
69 itkStaticConstMacro(ImageDimension2,
unsigned int,
70 InputImageType::ImageDimension);
110 void SetSigma(
const double *sigma);
112 void SetSigma(
const double sigma);
114 const double *
GetSigma()
const {
return m_Sigma; }
117 void SetExtent(
const double *extent);
119 void SetExtent(
const double extent);
127 virtual void SetInputImage(
const InputImageType *ptr);
135 void operator=(
const Self &);
137 void PrintSelf(std::ostream & os,
Indent indent)
const;
139 void RecomputeGaussianKernel();
141 void RecomputeContinuousGaussianKernel(
142 const double *offset)
const;
146 double m_Sigma[ImageDimension2];
155 double m_Extent[ImageDimension2];
167 #define ITK_TEMPLATE_GaussianDerivativeImageFunction(_, EXPORT, TypeX, TypeY) \
170 _( 2 ( class EXPORT GaussianDerivativeImageFunction< ITK_TEMPLATE_2 TypeX > ) ) \
171 namespace Templates \
173 typedef GaussianDerivativeImageFunction< ITK_TEMPLATE_2 TypeX > GaussianDerivativeImageFunction##TypeY; \
177 #if ITK_TEMPLATE_EXPLICIT
178 #include "Templates/itkGaussianDerivativeImageFunction+-.h"
182 #include "itkGaussianDerivativeImageFunction.hxx"