Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkLevenbergMarquardtModelFitFunctor.h>
Public Types | |
typedef LevenbergMarquardtModelFitFunctor | Self |
typedef ModelFitFunctorBase | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputPixelArrayType | InputPixelArrayType |
typedef Superclass::OutputPixelArrayType | OutputPixelArrayType |
![]() | |
typedef ModelFitFunctorBase | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef ScalarType | ParameterImagePixelType |
typedef std::vector< ParameterImagePixelType > | InputPixelArrayType |
typedef std::vector< ParameterImagePixelType > | OutputPixelArrayType |
typedef ModelBase::ParameterNamesType | ParameterNamesType |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual void | SetEpsilon (double _arg) |
virtual void | SetGradientTolerance (double _arg) |
virtual void | SetValueTolerance (double _arg) |
virtual void | SetDerivativeStepLength (double _arg) |
virtual void | SetIterations (unsigned int _arg) |
virtual void | SetScales (::itk::LevenbergMarquardtOptimizer::ScalesType _arg) |
virtual double | GetEpsilon () |
virtual double | GetGradientTolerance () |
virtual double | GetValueTolerance () |
virtual double | GetDerivativeStepLength () |
virtual unsigned int | GetIterations () |
virtual ::itk::LevenbergMarquardtOptimizer::ScalesType | GetScales () |
virtual void | SetConstraintChecker (const ConstraintCheckerBase *_arg) |
virtual const ConstraintCheckerBase * | GetConstraintChecker () |
virtual void | SetActivateFailureThreshold (bool _arg) |
virtual bool | GetActivateFailureThreshold () const |
ParameterNamesType | GetCriterionNames () const override |
![]() | |
OutputPixelArrayType | Compute (const InputPixelArrayType &value, const ModelBase *model, const ModelBase::ParametersType &initialParameters) const |
unsigned int | GetNumberOfOutputs (const ModelBase *model) const |
ParameterNamesType | GetEvaluationParameterNames () const |
void | ResetEvaluationParameters () |
void | RegisterEvaluationParameter (const std::string ¶meterName, SVModelFitCostFunction *evaluationCostFunction) |
const SVModelFitCostFunction * | GetEvaluationParameterCostFunction (const std::string ¶meterName) const |
ParameterNamesType | GetDebugParameterNames () const |
virtual void | DebugParameterMapsOn () |
virtual void | DebugParameterMapsOff () |
virtual void | SetDebugParameterMaps (bool _arg) |
virtual bool | GetDebugParameterMaps () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::SignalType | SignalType |
![]() | |
typedef ModelBase::ParametersType | ParametersType |
typedef ModelFitCostFunctionInterface::SignalType | SignalType |
typedef std::map< std::string, ParameterImagePixelType > | DebugParameterMapType |
Protected Member Functions | |
LevenbergMarquardtModelFitFunctor () | |
~LevenbergMarquardtModelFitFunctor () override | |
ParametersType | DoModelFit (const SignalType &value, const ModelBase *model, const ModelBase::ParametersType &initialParameters, DebugParameterMapType &debugParameters) const override |
OutputPixelArrayType | GetCriteria (const ModelBase *model, const ParametersType ¶meters, const SignalType &sample) const override |
virtual MVModelFitCostFunction::Pointer | GenerateCostFunction (const SignalType &value, const ModelBase *model) const |
ParameterNamesType | DefineDebugParameterNames () const override |
![]() | |
ModelFitFunctorBase () | |
~ModelFitFunctorBase () override | |
OutputPixelArrayType | GetDerivedParameters (const ModelBase *model, const ParametersType ¶meters) const |
OutputPixelArrayType | GetEvaluationParameters (const ModelBase *model, const ParametersType ¶meters, const SignalType &sample) const |
Definition at line 28 of file mitkLevenbergMarquardtModelFitFunctor.h.
typedef itk::SmartPointer< const Self > mitk::LevenbergMarquardtModelFitFunctor::ConstPointer |
Definition at line 34 of file mitkLevenbergMarquardtModelFitFunctor.h.
typedef Superclass::InputPixelArrayType mitk::LevenbergMarquardtModelFitFunctor::InputPixelArrayType |
Definition at line 37 of file mitkLevenbergMarquardtModelFitFunctor.h.
typedef Superclass::OutputPixelArrayType mitk::LevenbergMarquardtModelFitFunctor::OutputPixelArrayType |
Definition at line 40 of file mitkLevenbergMarquardtModelFitFunctor.h.
|
protected |
Definition at line 65 of file mitkLevenbergMarquardtModelFitFunctor.h.
Definition at line 33 of file mitkLevenbergMarquardtModelFitFunctor.h.
Definition at line 31 of file mitkLevenbergMarquardtModelFitFunctor.h.
|
protected |
Definition at line 66 of file mitkLevenbergMarquardtModelFitFunctor.h.
Definition at line 32 of file mitkLevenbergMarquardtModelFitFunctor.h.
|
protected |
Definition at line 21 of file mitkLevenbergMarquardtModelFitFunctor.cpp.
References ~LevenbergMarquardtModelFitFunctor().
|
overrideprotected |
Definition at line 27 of file mitkLevenbergMarquardtModelFitFunctor.cpp.
References GetCriterionNames().
Referenced by LevenbergMarquardtModelFitFunctor().
|
overrideprotectedvirtual |
Returns names of the depug parameters generated by the functor. Will be called by GetDebugParameterNames, if debug is activated.
Implements mitk::ModelFitFunctorBase.
Definition at line 84 of file mitkLevenbergMarquardtModelFitFunctor.cpp.
References DoModelFit().
|
overrideprotectedvirtual |
Internal Method called by Compute(). It does the real fit and returns the found parameters. Additionally it must return its debug parameter via debugParameters.
value | Signal the Model should be fitted against | |
model | Pointer to the model that should be fitted | |
initialParameters | Initial modal parameters for the fit | |
[out] | debugParameters | Map containing all debug parameters for the done fit (must only valid if m_DebugParameterMap is true) |
Implements mitk::ModelFitFunctorBase.
Definition at line 101 of file mitkLevenbergMarquardtModelFitFunctor.cpp.
References GenerateCostFunction(), mitk::ModelFitFunctorBase::GetDebugParameterMaps(), mitk::ModelTraitsInterface::GetNumberOfParameters(), mitk::MVConstrainedCostFunctionDecorator::GetPenaltyRatio(), MITK_DEBUG, and mitkThrow.
Referenced by DefineDebugParameterNames().
|
protectedvirtual |
Generator function that instantiates and parameterizes the cost function that should be used by the fit functor
Definition at line 55 of file mitkLevenbergMarquardtModelFitFunctor.cpp.
References mitk::SquaredDifferencesFitCostFunction::New(), and mitk::MVConstrainedCostFunctionDecorator::New().
Referenced by DoModelFit().
|
virtual |
|
virtual |
Reimplemented from mitk::ModelFitFunctorBase.
|
virtual |
|
overrideprotectedvirtual |
Internal Method called by Compute to get the final criterion values thar dove the fit. must be implemented be concrete functor classes.
Implements mitk::ModelFitFunctorBase.
Definition at line 41 of file mitkLevenbergMarquardtModelFitFunctor.cpp.
References mitk::SumOfSquaredDifferencesFitCostFunction::New().
Referenced by GetCriterionNames().
|
overridevirtual |
Returns names of the criterion used to fit the model.
Implements mitk::ModelFitFunctorBase.
Definition at line 32 of file mitkLevenbergMarquardtModelFitFunctor.cpp.
References GetCriteria().
Referenced by ~LevenbergMarquardtModelFitFunctor().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
virtual ::itk::LevenbergMarquardtOptimizer::ScalesType mitk::LevenbergMarquardtModelFitFunctor::GetScales | ( | ) |
|
virtual |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |