go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Loading...
Searching...
No Matches
elxPCAMetric2.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 elxPCAMetric2_h
19#define elxPCAMetric2_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
22#include "itkPCAMetric2.h"
23
25#include "itkStackTransform.h"
26
27namespace elastix
28{
63
64template <class TElastix>
65class ITK_TEMPLATE_EXPORT PCAMetric2
66 : public itk::PCAMetric2<typename MetricBase<TElastix>::FixedImageType,
67 typename MetricBase<TElastix>::MovingImageType>
68 , public MetricBase<TElastix>
69{
70public:
72
78 using Pointer = itk::SmartPointer<Self>;
79 using ConstPointer = itk::SmartPointer<const Self>;
80
82 itkNewMacro(Self);
83
86
91 elxClassNameMacro("PCAMetric2");
92
94 using typename Superclass1::CoordinateRepresentationType;
95 using typename Superclass1::ScalarType;
96 using typename Superclass1::MovingImageType;
97 using typename Superclass1::MovingImagePixelType;
98 using typename Superclass1::MovingImageConstPointer;
99 using typename Superclass1::FixedImageType;
100 using typename Superclass1::FixedImageConstPointer;
101 using typename Superclass1::FixedImageRegionType;
102 using typename Superclass1::FixedImageSizeType;
103 using typename Superclass1::TransformType;
104 using typename Superclass1::TransformPointer;
105 using typename Superclass1::InputPointType;
106 using typename Superclass1::OutputPointType;
107 using typename Superclass1::TransformParametersType;
108 using typename Superclass1::TransformJacobianType;
109 using typename Superclass1::InterpolatorType;
110 using typename Superclass1::InterpolatorPointer;
111 using typename Superclass1::RealType;
112 using typename Superclass1::GradientPixelType;
113 using typename Superclass1::GradientImageType;
114 using typename Superclass1::GradientImagePointer;
115 using typename Superclass1::FixedImageMaskType;
116 using typename Superclass1::FixedImageMaskPointer;
117 using typename Superclass1::MovingImageMaskType;
118 using typename Superclass1::MovingImageMaskPointer;
119 using typename Superclass1::MeasureType;
120 using typename Superclass1::DerivativeType;
121 using typename Superclass1::ParametersType;
122 using typename Superclass1::FixedImagePixelType;
123 using typename Superclass1::MovingImageRegionType;
124 using typename Superclass1::ImageSamplerType;
125 using typename Superclass1::ImageSamplerPointer;
126 using typename Superclass1::ImageSampleContainerType;
127 using typename Superclass1::ImageSampleContainerPointer;
128 using typename Superclass1::FixedImageLimiterType;
129 using typename Superclass1::MovingImageLimiterType;
130 using typename Superclass1::FixedImageLimiterOutputType;
131 using typename Superclass1::MovingImageLimiterOutputType;
132 using typename Superclass1::MovingImageDerivativeScalesType;
133
135 itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
136
138 itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
139
141 using typename Superclass2::ElastixType;
142 using typename Superclass2::RegistrationType;
144
151
155 void
156 Initialize() override;
157
158 void
160
166 void
168
169protected:
171 PCAMetric2() = default;
173 ~PCAMetric2() override = default;
174
175private:
177};
178
179} // end namespace elastix
180
181#ifndef ITK_MANUAL_INSTANTIATION
182# include "elxPCAMetric2.hxx"
183#endif
184
185#endif // end #ifndef elxPCAMetric2_h
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
MetricBase< TElastix > Superclass2
ITK_DISALLOW_COPY_AND_MOVE(PCAMetric2)
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > ReducedDimensionBSplineTransformBaseType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
~PCAMetric2() override=default
itk::SmartPointer< Self > Pointer
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
elxClassNameMacro("PCAMetric2")
itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
itk::SmartPointer< const Self > ConstPointer
typename Superclass2::ITKBaseType ITKBaseType
itk::PCAMetric2< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
void BeforeEachResolution() override
void BeforeRegistration() override
void Initialize() override
Base class for deformable transform using a B-spline representation.
This class combines two transforms: an 'initial transform' with a 'current transform'.
typename TransformType::ScalarType ScalarType
Implements stack of transforms: one for every last dimension index.


Generated on 1768596610 for elastix by doxygen 1.15.0 elastix logo