|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkGaussianKernelFunction_h
19 #define itkGaussianKernelFunction_h
40 template <
typename TRealValueType =
double>
60 Evaluate(
const TRealValueType & u)
const override
62 return (std::exp(static_cast<TRealValueType>(-0.5) * itk::Math::sqr(u)) *
m_Factor);
68 std::sqrt(static_cast<TRealValueType>(2.0 *
itk::Math::
pi))){};
~GaussianKernelFunction() override=default
typename Superclass::RealType RealType
Gaussian kernel used for density estimation and nonparametric regression.
const TRealValueType m_Factor
Kernel used for density estimation and nonparametric regression.
Control indentation during Print() invocation.
void PrintSelf(std::ostream &os, Indent indent) const override
Light weight base class for most itk classes.
void PrintSelf(std::ostream &os, Indent indent) const override
Define additional traits for native types such as int or float.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
TRealValueType Evaluate(const TRealValueType &u) const override
static constexpr double pi