![]() |
zxhproj v 2.2
zxhproj
|
optimizers search for the optimal value of the metric within the transformation More...
#include <zxhOptimizerBase.h>
Public Member Functions | |
| zxhOptimizerBase () | |
| constructor | |
| virtual | ~zxhOptimizerBase () |
| deconstructor | |
| virtual void | SetMetric (zxhMetricBase *p) |
| set components | |
| virtual void | SetTransform (zxhTransformBase *p) |
| set | |
| virtual void | SetTransformInfluence (zxhTransformBase *p) |
| set | |
| virtual void | SetDirection (float f) |
| set | |
| virtual void | SetMaxStep (int i) |
| set if m_iMaxStep<0 then SetAccumulatedDecreaseStepsForStop(-1); if >0 and | |
| virtual std::string | GetPrintString () |
| virtual bool | SetOptimizerFromStream (std::ifstream &ifs) |
| virtual zxhlfloat | GetResultValue () |
| get metric value | |
| virtual unsigned int | GetCurrentStep () |
| virtual bool | GetIsStop () |
| virtual zxhTransformBase * | GetTransform () |
| get component | |
| virtual zxhTransformBase * | GetTransformInfluence () |
| virtual zxhMetricBase * | GetMetric () |
| virtual float | GetDirection () |
| direction>0 mean search for the maximum and <0 for minimum | |
| virtual void | Run ()=0 |
| for running registration to search optimal | |
| virtual zxhOptimizerBase * | Clone (zxhOptimizerBase *&pRet) |
| virtual void | SetResultSaveString (std::string s) |
| virtual std::string | GetResultSaveString () |
| virtual void | SetStructRegistration (zxhRegistrationStruct *p) |
| virtual zxhRegistrationStruct * | GetStructRegistration () |
| virtual void | SetAccumulatedDecreaseStepsForStop (int i) |
| virtual int | GetAccumulatedDecreaseStepsForStop () |
Protected Attributes | |
| float | m_fDirection |
| properties | |
| unsigned int | m_iMaxStep |
| zxhTransformBase * | m_pTransform |
| registration components | |
| zxhTransformBase * | m_pTransformInf |
| zxhMetricBase * | m_pMetric |
| zxhlfloat | m_fValueCur |
| results or inter-results | |
| zxhlfloat | m_fValuePreMax |
| int | m_iAccumulatedValueDecrease |
| int | m_nAccumulatedStop |
| currently use 5 steps for active; 0 for temporary inactive for this Reg; -1 for permanantly inactive; | |
| unsigned int | m_iStepCount |
| bool | m_bStop |
| std::string | m_sResultSave |
| zxhRegistrationStruct * | m_pStructRegistration |
optimizers search for the optimal value of the metric within the transformation
| zxhOptimizerBase * zxhOptimizerBase::Clone | ( | zxhOptimizerBase *& | pRet | ) | [virtual] |
Reimplemented in zxhOptimizerGradient, zxhOptimizerGradientField, zxhOptimizerGradientLocalAffines, and zxhOptimizerGradientLocalMatrix.
| virtual unsigned int zxhOptimizerBase::GetCurrentStep | ( | ) | [inline, virtual] |
| virtual bool zxhOptimizerBase::GetIsStop | ( | ) | [inline, virtual] |
| virtual zxhMetricBase* zxhOptimizerBase::GetMetric | ( | ) | [inline, virtual] |
| std::string zxhOptimizerBase::GetPrintString | ( | ) | [virtual] |
Reimplemented in zxhOptimizerGradient, and zxhOptimizerGradientLocalAffines.
| virtual zxhTransformBase* zxhOptimizerBase::GetTransformInfluence | ( | ) | [inline, virtual] |
| void zxhOptimizerBase::SetMaxStep | ( | int | i | ) | [virtual] |
set if m_iMaxStep<0 then SetAccumulatedDecreaseStepsForStop(-1); if >0 and
currently use 5 steps for active; 0 for temporary inactive for this Reg; -1 for permanantly inactive;
| bool zxhOptimizerBase::SetOptimizerFromStream | ( | std::ifstream & | ifs | ) | [virtual] |
Reimplemented in zxhOptimizerGradient, and zxhOptimizerGradientLocalAffines.
bool zxhOptimizerBase::m_bStop [protected] |
zxhlfloat zxhOptimizerBase::m_fValuePreMax [protected] |
unsigned int zxhOptimizerBase::m_iMaxStep [protected] |
unsigned int zxhOptimizerBase::m_iStepCount [protected] |
zxhMetricBase* zxhOptimizerBase::m_pMetric [protected] |
zxhTransformBase* zxhOptimizerBase::m_pTransformInf [protected] |