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
58 {
return ( std::exp( static_cast< TRealValueType >(-0.5) * vnl_math_sqr(u) ) *
m_Factor ); }
SmartPointer< Self > Pointer
Light weight base class for most itk classes.
virtual ~GaussianKernelFunction()
void PrintSelf(std::ostream &os, Indent indent) const
TRealValueType Evaluate(const TRealValueType &u) const
const TRealValueType m_Factor
Superclass::RealType RealType
Kernel used for density estimation and nonparameteric regression.
KernelFunctionBase< TRealValueType > Superclass
void PrintSelf(std::ostream &os, Indent indent) const
GaussianKernelFunction Self
void operator=(const Self &)
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
Gaussian kernel used for density estimation and nonparameteric regression.