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 
15 #ifndef __elxKNNGraphAlphaMutualInformationMetric_H__
16 #define __elxKNNGraphAlphaMutualInformationMetric_H__
17 
18 #include "elxIncludes.h"
20 
21 #include "elxTimer.h"
22 
23 namespace elastix
24 {
25 
80  template <class TElastix >
82  public
84  typename MetricBase<TElastix>::FixedImageType,
85  typename MetricBase<TElastix>::MovingImageType >,
86  public MetricBase<TElastix>
87  {
88  public:
89 
96  typedef itk::SmartPointer<Self> Pointer;
97  typedef itk::SmartPointer<const Self> ConstPointer;
98 
100  itkNewMacro( Self );
101 
105 
110  elxClassNameMacro( "KNNGraphAlphaMutualInformation" );
111 
124 
126  itkStaticConstMacro (FixedImageDimension, unsigned int,
127  FixedImageType::ImageDimension);
129  itkStaticConstMacro( MovingImageDimension, unsigned int,
130  MovingImageType::ImageDimension );
131 
140 
144 
149 
159  virtual void BeforeRegistration( void );
160 
171  virtual void BeforeEachResolution( void );
172 
176  virtual void Initialize(void) throw (itk::ExceptionObject);
177 
178  protected:
179 
184 
185  private:
186 
188  KNNGraphAlphaMutualInformationMetric( const Self& ); // purposely not implemented
190  void operator=( const Self& ); // purposely not implemented
191 
192  }; // end class KNNGraphAlphaMutualInformationMetric
193 
194 
195 } // end namespace elastix
196 
197 
198 #ifndef ITK_MANUAL_INSTANTIATION
199 #include "elxKNNGraphAlphaMutualInformationMetric.hxx"
200 #endif
201 
202 #endif // end #ifndef __elxKNNGraphAlphaMutualInformationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
elxClassNameMacro("KNNGraphAlphaMutualInformation")
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:72
A metric based on the itk::KNNGraphAlphaMutualInformationImageToImageMetric.
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
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:81
itk::SingleValuedCostFunction ITKBaseType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo