go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Loading...
Searching...
No Matches
elxFullSearchOptimizer.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef elxFullSearchOptimizer_h
19#define elxFullSearchOptimizer_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23#include <map>
24
25#include "itkNDImageBase.h"
26
27namespace elastix
28{
29
55
56template <typename TElastix>
57class ITK_TEMPLATE_EXPORT FullSearch
59 , public OptimizerBase<TElastix>
60{
61public:
63
68 using Pointer = itk::SmartPointer<Self>;
69 using ConstPointer = itk::SmartPointer<const Self>;
70
72 itkNewMacro(Self);
73
76
81 elxClassNameMacro("FullSearch");
82
84 using Superclass1::CostFunctionType;
85 using Superclass1::CostFunctionPointer;
86 using Superclass1::ParametersType;
87 using Superclass1::MeasureType;
97
99 using typename Superclass2::ElastixType;
100 using typename Superclass2::RegistrationType;
102
106
108 using DimensionNameMapType = std::map<unsigned int, std::string>;
109 using NameIteratorType = typename DimensionNameMapType::const_iterator;
110
112 void
114
115 void
117
118 void
120
121 void
123
124 void
126
128
131
132protected:
134 ~FullSearch() override = default;
135
136private:
138
140
142
147 // int CheckSearchSpaceRangeDefinition(const std::string & fullFieldName,
148 // int errorcode, unsigned int entry_nr);
149 bool
150 CheckSearchSpaceRangeDefinition(const std::string & fullFieldName, const unsigned int entry_nr) const;
151};
152
153} // end namespace elastix
154
155#ifndef ITK_MANUAL_INSTANTIATION
156# include "elxFullSearchOptimizer.hxx"
157#endif
158
159#endif // end #ifndef elxFullSearchOptimizer_h
itk::SmartPointer< Self > Pointer
NDImagePointer m_OptimizationSurface
itk::FullSearchOptimizer Superclass1
typename NDImageType::Pointer NDImagePointer
void AfterEachIteration() override
void AfterEachResolution() override
void BeforeEachResolution() override
itk::SmartPointer< const Self > ConstPointer
void AfterRegistration() override
itkOverrideGetNameOfClassMacro(FullSearch)
typename Superclass2::ITKBaseType ITKBaseType
DimensionNameMapType m_SearchSpaceDimensionNames
itkGetModifiableObjectMacro(OptimizationSurface, NDImageType)
ITK_DISALLOW_COPY_AND_MOVE(FullSearch)
bool CheckSearchSpaceRangeDefinition(const std::string &fullFieldName, const unsigned int entry_nr) const
typename DimensionNameMapType::const_iterator NameIteratorType
OptimizerBase< TElastix > Superclass2
~FullSearch() override=default
void BeforeRegistration() override
std::map< unsigned int, std::string > DimensionNameMapType
elxClassNameMacro("FullSearch")
itk::NDImageBase< float > NDImageType
typename ElastixType::RegistrationBaseType RegistrationType
An optimizer based on full search.
Array< ParameterValueType > SearchSpacePointType
ParametersType::ValueType ParameterValueType
Array< SizeValueType > SearchSpaceSizeType
SearchSpaceType::Pointer SearchSpacePointer
SearchSpaceType::ConstIterator SearchSpaceIteratorType
MapContainer< unsigned int, RangeType > SearchSpaceType
Array< IndexValueType > SearchSpaceIndexType
FixedArray< RangeValueType, 3 > RangeType
An image whose dimension can be specified at runtime.
SmartPointer< Self > Pointer


Generated on 1774142652 for elastix by doxygen 1.15.0 elastix logo