go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAdvancedNormalizedCorrelationMetric.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 __elxAdvancedNormalizedCorrelationMetric_H__
16 #define __elxAdvancedNormalizedCorrelationMetric_H__
17 
18 #include "elxIncludes.h"
20 
21 #include "elxTimer.h"
22 
23 namespace elastix
24 {
25 using namespace itk;
26 
43  template <class TElastix >
45  public
47  ITK_TYPENAME MetricBase<TElastix>::FixedImageType,
48  ITK_TYPENAME MetricBase<TElastix>::MovingImageType >,
49  public MetricBase<TElastix>
50  {
51  public:
52 
59  typedef SmartPointer<Self> Pointer;
60  typedef SmartPointer<const Self> ConstPointer;
61 
63  itkNewMacro( Self );
64 
67 
72  elxClassNameMacro( "AdvancedNormalizedCorrelation" );
73 
75  typedef typename
91  typedef typename Superclass1::RealType RealType;
109  typedef typename
113  typedef typename
115  typedef typename
117  typedef typename
119 
120 
122  itkStaticConstMacro( FixedImageDimension, unsigned int,
123  FixedImageType::ImageDimension );
124 
126  itkStaticConstMacro( MovingImageDimension, unsigned int,
127  MovingImageType::ImageDimension );
128 
137 
142 
147  virtual void BeforeEachResolution(void);
148 
152  virtual void Initialize(void) throw (ExceptionObject);
153 
154  protected:
155 
160 
161  private:
162 
164  AdvancedNormalizedCorrelationMetric( const Self& ); // purposely not implemented
166  void operator=( const Self& ); // purposely not implemented
167 
168  }; // end class AdvancedNormalizedCorrelationMetric
169 
170 
171 } // end namespace elastix
172 
173 
174 #ifndef ITK_MANUAL_INSTANTIATION
175 #include "elxAdvancedNormalizedCorrelationMetric.hxx"
176 #endif
177 
178 #endif // end #ifndef __elxAdvancedNormalizedCorrelationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
SmartPointer< Self > Pointer
Definition: elxTimer.h:73
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
A class to time the different parts of the registration.
Definition: elxTimer.h:67
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
SingleValuedCostFunction ITKBaseType
AdvancedNormalizedCorrelationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
An metric based on the itk::AdvancedNormalizedCorrelationImageToImageMetric.
Computes normalized correlation between two images, based on AdvancedImageToImageMetric...
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73


Generated on 06-12-2013 for elastix by doxygen 1.8.5 elastix logo