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;
76  typedef typename IntermediaryDFTransformType
78  typedef typename VectorImageType::PixelType VectorPixelType;
79  typedef ImageRegionIterator< VectorImageType > IteratorType;
80 
82  typedef typename VectorImageType::RegionType RegionType;
83  typedef typename VectorImageType::SpacingType SpacingType;
84  typedef typename VectorImageType::PointType OriginType;
85 
87  void InitializeDeformationFields( void );
88 
93  typename VectorImageType::Pointer vecImage );
94 
96  itkSetMacro( DeformationFieldRegion, RegionType );
97 
99  itkSetMacro( DeformationFieldSpacing, SpacingType );
100 
102  itkSetMacro( DeformationFieldOrigin, OriginType );
103 
105  itkGetConstObjectMacro( IntermediaryDeformationFieldTransform, IntermediaryDFTransformType );
106 
108  virtual OutputPointType TransformPoint( const InputPointType & inputPoint ) const;
109 
110  protected:
111 
116 
117  private:
118 
120  DeformationFieldRegulizer( const Self& ); // purposely not implemented
122  void operator=( const Self& ); // purposely not implemented
123 
127 
132 
133  }; // end class DeformationFieldRegulizer
134 
135 
136 } // end namespace itk
137 
138 
139 #ifndef ITK_MANUAL_INSTANTIATION
140 #include "itkDeformationFieldRegulizer.hxx"
141 #endif
142 
143 #endif // end #ifndef __itkDeformationFieldRegulizer_H__
144 
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
An itk transform based on a DeformationVectorField.
VectorImageType::SpacingType SpacingType
virtual void UpdateIntermediaryDeformationFieldTransform(typename VectorImageType::Pointer vecImage)
Superclass::OutputVectorType OutputVectorType
ImageRegionIterator< VectorImageType > IteratorType
IntermediaryDFTransformType::Pointer m_IntermediaryDeformationFieldTransform
Superclass::OutputPointType OutputPointType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::ParametersType ParametersType
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 05-12-2013 for elastix by doxygen 1.8.5 elastix logo