go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxNormalizedGradientCorrelationMetric.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 __elxNormalizedGradientCorrelationMetric_H__
15 #define __elxNormalizedGradientCorrelationMetric_H__
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
19 
20 #include "elxTimer.h"
21 
22 namespace elastix
23 {
24 
34 template< class TElastix >
37  typename MetricBase< TElastix >::FixedImageType,
38  typename MetricBase< TElastix >::MovingImageType >,
39  public MetricBase< TElastix >
40 {
41 public:
42 
49  typedef itk::SmartPointer< Self > Pointer;
50  typedef itk::SmartPointer< const Self > ConstPointer;
51 
53  itkNewMacro( Self );
54 
58 
63  elxClassNameMacro( "NormalizedGradientCorrelation" );
64 
66  typedef typename
82  typedef typename Superclass1::RealType RealType;
100  typedef typename
104  typedef typename
106  typedef typename
108  typedef typename
110 
112  itkStaticConstMacro( FixedImageDimension, unsigned int,
113  FixedImageType::ImageDimension );
114 
116  itkStaticConstMacro( MovingImageDimension, unsigned int,
117  MovingImageType::ImageDimension );
118 
127 
132 
136  virtual void Initialize( void ) throw ( itk::ExceptionObject );
137 
143  virtual void BeforeRegistration( void );
144 
145  virtual void BeforeEachResolution( void );
146 
147 protected:
148 
153 
154 private:
155 
157  NormalizedGradientCorrelationMetric( const Self & ); // purposely not implemented
158 
160  void operator=( const Self & ); // purposely not implemented
161 
162 };
163 
164 } // end namespace elastix
165 
166 #ifndef ITK_MANUAL_INSTANTIATION
167 #include "elxNormalizedGradientCorrelationMetric.hxx"
168 #endif
169 
170 #endif // end #ifndef __elxNormalizedGradientCorrelationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:84
elxClassNameMacro("NormalizedGradientCorrelation")
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:87
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:85
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::GradientPixelType GradientPixelType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
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
An metric based on the itk::NormalizedGradientCorrelationImageToImageMetric.
This class is a base class for any image sampler.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientImageType GradientImageType
itk::NormalizedGradientCorrelationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass::GradientImageFilterType GradientImageFilterType
Base class for all ITK limiter function objects.
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:80
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:99
Superclass::MovingImagePixelType MovingImagePixelType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:94
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:88
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
Superclass::FixedImageMaskType FixedImageMaskType
An metric based on the itk::NormalizedGradientCorrelationImageToImageMetric.
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:86
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:71
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImagePointer GradientImagePointer


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo