go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxSumOfPairwiseCorrelationCoefficientsMetric.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 elxSumOfPairwiseCorrelationCoefficientsMetric_h
19#define elxSumOfPairwiseCorrelationCoefficientsMetric_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
25#include "itkStackTransform.h"
26
27namespace elastix
28{
62template <class TElastix>
64 : public itk::SumOfPairwiseCorrelationCoefficientsMetric<typename MetricBase<TElastix>::FixedImageType,
65 typename MetricBase<TElastix>::MovingImageType>
66 , public MetricBase<TElastix>
67{
68public:
70
76 using Pointer = itk::SmartPointer<Self>;
77 using ConstPointer = itk::SmartPointer<const Self>;
78
80 itkNewMacro(Self);
81
84
89 elxClassNameMacro("SumOfPairwiseCorrelationCoefficientsMetric");
90
92 using typename Superclass1::CoordinateRepresentationType;
93 using typename Superclass1::ScalarType;
94 using typename Superclass1::MovingImageType;
95 using typename Superclass1::MovingImagePixelType;
96 using typename Superclass1::MovingImageConstPointer;
97 using typename Superclass1::FixedImageType;
98 using typename Superclass1::FixedImageConstPointer;
99 using typename Superclass1::FixedImageRegionType;
100 using typename Superclass1::FixedImageSizeType;
101 using typename Superclass1::TransformType;
102 using typename Superclass1::TransformPointer;
103 using typename Superclass1::InputPointType;
104 using typename Superclass1::OutputPointType;
105 using typename Superclass1::TransformParametersType;
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::GradientImageFilterType;
114 using typename Superclass1::GradientImageFilterPointer;
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;
124 using typename Superclass1::ImageSamplerType;
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
163 void
165
166protected:
169
172
173private:
175};
176
177} // end namespace elastix
178
179#ifndef ITK_MANUAL_INSTANTIATION
180# include "elxSumOfPairwiseCorrelationCoefficientsMetric.hxx"
181#endif
182
183#endif // end #ifndef elxSumOfPairwiseCorrelationCoefficientsMetric_h
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:97
typename ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:92
typename ElastixType::RegistrationBaseType RegistrationType
Compute the sum of correlation coefficients between images in the slowest varying dimension in the mo...
ITK_DISALLOW_COPY_AND_MOVE(SumOfPairwiseCorrelationCoefficientsMetric)
elxClassNameMacro("SumOfPairwiseCorrelationCoefficientsMetric")
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
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
This class is a base class for any image sampler.
Base class for all ITK limiter function objects.
Implements stack of transforms: one for every last dimension index.
typename ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
typename MovingImageType::RegionType MovingImageRegionType
typename ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
typename MovingImageLimiterType::OutputType MovingImageLimiterOutputType
typename FixedImageLimiterType::OutputType FixedImageLimiterOutputType


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