go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxVarianceOverLastDimensionMetric.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 __elxVarianceOverLastDimensionMetric_H__
16 #define __elxVarianceOverLastDimensionMetric_H__
17 
18 #include "elxIncludes.h"
21 #include "../Transforms/StackTransform/itkStackTransform.h"
22 
23 #include "elxTimer.h"
24 
25 namespace elastix
26 {
27 
65  template <class TElastix >
67  public
69  typename MetricBase<TElastix>::FixedImageType,
70  typename MetricBase<TElastix>::MovingImageType >,
71  public MetricBase<TElastix>
72  {
73  public:
74 
81  typedef itk::SmartPointer<Self> Pointer;
82  typedef itk::SmartPointer<const Self> ConstPointer;
83 
85  itkNewMacro( Self );
86 
89 
94  elxClassNameMacro( "VarianceOverLastDimensionMetric" );
95 
97  typedef typename
115  typedef typename Superclass1::RealType RealType;
133  typedef typename
137  typedef typename
139  typedef typename
141  typedef typename
143 
145  itkStaticConstMacro( FixedImageDimension, unsigned int,
146  FixedImageType::ImageDimension );
147 
149  itkStaticConstMacro( MovingImageDimension, unsigned int,
150  MovingImageType::ImageDimension );
151 
160 
163  ScalarType, FixedImageDimension > BSplineTransformBaseType;
165  ScalarType, FixedImageDimension > CombinationTransformType;
166  typedef itk::StackTransform<
167  ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType;
170 
175 
179  virtual void Initialize(void) throw (itk::ExceptionObject);
180 
186  virtual void BeforeEachResolution(void);
187 
188  protected:
189 
194 
195  private:
196 
198  VarianceOverLastDimensionMetric( const Self& ); // purposely not implemented
200  void operator=( const Self& ); // purposely not implemented
201 
202  }; // end class VarianceOverLastDimensionMetric
203 
204 
205 } // end namespace elastix
206 
207 
208 #ifndef ITK_MANUAL_INSTANTIATION
209 #include "elxVarianceOverLastDimensionMetric.hxx"
210 #endif
211 
212 #endif // end #ifndef __elxVarianceOverLastDimensionMetric_H__
213 
Superclass1::MovingImageConstPointer MovingImageConstPointer
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::TransformParametersType TransformParametersType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
Superclass::GradientImageFilterPointer GradientImageFilterPointer
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:72
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
itk::VarianceOverLastDimensionImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
A class to time the different parts of the registration.
Definition: elxTimer.h:66
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
Implements stack of transforms: one for every last dimension index.
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Compute the sum of variances over the slowest varying dimension in the moving image.
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImageLimiterType MovingImageLimiterType
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension-1 > ReducedDimensionBSplineTransformBaseType
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
itk::SingleValuedCostFunction ITKBaseType
elxClassNameMacro("VarianceOverLastDimensionMetric")
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Base class for deformable transform using a B-spline representation.
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
Compute the sum of variances over the slowest varying dimension in the moving image.
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)


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