go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxTransformRigidityPenaltyTerm.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 __elxTransformRigidityPenaltyTerm_H__
15 #define __elxTransformRigidityPenaltyTerm_H__
16 
17 #include "elxIncludes.h"
19 
20 #include "elxTimer.h"
21 
22 namespace elastix
23 {
24 
107 template <class TElastix >
110  typename MetricBase<TElastix>::FixedImageType,
111  double >,
112  public MetricBase<TElastix>
113 {
114 public:
115 
120  double > Superclass1;
122  typedef itk::SmartPointer<Self> Pointer;
123  typedef itk::SmartPointer<const Self> ConstPointer;
124 
126  itkNewMacro( Self );
127 
130 
135  elxClassNameMacro( "TransformRigidityPenalty" );
136 
153  typedef typename Superclass1::RealType RealType;
176 
178 
180  itkStaticConstMacro( FixedImageDimension, unsigned int,
181  FixedImageType::ImageDimension );
182 
184  itkStaticConstMacro( MovingImageDimension, unsigned int,
185  MovingImageType::ImageDimension );
186 
195 
200 
204  virtual void Initialize( void ) throw (itk::ExceptionObject);
205 
210  virtual void BeforeEachResolution( void );
211 
218  virtual void BeforeRegistration( void );
219 
224  virtual void AfterEachIteration( void );
225 
230  virtual void SelectNewSamples( void ){};
231 
232 protected:
233 
236 
239 
240 private:
241 
243  TransformRigidityPenalty( const Self& ); // purposely not implemented
245  void operator=( const Self& ); // purposely not implemented
246 
247 }; // end class TransformRigidityPenalty
248 
249 
250 } // end namespace elastix
251 
252 
253 #ifndef ITK_MANUAL_INSTANTIATION
254 #include "elxTransformRigidityPenaltyTerm.hxx"
255 #endif
256 
257 #endif // end #ifndef __elxTransformRigidityPenaltyTerm_H__
258 
Superclass1::TransformParametersType TransformParametersType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
itk::TransformRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::MovingImageLimiterType MovingImageLimiterType
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:72
itk::SmartPointer< const Self > ConstPointer
elxClassNameMacro("TransformRigidityPenalty")
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
A cost function that calculates a rigidity penalty term.
Superclass::TransformJacobianType TransformJacobianType
Superclass2::RegistrationPointer RegistrationPointer
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::TransformParametersType TransformParametersType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
Superclass1::GradientPixelType GradientPixelType
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
A penalty term based on non-rigidity.
Superclass::FixedImageRegionType FixedImageRegionType
A class to time the different parts of the registration.
Definition: elxTimer.h:66
Superclass::GradientImagePointer GradientImagePointer
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass1::GradientImageType GradientImageType
Superclass1::GradientImageFilterType GradientImageFilterType
This class is a base class for any image sampler.
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
virtual void BeforeEachResolution(void)
virtual void AfterEachIteration(void)
Superclass2::ConfigurationType ConfigurationType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::CoefficientImageType CoefficientImageType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImagePixelType MovingImagePixelType
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::InterpolatorPointer InterpolatorPointer
Base class for all ITK limiter function objects.
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
itk::SingleValuedCostFunction ITKBaseType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::TransformJacobianType TransformJacobianType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass1::FixedImageRegionType FixedImageRegionType
BSplineTransformType::ImageType CoefficientImageType
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass::FixedImagePixelType FixedImagePixelType
virtual void BeforeRegistration(void)
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass1::GradientImagePointer GradientImagePointer
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72
Superclass1::FixedImageLimiterType FixedImageLimiterType


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