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 
42  template <class TElastix >
44  public
46  typename MetricBase<TElastix>::FixedImageType,
47  typename MetricBase<TElastix>::MovingImageType >,
48  public MetricBase<TElastix>
49  {
50  public:
51 
58  typedef itk::SmartPointer<Self> Pointer;
59  typedef itk::SmartPointer<const Self> ConstPointer;
60 
62  itkNewMacro( Self );
63 
66 
71  elxClassNameMacro( "AdvancedNormalizedCorrelation" );
72 
74  typedef typename
90  typedef typename Superclass1::RealType RealType;
108  typedef typename
112  typedef typename
114  typedef typename
116  typedef typename
118 
119 
121  itkStaticConstMacro( FixedImageDimension, unsigned int,
122  FixedImageType::ImageDimension );
123 
125  itkStaticConstMacro( MovingImageDimension, unsigned int,
126  MovingImageType::ImageDimension );
127 
136 
141 
146  virtual void BeforeEachResolution(void);
147 
151  virtual void Initialize(void) throw (itk::ExceptionObject);
152 
153  protected:
154 
159 
160  private:
161 
163  AdvancedNormalizedCorrelationMetric( const Self& ); // purposely not implemented
165  void operator=( const Self& ); // purposely not implemented
166 
167  }; // end class AdvancedNormalizedCorrelationMetric
168 
169 
170 } // end namespace elastix
171 
172 
173 #ifndef ITK_MANUAL_INSTANTIATION
174 #include "elxAdvancedNormalizedCorrelationMetric.hxx"
175 #endif
176 
177 #endif // end #ifndef __elxAdvancedNormalizedCorrelationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
elxClassNameMacro("AdvancedNormalizedCorrelation")
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:72
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
A class to time the different parts of the registration.
Definition: elxTimer.h:66
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
An metric based on the itk::AdvancedNormalizedCorrelationImageToImageMetric.
Computes normalized correlation between two images, based on AdvancedImageToImageMetric...
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
itk::SingleValuedCostFunction ITKBaseType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
itk::AdvancedNormalizedCorrelationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72


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