go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxKNNGraphAlphaMutualInformationMetric.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 elxKNNGraphAlphaMutualInformationMetric_h
19#define elxKNNGraphAlphaMutualInformationMetric_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
81template <class TElastix>
82class ITK_TEMPLATE_EXPORT KNNGraphAlphaMutualInformationMetric
83 : public itk::KNNGraphAlphaMutualInformationImageToImageMetric<typename MetricBase<TElastix>::FixedImageType,
84 typename MetricBase<TElastix>::MovingImageType>
85 , public MetricBase<TElastix>
86{
87public:
89
96 using Pointer = itk::SmartPointer<Self>;
97 using ConstPointer = itk::SmartPointer<const Self>;
98
100 itkNewMacro(Self);
101
104
109 elxClassNameMacro("KNNGraphAlphaMutualInformation");
110
112 using typename Superclass1::TransformType;
113 using typename Superclass1::TransformPointer;
114 using typename Superclass1::TransformJacobianType;
115 using typename Superclass1::InterpolatorType;
116 using typename Superclass1::MeasureType;
117 using typename Superclass1::DerivativeType;
118 using typename Superclass1::ParametersType;
119 using typename Superclass1::FixedImageType;
120 using typename Superclass1::MovingImageType;
121 using typename Superclass1::FixedImageConstPointer;
122 using typename Superclass1::MovingImageConstPointer;
123
125 itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
127 itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
128
130 using typename Superclass2::ElastixType;
131 using typename Superclass2::RegistrationType;
133
137
147 void
149
160 void
162
166 void
167 Initialize() override;
168
169protected:
174
175private:
177};
178
179} // end namespace elastix
180
181#ifndef ITK_MANUAL_INSTANTIATION
182# include "elxKNNGraphAlphaMutualInformationMetric.hxx"
183#endif
184
185#endif // end #ifndef elxKNNGraphAlphaMutualInformationMetric_h
A metric based on the itk::KNNGraphAlphaMutualInformationImageToImageMetric.
ITK_DISALLOW_COPY_AND_MOVE(KNNGraphAlphaMutualInformationMetric)
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
elxClassNameMacro("KNNGraphAlphaMutualInformation")
~KNNGraphAlphaMutualInformationMetric() override=default
This class is the elastix base class for all Metrics.
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::FixedImageType FixedImageType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo