go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxMutualInformationHistogramMetric.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 __elxMutualInformationHistogramMetric_H__
19#define __elxMutualInformationHistogramMetric_H__
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
22#include "itkMutualInformationHistogramImageToImageMetric.h"
23
24namespace elastix
25{
26
45template< class TElastix >
47 public
48 itk::MutualInformationHistogramImageToImageMetric<
49 typename MetricBase< TElastix >::FixedImageType,
50 typename MetricBase< TElastix >::MovingImageType >,
51 public MetricBase< TElastix >
52{
53public:
54
57 typedef itk::MutualInformationHistogramImageToImageMetric<
61 typedef itk::SmartPointer< Self > Pointer;
62 typedef itk::SmartPointer< const Self > ConstPointer;
63
65 itkNewMacro( Self );
66
69 itk::MutualInformationHistogramImageToImageMetric );
70
75 elxClassNameMacro( "MutualInformationHistogram" );
76
78 typedef typename Superclass1::TransformType TransformType;
79 typedef typename Superclass1::TransformPointer TransformPointer;
80 typedef typename Superclass1::TransformJacobianType TransformJacobianType;
81 typedef typename Superclass1::InterpolatorType InterpolatorType;
82 typedef typename Superclass1::MeasureType MeasureType;
83 typedef typename Superclass1::DerivativeType DerivativeType;
84 typedef typename Superclass1::ParametersType ParametersType;
85 typedef typename Superclass1::FixedImageType FixedImageType;
86 typedef typename Superclass1::MovingImageType MovingImageType;
87 typedef typename Superclass1::FixedImageConstPointer FixedImageConstPointer;
88 typedef typename Superclass1::MovingImageConstPointer MovingImageCosntPointer;
89 typedef typename Superclass1::ScalesType ScalesType;
90
92 itkStaticConstMacro( MovingImageDimension, unsigned int,
93 MovingImageType::ImageDimension );
94
103
107 void BeforeRegistration( void ) override;
108
112 void BeforeEachResolution( void ) override;
113
117 void Initialize( void ) override;
118
119protected:
120
125
126private:
127
129 MutualInformationHistogramMetric( const Self & ); // purposely not implemented
131 void operator=( const Self & ); // purposely not implemented
132
133};
134
135} // end namespace elastix
136
137#ifndef ITK_MANUAL_INSTANTIATION
138#include "elxMutualInformationHistogramMetric.hxx"
139#endif
140
141#endif // end #ifndef __elxMutualInformationHistogramMetric_H__
A class that deals with user given parameters and command line arguments.
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
itk::SingleValuedCostFunction ITKBaseType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:84
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
A metric based on the itk::MutualInformationHistogramImageToImageMetric.
Superclass1::MovingImageConstPointer MovingImageCosntPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itk::MutualInformationHistogramImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
elxClassNameMacro("MutualInformationHistogram")


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo