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
elxNormalizedMutualInformationMetric.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 elxNormalizedMutualInformationMetric_h
19#define elxNormalizedMutualInformationMetric_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
71
72template <typename TElastix>
73class ITK_TEMPLATE_EXPORT NormalizedMutualInformationMetric
75 typename MetricBase<TElastix>::FixedImageType,
76 typename MetricBase<TElastix>::MovingImageType>
77 , public MetricBase<TElastix>
78{
79public:
81
88 using Pointer = itk::SmartPointer<Self>;
89 using ConstPointer = itk::SmartPointer<const Self>;
90
92 itkNewMacro(Self);
93
96
101 elxClassNameMacro("NormalizedMutualInformation");
102
104 using typename Superclass1::CoordinateRepresentationType;
105 using typename Superclass1::MovingImageType;
106 using typename Superclass1::MovingImagePixelType;
107 using typename Superclass1::MovingImageConstPointer;
108 using typename Superclass1::FixedImageType;
109 using typename Superclass1::FixedImageConstPointer;
110 using typename Superclass1::FixedImageRegionType;
111 using typename Superclass1::TransformType;
112 using typename Superclass1::TransformPointer;
113 using typename Superclass1::InputPointType;
114 using typename Superclass1::OutputPointType;
115 using typename Superclass1::TransformJacobianType;
116 using typename Superclass1::InterpolatorType;
117 using typename Superclass1::InterpolatorPointer;
118 using typename Superclass1::RealType;
119 using typename Superclass1::GradientPixelType;
120 using typename Superclass1::GradientImageType;
121 using typename Superclass1::GradientImagePointer;
122 using typename Superclass1::FixedImageMaskType;
123 using typename Superclass1::FixedImageMaskPointer;
124 using typename Superclass1::MovingImageMaskType;
125 using typename Superclass1::MovingImageMaskPointer;
126 using typename Superclass1::MeasureType;
127 using typename Superclass1::DerivativeType;
128 using typename Superclass1::ParametersType;
129 using typename Superclass1::FixedImagePixelType;
130 using typename Superclass1::MovingImageRegionType;
131 using typename Superclass1::ImageSamplerType;
132 using typename Superclass1::ImageSamplerPointer;
133 using typename Superclass1::ImageSampleContainerType;
134 using typename Superclass1::ImageSampleContainerPointer;
135 using typename Superclass1::FixedImageLimiterType;
136 using typename Superclass1::MovingImageLimiterType;
137 using typename Superclass1::FixedImageLimiterOutputType;
138 using typename Superclass1::MovingImageLimiterOutputType;
139 using typename Superclass1::MovingImageDerivativeScalesType;
140
142 itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
143
145 itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
146
148 using typename Superclass2::ElastixType;
149 using typename Superclass2::RegistrationType;
151
157 void
159
162 void
163 Initialize() override;
164
165protected:
168
169
172
173private:
175};
176
177} // end namespace elastix
178
179#ifndef ITK_MANUAL_INSTANTIATION
180# include "elxNormalizedMutualInformationMetric.hxx"
181#endif
182
183#endif // end #ifndef elxNormalizedMutualInformationMetric_h
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
itkOverrideGetNameOfClassMacro(NormalizedMutualInformationMetric)
elxClassNameMacro("NormalizedMutualInformation")
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
~NormalizedMutualInformationMetric() override=default
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itk::ParzenWindowNormalizedMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
ITK_DISALLOW_COPY_AND_MOVE(NormalizedMutualInformationMetric)
Computes the normalized mutual information between two images to be registered using a method based o...


Generated on 1774142652 for elastix by doxygen 1.15.0 elastix logo