go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAdvancedKappaStatisticMetric.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 elxAdvancedKappaStatisticMetric_h
19#define elxAdvancedKappaStatisticMetric_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
47
48template <typename TElastix>
49class ITK_TEMPLATE_EXPORT AdvancedKappaStatisticMetric
50 : public itk::AdvancedKappaStatisticImageToImageMetric<typename MetricBase<TElastix>::FixedImageType,
51 typename MetricBase<TElastix>::MovingImageType>
52 , public MetricBase<TElastix>
53{
54public:
56
62 using Pointer = itk::SmartPointer<Self>;
63 using ConstPointer = itk::SmartPointer<const Self>;
64
66 itkNewMacro(Self);
67
70
75 elxClassNameMacro("AdvancedKappaStatistic");
76
78 using typename Superclass1::CoordinateRepresentationType;
79 using typename Superclass1::MovingImageType;
80 using typename Superclass1::MovingImagePixelType;
81 using typename Superclass1::MovingImageConstPointer;
82 using typename Superclass1::FixedImageType;
83 using typename Superclass1::FixedImageConstPointer;
84 using typename Superclass1::FixedImageRegionType;
85 using typename Superclass1::TransformType;
86 using typename Superclass1::TransformPointer;
87 using typename Superclass1::InputPointType;
88 using typename Superclass1::OutputPointType;
89 using typename Superclass1::TransformJacobianType;
90 using typename Superclass1::InterpolatorType;
91 using typename Superclass1::InterpolatorPointer;
92 using typename Superclass1::RealType;
93 using typename Superclass1::GradientPixelType;
94 using typename Superclass1::GradientImageType;
95 using typename Superclass1::GradientImagePointer;
96 using typename Superclass1::FixedImageMaskType;
97 using typename Superclass1::FixedImageMaskPointer;
98 using typename Superclass1::MovingImageMaskType;
99 using typename Superclass1::MovingImageMaskPointer;
100 using typename Superclass1::MeasureType;
101 using typename Superclass1::DerivativeType;
102 using typename Superclass1::ParametersType;
103 using typename Superclass1::FixedImagePixelType;
104 using typename Superclass1::MovingImageRegionType;
105 using typename Superclass1::ImageSamplerType;
106 using typename Superclass1::ImageSamplerPointer;
107 using typename Superclass1::ImageSampleContainerType;
108 using typename Superclass1::ImageSampleContainerPointer;
109 using typename Superclass1::FixedImageLimiterType;
110 using typename Superclass1::MovingImageLimiterType;
111 using typename Superclass1::FixedImageLimiterOutputType;
112 using typename Superclass1::MovingImageLimiterOutputType;
113 using typename Superclass1::MovingImageDerivativeScalesType;
114
116 itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
117
119 itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
120
122 using typename Superclass2::ElastixType;
123 using typename Superclass2::RegistrationType;
125
129 void
130 Initialize() override;
131
137 void
139
140protected:
144 ~AdvancedKappaStatisticMetric() override = default;
145
146private:
148};
149
150} // end namespace elastix
151
152#ifndef ITK_MANUAL_INSTANTIATION
153# include "elxAdvancedKappaStatisticMetric.hxx"
154#endif
155
156#endif // end #ifndef elxAdvancedKappaStatisticMetric_h
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
ITK_DISALLOW_COPY_AND_MOVE(AdvancedKappaStatisticMetric)
itk::AdvancedKappaStatisticImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
~AdvancedKappaStatisticMetric() override=default
elxClassNameMacro("AdvancedKappaStatistic")
itkOverrideGetNameOfClassMacro(AdvancedKappaStatisticMetric)
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
Computes similarity between two objects to be registered.


Generated on 26-02-2026 for elastix by doxygen 1.16.1 (669aeeefca743c148e2d935b3d3c69535c7491e6) elastix logo