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 


Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo