ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkCenteredRigid2DTransform.h>
CenteredRigid2DTransform of a vector space (e.g. space coordinates)
This transform applies a rigid transformation is 2D space. The transform is specified as a rotation around arbitrary center and is followed by a translation.
The main difference between this class and its superclass Rigid2DTransform is that the center of rotation is exposed for optimization.
The serialization of the optimizable parameters is an array of 5 elements ordered as follows: p[0] = angle p[1] = x coordinate of the center p[2] = y coordinate of the center p[3] = x component of the translation p[4] = y component of the translation
There are no fixed parameters.
Definition at line 52 of file itkCenteredRigid2DTransform.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | InputCovariantVectorType = typename Superclass::InputCovariantVectorType |
using | InputPointType = typename Superclass::InputPointType |
using | InputPointValueType = typename Superclass::InputPointValueType |
using | InputVectorType = typename Superclass::InputVectorType |
using | InputVnlVectorType = typename Superclass::InputVnlVectorType |
using | InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
using | InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
using | InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
using | JacobianPositionType = typename Superclass::JacobianPositionType |
using | JacobianType = typename Superclass::JacobianType |
using | OffsetType = typename Superclass::OffsetType |
using | OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType |
using | OutputPointType = typename Superclass::OutputPointType |
using | OutputVectorType = typename Superclass::OutputVectorType |
using | OutputVectorValueType = typename Superclass::OutputVectorValueType |
using | OutputVnlVectorType = typename Superclass::OutputVnlVectorType |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = typename Superclass::ScalarType |
using | Self = CenteredRigid2DTransform |
using | Superclass = Rigid2DTransform< TParametersValueType > |
Public Types inherited from itk::Rigid2DTransform< TParametersValueType > | |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | InputCovariantVectorType = typename Superclass::InputCovariantVectorType |
using | InputPointType = typename Superclass::InputPointType |
using | InputVectorType = typename Superclass::InputVectorType |
using | InputVnlVectorType = typename Superclass::InputVnlVectorType |
using | InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
using | InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
using | InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
using | JacobianPositionType = typename Superclass::JacobianPositionType |
using | JacobianType = typename Superclass::JacobianType |
using | MatrixType = typename Superclass::MatrixType |
using | MatrixValueType = typename Superclass::MatrixValueType |
using | OffsetType = typename Superclass::OffsetType |
using | OffsetValueType = typename Superclass::OffsetValueType |
using | OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType |
using | OutputPointType = typename Superclass::OutputPointType |
using | OutputVectorType = typename Superclass::OutputVectorType |
using | OutputVectorValueType = typename Superclass::OutputVectorValueType |
using | OutputVnlVectorType = typename Superclass::OutputVnlVectorType |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = typename Superclass::ScalarType |
using | Self = Rigid2DTransform |
using | Superclass = MatrixOffsetTransformBase< TParametersValueType, 2, 2 > |
Public Types inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 > | |
using | CenterType = InputPointType |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | InputCovariantVectorType = CovariantVector< TParametersValueType, Self::InputSpaceDimension > |
using | InputDiffusionTensor3DType = typename Superclass::InputDiffusionTensor3DType |
using | InputPointType = Point< TParametersValueType, Self::InputSpaceDimension > |
using | InputPointValueType = typename InputPointType::ValueType |
using | InputSymmetricSecondRankTensorType = typename Superclass::InputSymmetricSecondRankTensorType |
using | InputTensorEigenVectorType = CovariantVector< TParametersValueType, InputDiffusionTensor3DType::Dimension > |
using | InputVectorPixelType = typename Superclass::InputVectorPixelType |
using | InputVectorType = Vector< TParametersValueType, Self::InputSpaceDimension > |
using | InputVnlVectorType = vnl_vector_fixed< TParametersValueType, Self::InputSpaceDimension > |
using | InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
using | InverseMatrixType = Matrix< TParametersValueType, Self::InputSpaceDimension, Self::OutputSpaceDimension > |
using | InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
using | InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
using | JacobianPositionType = typename Superclass::JacobianPositionType |
using | JacobianType = typename Superclass::JacobianType |
using | MatrixType = Matrix< TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
using | MatrixValueType = typename MatrixType::ValueType |
using | OffsetType = OutputVectorType |
using | OffsetValueType = typename OffsetType::ValueType |
using | OutputCovariantVectorType = CovariantVector< TParametersValueType, Self::OutputSpaceDimension > |
using | OutputDiffusionTensor3DType = typename Superclass::OutputDiffusionTensor3DType |
using | OutputPointType = Point< TParametersValueType, Self::OutputSpaceDimension > |
using | OutputPointValueType = typename OutputPointType::ValueType |
using | OutputSymmetricSecondRankTensorType = typename Superclass::OutputSymmetricSecondRankTensorType |
using | OutputVectorPixelType = typename Superclass::OutputVectorPixelType |
using | OutputVectorType = Vector< TParametersValueType, Self::OutputSpaceDimension > |
using | OutputVectorValueType = typename OutputVectorType::ValueType |
using | OutputVnlVectorType = vnl_vector_fixed< TParametersValueType, Self::OutputSpaceDimension > |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = typename Superclass::ScalarType |
using | Self = MatrixOffsetTransformBase |
using | Superclass = Transform< TParametersValueType, NInputDimensions, NOutputDimensions > |
using | TransformCategoryType = typename Superclass::TransformCategoryType |
using | TranslationType = OutputVectorType |
using | TranslationValueType = typename TranslationType::ValueType |
Public Types inherited from itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions > | |
using | ConstPointer = SmartPointer< const Self > |
using | DerivativeType = Array< ParametersValueType > |
using | DirectionChangeMatrix = Matrix< double, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | InputCovariantVectorType = CovariantVector< TParametersValueType, NInputDimensions > |
using | InputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType > |
using | InputDirectionMatrix = Matrix< double, Self::InputSpaceDimension, Self::InputSpaceDimension > |
using | InputPointType = Point< TParametersValueType, NInputDimensions > |
using | InputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, NInputDimensions > |
using | InputVectorPixelType = VariableLengthVector< TParametersValueType > |
using | InputVectorType = Vector< TParametersValueType, NInputDimensions > |
using | InputVnlVectorType = vnl_vector_fixed< TParametersValueType, NInputDimensions > |
using | InverseJacobianPositionType = vnl_matrix_fixed< ParametersValueType, NInputDimensions, NOutputDimensions > |
using | InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
using | InverseTransformBaseType = Transform< TParametersValueType, NOutputDimensions, NInputDimensions > |
using | JacobianPositionType = vnl_matrix_fixed< ParametersValueType, NOutputDimensions, NInputDimensions > |
using | JacobianType = Array2D< ParametersValueType > |
using | MatrixType = Matrix< TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
using | NumberOfParametersType = typename Superclass::NumberOfParametersType |
using | OutputCovariantVectorType = CovariantVector< TParametersValueType, NOutputDimensions > |
using | OutputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType > |
using | OutputDirectionMatrix = Matrix< double, Self::OutputSpaceDimension, Self::OutputSpaceDimension > |
using | OutputPointType = Point< TParametersValueType, NOutputDimensions > |
using | OutputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, NOutputDimensions > |
using | OutputVectorPixelType = VariableLengthVector< TParametersValueType > |
using | OutputVectorType = Vector< TParametersValueType, NOutputDimensions > |
using | OutputVnlVectorType = vnl_vector_fixed< TParametersValueType, NOutputDimensions > |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = ParametersValueType |
using | Self = Transform |
using | Superclass = TransformBaseTemplate< TParametersValueType > |
using | TransformCategoryType = typename Superclass::TransformCategoryType |
Public Types inherited from itk::TransformBaseTemplate< TParametersValueType > | |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = OptimizerParameters< FixedParametersValueType > |
using | FixedParametersValueType = double |
using | NumberOfParametersType = IdentifierType |
using | ParametersType = OptimizerParameters< ParametersValueType > |
using | ParametersValueType = TParametersValueType |
using | Pointer = SmartPointer< Self > |
using | Self = TransformBaseTemplate |
using | Superclass = Object |
enum | TransformCategoryType { UnknownTransformCategory =0, Linear =1, BSpline =2, Spline =3, DisplacementField =4, VelocityField =5 } |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Rigid2DTransform< TParametersValueType > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | OutputSpaceDimension = 2 |
static constexpr unsigned int | ParametersDimension = 5 |
static constexpr unsigned int | SpaceDimension = 2 |
Static Public Attributes inherited from itk::Rigid2DTransform< TParametersValueType > | |
static constexpr unsigned int | InputSpaceDimension = 2 |
static constexpr unsigned int | OutputSpaceDimension = 2 |
static constexpr unsigned int | ParametersDimension = 3 |
Static Public Attributes inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 > | |
static constexpr unsigned int | InputSpaceDimension |
static constexpr unsigned int | OutputSpaceDimension |
static constexpr unsigned int | ParametersDimension |
Static Public Attributes inherited from itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions > | |
static constexpr unsigned int | InputSpaceDimension = NInputDimensions |
static constexpr unsigned int | OutputSpaceDimension = NOutputDimensions |
Protected Member Functions | |
CenteredRigid2DTransform () | |
CenteredRigid2DTransform (unsigned int outputSpaceDimension, unsigned int parametersDimension) | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~CenteredRigid2DTransform () override=default | |
Protected Member Functions inherited from itk::Rigid2DTransform< TParametersValueType > | |
void | ComputeMatrix () override |
void | ComputeMatrixParameters () override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Rigid2DTransform (unsigned int outputSpaceDimension, unsigned int parametersDimension) | |
Rigid2DTransform (unsigned int parametersDimension) | |
Rigid2DTransform () | |
void | SetVarAngle (TParametersValueType angle) |
~Rigid2DTransform () override=default | |
Protected Member Functions inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 > | |
virtual void | ComputeOffset () |
virtual void | ComputeTranslation () |
const InverseMatrixType & | GetInverseMatrix () const |
virtual bool | GetSingular () const |
const InverseMatrixType & | GetVarInverseMatrix () const |
bool | InverseMatrixIsOld () const |
void | PrintSelf (std::ostream &s, Indent indent) const override |
void | SetVarCenter (const InputPointType ¢er) |
void | SetVarInverseMatrix (const InverseMatrixType &matrix) const |
void | SetVarMatrix (const MatrixType &matrix) |
void | SetVarOffset (const OutputVectorType &offset) |
void | SetVarTranslation (const OutputVectorType &translation) |
~MatrixOffsetTransformBase () override=default | |
MatrixOffsetTransformBase (const MatrixType &matrix, const OutputVectorType &offset) | |
MatrixOffsetTransformBase (unsigned int paramDims) | |
MatrixOffsetTransformBase () | |
Protected Member Functions inherited from itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions > | |
LightObject::Pointer | InternalClone () const override |
OutputDiffusionTensor3DType | PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType &, const InverseJacobianPositionType &) const |
Transform () | |
Transform (NumberOfParametersType NumberOfParameters) | |
~Transform () override=default | |
Protected Member Functions inherited from itk::TransformBaseTemplate< TParametersValueType > | |
TransformBaseTemplate ()=default | |
~TransformBaseTemplate () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Additional Inherited Members | |
Protected Attributes inherited from itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions > | |
DirectionChangeMatrix | m_DirectionChange |
FixedParametersType | m_FixedParameters |
ParametersType | m_Parameters |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::CenteredRigid2DTransform< TParametersValueType >::ConstPointer = SmartPointer<const Self> |
Definition at line 62 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::FixedParametersType = typename Superclass::FixedParametersType |
Definition at line 77 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::FixedParametersValueType = typename Superclass::FixedParametersValueType |
Definition at line 78 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::InputCovariantVectorType = typename Superclass::InputCovariantVectorType |
CovariantVector type.
Definition at line 101 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::InputPointType = typename Superclass::InputPointType |
Point type.
Definition at line 91 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::InputPointValueType = typename Superclass::InputPointValueType |
Definition at line 93 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::InputVectorType = typename Superclass::InputVectorType |
Vector type.
Definition at line 96 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::InputVnlVectorType = typename Superclass::InputVnlVectorType |
VnlVector type.
Definition at line 105 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
Definition at line 85 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
Definition at line 111 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
Base inverse transform type. This type should not be changed to the concrete inverse transform type or inheritance would be lost.
Definition at line 110 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::JacobianPositionType = typename Superclass::JacobianPositionType |
Definition at line 84 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::JacobianType = typename Superclass::JacobianType |
Jacobian type.
Definition at line 83 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::OffsetType = typename Superclass::OffsetType |
Offset type.
Definition at line 88 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType |
Definition at line 102 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::OutputPointType = typename Superclass::OutputPointType |
Definition at line 92 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::OutputVectorType = typename Superclass::OutputVectorType |
Definition at line 97 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::OutputVectorValueType = typename Superclass::OutputVectorValueType |
Definition at line 98 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::OutputVnlVectorType = typename Superclass::OutputVnlVectorType |
Definition at line 106 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::ParametersType = typename Superclass::ParametersType |
Definition at line 79 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::ParametersValueType = typename Superclass::ParametersValueType |
Definition at line 80 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::Pointer = SmartPointer<Self> |
Definition at line 61 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::ScalarType = typename Superclass::ScalarType |
Parameters type.
Definition at line 76 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::Self = CenteredRigid2DTransform |
Standard class type aliases.
Definition at line 59 of file itkCenteredRigid2DTransform.h.
using itk::CenteredRigid2DTransform< TParametersValueType >::Superclass = Rigid2DTransform<TParametersValueType> |
Definition at line 60 of file itkCenteredRigid2DTransform.h.
|
protected |
|
overrideprotecteddefault |
|
protected |
void itk::CenteredRigid2DTransform< TParametersValueType >::CloneInverseTo | ( | Pointer & | newinverse | ) | const |
This method creates and returns a new CenteredRigid2DTransform object which is the inverse of self.
void itk::CenteredRigid2DTransform< TParametersValueType >::CloneTo | ( | Pointer & | clone | ) | const |
This method creates and returns a new CenteredRigid2DTransform object which has the same parameters as self.
|
override |
This method computes the Jacobian matrix of the transformation at a given input point.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overridevirtual |
Get the Fixed Parameters. An empty array is returned as there are no fixed parameters.
Implements itk::TransformBaseTemplate< TParametersValueType >.
bool itk::CenteredRigid2DTransform< TParametersValueType >::GetInverse | ( | Self * | inverse | ) | const |
Get an inverse of this transform.
|
overridevirtual |
Return an inverse of this transform.
Reimplemented from itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Rigid2DTransform< TParametersValueType >.
|
overridevirtual |
Get the parameters that uniquely define the transform This is typically used by optimizers. There are 3 parameters. The first one represents the rotation, the next two the center of rotation and the last two represents the offset.
Implements itk::TransformBaseTemplate< TParametersValueType >.
|
static |
New macro for creation of through a Smart Pointer.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
|
overridevirtual |
Set the fixed parameters and update internal transformation. This is a null function as there are no fixed parameters.
Implements itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions >.
|
overridevirtual |
Set the transformation from a container of parameters This is typically used by optimizers. There are 5 parameters. The first one represents the rotation, the next two the center of rotation and the last two represents the offset.
Implements itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions >.
|
static |
Definition at line 72 of file itkCenteredRigid2DTransform.h.
|
static |
Definition at line 73 of file itkCenteredRigid2DTransform.h.
|
static |
Dimension of parameters.
Definition at line 71 of file itkCenteredRigid2DTransform.h.