go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxWeightedCombinationTransform.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 elxWeightedCombinationTransform_h
19#define elxWeightedCombinationTransform_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
24
25namespace elastix
26{
27
81template <class TElastix>
82class ITK_TEMPLATE_EXPORT WeightedCombinationTransformElastix
83 : public itk::AdvancedCombinationTransform<typename elx::TransformBase<TElastix>::CoordRepType,
84 elx::TransformBase<TElastix>::FixedImageDimension>
85 , public elx::TransformBase<TElastix>
86{
87public:
89
92
95
97
104
105 using Pointer = itk::SmartPointer<Self>;
106 using ConstPointer = itk::SmartPointer<const Self>;
107
109 itkNewMacro(Self);
110
113
118 elxClassNameMacro("WeightedCombinationTransform");
119
121 itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension);
122
124 using typename Superclass1::ScalarType;
125 using typename Superclass1::ParametersType;
126 using typename Superclass1::NumberOfParametersType;
127 using typename Superclass1::JacobianType;
128 using typename Superclass1::InputVectorType;
129 using typename Superclass1::OutputVectorType;
130 using typename Superclass1::InputCovariantVectorType;
131 using typename Superclass1::OutputCovariantVectorType;
132 using typename Superclass1::InputVnlVectorType;
133 using typename Superclass1::OutputVnlVectorType;
134 using typename Superclass1::InputPointType;
135 using typename Superclass1::OutputPointType;
136
138 using typename Superclass2::ElastixType;
139 using typename Superclass2::ParameterMapType;
140 using typename Superclass2::RegistrationType;
141 using typename Superclass2::CoordRepType;
142 using typename Superclass2::FixedImageType;
143 using typename Superclass2::MovingImageType;
148
154
156 using typename Superclass2::ScalesType;
157
162 void
164
172 virtual void
174
180 void
181 ReadFromFile() override;
182
185 virtual void
187
188protected:
193
194 const WeightedCombinationTransformPointer m_WeightedCombinationTransform{ WeightedCombinationTransformType::New() };
195 std::vector<std::string> m_SubTransformFileNames;
196
197private:
199
207 void
209
213};
214
215} // end namespace elastix
216
217#ifndef ITK_MANUAL_INSTANTIATION
218# include "elxWeightedCombinationTransform.hxx"
219#endif
220
221#endif // end #ifndef elxWeightedCombinationTransform_h
This class is the elastix base class for all Transforms.
typename TElastix::FixedImageType FixedImageType
typename OptimizerType::ScalesType ScalesType
typename TElastix::ParameterMapType ParameterMapType
typename TElastix::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
Configuration ::CommandLineArgumentMapType CommandLineArgumentMapType
Configuration ::CommandLineEntryType CommandLineEntryType
A transform based on the itk::WeightedCombinationTransform.
elxClassNameMacro("WeightedCombinationTransform")
typename WeightedCombinationTransformType::Pointer WeightedCombinationTransformPointer
ITK_DISALLOW_COPY_AND_MOVE(WeightedCombinationTransformElastix)
~WeightedCombinationTransformElastix() override=default
typename WeightedCombinationTransformType::TransformContainerType TransformContainerType
typename WeightedCombinationTransformType::TransformType SubTransformType
ParameterMapType CreateDerivedTransformParametersMap() const override
typename TElastix::ParameterMapType ParameterMapType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
typename WeightedCombinationTransformType::TransformPointer SubTransformPointer
typename Superclass2::CombinationTransformType CombinationTransformType
This class combines two transforms: an 'initial transform' with a 'current transform'.
Implements a weighted linear combination of multiple transforms.
Transform< TScalarType, NInputDimensions, NOutputDimensions > TransformType
std::vector< TransformPointer > TransformContainerType
typename TransformType::Pointer TransformPointer


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo