go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxKNNGraphAlphaMutualInformationMetric.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 #ifndef __elxKNNGraphAlphaMutualInformationMetric_H__
15 #define __elxKNNGraphAlphaMutualInformationMetric_H__
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
19 
20 #include "elxTimer.h"
21 
22 namespace elastix
23 {
24 
79 template< class TElastix >
81  public
83  typename MetricBase< TElastix >::FixedImageType,
84  typename MetricBase< TElastix >::MovingImageType >,
85  public MetricBase< TElastix >
86 {
87 public:
88 
95  typedef itk::SmartPointer< Self > Pointer;
96  typedef itk::SmartPointer< const Self > ConstPointer;
97 
99  itkNewMacro( Self );
100 
104 
109  elxClassNameMacro( "KNNGraphAlphaMutualInformation" );
110 
123 
125  itkStaticConstMacro( FixedImageDimension, unsigned int,
126  FixedImageType::ImageDimension );
128  itkStaticConstMacro( MovingImageDimension, unsigned int,
129  MovingImageType::ImageDimension );
130 
139 
143 
148 
158  virtual void BeforeRegistration( void );
159 
170  virtual void BeforeEachResolution( void );
171 
175  virtual void Initialize( void ) throw ( itk::ExceptionObject );
176 
177 protected:
178 
183 
184 private:
185 
187  KNNGraphAlphaMutualInformationMetric( const Self & ); // purposely not implemented
189  void operator=( const Self & ); // purposely not implemented
190 
191 };
192 
193 } // end namespace elastix
194 
195 #ifndef ITK_MANUAL_INSTANTIATION
196 #include "elxKNNGraphAlphaMutualInformationMetric.hxx"
197 #endif
198 
199 #endif // end #ifndef __elxKNNGraphAlphaMutualInformationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:84
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:87
elxClassNameMacro("KNNGraphAlphaMutualInformation")
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:85
A metric based on the itk::KNNGraphAlphaMutualInformationImageToImageMetric.
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:91
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:73
A class to time the different parts of the registration.
Definition: elxTimer.h:66
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:80
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:99
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:94
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:88
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:86
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:71
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)


Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo