go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxDisplacementMagnitudePenalty.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 __elxDisplacementMagnitudePenalty_H__
15 #define __elxDisplacementMagnitudePenalty_H__
16 
17 #include "elxIncludes.h"
19 
20 #include "elxTimer.h"
21 
22 namespace elastix
23 {
24 
42  template <class TElastix >
44  public
46  typename MetricBase<TElastix>::FixedImageType,
47  double >,
48  public MetricBase<TElastix>
49  {
50  public:
51 
56  double > Superclass1;
58  typedef itk::SmartPointer<Self> Pointer;
59  typedef itk::SmartPointer<const Self> ConstPointer;
60 
62  itkNewMacro( Self );
63 
66 
71  elxClassNameMacro( "DisplacementMagnitudePenalty" );
72 
74  typedef typename
90  typedef typename Superclass1::RealType RealType;
108  typedef typename
112  typedef typename
114  typedef typename
116 
118  itkStaticConstMacro( FixedImageDimension, unsigned int,
119  FixedImageType::ImageDimension );
120 
122  itkStaticConstMacro( MovingImageDimension, unsigned int,
123  MovingImageType::ImageDimension );
124 
133 
138 
142  virtual void Initialize( void ) throw (itk::ExceptionObject);
143 
144  protected:
145 
148 
151 
152  private:
153 
155  DisplacementMagnitudePenalty( const Self& ); // purposely not implemented
157  void operator=( const Self& ); // purposely not implemented
158 
159  }; // end class DisplacementMagnitudePenalty
160 
161 
162 } // end namespace elastix
163 
164 
165 #ifndef ITK_MANUAL_INSTANTIATION
166 #include "elxDisplacementMagnitudePenalty.hxx"
167 #endif
168 
169 #endif // end #ifndef __elxDisplacementMagnitudePenalty_H__
170 
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass1::MovingImageLimiterType MovingImageLimiterType
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
Superclass::CoordinateRepresentationType CoordinateRepresentationType
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:72
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass1::TransformJacobianType TransformJacobianType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::MovingImagePixelType MovingImagePixelType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
A class to time the different parts of the registration.
Definition: elxTimer.h:66
Superclass1::TransformParametersType TransformParametersType
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass1::MovingImageRegionType MovingImageRegionType
This class is a base class for any image sampler.
itk::DisplacementMagnitudePenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
Superclass1::FixedImageRegionType FixedImageRegionType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass::TransformParametersType TransformParametersType
Superclass1::FixedImageLimiterType FixedImageLimiterType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass::TransformJacobianType TransformJacobianType
Base class for all ITK limiter function objects.
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
itk::SingleValuedCostFunction ITKBaseType
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
elxClassNameMacro("DisplacementMagnitudePenalty")
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::GradientImagePointer GradientImagePointer
A penalty term that penalises ||T(x)-x||.
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72


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