13 #ifndef LEVENBERGMARQUARDTMODELFITFUNCTOR_H 14 #define LEVENBERGMARQUARDTMODELFITFUNCTOR_H 16 #include <itkObject.h> 17 #include <itkLevenbergMarquardtOptimizer.h> 43 itkSetMacro(GradientTolerance,
double);
44 itkSetMacro(ValueTolerance,
double);
45 itkSetMacro(DerivativeStepLength,
double);
46 itkSetMacro(Iterations,
unsigned int);
47 itkSetMacro(Scales, ::itk::LevenbergMarquardtOptimizer::ScalesType);
50 itkGetMacro(GradientTolerance,
double);
51 itkGetMacro(ValueTolerance,
double);
52 itkGetMacro(DerivativeStepLength,
double);
53 itkGetMacro(Iterations,
unsigned int);
54 itkGetMacro(Scales, ::itk::LevenbergMarquardtOptimizer::ScalesType);
58 itkSetMacro(ActivateFailureThreshold,
bool);
59 itkGetConstMacro(ActivateFailureThreshold,
bool);
72 ParametersType DoModelFit(
const SignalType& value,
const ModelBase* model,
76 OutputPixelArrayType GetCriteria(
const ModelBase* model,
const ParametersType& parameters,
77 const SignalType& sample)
const override;
87 double m_GradientTolerance;
88 double m_ValueTolerance;
89 unsigned int m_Iterations;
90 double m_DerivativeStepLength;
91 ::itk::LevenbergMarquardtOptimizer::ScalesType m_Scales;
98 bool m_ActivateFailureThreshold;
104 #endif // MODEL_FIT_FUNCTOR_BASE_H itk::SmartPointer< const Self > ConstPointer
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
ModelTraitsInterface::ParametersType ParametersType
std::vector< ParameterImagePixelType > InputPixelArrayType
Superclass::ParametersType ParametersType
std::map< std::string, ParameterImagePixelType > DebugParameterMapType
Superclass::InputPixelArrayType InputPixelArrayType
DataCollection - Class to facilitate loading/accessing structured data.
ModelBase::ParameterNamesType ParameterNamesType
#define MITKMODELFIT_EXPORT
ModelFitCostFunctionInterface::SignalType SignalType
Superclass::SignalType SignalType
ModelBase::ParametersType ParametersType
std::vector< ParameterImagePixelType > OutputPixelArrayType
Superclass::OutputPixelArrayType OutputPixelArrayType
itk::SmartPointer< Self > Pointer
LevenbergMarquardtModelFitFunctor Self
This class is the base class for constraint checker.
ModelFitFunctorBase Superclass