go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxMultiMetricMultiResolutionRegistration.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 elxMultiMetricMultiResolutionRegistration_h
19#define elxMultiMetricMultiResolutionRegistration_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
94template <class TElastix>
96 : public itk::MultiMetricMultiResolutionImageRegistrationMethod<typename RegistrationBase<TElastix>::FixedImageType,
97 typename RegistrationBase<TElastix>::MovingImageType>
98 , public RegistrationBase<TElastix>
99{
100public:
102
105
111
113 using Pointer = itk::SmartPointer<Self>;
114 using ConstPointer = itk::SmartPointer<const Self>;
115
117 itkNewMacro(Self);
118
121
126 elxClassNameMacro("MultiMetricMultiResolutionRegistration");
127
131 using typename Superclass1::FixedImageType;
134
136 using typename Superclass1::MovingImageType;
138
140 using typename Superclass1::MetricType;
141 using typename Superclass1::MetricPointer;
142
144 using typename Superclass1::TransformType;
145 using typename Superclass1::TransformPointer;
146
148 using typename Superclass1::InterpolatorType;
150
152 using typename Superclass1::OptimizerType;
153 using typename Superclass1::OptimizerPointer;
154
158
162
166 using typename Superclass1::ParametersType;
167
171
173 using typename Superclass2::ElastixType;
177
179 itkStaticConstMacro(FixedImageDimension, unsigned int, Superclass2::FixedImageDimension);
181 itkStaticConstMacro(MovingImageDimension, unsigned int, Superclass2::MovingImageDimension);
182
189 void
191
196 void
198
202 void
204
205protected:
210
212 using typename Superclass2::MaskPixelType;
213 using typename Superclass2::FixedMaskImageType;
221
223 void
224 UpdateFixedMasks(unsigned int level);
225
226 void
227 UpdateMovingMasks(unsigned int level);
228
230 virtual void
232
234
235private:
237};
238
239} // end namespace elastix
240
241#ifndef ITK_MANUAL_INSTANTIATION
242# include "elxMultiMetricMultiResolutionRegistration.hxx"
243#endif
244
245#endif // end #ifndef elxMultiMetricMultiResolutionRegistration_h
A registration framework based on the itk::MultiMetricMultiResolutionImageRegistrationMethod.
itkStaticConstMacro(FixedImageDimension, unsigned int, Superclass2::FixedImageDimension)
itkStaticConstMacro(MovingImageDimension, unsigned int, Superclass2::MovingImageDimension)
elxClassNameMacro("MultiMetricMultiResolutionRegistration")
ITK_DISALLOW_COPY_AND_MOVE(MultiMetricMultiResolutionRegistration)
This class is the elastix base class for all Registration schemes.
typename ElastixType::MaskPixelType MaskPixelType
itk::ImageMaskSpatialObject< Self::FixedImageDimension > FixedMaskSpatialObjectType
typename MovingMaskSpatialObjectType::Pointer MovingMaskSpatialObjectPointer
typename FixedMaskSpatialObjectType::Pointer FixedMaskSpatialObjectPointer
typename FixedMaskImageType::Pointer FixedMaskImagePointer
typename ElastixType::RegistrationBaseType RegistrationType
itk::ImageMaskSpatialObject< Self::MovingImageDimension > MovingMaskSpatialObjectType
typename MovingMaskImageType::Pointer MovingMaskImagePointer
std::vector< bool > UseMaskErosionArrayType
typename ElastixType::MovingMaskType MovingMaskImageType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::FixedMaskType FixedMaskImageType
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
MultiResolutionPyramidImageFilter< FixedImageType, FixedImageType > FixedImagePyramidType
MultiResolutionPyramidImageFilter< MovingImageType, MovingImageType > MovingImagePyramidType
Base class for multi-resolution image registration methods.


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