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 
43  template <class TElastix >
45  public
47  typename MetricBase<TElastix>::FixedImageType,
48  typename MetricBase<TElastix>::MovingImageType >,
49  public MetricBase<TElastix>
50  {
51  public:
52 
59  typedef itk::SmartPointer<Self> Pointer;
60  typedef itk::SmartPointer<const Self> ConstPointer;
61 
63  itkNewMacro( Self );
64 
67 
72  elxClassNameMacro( "AdvancedMeanSquares" );
73 
75  typedef typename
91  typedef typename Superclass1::RealType RealType;
109  typedef typename
113  typedef typename
115  typedef typename
117  typedef typename
119 
121  itkStaticConstMacro( FixedImageDimension, unsigned int,
122  FixedImageType::ImageDimension );
123 
125  itkStaticConstMacro( MovingImageDimension, unsigned int,
126  MovingImageType::ImageDimension );
127 
136 
141 
145  virtual void Initialize(void) throw (itk::ExceptionObject);
146 
152  virtual void BeforeEachResolution(void);
153 
154  protected:
155 
160 
161  private:
162 
164  AdvancedMeanSquaresMetric( const Self& ); // purposely not implemented
166  void operator=( const Self& ); // purposely not implemented
167 
168  }; // end class AdvancedMeanSquaresMetric
169 
170 
171 } // end namespace elastix
172 
173 
174 #ifndef ITK_MANUAL_INSTANTIATION
175 #include "elxAdvancedMeanSquaresMetric.hxx"
176 #endif
177 
178 #endif // end #ifndef __elxAdvancedMeanSquaresMetric_H__
179 
Compute Mean square difference between two images, based on AdvancedImageToImageMetric...
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:72
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass2::RegistrationType RegistrationType
Superclass1::OutputPointType OutputPointType
itk::AdvancedMeanSquaresImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass1::GradientImageType GradientImageType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
elxClassNameMacro("AdvancedMeanSquares")
Superclass1::MovingImageLimiterType MovingImageLimiterType
Superclass1::GradientImageFilterType GradientImageFilterType
A class to time the different parts of the registration.
Definition: elxTimer.h:66
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
virtual void BeforeEachResolution(void)
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::SmartPointer< const Self > ConstPointer
Superclass2::ConfigurationType ConfigurationType
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:81
Superclass1::TransformJacobianType TransformJacobianType
itk::SingleValuedCostFunction ITKBaseType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::TransformParametersType TransformParametersType
Superclass1::TransformPointer TransformPointer
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72
Superclass2::ConfigurationPointer ConfigurationPointer


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo