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
elxPCAMetric.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 elxPCAMetric_h
19#define elxPCAMetric_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
22#include "itkPCAMetric.h"
23
25#include "itkStackTransform.h"
26
27namespace elastix
28{
63
64template <typename TElastix>
65class ITK_TEMPLATE_EXPORT PCAMetric
66 : public itk::PCAMetric<typename MetricBase<TElastix>::FixedImageType, typename MetricBase<TElastix>::MovingImageType>
67 , public MetricBase<TElastix>
68{
69public:
71
73 using Self = PCAMetric;
77 using Pointer = itk::SmartPointer<Self>;
78 using ConstPointer = itk::SmartPointer<const Self>;
79
81 itkNewMacro(Self);
82
85
90 elxClassNameMacro("PCAMetric");
91
93 using typename Superclass1::CoordinateRepresentationType;
94 using typename Superclass1::ScalarType;
95 using typename Superclass1::MovingImageType;
96 using typename Superclass1::MovingImagePixelType;
97 using typename Superclass1::MovingImageConstPointer;
98 using typename Superclass1::FixedImageType;
99 using typename Superclass1::FixedImageConstPointer;
100 using typename Superclass1::FixedImageRegionType;
101 using typename Superclass1::FixedImageSizeType;
102 using typename Superclass1::TransformType;
103 using typename Superclass1::TransformPointer;
104 using typename Superclass1::InputPointType;
105 using typename Superclass1::OutputPointType;
106 using typename Superclass1::TransformJacobianType;
107 using typename Superclass1::InterpolatorType;
108 using typename Superclass1::InterpolatorPointer;
109 using typename Superclass1::RealType;
110 using typename Superclass1::GradientPixelType;
111 using typename Superclass1::GradientImageType;
112 using typename Superclass1::GradientImagePointer;
113 using typename Superclass1::FixedImageMaskType;
114 using typename Superclass1::FixedImageMaskPointer;
115 using typename Superclass1::MovingImageMaskType;
116 using typename Superclass1::MovingImageMaskPointer;
117 using typename Superclass1::MeasureType;
118 using typename Superclass1::DerivativeType;
119 using typename Superclass1::ParametersType;
120 using typename Superclass1::FixedImagePixelType;
121 using typename Superclass1::MovingImageRegionType;
122 using typename Superclass1::ImageSamplerType;
123 using typename Superclass1::ImageSamplerPointer;
124 using typename Superclass1::ImageSampleContainerType;
125 using typename Superclass1::ImageSampleContainerPointer;
126 using typename Superclass1::FixedImageLimiterType;
127 using typename Superclass1::MovingImageLimiterType;
128 using typename Superclass1::FixedImageLimiterOutputType;
129 using typename Superclass1::MovingImageLimiterOutputType;
130 using typename Superclass1::MovingImageDerivativeScalesType;
131
133 itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
134
136 itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
137
139 using typename Superclass2::ElastixType;
140 using typename Superclass2::RegistrationType;
142
149
153 void
154 Initialize() override;
155
156 void
158
164 void
166
167protected:
169 PCAMetric() = default;
171 ~PCAMetric() override = default;
172
173private:
175};
176
177} // end namespace elastix
178
179#ifndef ITK_MANUAL_INSTANTIATION
180# include "elxPCAMetric.hxx"
181#endif
182
183#endif // end #ifndef elxPCAMetric_h
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
itkOverrideGetNameOfClassMacro(PCAMetric)
ITK_DISALLOW_COPY_AND_MOVE(PCAMetric)
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
void BeforeEachResolution() override
~PCAMetric() override=default
void Initialize() override
MetricBase< TElastix > Superclass2
typename Superclass2::ITKBaseType ITKBaseType
itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itk::PCAMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
void BeforeRegistration() override
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
itk::SmartPointer< const Self > ConstPointer
elxClassNameMacro("PCAMetric")
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > ReducedDimensionBSplineTransformBaseType
itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
itk::SmartPointer< Self > Pointer
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 1774142652 for elastix by doxygen 1.15.0 elastix logo