![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkAdvancedRigid2DTransform.h>
AdvancedRigid2DTransform of a vector space (e.g. space coordinates)
This transform applies a rigid transformation in 2D space. The transform is specified as a rotation around a arbitrary center and is followed by a translation.
The parameters for this transform can be set either using individual Set methods or in serialized form using SetParameters() and SetFixedParameters().
The serialization of the optimizable parameters is an array of 3 elements ordered as follows: p[0] = angle p[1] = x component of the translation p[2] = y component of the translation
The serialization of the fixed parameters is an array of 2 elements ordered as follows: p[0] = x coordinate of the center p[1] = y coordinate of the center
Access methods for the center, translation and underlying matrix offset vectors are documented in the superclass AdvancedMatrixOffsetTransformBase.
Definition at line 76 of file itkAdvancedRigid2DTransform.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
Private Member Functions | |
AdvancedRigid2DTransform (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
TScalarType | m_Angle |
Additional Inherited Members | |
![]() | |
JacobianOfSpatialHessianType | m_JacobianOfSpatialHessian |
JacobianOfSpatialJacobianType | m_JacobianOfSpatialJacobian |
NonZeroJacobianIndicesType | m_NonZeroJacobianIndices |
SpatialHessianType | m_SpatialHessian |
![]() | |
bool | m_HasNonZeroJacobianOfSpatialHessian |
bool | m_HasNonZeroSpatialHessian |
typedef SmartPointer< const Self > itk::AdvancedRigid2DTransform< TScalarType >::ConstPointer |
Definition at line 85 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::InputCovariantVectorType itk::AdvancedRigid2DTransform< TScalarType >::InputCovariantVectorType |
Standard covariant vector type for this class.
Definition at line 119 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::InputPointType itk::AdvancedRigid2DTransform< TScalarType >::InputPointType |
Standard coordinate point type for this class.
Definition at line 127 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::InputVectorType itk::AdvancedRigid2DTransform< TScalarType >::InputVectorType |
Standard vector type for this class.
Definition at line 115 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::InputVnlVectorType itk::AdvancedRigid2DTransform< TScalarType >::InputVnlVectorType |
Standard vnl_vector type for this class.
Definition at line 123 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::InternalMatrixType itk::AdvancedRigid2DTransform< TScalarType >::InternalMatrixType |
Definition at line 138 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::JacobianOfSpatialHessianType itk::AdvancedRigid2DTransform< TScalarType >::JacobianOfSpatialHessianType |
Definition at line 137 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::JacobianOfSpatialJacobianType itk::AdvancedRigid2DTransform< TScalarType >::JacobianOfSpatialJacobianType |
Definition at line 134 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::JacobianType itk::AdvancedRigid2DTransform< TScalarType >::JacobianType |
Jacobian type.
Definition at line 106 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::MatrixType itk::AdvancedRigid2DTransform< TScalarType >::MatrixType |
Standard matrix type for this class.
Definition at line 109 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::NonZeroJacobianIndicesType itk::AdvancedRigid2DTransform< TScalarType >::NonZeroJacobianIndicesType |
Definition at line 131 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::NumberOfParametersType itk::AdvancedRigid2DTransform< TScalarType >::NumberOfParametersType |
Definition at line 103 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::OffsetType itk::AdvancedRigid2DTransform< TScalarType >::OffsetType |
Standard vector type for this class.
Definition at line 112 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::OutputCovariantVectorType itk::AdvancedRigid2DTransform< TScalarType >::OutputCovariantVectorType |
Definition at line 120 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::OutputPointType itk::AdvancedRigid2DTransform< TScalarType >::OutputPointType |
Definition at line 128 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::OutputVectorType itk::AdvancedRigid2DTransform< TScalarType >::OutputVectorType |
Definition at line 116 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::OutputVnlVectorType itk::AdvancedRigid2DTransform< TScalarType >::OutputVnlVectorType |
Definition at line 124 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::ParametersType itk::AdvancedRigid2DTransform< TScalarType >::ParametersType |
Parameters type.
Definition at line 102 of file itkAdvancedRigid2DTransform.h.
typedef SmartPointer< Self > itk::AdvancedRigid2DTransform< TScalarType >::Pointer |
Definition at line 84 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::ScalarType itk::AdvancedRigid2DTransform< TScalarType >::ScalarType |
Scalar type.
Definition at line 99 of file itkAdvancedRigid2DTransform.h.
typedef AdvancedRigid2DTransform itk::AdvancedRigid2DTransform< TScalarType >::Self |
Standard class typedefs.
Definition at line 82 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::SpatialHessianType itk::AdvancedRigid2DTransform< TScalarType >::SpatialHessianType |
Definition at line 135 of file itkAdvancedRigid2DTransform.h.
typedef Superclass::SpatialJacobianType itk::AdvancedRigid2DTransform< TScalarType >::SpatialJacobianType |
Definition at line 132 of file itkAdvancedRigid2DTransform.h.
typedef AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 > itk::AdvancedRigid2DTransform< TScalarType >::Superclass |
Definition at line 83 of file itkAdvancedRigid2DTransform.h.
|
protected |
|
protected |
|
protected |
|
overrideprotected |
|
private |
|
inline |
Definition at line 337 of file itkAdvancedRigid2DTransform.h.
|
inline |
Back transform by an rigid transformation.
The BackTransform() methods are slated to be removed from ITK. Instead, please use GetInverse() or CloneInverseTo() to generate an inverse transform and then perform the transform using that inverted transform.
Definition at line 295 of file itkAdvancedRigid2DTransform.h.
|
inline |
Definition at line 309 of file itkAdvancedRigid2DTransform.h.
|
inline |
Definition at line 323 of file itkAdvancedRigid2DTransform.h.
void itk::AdvancedRigid2DTransform< TScalarType >::CloneInverseTo | ( | Pointer & | newinverse | ) | const |
This method creates and returns a new AdvancedRigid2DTransform object which is the inverse of self.
void itk::AdvancedRigid2DTransform< TScalarType >::CloneTo | ( | Pointer & | clone | ) | const |
This method creates and returns a new AdvancedRigid2DTransform object which has the same parameters.
|
overrideprotectedvirtual |
Compute the matrix from angle. This is used in Set methods to update the underlying matrix whenever a transform parameter is changed. Also update the m_JacobianOfSpatialJacobian.
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >.
Reimplemented in itk::AdvancedSimilarity2DTransform< float >.
|
overrideprotectedvirtual |
Compute the angle from the matrix. This is used to compute transform parameters from a given matrix. This is used in AdvancedMatrixOffsetTransformBase::Compose() and AdvancedMatrixOffsetTransformBase::GetInverse().
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >.
Reimplemented in itk::AdvancedSimilarity2DTransform< float >.
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >.
Reimplemented in itk::GPUAdvancedEuler2DTransform< TScalarType, TParentTransform >, itk::GPUAdvancedSimilarity2DTransform< TScalarType, TParentTransform >, itk::AdvancedSimilarity2DTransform< TScalarType >, and itk::AdvancedSimilarity2DTransform< float >.
|
overridevirtual |
This method computes the Jacobian matrix of the transformation at a given input point.
Implements itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >.
Reimplemented in itk::AdvancedSimilarity2DTransform< float >.
|
override |
Get the parameters that uniquely define the transform This is typically used by optimizers. There are 3 parameters. The first one represents the angle or rotation in radians and the last two represents the translation. The center of rotation is fixed.
|
inlinevirtual |
Definition at line 203 of file itkAdvancedRigid2DTransform.h.
|
inline |
Definition at line 161 of file itkAdvancedRigid2DTransform.h.
itk::AdvancedRigid2DTransform< TScalarType >::itkStaticConstMacro | ( | InputSpaceDimension | , |
unsigned int | , | ||
2 | |||
) |
Dimension of the space.
itk::AdvancedRigid2DTransform< TScalarType >::itkStaticConstMacro | ( | OutputSpaceDimension | , |
unsigned int | , | ||
2 | |||
) |
itk::AdvancedRigid2DTransform< TScalarType >::itkStaticConstMacro | ( | ParametersDimension | , |
unsigned int | , | ||
3 | |||
) |
|
static |
New macro for creation of through a Smart Pointer
|
private |
|
protectedvirtual |
Update the m_JacobianOfSpatialJacobian.
Reimplemented in itk::AdvancedSimilarity2DTransform< TScalarType >, and itk::AdvancedSimilarity2DTransform< float >.
|
overrideprotected |
Print contents of an AdvancedRigid2DTransform
void itk::AdvancedRigid2DTransform< TScalarType >::SetAngle | ( | TScalarType | angle | ) |
Set/Get the angle of rotation in radians
void itk::AdvancedRigid2DTransform< TScalarType >::SetAngleInDegrees | ( | TScalarType | angle | ) |
Set the angle of rotation in degrees.
|
overridevirtual |
Reset the parameters to create and identity transform.
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >.
Reimplemented in itk::AdvancedSimilarity2DTransform< float >.
|
override |
Set the rotation Matrix of a Rigid2D Transform
This method sets the 2x2 matrix representing the rotation in the transform. The Matrix is expected to be orthogonal with a certain tolerance.
Reimplemented in itk::AdvancedSimilarity2DTransform< float >.
|
override |
Set the transformation from a container of parameters This is typically used by optimizers. There are 3 parameters. The first one represents the angle of rotation in radians and the last two represents the translation. The center of rotation is fixed.
|
inline |
Set/Get the angle of rotation in radians. These methods are old and are retained for backward compatibility. Instead, use SetAngle() and GetAngle().
Definition at line 201 of file itkAdvancedRigid2DTransform.h.
|
inlinevirtual |
Set/Get the rotation matrix. These methods are old and are retained for backward compatibility. Instead, use SetMatrix() GetMatrix().
Definition at line 159 of file itkAdvancedRigid2DTransform.h.
|
inlineprotected |
Update angle without recomputation of other internal variables.
Definition at line 276 of file itkAdvancedRigid2DTransform.h.
void itk::AdvancedRigid2DTransform< TScalarType >::Translate | ( | const OffsetType & | offset, |
bool | pre = false |
||
) |
Compose the transformation with a translation
This method modifies self to include a translation of the origin. The translation is precomposed with self if pre is true, and postcomposed otherwise.
|
private |
Definition at line 287 of file itkAdvancedRigid2DTransform.h.
Generated on 1667476801 for elastix by ![]() |
![]() |