go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAdvancedBSplineTransform.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 __elxAdvancedBSplineTransform_h
15 #define __elxAdvancedBSplineTransform_h
16 
19 
24 
25 #include "elxIncludes.h"
26 
27 
28 namespace elastix
29 {
104 template < class TElastix >
106  : public
108  typename elx::TransformBase<TElastix>::CoordRepType,
109  elx::TransformBase<TElastix>::FixedImageDimension > ,
110  public
111  TransformBase<TElastix>
112 {
113 public:
114 
121  typedef itk::SmartPointer<Self> Pointer;
122  typedef itk::SmartPointer<const Self> ConstPointer;
123 
125  itkNewMacro( Self );
126 
129 
134  elxClassNameMacro( "BSplineTransform" );
135 
137  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
138 
144  itkGetStaticConstMacro( SpaceDimension )> BSplineTransformBaseType;
146 
150  itkGetStaticConstMacro( SpaceDimension ),
154  itkGetStaticConstMacro( SpaceDimension ),
158  itkGetStaticConstMacro( SpaceDimension ),
162  itkGetStaticConstMacro( SpaceDimension ),
166  itkGetStaticConstMacro( SpaceDimension ),
170  itkGetStaticConstMacro( SpaceDimension ),
172 
186 
197  typedef typename
199  typedef typename
201 
214 
221  typedef typename GridScheduleComputerType
226 
231  virtual int BeforeAll( void );
232 
244  virtual void BeforeRegistration( void );
245 
250  virtual void BeforeEachResolution( void );
251 
257  virtual void InitializeTransform( void );
258 
264  virtual void IncreaseScale( void );
265 
267  virtual void ReadFromFile( void );
268 
270  virtual void WriteToFile( const ParametersType & param ) const;
271 
273  virtual void SetOptimizerScales( const unsigned int edgeWidth );
274 
275 protected:
276 
279 
282 
284  virtual void PreComputeGridInformation( void );
285 
286 private:
287 
289  AdvancedBSplineTransform( const Self& ); // purposely not implemented
291  void operator=( const Self& ); // purposely not implemented
292 
297 
299  unsigned int m_SplineOrder;
300  bool m_Cyclic;
301 
303  unsigned int InitializeBSplineTransform();
304 
305 }; // end class AdvancedBSplineTransform
306 
307 
308 } // end namespace elastix
309 
310 #ifndef ITK_MANUAL_INSTANTIATION
311 #include "elxAdvancedBSplineTransform.hxx"
312 #endif
313 
314 #endif // end #ifndef __elxAdvancedBSplineTransform_h
315 
unsigned int InitializeBSplineTransform()
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
virtual void PreComputeGridInformation(void)
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass1::InputVnlVectorType InputVnlVectorType
itk::AdvancedBSplineDeformableTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), 2 > BSplineTransformQuadraticType
Superclass::RegistrationPointer RegistrationPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Deformable transform using a B-spline representation.
BSplineTransformBaseType::ImagePointer ImagePointer
itk::CyclicBSplineDeformableTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), 3 > CyclicBSplineTransformCubicType
Image< PixelType, itkGetStaticConstMacro(SpaceDimension)> ImageType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
BSplineTransformBaseType::SizeType SizeType
virtual void SetOptimizerScales(const unsigned int edgeWidth)
GridUpsamplerType::Pointer GridUpsamplerPointer
Superclass1::OutputVectorType OutputVectorType
Superclass1::InputCovariantVectorType InputCovariantVectorType
itk::SmartPointer< const Self > ConstPointer
Superclass2::RegistrationPointer RegistrationPointer
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType > GridUpsamplerType
ImageRegion< itkGetStaticConstMacro(SpaceDimension) > RegionType
GridScheduleComputerPointer m_GridScheduleComputer
std::vector< GridSpacingFactorType > VectorGridSpacingFactorType
Superclass1::OutputVnlVectorType OutputVnlVectorType
BSplineTransformBaseType::Pointer BSplineTransformBasePointer
BSplineTransformBaseType::ContinuousIndexType ContinuousIndexType
BSplineTransformBaseType::ImageType ImageType
BSplineTransformBasePointer m_BSplineTransform
BSplineTransformBaseType::PixelType PixelType
ElastixType::FixedImageType FixedImageType
itk::CyclicBSplineDeformableTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), 2 > CyclicBSplineTransformQuadraticType
BSplineTransformBaseType::DirectionType DirectionType
Superclass1::InputVectorType InputVectorType
itk::AdvancedBSplineDeformableTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), 1 > BSplineTransformLinearType
virtual void WriteToFile(void) const
Deformable transform using a B-spline representation in which the B-spline grid is formulated in a cy...
This class computes all information about the B-spline grid, given the image information and the desi...
Superclass::ElastixType ElastixType
Transform maps points, vectors and covariant vectors from an input space to an output space...
BSplineTransformBaseType::SpacingType SpacingType
Superclass2::ConfigurationPointer ConfigurationPointer
GridScheduleComputerType::Pointer GridScheduleComputerPointer
BSplineTransformBaseType::IndexType IndexType
virtual void InitializeTransform(void)
Superclass1::OutputPointType OutputPointType
itk::CyclicBSplineDeformableTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), 1 > CyclicBSplineTransformLinearType
ElastixType::MovingImageType MovingImageType
Superclass2::ConfigurationType ConfigurationType
Superclass::ElastixPointer ElastixPointer
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
Superclass1::NumberOfParametersType NumberOfParametersType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
This class computes all information about the B-spline grid.
itk::CyclicGridScheduleComputer< CoordRepType, SpaceDimension > CyclicGridScheduleComputerType
Superclass2::MovingImageType MovingImageType
virtual void BeforeRegistration(void)
Superclass::NumberOfParametersType NumberOfParametersType
itk::AdvancedBSplineDeformableTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), 3 > BSplineTransformCubicType
This class is the elastix base class for all Transforms.
A transform based on the itkAdvancedBSplineTransform.
BSplineTransformBaseType::RegionType RegionType
Superclass::ConfigurationType ConfigurationType
itk::AdvancedBSplineDeformableTransformBase< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension)> BSplineTransformBaseType
Superclass::OutputVnlVectorType OutputVnlVectorType
BSplineTransformBaseType::ParameterIndexArrayType ParameterIndexArrayType
Convenience class for upsampling a B-spline coefficient image.
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType
ContinuousIndex< ScalarType, SpaceDimension > ContinuousIndexType
Superclass2::CombinationTransformType CombinationTransformType
Base class for deformable transform using a B-spline representation.
Superclass2::RegistrationType RegistrationType
elxClassNameMacro("BSplineTransform")
virtual void IncreaseScale(void)
virtual void BeforeEachResolution(void)
BSplineTransformBaseType::OriginType OriginType
GridScheduleComputerType::VectorGridSpacingFactorType GridScheduleType
itk::GridScheduleComputer< CoordRepType, SpaceDimension > GridScheduleComputerType
elx::TransformBase< TElastix > Superclass2


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