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 #ifndef __elxAdvancedMeanSquaresMetric_H__
15 #define __elxAdvancedMeanSquaresMetric_H__
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
19 
20 #include "elxTimer.h"
21 
22 namespace elastix
23 {
24 
42 template< class TElastix >
44  public
46  typename MetricBase< TElastix >::FixedImageType,
47  typename MetricBase< TElastix >::MovingImageType >,
48  public MetricBase< TElastix >
49 {
50 public:
51 
58  typedef itk::SmartPointer< Self > Pointer;
59  typedef itk::SmartPointer< const Self > ConstPointer;
60 
62  itkNewMacro( Self );
63 
66 
71  elxClassNameMacro( "AdvancedMeanSquares" );
72 
74  typedef typename
90  typedef typename Superclass1::RealType RealType;
108  typedef typename
112  typedef typename
114  typedef typename
116  typedef typename
118 
120  itkStaticConstMacro( FixedImageDimension, unsigned int,
121  FixedImageType::ImageDimension );
122 
124  itkStaticConstMacro( MovingImageDimension, unsigned int,
125  MovingImageType::ImageDimension );
126 
135 
140 
144  virtual void Initialize( void ) throw ( itk::ExceptionObject );
145 
151  virtual void BeforeEachResolution( void );
152 
153 protected:
154 
159 
160 private:
161 
163  AdvancedMeanSquaresMetric( const Self & ); // purposely not implemented
165  void operator=( const Self & ); // purposely not implemented
166 
167 };
168 
169 } // end namespace elastix
170 
171 #ifndef ITK_MANUAL_INSTANTIATION
172 #include "elxAdvancedMeanSquaresMetric.hxx"
173 #endif
174 
175 #endif // end #ifndef __elxAdvancedMeanSquaresMetric_H__
Compute Mean square difference between two images, based on AdvancedImageToImageMetric...
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:84
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:87
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:85
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
itk::SmartPointer< const Self > ConstPointer
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass2::RegistrationType RegistrationType
Superclass1::OutputPointType OutputPointType
Superclass1::GradientImageType GradientImageType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:91
elxClassNameMacro("AdvancedMeanSquares")
itk::AdvancedMeanSquaresImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:73
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)
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:80
Superclass1::TransformJacobianType TransformJacobianType
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:99
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:94
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:88
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::TransformParametersType TransformParametersType
Superclass1::TransformPointer TransformPointer
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:86
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:71
Superclass2::ConfigurationPointer ConfigurationPointer


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