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" // include first to avoid MSVS warning
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 };
248 
249 } // end namespace elastix
250 
251 #ifndef ITK_MANUAL_INSTANTIATION
252 #include "elxTransformRigidityPenaltyTerm.hxx"
253 #endif
254 
255 #endif // end #ifndef __elxTransformRigidityPenaltyTerm_H__
Superclass1::TransformParametersType TransformParametersType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:84
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:87
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:85
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::MovingImageLimiterType MovingImageLimiterType
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:91
Superclass1::GradientPixelType GradientPixelType
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:73
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 "vector" 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:80
itk::TransformRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:99
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:88
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:86
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass1::GradientImagePointer GradientImagePointer
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:71
Superclass1::FixedImageLimiterType FixedImageLimiterType


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