go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkDeformationFieldRegulizer.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 __itkDeformationFieldRegulizer_H__
16 #define __itkDeformationFieldRegulizer_H__
17 
19 #include "itkImageRegionIterator.h"
20 
21 namespace itk
22 {
23 
36 template< class TAnyITKTransform >
38  public TAnyITKTransform
39 {
40 public:
41 
45  typedef SmartPointer< Self > Pointer;
46  typedef SmartPointer< const Self > ConstPointer;
47 
49  itkNewMacro( Self );
50 
53 
55  itkStaticConstMacro( InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension );
57  itkStaticConstMacro( OutputSpaceDimension, unsigned int, Superclass::OutputSpaceDimension );
58 
71 
74  ScalarType,
75  itkGetStaticConstMacro( InputSpaceDimension ) > IntermediaryDFTransformType;
77  typedef typename IntermediaryDFTransformType
79  typedef typename VectorImageType::PixelType VectorPixelType;
80  typedef ImageRegionIterator< VectorImageType > IteratorType;
81 
83  typedef typename VectorImageType::RegionType RegionType;
84  typedef typename VectorImageType::SpacingType SpacingType;
85  typedef typename VectorImageType::PointType OriginType;
86 
88  void InitializeDeformationFields( void );
89 
94  typename VectorImageType::Pointer vecImage );
95 
97  itkSetMacro( DeformationFieldRegion, RegionType );
98 
100  itkSetMacro( DeformationFieldSpacing, SpacingType );
101 
103  itkSetMacro( DeformationFieldOrigin, OriginType );
104 
106  itkGetConstObjectMacro( IntermediaryDeformationFieldTransform, IntermediaryDFTransformType );
107 
109  virtual OutputPointType TransformPoint( const InputPointType & inputPoint ) const;
110 
111 protected:
112 
117 
118 private:
119 
121  DeformationFieldRegulizer( const Self & ); // purposely not implemented
123  void operator=( const Self & ); // purposely not implemented
124 
128 
133 
134 };
135 
136 } // end namespace itk
137 
138 #ifndef ITK_MANUAL_INSTANTIATION
139 #include "itkDeformationFieldRegulizer.hxx"
140 #endif
141 
142 #endif // end #ifndef __itkDeformationFieldRegulizer_H__
This class combines two transforms: an 'initial transform' with a 'current transform'.
An itk transform based on a DeformationVectorField.
VectorImageType::SpacingType SpacingType
virtual void UpdateIntermediaryDeformationFieldTransform(typename VectorImageType::Pointer vecImage)
Superclass::OutputVectorType OutputVectorType
ImageRegionIterator< VectorImageType > IteratorType
Superclass::OutputPointType OutputPointType
Superclass::InputVnlVectorType InputVnlVectorType
IntermediaryDFTransformPointer m_IntermediaryDeformationFieldTransform
Superclass::ParametersType ParametersType
IntermediaryDFTransformType::Pointer IntermediaryDFTransformPointer
Image< CoefficientVectorPixelType, itkGetStaticConstMacro(SpaceDimension) > CoefficientVectorImageType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
itkStaticConstMacro(InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension)
Superclass::InputPointType InputPointType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InputVectorType InputVectorType
void operator=(const Self &)
DeformationVectorFieldTransform< ScalarType, itkGetStaticConstMacro(InputSpaceDimension) > IntermediaryDFTransformType
VectorImageType::PixelType VectorPixelType
virtual OutputPointType TransformPoint(const InputPointType &inputPoint) const
IntermediaryDFTransformType::CoefficientVectorImageType VectorImageType
VectorImageType::RegionType RegionType
This class combines any itk transform with the DeformationFieldTransform.


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