18 #ifndef itkCumulativeGaussianOptimizer_h
19 #define itkCumulativeGaussianOptimizer_h
23 #include "ITKOptimizersExport.h"
73 itkSetMacro(DifferenceTolerance,
double);
74 itkGetMacro(DifferenceTolerance,
double);
75 itkSetMacro(Verbose,
bool);
76 itkGetMacro(Verbose,
bool);
77 itkGetMacro(ComputedMean,
double);
78 itkGetMacro(ComputedStandardDeviation,
double);
79 itkGetMacro(UpperAsymptote,
double);
80 itkGetMacro(LowerAsymptote,
double);
82 itkGetMacro(FitError,
double);
88 virtual void StartOptimization() ITK_OVERRIDE;
94 virtual const std::
string GetStopConditionDescription() const ITK_OVERRIDE;
98 virtual ~CumulativeGaussianOptimizer();
99 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
104 double m_DifferenceTolerance;
107 double m_ComputedMean;
110 double m_ComputedStandardDeviation;
113 double m_ComputedAmplitude;
117 double m_ComputedTransitionHeight;
120 double m_UpperAsymptote;
123 double m_LowerAsymptote;
126 double m_OffsetForMean;
147 int startingPointForInsertion);
154 void FindParametersOfGaussian(
MeasureType *sampledGaussianArray);
157 void MeasureGaussianParameters(
MeasureType *array);
160 void PrintComputedParameterHeader();
163 void PrintComputedParameters();
169 std::ostringstream m_StopConditionDescription;
Light weight base class for most itk classes.
SmartPointer< Self > Pointer
CostFunctionType::MeasureType MeasureType
Cost function for the Cumulative Gaussian Optimizer.
This is an optimizer specific to estimating the parameters of Cumulative Gaussian sampled data...
SmartPointer< const Self > ConstPointer
This class is a base for the Optimization methods that optimize a multiple valued function...
MultipleValuedNonLinearOptimizer Superclass
CumulativeGaussianOptimizer Self
Control indentation during Print() invocation.
CumulativeGaussianCostFunction CostFunctionType