18 #ifndef itkGaussianKernelFunction_h
19 #define itkGaussianKernelFunction_h
40 template <
typename TRealValueType =
double>
51 using typename Superclass::RealType;
60 Evaluate(
const TRealValueType & u)
const override
62 return (std::exp(TRealValueType{ -0.5 } * itk::Math::sqr(u)) * m_Factor);
68 : m_Factor(TRealValueType{ 1.0 } / std::sqrt(TRealValueType{ 2.0 *
itk::Math::pi }))
70 ~GaussianKernelFunction()
override =
default;
74 Superclass::PrintSelf(os, indent);
78 const TRealValueType m_Factor{};