go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAffineDTI2DTransform.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 #ifndef __itkAffineDTI2DTransform_h
19 #define __itkAffineDTI2DTransform_h
20 
21 #include <iostream>
23 
24 namespace itk
25 {
26 
62 template< class TScalarType = double >
63 // Data type for scalars (float or double)
65  public AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 >
66 {
67 public:
68 
73  typedef SmartPointer< const Self > ConstPointer;
74 
76  itkNewMacro( Self );
77 
80 
82  itkStaticConstMacro( SpaceDimension, unsigned int, 2 );
83  itkStaticConstMacro( InputSpaceDimension, unsigned int, 2 );
84  itkStaticConstMacro( OutputSpaceDimension, unsigned int, 2 );
85  itkStaticConstMacro( ParametersDimension, unsigned int, 7 );
86 
105 
106  typedef typename Superclass
109  typedef typename Superclass
112  typedef typename Superclass
115 
116  typedef FixedArray< ScalarType > ScalarArrayType;
117 
123  void SetParameters( const ParametersType & parameters );
124 
125  const ParametersType & GetParameters( void ) const;
126 
128  virtual void GetJacobian(
129  const InputPointType &,
130  JacobianType &,
131  NonZeroJacobianIndicesType & ) const;
132 
133  virtual void SetIdentity( void );
134 
135 protected:
136 
139  const OutputPointType & offset );
140  AffineDTI2DTransform( unsigned int outputSpaceDims,
141  unsigned int paramsSpaceDims );
142 
144 
145  void PrintSelf( std::ostream & os, Indent indent ) const;
146 
149  ScalarArrayType angle,
150  ScalarArrayType shear,
151  ScalarArrayType scale );
152 
154  void ComputeMatrix( void );
155 
157 
160 
161 private:
162 
163  AffineDTI2DTransform( const Self & ); // purposely not implemented
164  void operator=( const Self & ); // purposely not implemented
165 
169 
170 };
171 
172 } // namespace itk
173 
174 #ifndef ITK_MANUAL_INSTANTIATION
175 #include "itkAffineDTI2DTransform.hxx"
176 #endif
177 
178 #endif /* __itkAffineDTI2DTransform_h */
itk::AffineDTI2DTransform::m_Scale
ScalarArrayType m_Scale
Definition: itkAffineDTI2DTransform.h:168
itk::AffineDTI2DTransform::InputPointType
Superclass::InputPointType InputPointType
Definition: itkAffineDTI2DTransform.h:97
itk::AdvancedMatrixOffsetTransformBase::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition: itkAdvancedMatrixOffsetTransformBase.h:148
itk::AffineDTI2DTransform::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition: itkAffineDTI2DTransform.h:108
itk::AdvancedMatrixOffsetTransformBase::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAdvancedMatrixOffsetTransformBase.h:123
SmartPointer< Self >
itk::AffineDTI2DTransform::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkAffineDTI2DTransform.h:94
itk::AffineDTI2DTransform::AngleType
Superclass::ScalarType AngleType
Definition: itkAffineDTI2DTransform.h:104
itk::AffineDTI2DTransform::ScalarType
Superclass::ScalarType ScalarType
Definition: itkAffineDTI2DTransform.h:90
itk::AffineDTI2DTransform::NonZeroJacobianIndicesType
Superclass ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition: itkAffineDTI2DTransform.h:107
itk::AdvancedMatrixOffsetTransformBase::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition: itkAdvancedMatrixOffsetTransformBase.h:145
itk::AdvancedMatrixOffsetTransformBase::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkAdvancedMatrixOffsetTransformBase.h:137
itk::AdvancedMatrixOffsetTransformBase::MatrixType
Matrix< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension) > MatrixType
Definition: itkAdvancedMatrixOffsetTransformBase.h:153
itk::AdvancedMatrixOffsetTransformBase::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition: itkAdvancedMatrixOffsetTransformBase.h:142
itk::AffineDTI2DTransform::JacobianType
Superclass::JacobianType JacobianType
Definition: itkAffineDTI2DTransform.h:89
itk::AdvancedMatrixOffsetTransformBase
Definition: itkAdvancedMatrixOffsetTransformBase.h:99
itk::AffineDTI2DTransform::JacobianOfSpatialJacobianType
Superclass ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition: itkAffineDTI2DTransform.h:110
itk::AdvancedMatrixOffsetTransformBase::TranslationType
OutputVectorType TranslationType
Definition: itkAdvancedMatrixOffsetTransformBase.h:163
itk::AffineDTI2DTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const
itk::AffineDTI2DTransform::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAffineDTI2DTransform.h:87
itk::AffineDTI2DTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, 2)
itk::AffineDTI2DTransform::ComputeMatrixParameters
void ComputeMatrixParameters(void)
itk::AffineDTI2DTransform::AffineDTI2DTransform
AffineDTI2DTransform()
itk::AffineDTI2DTransform::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition: itkAffineDTI2DTransform.h:93
itk::AdvancedMatrixOffsetTransformBase::OffsetType
OutputVectorType OffsetType
Definition: itkAdvancedMatrixOffsetTransformBase.h:162
itk::AffineDTI2DTransform::GetJacobian
virtual void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
itk::AffineDTI2DTransform::itkStaticConstMacro
itkStaticConstMacro(ParametersDimension, unsigned int, 7)
itk::AffineDTI2DTransform::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition: itkAffineDTI2DTransform.h:92
itk::AffineDTI2DTransform::m_Angle
ScalarArrayType m_Angle
Definition: itkAffineDTI2DTransform.h:166
itk::AdvancedMatrixOffsetTransformBase::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition: itkAdvancedMatrixOffsetTransformBase.h:135
itk::AffineDTI2DTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkAffineDTI2DTransform.h:73
itk::AdvancedMatrixOffsetTransformBase::InverseMatrixType
Matrix< TScalarType, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension) > InverseMatrixType
Definition: itkAdvancedMatrixOffsetTransformBase.h:158
itk::AdvancedMatrixOffsetTransformBase::NonZeroJacobianIndicesType
Superclass ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition: itkAdvancedMatrixOffsetTransformBase.h:141
itk::AdvancedMatrixOffsetTransformBase::OutputCovariantVectorType
Superclass ::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkAdvancedMatrixOffsetTransformBase.h:133
itk::AffineDTI2DTransform::PrecomputeJacobianOfSpatialJacobian
virtual void PrecomputeJacobianOfSpatialJacobian(void)
itk::AffineDTI2DTransform::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition: itkAffineDTI2DTransform.h:96
itk::AffineDTI2DTransform::itkStaticConstMacro
itkStaticConstMacro(InputSpaceDimension, unsigned int, 2)
itk::AffineDTI2DTransform::OffsetType
Superclass::OffsetType OffsetType
Definition: itkAffineDTI2DTransform.h:103
itk::AdvancedMatrixOffsetTransformBase::InputPointType
Superclass::InputPointType InputPointType
Definition: itkAdvancedMatrixOffsetTransformBase.h:136
itk::AffineDTI2DTransform::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition: itkAffineDTI2DTransform.h:114
itk::AffineDTI2DTransform::AffineDTI2DTransform
AffineDTI2DTransform(unsigned int outputSpaceDims, unsigned int paramsSpaceDims)
itk::AffineDTI2DTransform::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition: itkAffineDTI2DTransform.h:95
itk::AffineDTI2DTransform::m_Shear
ScalarArrayType m_Shear
Definition: itkAffineDTI2DTransform.h:167
itk::AffineDTI2DTransform::SetParameters
void SetParameters(const ParametersType &parameters)
itk::AffineDTI2DTransform::MatrixType
Superclass::MatrixType MatrixType
Definition: itkAffineDTI2DTransform.h:99
itk::AdvancedMatrixOffsetTransformBase::JacobianOfSpatialHessianType
Superclass ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition: itkAdvancedMatrixOffsetTransformBase.h:147
itk::AffineDTI2DTransform::SetVarAngleScaleShear
void SetVarAngleScaleShear(ScalarArrayType angle, ScalarArrayType shear, ScalarArrayType scale)
itk::AdvancedMatrixOffsetTransformBase::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition: itkAdvancedMatrixOffsetTransformBase.h:134
itk::AdvancedMatrixOffsetTransformBase::JacobianOfSpatialJacobianType
Superclass ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition: itkAdvancedMatrixOffsetTransformBase.h:144
itk::AffineDTI2DTransform::GetParameters
const ParametersType & GetParameters(void) const
itk::AffineDTI2DTransform::TranslationType
Superclass::TranslationType TranslationType
Definition: itkAffineDTI2DTransform.h:102
itk::AdvancedMatrixOffsetTransformBase::InputCovariantVectorType
Superclass ::InputCovariantVectorType InputCovariantVectorType
Definition: itkAdvancedMatrixOffsetTransformBase.h:131
itk::AdvancedMatrixOffsetTransformBase::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition: itkAdvancedMatrixOffsetTransformBase.h:129
itk::AffineDTI2DTransform::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition: itkAffineDTI2DTransform.h:111
itk::AdvancedMatrixOffsetTransformBase::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition: itkAdvancedMatrixOffsetTransformBase.h:126
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::AffineDTI2DTransform::InverseMatrixType
Superclass::InverseMatrixType InverseMatrixType
Definition: itkAffineDTI2DTransform.h:100
itk::AffineDTI2DTransform::AffineDTI2DTransform
AffineDTI2DTransform(const Self &)
itk::AffineDTI2DTransform::InputVectorType
Superclass::InputVectorType InputVectorType
Definition: itkAffineDTI2DTransform.h:91
itk::AffineDTI2DTransform::operator=
void operator=(const Self &)
itk::AffineDTI2DTransform::ComputeMatrix
void ComputeMatrix(void)
itk::AffineDTI2DTransform::CenterType
Superclass::CenterType CenterType
Definition: itkAffineDTI2DTransform.h:101
itk::AffineDTI2DTransform::Self
AffineDTI2DTransform Self
Definition: itkAffineDTI2DTransform.h:70
itk::AdvancedMatrixOffsetTransformBase::JacobianType
Superclass::JacobianType JacobianType
Definition: itkAdvancedMatrixOffsetTransformBase.h:127
itk::AffineDTI2DTransform
Definition: itkAffineDTI2DTransform.h:66
itk::AffineDTI2DTransform::Superclass
AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 > Superclass
Definition: itkAffineDTI2DTransform.h:71
itk::AffineDTI2DTransform::AffineDTI2DTransform
AffineDTI2DTransform(const MatrixType &matrix, const OutputPointType &offset)
itk::AffineDTI2DTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkAffineDTI2DTransform.h:98
itk::AffineDTI2DTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition: itkAffineDTI2DTransform.h:88
itk::AdvancedMatrixOffsetTransformBase::InputVectorType
Superclass::InputVectorType InputVectorType
Definition: itkAdvancedMatrixOffsetTransformBase.h:128
itk::AdvancedMatrixOffsetTransformBase::CenterType
InputPointType CenterType
Definition: itkAdvancedMatrixOffsetTransformBase.h:161
itk::AdvancedMatrixOffsetTransformBase::ScalarType
Superclass::ScalarType ScalarType
Definition: itkAdvancedMatrixOffsetTransformBase.h:122
itk::AffineDTI2DTransform::SetIdentity
virtual void SetIdentity(void)
itkAdvancedMatrixOffsetTransformBase.h
itk::AffineDTI2DTransform::ScalarArrayType
FixedArray< ScalarType > ScalarArrayType
Definition: itkAffineDTI2DTransform.h:116
itk::AffineDTI2DTransform::Pointer
SmartPointer< Self > Pointer
Definition: itkAffineDTI2DTransform.h:72
itk::AffineDTI2DTransform::JacobianOfSpatialHessianType
Superclass ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition: itkAffineDTI2DTransform.h:113
itk::AffineDTI2DTransform::~AffineDTI2DTransform
~AffineDTI2DTransform()
Definition: itkAffineDTI2DTransform.h:143
itk::AffineDTI2DTransform::itkStaticConstMacro
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 2)


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo