go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkParzenWindowNormalizedMutualInformationImageToImageMetric.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
19#ifndef __itkParzenWindowNormalizedMutualInformationImageToImageMetric_H__
20#define __itkParzenWindowNormalizedMutualInformationImageToImageMetric_H__
21
23
24namespace itk
25{
26
71template< class TFixedImage, class TMovingImage >
73 public ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage >
74{
75public:
76
80 TFixedImage, TMovingImage > Superclass;
82 typedef SmartPointer< const Self > ConstPointer;
83
85 itkNewMacro( Self );
86
88 itkTypeMacro(
91
93 typedef typename
127 typedef typename
131 typedef typename
133 typedef typename
135 typedef typename
137
139 itkStaticConstMacro( FixedImageDimension, unsigned int,
140 FixedImageType::ImageDimension );
141
143 itkStaticConstMacro( MovingImageDimension, unsigned int,
144 MovingImageType::ImageDimension );
145
147 MeasureType GetValue( const ParametersType & parameters ) const override;
148
150 void GetValueAndDerivative( const ParametersType & parameters,
151 MeasureType & Value, DerivativeType & Derivative ) const override;
152
153protected:
154
157
160
162 void PrintSelf( std::ostream & os, Indent indent ) const override;
163
190
193 virtual void ComputeLogMarginalPDF( MarginalPDFType & pdf ) const;
194
202
203private:
204
208 void operator=( const Self & ); // purposely not implemented
209
210};
211
212} // end namespace itk
213
214#ifndef ITK_MANUAL_INSTANTIATION
215#include "itkParzenWindowNormalizedMutualInformationImageToImageMetric.hxx"
216#endif
217
218#endif // end #ifndef __itkParzenWindowNormalizedMutualInformationImageToImageMetric_H__
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
A base class for image metrics based on a joint histogram computed using Parzen Windowing.
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Computes the normalized mutual information between two images to be registered using a method based o...
virtual MeasureType ComputeNormalizedMutualInformation(MeasureType &jointEntropy) const
void GetValueAndDerivative(const ParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const override
void PrintSelf(std::ostream &os, Indent indent) const override
MeasureType GetValue(const ParametersType &parameters) const override
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
virtual void ComputeLogMarginalPDF(MarginalPDFType &pdf) const


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo