18#ifndef itkCompositeValleyFunction_h
19#define itkCompositeValleyFunction_h
22#include "ITKBiasCorrectionExport.h"
164 return 1 - 1 / (1 + d * d / 3);
MeasureType GetCachedValue(MeasureType x)
bool IsCacheAvailable() const
CacheableScalarFunction()
Array< MeasureType > MeasureArrayType
Superclass::MeasureType MeasureType
CompositeValleyFunction(const MeasureArrayType &classMeans, const MeasureArrayType &classSigmas)
CacheableScalarFunction Superclass
MeasureType operator()(MeasureType x)
MeasureType Evaluate(MeasureType x) override
double GetLowerBound() const
void AddNewClass(double mean, double sigma)
Superclass::MeasureArrayType MeasureArrayType
~CompositeValleyFunction() override
double GetUpperBound() const
std::vector< TargetClass > m_Targets
MeasureType valley(MeasureType d)
void SetSigma(double sigma)
void SetMean(double mean)
TargetClass(double mean, double sigma)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....