18 #ifndef __itkCumulativeGaussianOptimizer_h
19 #define __itkCumulativeGaussianOptimizer_h
72 itkSetMacro(DifferenceTolerance,
double);
73 itkGetMacro(DifferenceTolerance,
double);
74 itkSetMacro(Verbose,
bool);
75 itkGetMacro(Verbose,
bool);
76 itkGetMacro(ComputedMean,
double);
77 itkGetMacro(ComputedStandardDeviation,
double);
78 itkGetMacro(UpperAsymptote,
double);
79 itkGetMacro(LowerAsymptote,
double);
81 itkGetMacro(FitError,
double);
97 virtual ~CumulativeGaussianOptimizer();
98 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
146 int startingPointForInsertion);
double m_ComputedAmplitude
double FindAverageSumOfSquaredDifferences(MeasureType *array1, MeasureType *array2)
Light weight base class for most itk classes.
void SetDataArray(MeasureType *dataArray)
MeasureType * m_FinalSampledArray
double VerticalBestShift(MeasureType *originalArray, MeasureType *newArray)
void PrintComputedParameters()
SmartPointer< Self > Pointer
virtual void StartOptimization() ITK_OVERRIDE
double m_ComputedTransitionHeight
void MeasureGaussianParameters(MeasureType *array)
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
CostFunctionType::MeasureType MeasureType
MeasureType * m_CumulativeGaussianArray
double m_DifferenceTolerance
void PrintComputedParameterHeader()
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
double m_ComputedStandardDeviation
This class is a base for the Optimization methods that optimize a multiple valued function...
MultipleValuedNonLinearOptimizer Superclass
void FindParametersOfGaussian(MeasureType *sampledGaussianArray)
std::ostringstream m_StopConditionDescription
MeasureType * RecalculateExtendedArrayFromGaussianParameters(MeasureType *originalArray, MeasureType *extendedArray, int startingPointForInsertion)
void PrintArray(MeasureType *array)
CumulativeGaussianOptimizer Self
Control indentation during Print() invocation.
CumulativeGaussianCostFunction CostFunctionType
MeasureType * ExtendGaussian(MeasureType *originalArray, MeasureType *extendedArray, int startingPointForInsertion)
virtual const std::string GetStopConditionDescription() const ITK_OVERRIDE