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 
24 namespace elastix
25 {
26 
59 template< class TElastix >
61  public
62  itk::MutualInformationImageToImageMetric<
63  typename MetricBase< TElastix >::FixedImageType,
64  typename MetricBase< TElastix >::MovingImageType >,
65  public MetricBase< TElastix >
66 {
67 public:
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  virtual void BeforeEachResolution( void );
128 
132  virtual void Initialize( void ) throw ( itk::ExceptionObject );
133 
134 protected:
135 
140 
141 private:
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__
elastix::ViolaWellsMutualInformationMetric::operator=
void operator=(const Self &)
elastix::ViolaWellsMutualInformationMetric::FixedImageConstPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
Definition: elxViolaWellsMutualInformationMetric.h:101
elastix::MetricBase::ITKBaseType
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:100
elastix::ViolaWellsMutualInformationMetric::Superclass2
MetricBase< TElastix > Superclass2
Definition: elxViolaWellsMutualInformationMetric.h:74
elastix::MetricBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
elastix::ViolaWellsMutualInformationMetric::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxViolaWellsMutualInformationMetric.h:116
elastix::ViolaWellsMutualInformationMetric::TransformJacobianType
Superclass1::TransformJacobianType TransformJacobianType
Definition: elxViolaWellsMutualInformationMetric.h:94
elastix::MetricBase
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
elastix::ViolaWellsMutualInformationMetric::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxViolaWellsMutualInformationMetric.h:115
elastix::ViolaWellsMutualInformationMetric::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
elastix::ViolaWellsMutualInformationMetric::MeasureType
Superclass1::MeasureType MeasureType
Definition: elxViolaWellsMutualInformationMetric.h:96
elastix::ViolaWellsMutualInformationMetric::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxViolaWellsMutualInformationMetric.h:120
elastix::ViolaWellsMutualInformationMetric
A metric based on the itk::MutualInformationImageToImageMetric.
Definition: elxViolaWellsMutualInformationMetric.h:66
elastix::ViolaWellsMutualInformationMetric::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxViolaWellsMutualInformationMetric.h:75
elastix::ViolaWellsMutualInformationMetric::FixedImageIndexType
Superclass1::FixedImageIndexType FixedImageIndexType
Definition: elxViolaWellsMutualInformationMetric.h:103
elastix::ViolaWellsMutualInformationMetric::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxViolaWellsMutualInformationMetric.h:119
elastix::ViolaWellsMutualInformationMetric::Superclass1
itk::MutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Definition: elxViolaWellsMutualInformationMetric.h:73
elastix::ViolaWellsMutualInformationMetric::TransformType
Superclass1::TransformType TransformType
Definition: elxViolaWellsMutualInformationMetric.h:92
elastix::ViolaWellsMutualInformationMetric::ParametersType
Superclass1::ParametersType ParametersType
Definition: elxViolaWellsMutualInformationMetric.h:98
elastix::ViolaWellsMutualInformationMetric::DerivativeType
Superclass1::DerivativeType DerivativeType
Definition: elxViolaWellsMutualInformationMetric.h:97
elastix::ViolaWellsMutualInformationMetric::ViolaWellsMutualInformationMetric
ViolaWellsMutualInformationMetric()
elastix::ViolaWellsMutualInformationMetric::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxViolaWellsMutualInformationMetric.h:117
elastix::MetricBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
elastix::ViolaWellsMutualInformationMetric::Initialize
virtual void Initialize(void)
elastix::ViolaWellsMutualInformationMetric::ViolaWellsMutualInformationMetric
ViolaWellsMutualInformationMetric(const Self &)
elastix::ViolaWellsMutualInformationMetric::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxViolaWellsMutualInformationMetric.h:114
elastix::ViolaWellsMutualInformationMetric::elxClassNameMacro
elxClassNameMacro("ViolaWellsMutualInformation")
elastix::ViolaWellsMutualInformationMetric::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxViolaWellsMutualInformationMetric.h:118
elastix::ViolaWellsMutualInformationMetric::MovingImageCosntPointer
Superclass1::MovingImageConstPointer MovingImageCosntPointer
Definition: elxViolaWellsMutualInformationMetric.h:102
elastix::MetricBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
elastix::ViolaWellsMutualInformationMetric::FixedImageIndexValueType
Superclass1::FixedImageIndexValueType FixedImageIndexValueType
Definition: elxViolaWellsMutualInformationMetric.h:104
elastix::ViolaWellsMutualInformationMetric::InterpolatorType
Superclass1::InterpolatorType InterpolatorType
Definition: elxViolaWellsMutualInformationMetric.h:95
elxIncludes.h
elastix::ViolaWellsMutualInformationMetric::~ViolaWellsMutualInformationMetric
virtual ~ViolaWellsMutualInformationMetric()
Definition: elxViolaWellsMutualInformationMetric.h:139
elastix::ViolaWellsMutualInformationMetric::FixedImageType
Superclass1::FixedImageType FixedImageType
Definition: elxViolaWellsMutualInformationMetric.h:99
elastix::ViolaWellsMutualInformationMetric::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxViolaWellsMutualInformationMetric.h:76
elastix::MetricBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
elastix::MetricBase::FixedImageType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
elastix::ViolaWellsMutualInformationMetric::MovingImagePointType
Superclass1::MovingImagePointType MovingImagePointType
Definition: elxViolaWellsMutualInformationMetric.h:107
elastix::ViolaWellsMutualInformationMetric::Self
ViolaWellsMutualInformationMetric Self
Definition: elxViolaWellsMutualInformationMetric.h:70
elastix::MetricBase::MovingImageType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
elastix::ViolaWellsMutualInformationMetric::MovingImageIndexType
Superclass1::MovingImageIndexType MovingImageIndexType
Definition: elxViolaWellsMutualInformationMetric.h:105
elastix::MetricBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
elastix::ViolaWellsMutualInformationMetric::TransformPointer
Superclass1::TransformPointer TransformPointer
Definition: elxViolaWellsMutualInformationMetric.h:93
elastix::ViolaWellsMutualInformationMetric::FixedImagePointType
Superclass1::FixedImagePointType FixedImagePointType
Definition: elxViolaWellsMutualInformationMetric.h:106
elastix::ViolaWellsMutualInformationMetric::MovingImageType
Superclass1::MovingImageType MovingImageType
Definition: elxViolaWellsMutualInformationMetric.h:100
elastix::ViolaWellsMutualInformationMetric::BeforeEachResolution
virtual void BeforeEachResolution(void)
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::MetricBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo