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 
15 #ifndef __elxNormalizedGradientCorrelationMetric_H__
16 #define __elxNormalizedGradientCorrelationMetric_H__
17 
18 #include "elxIncludes.h"
20 
21 #include "elxTimer.h"
22 
23 namespace elastix
24 {
25 using namespace itk;
26 
36 template <class TElastix >
39  ITK_TYPENAME MetricBase<TElastix>::FixedImageType,
40  ITK_TYPENAME MetricBase<TElastix>::MovingImageType >,
41 public MetricBase<TElastix>
42 {
43 public:
44 
51  typedef SmartPointer<Self> Pointer;
52  typedef SmartPointer<const Self> ConstPointer;
53 
55  itkNewMacro( Self );
56 
60 
65  elxClassNameMacro( "NormalizedGradientCorrelation" );
66 
68  typedef typename
84  typedef typename Superclass1::RealType RealType;
102  typedef typename
106  typedef typename
108  typedef typename
110  typedef typename
112 
114  itkStaticConstMacro( FixedImageDimension, unsigned int,
115  FixedImageType::ImageDimension );
116 
118  itkStaticConstMacro( MovingImageDimension, unsigned int,
119  MovingImageType::ImageDimension );
120 
129 
134 
138  virtual void Initialize( void ) throw (ExceptionObject);
139 
145  virtual void BeforeRegistration( void );
146 
147  virtual void BeforeEachResolution( void );
148 
149 protected:
150 
155 
156 private:
157 
159  NormalizedGradientCorrelationMetric( const Self& ); // purposely not implemented
160 
162  void operator=( const Self& ); // purposely not implemented
163 
164 }; // end class NormalizedGradientCorrelationMetric
165 
166 
167 } // end namespace elastix
168 
169 
170 #ifndef ITK_MANUAL_INSTANTIATION
171 #include "elxNormalizedGradientCorrelationMetric.hxx"
172 #endif
173 
174 #endif // end #ifndef __elxNormalizedGradientCorrelationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
SmartPointer< Self > Pointer
Definition: elxTimer.h:73
Superclass::GradientPixelType GradientPixelType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
A class to time the different parts of the registration.
Definition: elxTimer.h:67
An metric based on the itk::NormalizedGradientCorrelationImageToImageMetric.
This class is a base class for any image sampler.
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
SingleValuedCostFunction ITKBaseType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientImageType GradientImageType
Superclass::GradientImageFilterType GradientImageFilterType
Base class for all ITK limiter function objects.
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
Superclass::MovingImagePixelType MovingImagePixelType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
Superclass::FixedImageMaskType FixedImageMaskType
NormalizedGradientCorrelationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
An metric based on the itk::NormalizedGradientCorrelationImageToImageMetric.
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImagePointer GradientImagePointer


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