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  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 
19 #ifndef __itkDeformationFieldRegulizer_H__
20 #define __itkDeformationFieldRegulizer_H__
21 
23 #include "itkImageRegionIterator.h"
24 
25 namespace itk
26 {
27 
40 template< class TAnyITKTransform >
42  public TAnyITKTransform
43 {
44 public:
45 
50  typedef SmartPointer< const Self > ConstPointer;
51 
53  itkNewMacro( Self );
54 
57 
59  itkStaticConstMacro( InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension );
61  itkStaticConstMacro( OutputSpaceDimension, unsigned int, Superclass::OutputSpaceDimension );
62 
75 
78  ScalarType,
79  itkGetStaticConstMacro( InputSpaceDimension ) > IntermediaryDFTransformType;
81  typedef typename IntermediaryDFTransformType
83  typedef typename VectorImageType::PixelType VectorPixelType;
84  typedef ImageRegionIterator< VectorImageType > IteratorType;
85 
87  typedef typename VectorImageType::RegionType RegionType;
88  typedef typename VectorImageType::SpacingType SpacingType;
89  typedef typename VectorImageType::PointType OriginType;
90 
92  void InitializeDeformationFields( void );
93 
98  typename VectorImageType::Pointer vecImage );
99 
101  itkSetMacro( DeformationFieldRegion, RegionType );
102 
104  itkSetMacro( DeformationFieldSpacing, SpacingType );
105 
107  itkSetMacro( DeformationFieldOrigin, OriginType );
108 
110  itkGetConstObjectMacro( IntermediaryDeformationFieldTransform, IntermediaryDFTransformType );
111 
113  virtual OutputPointType TransformPoint( const InputPointType & inputPoint ) const;
114 
115 protected:
116 
121 
122 private:
123 
125  DeformationFieldRegulizer( const Self & ); // purposely not implemented
127  void operator=( const Self & ); // purposely not implemented
128 
130  IntermediaryDFTransformPointer m_IntermediaryDeformationFieldTransform;
132 
137 
138 };
139 
140 } // end namespace itk
141 
142 #ifndef ITK_MANUAL_INSTANTIATION
143 #include "itkDeformationFieldRegulizer.hxx"
144 #endif
145 
146 #endif // end #ifndef __itkDeformationFieldRegulizer_H__
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
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 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo