go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
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 
24 
25 namespace elastix
26 {
27 
73 template< class TElastix >
75  public
77  typename MetricBase< TElastix >::FixedImageType,
78  typename MetricBase< TElastix >::MovingImageType >,
79  public MetricBase< TElastix >
80 {
81 public:
82 
89  typedef itk::SmartPointer< Self > Pointer;
90  typedef itk::SmartPointer< const Self > ConstPointer;
91 
93  itkNewMacro( Self );
94 
98 
103  elxClassNameMacro( "NormalizedMutualInformation" );
104 
106  typedef typename
122  typedef typename Superclass1::RealType RealType;
140  typedef typename
144  typedef typename
146  typedef typename
148  typedef typename
150 
152  itkStaticConstMacro( FixedImageDimension, unsigned int,
153  FixedImageType::ImageDimension );
154 
156  itkStaticConstMacro( MovingImageDimension, unsigned int,
157  MovingImageType::ImageDimension );
158 
167 
173  virtual void BeforeEachResolution( void );
174 
177  virtual void Initialize( void ) throw ( itk::ExceptionObject );
178 
179 protected:
180 
183  {
184  this->SetUseDerivative( true );
185  }
186 
187 
190 
191 private:
192 
194  NormalizedMutualInformationMetric( const Self & ); // purposely not implemented
196  void operator=( const Self & ); // purposely not implemented
197 
198 };
199 
200 } // end namespace elastix
201 
202 #ifndef ITK_MANUAL_INSTANTIATION
203 #include "elxNormalizedMutualInformationMetric.hxx"
204 #endif
205 
206 #endif // end #ifndef __elxNormalizedMutualInformationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
A metric based on the itk::ParzenWindowNormalizedMutualInformationImageToImageMetric.
elxClassNameMacro("NormalizedMutualInformation")
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
itk::ParzenWindowNormalizedMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
itk::SingleValuedCostFunction ITKBaseType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Computes the normalized mutual information between two images to be registered using a method based o...
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo