template<class
TScalarType = double>
class itk::AdvancedSimilarity2DTransform< TScalarType >
AdvancedSimilarity2DTransform of a vector space (e.g. space coordinates)
This transform applies a homogenous scale and rigid transform in 2D space. The transform is specified as a scale and rotation around a arbitrary center and is followed by a translation. given one angle for rotation, a homogeneous scale and a 2D offset for 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] = scale p[1] = angle p[2] = x component of the translation p[3] = 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 MatrixOffsetTransformBase.
Access methods for the angle are documented in superclass Rigid2DTransform.
- See also
- Transform
-
MatrixOffsetTransformBase
-
Rigid2DTransform
Definition at line 78 of file itkAdvancedSimilarity2DTransform.h.
|
using | ConstPointer = SmartPointer< const Self > |
|
using | MatrixType = Matrix< TScalarType, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
|
using | OffsetType = OutputVectorType |
|
using | Pointer = SmartPointer< Self > |
|
using | ScaleType = TScalarType |
|
using | Self = AdvancedSimilarity2DTransform |
|
using | Superclass = AdvancedRigid2DTransform< TScalarType > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | MatrixType = Matrix< TScalarType, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
|
using | OffsetType = OutputVectorType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = AdvancedRigid2DTransform |
|
using | Superclass = AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 > |
|
using | CenterType = InputPointType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | InverseMatrixType = Matrix< TScalarType, Self::InputSpaceDimension, Self::OutputSpaceDimension > |
|
using | MatrixType = Matrix< TScalarType, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
|
using | OffsetType = OutputVectorType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = AdvancedMatrixOffsetTransformBase |
|
using | Superclass = AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions > |
|
using | TranslationType = OutputVectorType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | InternalMatrixType = typename SpatialJacobianType::InternalMatrixType |
|
using | InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
|
using | JacobianOfSpatialHessianType = std::vector< SpatialHessianType > |
|
using | JacobianOfSpatialJacobianType = std::vector< SpatialJacobianType > |
|
using | MovingImageGradientType = OutputCovariantVectorType |
|
using | MovingImageGradientValueType = typename MovingImageGradientType::ValueType |
|
using | NonZeroJacobianIndicesType = std::vector< unsigned long > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = AdvancedTransform |
|
using | SpatialHessianType = FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > |
|
using | SpatialJacobianType = Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > |
|
using | Superclass = Transform< TScalarType, NInputDimensions, NOutputDimensions > |
|
using | TransformType = Transform< TScalarType, NInputDimensions, NOutputDimensions > |
|
using | TransformTypeConstPointer = typename TransformType::ConstPointer |
|
using | TransformTypePointer = typename TransformType::Pointer |
|
|
virtual const char * | GetClassName () const |
|
void | GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override |
|
const ParametersType & | GetParameters () const override |
|
virtual const ScaleType & | GetScale () |
|
| ITK_DISALLOW_COPY_AND_MOVE (AdvancedSimilarity2DTransform) |
|
| itkStaticConstMacro (InputSpaceDimension, unsigned int, 2) |
|
| itkStaticConstMacro (OutputSpaceDimension, unsigned int, 2) |
|
| itkStaticConstMacro (ParametersDimension, unsigned int, 4) |
|
| itkStaticConstMacro (SpaceDimension, unsigned int, 2) |
|
void | SetIdentity () override |
|
void | SetMatrix (const MatrixType &matrix) override |
|
void | SetParameters (const ParametersType ¶meters) override |
|
void | SetScale (ScaleType scale) |
|
virtual const TScalarType & | GetAngle () |
|
virtual const char * | GetClassName () const |
|
void | GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override |
|
const ParametersType & | GetParameters () const override |
|
| ITK_DISALLOW_COPY_AND_MOVE (AdvancedRigid2DTransform) |
|
| itkStaticConstMacro (InputSpaceDimension, unsigned int, 2) |
|
| itkStaticConstMacro (OutputSpaceDimension, unsigned int, 2) |
|
| itkStaticConstMacro (ParametersDimension, unsigned int, 3) |
|
void | SetAngle (TScalarType angle) |
|
void | SetIdentity () override |
|
void | SetMatrix (const MatrixType &matrix) override |
|
void | SetParameters (const ParametersType ¶meters) override |
|
const InputPointType & | GetCenter () const |
|
virtual const char * | GetClassName () const |
|
const FixedParametersType & | GetFixedParameters () const override |
|
void | GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override |
|
void | GetJacobianOfSpatialHessian (const InputPointType &, JacobianOfSpatialHessianType &, NonZeroJacobianIndicesType &) const override |
|
void | GetJacobianOfSpatialHessian (const InputPointType &inputPoint, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override |
|
void | GetJacobianOfSpatialJacobian (const InputPointType &, JacobianOfSpatialJacobianType &, NonZeroJacobianIndicesType &) const override |
|
void | GetJacobianOfSpatialJacobian (const InputPointType &, SpatialJacobianType &, JacobianOfSpatialJacobianType &, NonZeroJacobianIndicesType &) const override |
|
const MatrixType & | GetMatrix () const |
|
const ParametersType & | GetParameters () const override |
|
void | GetSpatialHessian (const InputPointType &, SpatialHessianType &) const override |
|
void | GetSpatialJacobian (const InputPointType &, SpatialJacobianType &) const override |
|
TransformCategoryEnum | GetTransformCategory () const override |
|
const OutputVectorType & | GetTranslation () const |
|
bool | IsLinear () const override |
|
| itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) |
|
| itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) |
|
| itkStaticConstMacro (ParametersDimension, unsigned int, NOutputDimensions *(NInputDimensions+1)) |
|
void | SetCenter (const InputPointType ¢er) |
|
void | SetFixedParameters (const FixedParametersType &) override |
|
virtual void | SetIdentity () |
|
virtual void | SetMatrix (const MatrixType &matrix) |
|
void | SetParameters (const ParametersType ¶meters) override |
|
void | SetTranslation (const OutputVectorType &translation) |
|
OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &vector) const override |
|
OutputPointType | TransformPoint (const InputPointType &point) const override |
|
OutputVectorType | TransformVector (const InputVectorType &vector) const override |
|
OutputVnlVectorType | TransformVector (const InputVnlVectorType &vector) const override |
|
void | ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const override |
|
virtual void | EvaluateJacobianWithImageGradientProduct (const InputPointType &inputPoint, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
|
virtual const char * | GetClassName () const |
|
virtual bool | GetHasNonZeroJacobianOfSpatialHessian () const |
|
virtual bool | GetHasNonZeroSpatialHessian () const |
|
virtual void | GetJacobian (const InputPointType &inputPoint, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0 |
|
virtual void | GetJacobianOfSpatialHessian (const InputPointType &inputPoint, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0 |
|
virtual void | GetJacobianOfSpatialHessian (const InputPointType &inputPoint, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0 |
|
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &inputPoint, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0 |
|
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &inputPoint, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0 |
|
virtual NumberOfParametersType | GetNumberOfNonZeroJacobianIndices () const |
|
virtual void | GetSpatialHessian (const InputPointType &inputPoint, SpatialHessianType &sh) const =0 |
|
virtual void | GetSpatialJacobian (const InputPointType &inputPoint, SpatialJacobianType &sj) const =0 |
|
| ITK_DISALLOW_COPY_AND_MOVE (AdvancedTransform) |
|
| itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) |
|
| itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) |
|