ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkMultiGradientOptimizerv4.h>
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
MultiGradientOptimizerv4 () | |
virtual | ~MultiGradientOptimizerv4 () |
Protected Member Functions inherited from itk::GradientDescentOptimizerv4 | |
virtual void | AdvanceOneStep (void) |
GradientDescentOptimizerv4 () | |
virtual | ~GradientDescentOptimizerv4 () |
virtual void | ModifyGradientByScalesOverSubRange (const IndexRangeType &subrange) |
virtual void | ModifyGradientByLearningRateOverSubRange (const IndexRangeType &subrange) |
Protected Member Functions inherited from itk::GradientDescentOptimizerBasev4 | |
GradientDescentOptimizerBasev4 () | |
virtual | ~GradientDescentOptimizerBasev4 () |
Protected Member Functions inherited from itk::ObjectToObjectOptimizerBase | |
ObjectToObjectOptimizerBase () | |
virtual | ~ObjectToObjectOptimizerBase () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
MultiGradientOptimizerv4 (const Self &) | |
void | operator= (const Self &) |
Multiple gradient-based optimizers are combined in order to perform a multi-objective optimization.
This optimizer will do a combined gradient descent optimization using whatever metric/optimizer gradient sub-optimizers are passed to it by the user. The learning rate or scaleestimator for each sub-optimizer controls the relative weight of each metric in the optimization. Denote the weights as and then the MultiGradientOptimizer will optimize by using update rule:
The test for this class illustrates the expected behavior.
Definition at line 42 of file itkMultiGradientOptimizerv4.h.
typedef SmartPointer< const Self > itk::MultiGradientOptimizerv4::ConstPointer |
Reimplemented from itk::GradientDescentOptimizerv4.
Definition at line 50 of file itkMultiGradientOptimizerv4.h.
Derivative type
Reimplemented from itk::GradientDescentOptimizerv4.
Definition at line 77 of file itkMultiGradientOptimizerv4.h.
typedef Superclass::InternalComputationValueType itk::MultiGradientOptimizerv4::InternalComputationValueType |
Internal computation type, for maintaining a desired precision
Reimplemented from itk::GradientDescentOptimizerv4.
Definition at line 84 of file itkMultiGradientOptimizerv4.h.
typedef itk::GradientDescentOptimizerv4::Pointer itk::MultiGradientOptimizerv4::LocalOptimizerPointer |
Definition at line 59 of file itkMultiGradientOptimizerv4.h.
Definition at line 56 of file itkMultiGradientOptimizerv4.h.
typedef Superclass::MeasureType itk::MultiGradientOptimizerv4::MeasureType |
Measure type
Reimplemented from itk::GradientDescentOptimizerv4.
Definition at line 80 of file itkMultiGradientOptimizerv4.h.
typedef Superclass::MetricType itk::MultiGradientOptimizerv4::MetricType |
Metric type over which this class is templated
Reimplemented from itk::GradientDescentOptimizerBasev4.
Definition at line 73 of file itkMultiGradientOptimizerv4.h.
Reimplemented from itk::GradientDescentOptimizerBasev4.
Definition at line 74 of file itkMultiGradientOptimizerv4.h.
typedef std::vector< MeasureType > itk::MultiGradientOptimizerv4::MetricValuesListType |
Definition at line 81 of file itkMultiGradientOptimizerv4.h.
Definition at line 62 of file itkMultiGradientOptimizerv4.h.
typedef OptimizersListType::size_type itk::MultiGradientOptimizerv4::OptimizersListSizeType |
Definition at line 64 of file itkMultiGradientOptimizerv4.h.
typedef std::vector< LocalOptimizerPointer > itk::MultiGradientOptimizerv4::OptimizersListType |
Definition at line 63 of file itkMultiGradientOptimizerv4.h.
Definition at line 61 of file itkMultiGradientOptimizerv4.h.
typedef Superclass::ParametersType itk::MultiGradientOptimizerv4::ParametersType |
Parameters type.
Reimplemented from itk::ObjectToObjectOptimizerBase.
Definition at line 60 of file itkMultiGradientOptimizerv4.h.
Reimplemented from itk::GradientDescentOptimizerv4.
Definition at line 49 of file itkMultiGradientOptimizerv4.h.
Standard class typedefs.
Reimplemented from itk::GradientDescentOptimizerv4.
Definition at line 47 of file itkMultiGradientOptimizerv4.h.
typedef std::ostringstream itk::MultiGradientOptimizerv4::StopConditionDescriptionType |
Stop condition internal string type
Reimplemented from itk::GradientDescentOptimizerBasev4.
Definition at line 70 of file itkMultiGradientOptimizerv4.h.
typedef std::string itk::MultiGradientOptimizerv4::StopConditionReturnStringType |
Stop condition return string type
Reimplemented from itk::GradientDescentOptimizerBasev4.
Definition at line 67 of file itkMultiGradientOptimizerv4.h.
Reimplemented from itk::GradientDescentOptimizerv4.
Definition at line 48 of file itkMultiGradientOptimizerv4.h.
|
protected |
Default constructor
|
protectedvirtual |
Default constructor
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::GradientDescentOptimizerv4.
|
virtual |
Get the current iteration number.
Reimplemented from itk::GradientDescentOptimizerBasev4.
const MetricValuesListType& itk::MultiGradientOptimizerv4::GetMetricValuesList | ( | ) | const |
Get the list of metric values that we produced after the multi-objective search.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::GradientDescentOptimizerv4.
|
virtual |
Get the number of iterations.
Reimplemented from itk::GradientDescentOptimizerBasev4.
OptimizersListType& itk::MultiGradientOptimizerv4::GetOptimizersList | ( | ) |
Get the list of optimizers currently held.
|
virtual |
Get stop condition enum
Reimplemented from itk::GradientDescentOptimizerBasev4.
|
virtual |
Get the reason for termination
Reimplemented from itk::GradientDescentOptimizerBasev4.
|
static |
Method for creation through the object factory.
Reimplemented from itk::GradientDescentOptimizerv4.
|
private |
Mutex lock to protect modification to the reference count
Reimplemented from itk::GradientDescentOptimizerv4.
|
protectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::GradientDescentOptimizerv4.
|
virtual |
Resume the optimization. Can be called after StopOptimization to resume. The bulk of the optimization work loop is here.
Reimplemented from itk::GradientDescentOptimizerv4.
|
virtual |
Set the number of iterations.
Reimplemented from itk::GradientDescentOptimizerBasev4.
void itk::MultiGradientOptimizerv4::SetOptimizersList | ( | OptimizersListType & | p | ) |
Set the list of optimizers to combine
|
virtual |
Begin the optimization
Reimplemented from itk::GradientDescentOptimizerv4.
|
virtual |
Stop optimization. The object is left in a state so the optimization can be resumed by calling ResumeOptimization.
Reimplemented from itk::GradientDescentOptimizerv4.
|
protected |
Reimplemented from itk::GradientDescentOptimizerBasev4.
Definition at line 135 of file itkMultiGradientOptimizerv4.h.
|
protected |
Definition at line 139 of file itkMultiGradientOptimizerv4.h.
|
protected |
Definition at line 137 of file itkMultiGradientOptimizerv4.h.
|
protected |
Definition at line 138 of file itkMultiGradientOptimizerv4.h.
|
protected |
Reimplemented from itk::GradientDescentOptimizerBasev4.
Definition at line 134 of file itkMultiGradientOptimizerv4.h.
|
protected |
Definition at line 136 of file itkMultiGradientOptimizerv4.h.
|
protected |
Reimplemented from itk::GradientDescentOptimizerBasev4.
Definition at line 131 of file itkMultiGradientOptimizerv4.h.
|
protected |
Reimplemented from itk::GradientDescentOptimizerBasev4.
Definition at line 132 of file itkMultiGradientOptimizerv4.h.
|
protected |
Reimplemented from itk::GradientDescentOptimizerBasev4.
Definition at line 133 of file itkMultiGradientOptimizerv4.h.