go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxViolaWellsMutualInformationMetric.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 __elxViolaWellsMutualInformationMetric_H__
19#define __elxViolaWellsMutualInformationMetric_H__
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
22#include "itkMutualInformationImageToImageMetric.h"
23
24namespace elastix
25{
26
59template< class TElastix >
61 public
62 itk::MutualInformationImageToImageMetric<
63 typename MetricBase< TElastix >::FixedImageType,
64 typename MetricBase< TElastix >::MovingImageType >,
65 public MetricBase< TElastix >
66{
67public:
68
71 typedef itk::MutualInformationImageToImageMetric<
75 typedef itk::SmartPointer< Self > Pointer;
76 typedef itk::SmartPointer< const Self > ConstPointer;
77
79 itkNewMacro( Self );
80
83 itk::MutualInformationImageToImageMetric );
84
89 elxClassNameMacro( "ViolaWellsMutualInformation" );
90
92 typedef typename Superclass1::TransformType TransformType;
93 typedef typename Superclass1::TransformPointer TransformPointer;
94 typedef typename Superclass1::TransformJacobianType TransformJacobianType;
95 typedef typename Superclass1::InterpolatorType InterpolatorType;
96 typedef typename Superclass1::MeasureType MeasureType;
97 typedef typename Superclass1::DerivativeType DerivativeType;
98 typedef typename Superclass1::ParametersType ParametersType;
99 typedef typename Superclass1::FixedImageType FixedImageType;
100 typedef typename Superclass1::MovingImageType MovingImageType;
101 typedef typename Superclass1::FixedImageConstPointer FixedImageConstPointer;
102 typedef typename Superclass1::MovingImageConstPointer MovingImageCosntPointer;
103 typedef typename Superclass1::FixedImageIndexType FixedImageIndexType;
104 typedef typename Superclass1::FixedImageIndexValueType FixedImageIndexValueType;
105 typedef typename Superclass1::MovingImageIndexType MovingImageIndexType;
106 typedef typename Superclass1::FixedImagePointType FixedImagePointType;
107 typedef typename Superclass1::MovingImagePointType MovingImagePointType;
108
110 itkStaticConstMacro( MovingImageDimension, unsigned int,
111 MovingImageType::ImageDimension );
112
121
127 void BeforeEachResolution( void ) override;
128
132 void Initialize( void ) override;
133
134protected:
135
140
141private:
142
144 ViolaWellsMutualInformationMetric( const Self & ); // purposely not implemented
146 void operator=( const Self & ); // purposely not implemented
147
148};
149
150} // end namespace elastix
151
152#ifndef ITK_MANUAL_INSTANTIATION
153#include "elxViolaWellsMutualInformationMetric.hxx"
154#endif
155
156#endif // end #ifndef __elxViolaWellsMutualInformationMetric_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::MutualInformationImageToImageMetric.
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
elxClassNameMacro("ViolaWellsMutualInformation")
itk::MutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass1::FixedImageIndexValueType FixedImageIndexValueType


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo