![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxRSGDEachParameterApart.h>
Public Member Functions | |
virtual void | AfterEachIteration (void) |
virtual void | AfterEachResolution (void) |
virtual void | AfterRegistration (void) |
virtual void | BeforeEachResolution (void) |
virtual void | BeforeRegistration (void) |
elxClassNameMacro ("RSGDEachParameterApart") | |
virtual const char * | GetClassName () const |
virtual void | SetInitialPosition (const ParametersType ¶m) |
![]() | |
virtual void | BeforeEachResolutionBase () |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (void) const |
virtual void | SetCurrentPositionPublic (const ParametersType ¶m) |
virtual void | SetSinusScales (double amplitude, double frequency, unsigned long numberOfParameters) |
![]() | |
virtual ConfigurationType * | GetConfiguration (void) const |
virtual ElastixType * | GetElastix (void) const |
virtual RegistrationPointer | GetRegistration (void) const |
virtual void | SetConfiguration (ConfigurationType *_arg) |
virtual void | SetElastix (ElastixType *_arg) |
![]() | |
virtual void | AfterEachIterationBase (void) |
virtual void | AfterEachResolutionBase (void) |
virtual void | AfterRegistrationBase (void) |
virtual int | BeforeAll (void) |
virtual int | BeforeAllBase (void) |
virtual void | BeforeRegistrationBase (void) |
virtual const char * | elxGetClassName (void) const |
virtual const char * | GetComponentLabel (void) const |
virtual void | SetComponentLabel (const char *label, unsigned int idx) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
RSGDEachParameterApart () | |
virtual | ~RSGDEachParameterApart () |
![]() | |
RSGDEachParameterApartOptimizer () | |
virtual void | StepAlongGradient (const DerivativeType &factor, const DerivativeType &transformedGradient) |
virtual | ~RSGDEachParameterApartOptimizer () |
![]() | |
virtual void | AdvanceOneStep (void) |
void | PrintSelf (std::ostream &os, Indent indent) const |
RSGDEachParameterApartBaseOptimizer () | |
virtual | ~RSGDEachParameterApartBaseOptimizer () |
![]() | |
virtual bool | GetNewSamplesEveryIteration (void) const |
OptimizerBase () | |
virtual void | SelectNewSamples (void) |
virtual | ~OptimizerBase () |
![]() | |
BaseComponentSE () | |
virtual | ~BaseComponentSE () |
![]() | |
BaseComponent () | |
virtual | ~BaseComponent () |
Private Member Functions | |
void | operator= (const Self &) |
RSGDEachParameterApart (const Self &) |
Additional Inherited Members | |
![]() | |
unsigned long | m_CurrentIteration |
double | m_CurrentStepLength |
DerivativeType | m_CurrentStepLengths |
DerivativeType | m_Gradient |
double | m_GradientMagnitude |
double | m_GradientMagnitudeTolerance |
bool | m_Maximize |
double | m_MaximumStepLength |
double | m_MinimumStepLength |
unsigned long | m_NumberOfIterations |
DerivativeType | m_PreviousGradient |
bool | m_Stop |
StopConditionType | m_StopCondition |
MeasureType | m_Value |
![]() | |
ConfigurationPointer | m_Configuration |
ElastixPointer | m_Elastix |
RegistrationPointer | m_Registration |
An optimizer based on gradient descent.
The underlying itk class is almost a copy of the normal RegularStepGradientDescent. The difference is that each parameter has its own step length, whereas the normal RSGD has one step length that is used for all parameters.
This could cause inaccuracies, if, for example, parameter 1, 2 and 3 are already close to the optimum, but parameter 4 not yet. The average stepsize is halved then, so parameter 4 will not have time to reach its optimum (in a worst case scenario).
The RSGDEachParameterApart stops only if ALL steplenghts are smaller than the MinimumStepSize given in the parameter file!
The elastix shell class (so, this class...), is a copy of the elxRegularStepGradientDescent, so the parameters in the parameter file, the output etc are similar.
The parameters used in this class are:
(Optimizer "RSGDEachParameterApart")
(MaximumNumberOfIterations 100 100 50)
(MinimumGradientMagnitude 0.0001 0.0001 0.001)
(MinimumStepLength 1.0 0.5 0.1)
(MaxiumStepLength 16.0 8.0 4.0)
Definition at line 70 of file elxRSGDEachParameterApart.h.
typedef Superclass2::ConfigurationPointer elastix::RSGDEachParameterApart< TElastix >::ConfigurationPointer |
Definition at line 105 of file elxRSGDEachParameterApart.h.
typedef Superclass2::ConfigurationType elastix::RSGDEachParameterApart< TElastix >::ConfigurationType |
Definition at line 104 of file elxRSGDEachParameterApart.h.
typedef SmartPointer<const Self> elastix::RSGDEachParameterApart< TElastix >::ConstPointer |
Definition at line 83 of file elxRSGDEachParameterApart.h.
typedef Superclass1::CostFunctionPointer elastix::RSGDEachParameterApart< TElastix >::CostFunctionPointer |
Definition at line 99 of file elxRSGDEachParameterApart.h.
typedef Superclass1::CostFunctionType elastix::RSGDEachParameterApart< TElastix >::CostFunctionType |
Typedef's inherited from Superclass1.
Definition at line 98 of file elxRSGDEachParameterApart.h.
typedef Superclass2::ElastixPointer elastix::RSGDEachParameterApart< TElastix >::ElastixPointer |
Definition at line 103 of file elxRSGDEachParameterApart.h.
typedef Superclass2::ElastixType elastix::RSGDEachParameterApart< TElastix >::ElastixType |
Typedef's inherited from Elastix.
Definition at line 102 of file elxRSGDEachParameterApart.h.
typedef Superclass2::ITKBaseType elastix::RSGDEachParameterApart< TElastix >::ITKBaseType |
Definition at line 108 of file elxRSGDEachParameterApart.h.
typedef Superclass1::ParametersType elastix::RSGDEachParameterApart< TElastix >::ParametersType |
Typedef for the ParametersType.
Definition at line 111 of file elxRSGDEachParameterApart.h.
typedef SmartPointer<Self> elastix::RSGDEachParameterApart< TElastix >::Pointer |
Definition at line 82 of file elxRSGDEachParameterApart.h.
typedef Superclass2::RegistrationPointer elastix::RSGDEachParameterApart< TElastix >::RegistrationPointer |
Definition at line 107 of file elxRSGDEachParameterApart.h.
typedef Superclass2::RegistrationType elastix::RSGDEachParameterApart< TElastix >::RegistrationType |
Definition at line 106 of file elxRSGDEachParameterApart.h.
typedef RSGDEachParameterApart elastix::RSGDEachParameterApart< TElastix >::Self |
Standard ITK.
Definition at line 79 of file elxRSGDEachParameterApart.h.
typedef RSGDEachParameterApartOptimizer elastix::RSGDEachParameterApart< TElastix >::Superclass1 |
Definition at line 80 of file elxRSGDEachParameterApart.h.
typedef OptimizerBase<TElastix> elastix::RSGDEachParameterApart< TElastix >::Superclass2 |
Definition at line 81 of file elxRSGDEachParameterApart.h.
|
inlineprotected |
Definition at line 128 of file elxRSGDEachParameterApart.h.
|
inlineprotectedvirtual |
Definition at line 129 of file elxRSGDEachParameterApart.h.
|
private |
|
virtual |
Reimplemented from elastix::BaseComponent.
|
virtual |
Reimplemented from elastix::BaseComponent.
|
virtual |
Reimplemented from elastix::BaseComponent.
|
virtual |
Reimplemented from elastix::BaseComponent.
|
virtual |
Methods that have to be present everywhere.
Reimplemented from elastix::BaseComponent.
elastix::RSGDEachParameterApart< TElastix >::elxClassNameMacro | ( | "RSGDEachParameterApart< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific optimizer.
example: (Optimizer "RSGDEachParameterApart")
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::RSGDEachParameterApartOptimizer.
|
static |
Method for creation through the object factory.
Reimplemented from itk::RSGDEachParameterApartOptimizer.
|
private |
|
virtual |
Override the SetInitialPosition. Override the implementation in itkOptimizer.h, to ensure that the scales array and the parameters array have the same size.
Generated on 21-03-2014 for elastix by ![]() |
![]() |