Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxFullSearchOptimizer.h>
An optimizer based on the itk::FullSearchOptimizer.
Optimizer that scans a subspace of the parameter space and searches for the best parameters.
The results are written to the output-directory as an image OptimizationSurface.<elastixlevel>.R<resolution>.mhd", which is an N-dimensional float image, where N is the dimension of the search space.
The parameters used in this class are:
Optimizer: Select this optimizer as follows:
(Optimizer "FullSearch")
FullSearchSpace<r>: Defines for resolution r a range of parameters to scan.
Full syntax: (FullSearchSpace<r> <parameter_name> <parameter_nr> <min> <max> <stepsize> [...] )
example: (FullSearchSpace0 "translation_x" 2 -4.0 3.0 1.0 "rotation_y" 3 -1.0 1.0 0.5)
This varies the second transform parameter in the range [-4.0 3.0] with steps of 1.0 and the third parameter in the range [-1.0 1.0] with steps of 0.5. The names are used as column headers in the screen output.
Definition at line 57 of file elxFullSearchOptimizer.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::FullSearchOptimizer | |
static Pointer | New () |
Static Public Member Functions inherited from elastix::BaseComponent | |
static std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Protected Member Functions | |
virtual bool | CheckSearchSpaceRangeDefinition (const std::string &fullFieldName, const bool found, const unsigned int entry_nr) const |
FullSearch () | |
~FullSearch () override | |
Protected Member Functions inherited from itk::FullSearchOptimizer | |
FullSearchOptimizer () | |
virtual void | ProcessSearchSpaceChanges (void) |
~FullSearchOptimizer () override | |
Protected Member Functions inherited from elastix::OptimizerBase< TElastix > | |
virtual bool | GetNewSamplesEveryIteration (void) const |
OptimizerBase () | |
virtual void | SelectNewSamples (void) |
~OptimizerBase () override | |
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 |
Protected Attributes | |
NDImagePointer | m_OptimizationSurface |
DimensionNameMapType | m_SearchSpaceDimensionNames |
Protected Attributes inherited from itk::FullSearchOptimizer | |
SearchSpaceIndexType | m_BestIndexInSearchSpace |
SearchSpacePointType | m_BestPointInSearchSpace |
double | m_BestValue |
SearchSpaceIndexType | m_CurrentIndexInSearchSpace |
SearchSpacePointType | m_CurrentPointInSearchSpace |
unsigned long | m_LastSearchSpaceChanges |
bool | m_Maximize |
unsigned int | m_NumberOfSearchSpaceDimensions |
SearchSpacePointer | m_SearchSpace |
SearchSpaceSizeType | m_SearchSpaceSize |
bool | m_Stop |
StopConditionType | m_StopCondition |
double | m_Value |
Protected Attributes inherited from elastix::BaseComponentSE< TElastix > | |
ConfigurationPointer | m_Configuration {} |
ElastixPointer | m_Elastix {} |
RegistrationPointer | m_Registration {} |
Private Member Functions | |
FullSearch (const Self &) | |
void | operator= (const Self &) |
typedef Superclass2::ConfigurationPointer elastix::FullSearch< TElastix >::ConfigurationPointer |
Definition at line 103 of file elxFullSearchOptimizer.h.
typedef Superclass2::ConfigurationType elastix::FullSearch< TElastix >::ConfigurationType |
Definition at line 102 of file elxFullSearchOptimizer.h.
typedef itk::SmartPointer< const Self > elastix::FullSearch< TElastix >::ConstPointer |
Definition at line 70 of file elxFullSearchOptimizer.h.
typedef Superclass1::CostFunctionPointer elastix::FullSearch< TElastix >::CostFunctionPointer |
Definition at line 86 of file elxFullSearchOptimizer.h.
typedef Superclass1::CostFunctionType elastix::FullSearch< TElastix >::CostFunctionType |
Typedef's inherited from Superclass1.
Definition at line 85 of file elxFullSearchOptimizer.h.
typedef std::map< unsigned int, std::string > elastix::FullSearch< TElastix >::DimensionNameMapType |
To store the names of the search space dimensions
Definition at line 113 of file elxFullSearchOptimizer.h.
typedef Superclass2::ElastixPointer elastix::FullSearch< TElastix >::ElastixPointer |
Definition at line 101 of file elxFullSearchOptimizer.h.
typedef Superclass2::ElastixType elastix::FullSearch< TElastix >::ElastixType |
Typedef's inherited from Elastix.
Definition at line 100 of file elxFullSearchOptimizer.h.
typedef Superclass2::ITKBaseType elastix::FullSearch< TElastix >::ITKBaseType |
Definition at line 106 of file elxFullSearchOptimizer.h.
typedef Superclass1::MeasureType elastix::FullSearch< TElastix >::MeasureType |
Definition at line 88 of file elxFullSearchOptimizer.h.
typedef DimensionNameMapType::const_iterator elastix::FullSearch< TElastix >::NameIteratorType |
Definition at line 114 of file elxFullSearchOptimizer.h.
typedef NDImageType::Pointer elastix::FullSearch< TElastix >::NDImagePointer |
Definition at line 110 of file elxFullSearchOptimizer.h.
typedef itk::NDImageBase< float > elastix::FullSearch< TElastix >::NDImageType |
To store the results of the full search
Definition at line 109 of file elxFullSearchOptimizer.h.
typedef Superclass1::ParametersType elastix::FullSearch< TElastix >::ParametersType |
Definition at line 87 of file elxFullSearchOptimizer.h.
typedef Superclass1::ParameterValueType elastix::FullSearch< TElastix >::ParameterValueType |
Definition at line 89 of file elxFullSearchOptimizer.h.
typedef itk::SmartPointer< Self > elastix::FullSearch< TElastix >::Pointer |
Definition at line 69 of file elxFullSearchOptimizer.h.
typedef Superclass1::RangeType elastix::FullSearch< TElastix >::RangeType |
Definition at line 91 of file elxFullSearchOptimizer.h.
typedef Superclass1::RangeValueType elastix::FullSearch< TElastix >::RangeValueType |
Definition at line 90 of file elxFullSearchOptimizer.h.
typedef Superclass2::RegistrationPointer elastix::FullSearch< TElastix >::RegistrationPointer |
Definition at line 105 of file elxFullSearchOptimizer.h.
typedef Superclass2::RegistrationType elastix::FullSearch< TElastix >::RegistrationType |
Definition at line 104 of file elxFullSearchOptimizer.h.
typedef Superclass1::SearchSpaceIndexType elastix::FullSearch< TElastix >::SearchSpaceIndexType |
Definition at line 96 of file elxFullSearchOptimizer.h.
typedef Superclass1::SearchSpaceIteratorType elastix::FullSearch< TElastix >::SearchSpaceIteratorType |
Definition at line 94 of file elxFullSearchOptimizer.h.
typedef Superclass1::SearchSpacePointer elastix::FullSearch< TElastix >::SearchSpacePointer |
Definition at line 93 of file elxFullSearchOptimizer.h.
typedef Superclass1::SearchSpacePointType elastix::FullSearch< TElastix >::SearchSpacePointType |
Definition at line 95 of file elxFullSearchOptimizer.h.
typedef Superclass1::SearchSpaceSizeType elastix::FullSearch< TElastix >::SearchSpaceSizeType |
Definition at line 97 of file elxFullSearchOptimizer.h.
typedef Superclass1::SearchSpaceType elastix::FullSearch< TElastix >::SearchSpaceType |
Definition at line 92 of file elxFullSearchOptimizer.h.
typedef FullSearch elastix::FullSearch< TElastix >::Self |
Standard ITK.
Definition at line 66 of file elxFullSearchOptimizer.h.
typedef itk::FullSearchOptimizer elastix::FullSearch< TElastix >::Superclass1 |
Definition at line 67 of file elxFullSearchOptimizer.h.
typedef OptimizerBase< TElastix > elastix::FullSearch< TElastix >::Superclass2 |
Definition at line 68 of file elxFullSearchOptimizer.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 135 of file elxFullSearchOptimizer.h.
|
private |
|
overridevirtual |
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Methods that have to be present everywhere.
Reimplemented from elastix::BaseComponent.
|
protectedvirtual |
Checks if an error generated while reading the search space ranges from the parameter file is a real error. Prints some error message if so.
elastix::FullSearch< TElastix >::elxClassNameMacro | ( | "FullSearch< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific optimizer.
example: (Optimizer "FullSearch")
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::FullSearchOptimizer.
elastix::FullSearch< TElastix >::itkGetModifiableObjectMacro | ( | OptimizationSurface | , |
NDImageType | |||
) |
Get a pointer to the image containing the optimization surface.
|
static |
Method for creation through the object factory.
|
private |
|
protected |
Definition at line 137 of file elxFullSearchOptimizer.h.
|
protected |
Definition at line 139 of file elxFullSearchOptimizer.h.
Generated on 1667476801 for elastix by 1.9.4 |