go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxGradientDifferenceMetric.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 __elxGradientDifferenceMetric_H__
15 #define __elxGradientDifferenceMetric_H__
16 
17 #include "elxIncludes.h"
19 
20 #include "elxTimer.h"
21 
22 namespace elastix
23 {
24 using namespace itk;
25 
35 template <class TElastix >
37 public
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 
59 
64  elxClassNameMacro( "GradientDifference" );
65 
67  typedef typename
83  typedef typename Superclass1::RealType RealType;
101  typedef typename
105  typedef typename
107  typedef typename
109  typedef typename
111 
113  itkStaticConstMacro( FixedImageDimension, unsigned int,
114  FixedImageType::ImageDimension );
115 
117  itkStaticConstMacro( MovingImageDimension, unsigned int,
118  MovingImageType::ImageDimension );
119 
128 
131 
134 
138  virtual void Initialize(void) throw (ExceptionObject);
139 
146  virtual void BeforeRegistration( void );
147 
148  virtual void BeforeEachResolution( void );
149 
150 protected:
151 
154 
157 
158 private:
159 
161  GradientDifferenceMetric( const Self& ); // purposely not implemented
163  void operator=( const Self& ); // purposely not implemented
164 
165 }; // end class GradientDifferenceMetric
166 
167 
168 } // end namespace elastix
169 
170 
171 #ifndef ITK_MANUAL_INSTANTIATION
172 #include "elxGradientDifferenceMetric.hxx"
173 #endif
174 
175 #endif // end #ifndef __elxGradientDifferenceMetric_H__
Superclass1::GradientImageFilterType GradientImageFilterType
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
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::FixedImageMaskType FixedImageMaskType
An metric based on the itk::GradientDifferenceImageToImageMetric.
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::MovingImageType MovingImageType
SmartPointer< Self > Pointer
Definition: elxTimer.h:73
Superclass::GradientPixelType GradientPixelType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
Superclass2::RegistrationType RegistrationType
Superclass::FixedImageRegionType FixedImageRegionType
Superclass1::TransformParametersType TransformParametersType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
Superclass1::GradientPixelType GradientPixelType
A class to time the different parts of the registration.
Definition: elxTimer.h:67
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass1::FixedImageType FixedImageType
Superclass1::OutputPointType OutputPointType
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
This class is a base class for any image sampler.
Superclass1::GradientImagePointer GradientImagePointer
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::ParametersType ParametersType
Superclass1::MovingImageLimiterType MovingImageLimiterType
Superclass1::InterpolatorType InterpolatorType
SingleValuedCostFunction ITKBaseType
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass2::RegistrationPointer RegistrationPointer
GradientDifferenceImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass::GradientImageType GradientImageType
Superclass1::GradientImageType GradientImageType
Superclass1::TransformJacobianType TransformJacobianType
Superclass1::FixedImageLimiterType FixedImageLimiterType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass::GradientImageFilterType GradientImageFilterType
Base class for all ITK limiter function objects.
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::ConfigurationType ConfigurationType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
Computes similarity between two objects to be registered.
Superclass::MovingImagePixelType MovingImagePixelType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass::MovingImageMaskPointer MovingImageMaskPointer
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
Superclass1::TransformPointer TransformPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::ImageSamplerPointer ImageSamplerPointer
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
Superclass::FixedImageMaskType FixedImageMaskType
Superclass1::DerivativeType DerivativeType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass1::ImageSamplerType ImageSamplerType
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
Superclass1::InputPointType InputPointType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImagePointer GradientImagePointer


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