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 #ifndef __elxAdvancedNormalizedCorrelationMetric_H__
15 #define __elxAdvancedNormalizedCorrelationMetric_H__
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
19 
20 #include "elxTimer.h"
21 
22 namespace elastix
23 {
24 
41 template< class TElastix >
43  public
45  typename MetricBase< TElastix >::FixedImageType,
46  typename MetricBase< TElastix >::MovingImageType >,
47  public MetricBase< TElastix >
48 {
49 public:
50 
57  typedef itk::SmartPointer< Self > Pointer;
58  typedef itk::SmartPointer< const Self > ConstPointer;
59 
61  itkNewMacro( Self );
62 
65 
70  elxClassNameMacro( "AdvancedNormalizedCorrelation" );
71 
73  typedef typename
89  typedef typename Superclass1::RealType RealType;
107  typedef typename
111  typedef typename
113  typedef typename
115  typedef typename
117 
119  itkStaticConstMacro( FixedImageDimension, unsigned int,
120  FixedImageType::ImageDimension );
121 
123  itkStaticConstMacro( MovingImageDimension, unsigned int,
124  MovingImageType::ImageDimension );
125 
134 
139 
144  virtual void BeforeEachResolution( void );
145 
149  virtual void Initialize( void ) throw ( itk::ExceptionObject );
150 
151 protected:
152 
157 
158 private:
159 
161  AdvancedNormalizedCorrelationMetric( const Self & ); // purposely not implemented
163  void operator=( const Self & ); // purposely not implemented
164 
165 };
166 
167 } // end namespace elastix
168 
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "elxAdvancedNormalizedCorrelationMetric.hxx"
171 #endif
172 
173 #endif // end #ifndef __elxAdvancedNormalizedCorrelationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:84
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:87
elxClassNameMacro("AdvancedNormalizedCorrelation")
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:85
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
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
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::AdvancedNormalizedCorrelationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
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:80
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:99
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:94
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:88
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:86
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:71


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