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 
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 
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__
itk::DeformationFieldRegulizer::itkStaticConstMacro
itkStaticConstMacro(InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension)
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkAdvancedTransform.h:125
itk::DeformationFieldRegulizer::Self
DeformationFieldRegulizer Self
Definition: itkDeformationFieldRegulizer.h:47
itk::DeformationFieldRegulizer::VectorImageType
IntermediaryDFTransformType ::CoefficientVectorImageType VectorImageType
Definition: itkDeformationFieldRegulizer.h:82
itk::DeformationFieldRegulizer::SpacingType
VectorImageType::SpacingType SpacingType
Definition: itkDeformationFieldRegulizer.h:88
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::InputCovariantVectorType
Superclass ::InputCovariantVectorType InputCovariantVectorType
Definition: itkAdvancedTransform.h:119
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::InputPointType
Superclass::InputPointType InputPointType
Definition: itkAdvancedTransform.h:124
SmartPointer< Self >
itk::DeformationFieldRegulizer::operator=
void operator=(const Self &)
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition: itkAdvancedTransform.h:122
itk::DeformationFieldRegulizer::RegionType
VectorImageType::RegionType RegionType
Definition: itkDeformationFieldRegulizer.h:87
itk::DeformationFieldRegulizer
This class combines any itk transform with the DeformationFieldTransform.
Definition: itkDeformationFieldRegulizer.h:43
itk::DeformationFieldRegulizer::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition: itkDeformationFieldRegulizer.h:71
itk::DeformationFieldRegulizer::TransformPoint
virtual OutputPointType TransformPoint(const InputPointType &inputPoint) const
itk::DeformationFieldRegulizer::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition: itkDeformationFieldRegulizer.h:72
itk::DeformationFieldRegulizer::DeformationFieldRegulizer
DeformationFieldRegulizer()
itk::DeformationFieldRegulizer::Superclass
TAnyITKTransform Superclass
Definition: itkDeformationFieldRegulizer.h:48
itk::DeformationFieldRegulizer::m_IntermediaryDeformationFieldTransform
IntermediaryDFTransformPointer m_IntermediaryDeformationFieldTransform
Definition: itkDeformationFieldRegulizer.h:130
itk::DeformationFieldRegulizer::m_DeformationFieldRegion
RegionType m_DeformationFieldRegion
Definition: itkDeformationFieldRegulizer.h:134
itk::DeformationFieldRegulizer::InitializeDeformationFields
void InitializeDeformationFields(void)
itk::DeformationFieldRegulizer::~DeformationFieldRegulizer
virtual ~DeformationFieldRegulizer()
Definition: itkDeformationFieldRegulizer.h:120
itk::DeformationVectorFieldTransform::CoefficientVectorImageType
Image< CoefficientVectorPixelType, itkGetStaticConstMacro(SpaceDimension) > CoefficientVectorImageType
Definition: itkDeformationVectorFieldTransform.h:90
itk::DeformationFieldRegulizer::Pointer
SmartPointer< Self > Pointer
Definition: itkDeformationFieldRegulizer.h:49
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::ScalarType
Superclass::ScalarType ScalarType
Definition: itkAdvancedTransform.h:109
itk::DeformationFieldRegulizer::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkDeformationFieldRegulizer.h:70
itk::DeformationFieldRegulizer::OriginType
VectorImageType::PointType OriginType
Definition: itkDeformationFieldRegulizer.h:89
itk::AdvancedCombinationTransform
This class combines two transforms: an 'initial transform' with a 'current transform'.
Definition: itkAdvancedCombinationTransform.h:58
itk::DeformationFieldRegulizer::InputPointType
Superclass::InputPointType InputPointType
Definition: itkDeformationFieldRegulizer.h:73
itkDeformationVectorFieldTransform.h
itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkAdvancedCombinationTransform.h:92
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::JacobianType
Superclass::JacobianType JacobianType
Definition: itkAdvancedTransform.h:115
itk::DeformationFieldRegulizer::m_DeformationFieldSpacing
SpacingType m_DeformationFieldSpacing
Definition: itkDeformationFieldRegulizer.h:136
itk::DeformationFieldRegulizer::IntermediaryDFTransformPointer
IntermediaryDFTransformType::Pointer IntermediaryDFTransformPointer
Definition: itkDeformationFieldRegulizer.h:80
itk::DeformationVectorFieldTransform
An itk transform based on a DeformationVectorField.
Definition: itkDeformationVectorFieldTransform.h:48
itk::DeformationFieldRegulizer::VectorPixelType
VectorImageType::PixelType VectorPixelType
Definition: itkDeformationFieldRegulizer.h:83
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::InputVectorType
Superclass::InputVectorType InputVectorType
Definition: itkAdvancedTransform.h:116
itk::DeformationFieldRegulizer::itkStaticConstMacro
itkStaticConstMacro(OutputSpaceDimension, unsigned int, Superclass::OutputSpaceDimension)
itk::DeformationFieldRegulizer::ScalarType
Superclass::ScalarType ScalarType
Definition: itkDeformationFieldRegulizer.h:64
itk::DeformationFieldRegulizer::UpdateIntermediaryDeformationFieldTransform
virtual void UpdateIntermediaryDeformationFieldTransform(typename VectorImageType::Pointer vecImage)
itk::DeformationFieldRegulizer::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition: itkDeformationFieldRegulizer.h:69
itk::DeformationFieldRegulizer::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition: itkDeformationFieldRegulizer.h:68
itk::DeformationFieldRegulizer::ParametersType
Superclass::ParametersType ParametersType
Definition: itkDeformationFieldRegulizer.h:65
itk::DeformationFieldRegulizer::m_DeformationFieldOrigin
OriginType m_DeformationFieldOrigin
Definition: itkDeformationFieldRegulizer.h:135
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::DeformationFieldRegulizer::DeformationFieldRegulizer
DeformationFieldRegulizer(const Self &)
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition: itkAdvancedTransform.h:117
itk::DeformationFieldRegulizer::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkDeformationFieldRegulizer.h:74
itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >::InputPointType
Superclass::InputPointType InputPointType
Definition: itkAdvancedCombinationTransform.h:91
itk::DeformationFieldRegulizer::IteratorType
ImageRegionIterator< VectorImageType > IteratorType
Definition: itkDeformationFieldRegulizer.h:84
itk::DeformationFieldRegulizer::JacobianType
Superclass::JacobianType JacobianType
Definition: itkDeformationFieldRegulizer.h:66
itk::DeformationFieldRegulizer::m_Initialized
bool m_Initialized
Definition: itkDeformationFieldRegulizer.h:131
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAdvancedTransform.h:110
itk::DeformationFieldRegulizer::InputVectorType
Superclass::InputVectorType InputVectorType
Definition: itkDeformationFieldRegulizer.h:67
itk::DeformationFieldRegulizer::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkDeformationFieldRegulizer.h:50
TAnyITKTransform
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition: itkAdvancedTransform.h:123
itk::DeformationFieldRegulizer::IntermediaryDFTransformType
DeformationVectorFieldTransform< ScalarType, itkGetStaticConstMacro(InputSpaceDimension) > IntermediaryDFTransformType
Definition: itkDeformationFieldRegulizer.h:79
itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >::OutputCovariantVectorType
Superclass ::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkAdvancedTransform.h:121


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo