#include <elxOptimizerBase.h>
This class is the elastix base class for all Optimizers.
This class contains all the common functionality for Optimizers.
The parameters used in this class are:
(NewSamplesEveryIteration "true" "true" "true")
Definition at line 53 of file elxOptimizerBase.h.
Data Structures | |
struct | SettingsType |
Public Types | |
using | ElastixType |
using | ITKBaseType = itk::Optimizer |
using | ParametersType = typename ITKBaseType::ParametersType |
using | RegistrationType |
using | Self = OptimizerBase |
using | Superclass = BaseComponentSE<TElastix> |
Public Types inherited from elastix::BaseComponentSE< TElastix > | |
using | ElastixType = TElastix |
using | RegistrationType = typename ElastixType::RegistrationBaseType |
using | Self = BaseComponentSE |
using | Superclass = BaseComponent |
Protected Types | |
using | SettingsVectorType = typename std::vector<SettingsType> |
Protected Member Functions | |
virtual bool | GetNewSamplesEveryIteration () const |
OptimizerBase ()=default | |
virtual void | SelectNewSamples () |
~OptimizerBase () override=default | |
Protected Member Functions inherited from elastix::BaseComponentSE< TElastix > | |
BaseComponentSE ()=default | |
~BaseComponentSE () override=default | |
Protected Member Functions inherited from elastix::BaseComponent | |
BaseComponent ()=default | |
virtual | ~BaseComponent ()=default |
Static Protected Member Functions | |
static void | PrintSettingsVector (const SettingsVectorType &settings) |
Private Member Functions | |
elxDeclarePureVirtualGetSelfMacro (ITKBaseType) | |
Private Attributes | |
bool | m_NewSamplesEveryIteration { false } |
Additional Inherited Members | |
Static Public Member Functions inherited from elastix::BaseComponent | |
template<typename TBaseComponent > | |
static auto | AsITKBaseType (TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType()) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Protected Attributes inherited from elastix::BaseComponentSE< TElastix > | |
Configuration::ConstPointer | m_Configuration {} |
itk::WeakPointer< TElastix > | m_Elastix {} |
RegistrationType * | m_Registration {} |
using elastix::BaseComponentSE< TElastix >::ElastixType |
Elastix typedef.
Definition at line 57 of file elxBaseComponentSE.h.
using elastix::OptimizerBase< TElastix >::ITKBaseType = itk::Optimizer |
ITKBaseType.
Definition at line 70 of file elxOptimizerBase.h.
using elastix::OptimizerBase< TElastix >::ParametersType = typename ITKBaseType::ParametersType |
Typedef needed for the SetCurrentPositionPublic function.
Definition at line 73 of file elxOptimizerBase.h.
using elastix::BaseComponentSE< TElastix >::RegistrationType |
RegistrationType; NB: this is the elx::RegistrationBase not an itk::Object or something like that.
Definition at line 62 of file elxBaseComponentSE.h.
using elastix::OptimizerBase< TElastix >::Self = OptimizerBase |
Standard ITK-stuff.
Definition at line 59 of file elxOptimizerBase.h.
|
protected |
Definition at line 133 of file elxOptimizerBase.h.
using elastix::OptimizerBase< TElastix >::Superclass = BaseComponentSE<TElastix> |
Definition at line 60 of file elxOptimizerBase.h.
|
protecteddefault |
The constructor.
|
overrideprotecteddefault |
The destructor.
|
overridevirtual |
Execute stuff after registration:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Execute stuff before each new pyramid resolution:
Reimplemented from elastix::BaseComponent.
|
private |
|
inline |
Retrieves this object as ITKBaseType.
Definition at line 77 of file elxOptimizerBase.h.
|
inline |
Retrieves this object as ITKBaseType, to use in const functions.
Definition at line 85 of file elxOptimizerBase.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented in elastix::AdaGrad< TElastix >, elastix::AdaptiveStochasticGradientDescent< TElastix >, elastix::AdaptiveStochasticLBFGS< TElastix >, elastix::AdaptiveStochasticVarianceReducedGradient< TElastix >, elastix::CMAEvolutionStrategy< TElastix >, elastix::ConjugateGradient< TElastix >, elastix::ConjugateGradientFRPR< TElastix >, elastix::FiniteDifferenceGradientDescent< TElastix >, elastix::FullSearch< TElastix >, elastix::Powell< TElastix >, elastix::PreconditionedStochasticGradientDescent< TElastix >, elastix::QuasiNewtonLBFGS< TElastix >, elastix::RegularStepGradientDescent< TElastix >, elastix::RSGDEachParameterApart< TElastix >, elastix::Simplex< TElastix >, elastix::SimultaneousPerturbation< TElastix >, and elastix::StandardGradientDescent< TElastix >.
|
protectedvirtual |
Check whether the user asked to select new samples every iteration.
elastix::OptimizerBase< TElastix >::ITK_DISALLOW_COPY_AND_MOVE | ( | OptimizerBase< TElastix > | ) |
|
staticprotected |
Print the contents of the settings vector to log::info.
|
protectedvirtual |
Force the metric to base its computation on a new subset of image samples. Not every metric may have implemented this.
|
virtual |
Add empty SetCurrentPositionPublic, so this function is known in every inherited class.
Reimplemented in elastix::StandardGradientDescent< TElastix >.
|
virtual |
Method that sets the scales defined by a sinus scale[i] = amplitude^( sin(i/nrofparam*2pi*frequency) )
|
private |
Member variable to store the user preference for using new samples each iteration.
Definition at line 145 of file elxOptimizerBase.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |