go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAdvancedMeanSquaresMetric.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 __elxAdvancedMeanSquaresMetric_H__
16 #define __elxAdvancedMeanSquaresMetric_H__
17 
18 #include "elxIncludes.h"
20 
21 #include "elxTimer.h"
22 
23 namespace elastix
24 {
25 using namespace itk;
26 
44  template <class TElastix >
46  public
48  ITK_TYPENAME MetricBase<TElastix>::FixedImageType,
49  ITK_TYPENAME MetricBase<TElastix>::MovingImageType >,
50  public MetricBase<TElastix>
51  {
52  public:
53 
60  typedef SmartPointer<Self> Pointer;
61  typedef SmartPointer<const Self> ConstPointer;
62 
64  itkNewMacro( Self );
65 
68 
73  elxClassNameMacro( "AdvancedMeanSquares" );
74 
76  typedef typename
92  typedef typename Superclass1::RealType RealType;
110  typedef typename
114  typedef typename
116  typedef typename
118  typedef typename
120 
122  itkStaticConstMacro( FixedImageDimension, unsigned int,
123  FixedImageType::ImageDimension );
124 
126  itkStaticConstMacro( MovingImageDimension, unsigned int,
127  MovingImageType::ImageDimension );
128 
137 
142 
146  virtual void Initialize(void) throw (ExceptionObject);
147 
153  virtual void BeforeEachResolution(void);
154 
155  protected:
156 
161 
162  private:
163 
165  AdvancedMeanSquaresMetric( const Self& ); // purposely not implemented
167  void operator=( const Self& ); // purposely not implemented
168 
169  }; // end class AdvancedMeanSquaresMetric
170 
171 
172 } // end namespace elastix
173 
174 
175 #ifndef ITK_MANUAL_INSTANTIATION
176 #include "elxAdvancedMeanSquaresMetric.hxx"
177 #endif
178 
179 #endif // end #ifndef __elxAdvancedMeanSquaresMetric_H__
180 
Compute Mean square difference between two images, based on AdvancedImageToImageMetric...
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
SmartPointer< Self > Pointer
Definition: elxTimer.h:73
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass2::RegistrationType RegistrationType
Superclass1::OutputPointType OutputPointType
Superclass1::GradientImageType GradientImageType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
Superclass1::MovingImageLimiterType MovingImageLimiterType
Superclass1::GradientImageFilterType GradientImageFilterType
A class to time the different parts of the registration.
Definition: elxTimer.h:67
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass1::GradientPixelType GradientPixelType
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::InterpolatorType InterpolatorType
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::MovingImageType MovingImageType
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass2::ConfigurationType ConfigurationType
SingleValuedCostFunction ITKBaseType
Superclass1::FixedImagePixelType FixedImagePixelType
An metric based on the itk::AdvancedMeanSquaresImageToImageMetric.
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass1::ImageSamplerType ImageSamplerType
Superclass1::FixedImageLimiterType FixedImageLimiterType
Superclass1::GradientImagePointer GradientImagePointer
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
Superclass1::TransformJacobianType TransformJacobianType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::TransformParametersType TransformParametersType
Superclass1::TransformPointer TransformPointer
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::ImageSampleContainerType ImageSampleContainerType
AdvancedMeanSquaresImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
Superclass2::ConfigurationPointer ConfigurationPointer


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