|
|
Home | Main Page | Topics | 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 | |
| template<typename TBaseComponent> | |
| static auto | AsITKBaseType (TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType()) |
| static void | InitializeElastixExecutable () |
| static bool | IsElastixLibrary () |
Protected Member Functions | |
| FullSearch () | |
| ~FullSearch () override=default | |
| Protected Member Functions inherited from itk::FullSearchOptimizer | |
| FullSearchOptimizer () | |
| virtual void | ProcessSearchSpaceChanges () |
| ~FullSearchOptimizer () override=default | |
| Protected Member Functions inherited from elastix::OptimizerBase< TElastix > | |
| 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 |
Private Member Functions | |
| bool | CheckSearchSpaceRangeDefinition (const std::string &fullFieldName, const unsigned int entry_nr) const |
Private Attributes | |
| elxOverrideGetSelfMacro | |
| NDImagePointer | m_OptimizationSurface |
| DimensionNameMapType | m_SearchSpaceDimensionNames |
| using elastix::FullSearch< TElastix >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 69 of file elxFullSearchOptimizer.h.
| using elastix::FullSearch< TElastix >::DimensionNameMapType = std::map<unsigned int, std::string> |
To store the names of the search space dimensions
Definition at line 108 of file elxFullSearchOptimizer.h.
| using elastix::FullSearch< TElastix >::ITKBaseType = typename Superclass2::ITKBaseType |
Definition at line 101 of file elxFullSearchOptimizer.h.
| using elastix::FullSearch< TElastix >::NameIteratorType = typename DimensionNameMapType::const_iterator |
Definition at line 109 of file elxFullSearchOptimizer.h.
| using elastix::FullSearch< TElastix >::NDImagePointer = typename NDImageType::Pointer |
Definition at line 105 of file elxFullSearchOptimizer.h.
| using elastix::FullSearch< TElastix >::NDImageType = itk::NDImageBase<float> |
To store the results of the full search
Definition at line 104 of file elxFullSearchOptimizer.h.
| using itk::FullSearchOptimizer::ParameterValueType |
Definition at line 76 of file itkFullSearchOptimizer.h.
| using elastix::FullSearch< TElastix >::Pointer = itk::SmartPointer<Self> |
Definition at line 68 of file elxFullSearchOptimizer.h.
| using itk::FullSearchOptimizer::RangeType |
Definition at line 78 of file itkFullSearchOptimizer.h.
| using itk::FullSearchOptimizer::RangeValueType |
Definition at line 77 of file itkFullSearchOptimizer.h.
| using itk::FullSearchOptimizer::SearchSpaceIndexType |
The same values, but transformed to integer indices. These can be used to create an image visualizing the search space.
Definition at line 89 of file itkFullSearchOptimizer.h.
| using itk::FullSearchOptimizer::SearchSpaceIteratorType |
Definition at line 81 of file itkFullSearchOptimizer.h.
| using itk::FullSearchOptimizer::SearchSpacePointer |
Definition at line 80 of file itkFullSearchOptimizer.h.
| using itk::FullSearchOptimizer::SearchSpacePointType |
Type that stores the parameter values of the parameters to be optimized. Updated every iteration.
Definition at line 85 of file itkFullSearchOptimizer.h.
| using itk::FullSearchOptimizer::SearchSpaceSizeType |
The size of each dimension to be searched ((max-min)/step))
Definition at line 92 of file itkFullSearchOptimizer.h.
| using itk::FullSearchOptimizer::SearchSpaceType |
Definition at line 79 of file itkFullSearchOptimizer.h.
| using elastix::FullSearch< TElastix >::Self = FullSearch |
Standard ITK.
Definition at line 65 of file elxFullSearchOptimizer.h.
| using elastix::FullSearch< TElastix >::Superclass1 = itk::FullSearchOptimizer |
Definition at line 66 of file elxFullSearchOptimizer.h.
| using elastix::FullSearch< TElastix >::Superclass2 = OptimizerBase<TElastix> |
Definition at line 67 of file elxFullSearchOptimizer.h.
|
protected |
|
overrideprotecteddefault |
|
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.
|
private |
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")
| elastix::FullSearch< TElastix >::ITK_DISALLOW_COPY_AND_MOVE | ( | FullSearch< TElastix > | ) |
| elastix::FullSearch< TElastix >::itkGetModifiableObjectMacro | ( | OptimizationSurface | , |
| NDImageType | ) |
Get a pointer to the image containing the optimization surface.
| elastix::FullSearch< TElastix >::itkOverrideGetNameOfClassMacro | ( | FullSearch< TElastix > | ) |
Run-time type information (and related methods).
|
static |
Method for creation through the object factory.
|
private |
Definition at line 137 of file elxFullSearchOptimizer.h.
|
private |
Definition at line 139 of file elxFullSearchOptimizer.h.
|
private |
Definition at line 141 of file elxFullSearchOptimizer.h.
Generated on 1774142652 for elastix by 1.15.0 |