18 #ifndef itkGaussianKernelFunction_h
19 #define itkGaussianKernelFunction_h
22 #include "vnl/vnl_math.h"
40 template<
typename TRealValueType =
double >
57 inline TRealValueType
Evaluate(
const TRealValueType & u)
const ITK_OVERRIDE
58 {
return ( std::exp( static_cast< TRealValueType >(-0.5) * vnl_math_sqr(u) ) *
m_Factor ); }
68 void operator=(const
Self &) ITK_DELETE_FUNCTION;
SmartPointer< Self > Pointer
Light weight base class for most itk classes.
virtual ~GaussianKernelFunction()
void PrintSelf(std::ostream &os, Indent indent) const override
TRealValueType Evaluate(const TRealValueType &u) const override
const TRealValueType m_Factor
Superclass::RealType RealType
Kernel used for density estimation and nonparameteric regression.
KernelFunctionBase< TRealValueType > Superclass
GaussianKernelFunction Self
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
void PrintSelf(std::ostream &os, Indent indent) const override
Gaussian kernel used for density estimation and nonparameteric regression.