#include <itkAdvancedTranslationTransform.h>
Translation transformation of a vector space (e.g. space coordinates)
The same functionality could be obtained by using the Affine transform, but with a large difference in performance.
Definition at line 54 of file itkAdvancedTranslationTransform.h.
Public Member Functions | |
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 |
NumberOfParametersType | GetNumberOfParameters () const override |
const OutputVectorType & | GetOffset () const |
const ParametersType & | GetParameters () const override |
void | GetSpatialHessian (const InputPointType &, SpatialHessianType &) const override |
void | GetSpatialJacobian (const InputPointType &, SpatialJacobianType &) const override |
TransformCategoryEnum | GetTransformCategory () const override |
bool | IsLinear () const override |
ITK_DISALLOW_COPY_AND_MOVE (AdvancedTranslationTransform) | |
itkStaticConstMacro (ParametersDimension, unsigned int, NDimensions) | |
itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions) | |
void | SetFixedParameters (const FixedParametersType &) override |
void | SetIdentity () |
void | SetOffset (const OutputVectorType &offset) |
void | SetParameters (const ParametersType ¶meters) override |
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 |
Public Member Functions inherited from itk::AdvancedTransform< double, 3, 3 > | |
void | ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const override |
virtual void | EvaluateJacobianWithImageGradientProduct (const InputPointType &inputPoint, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) 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) | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
AdvancedTranslationTransform () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~AdvancedTranslationTransform () override | |
Protected Member Functions inherited from itk::AdvancedTransform< double, 3, 3 > | |
AdvancedTransform ()=default | |
~AdvancedTransform () override=default | |
Private Attributes | |
const JacobianOfSpatialHessianType | m_JacobianOfSpatialHessian { JacobianOfSpatialHessianType(NDimensions) } |
const JacobianOfSpatialJacobianType | m_JacobianOfSpatialJacobian { JacobianOfSpatialJacobianType(NDimensions) } |
const JacobianType | m_LocalJacobian |
NonZeroJacobianIndicesType | m_NonZeroJacobianIndices { NonZeroJacobianIndicesType(NDimensions) } |
OutputVectorType | m_Offset {} |
const SpatialHessianType | m_SpatialHessian {} |
const SpatialJacobianType | m_SpatialJacobian { SpatialJacobianType::GetIdentity() } |
Additional Inherited Members | |
Protected Attributes inherited from itk::AdvancedTransform< double, 3, 3 > | |
bool | m_HasNonZeroJacobianOfSpatialHessian |
bool | m_HasNonZeroSpatialHessian |
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::ConstPointer = SmartPointer<const Self> |
Definition at line 63 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::InputCovariantVectorType = CovariantVector<TScalarType, Self::SpaceDimension> |
Standard covariant vector type for this class.
Definition at line 92 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::InputPointType = Point<TScalarType, Self::SpaceDimension> |
Standard coordinate point type for this class.
Definition at line 100 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::InputVectorType = Vector<TScalarType, Self::SpaceDimension> |
Standard vector type for this class.
Definition at line 88 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::InputVnlVectorType = vnl_vector_fixed<TScalarType, Self::SpaceDimension> |
Standard vnl_vector type for this class.
Definition at line 96 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::OutputCovariantVectorType = CovariantVector<TScalarType, Self::SpaceDimension> |
Definition at line 93 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::OutputPointType = Point<TScalarType, Self::SpaceDimension> |
Definition at line 101 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::OutputVectorType = Vector<TScalarType, Self::SpaceDimension> |
Definition at line 89 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::OutputVnlVectorType = vnl_vector_fixed<TScalarType, Self::SpaceDimension> |
Definition at line 97 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::Pointer = SmartPointer<Self> |
Definition at line 62 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::Self = AdvancedTranslationTransform |
Standard class typedefs.
Definition at line 60 of file itkAdvancedTranslationTransform.h.
using itk::AdvancedTranslationTransform< TScalarType, NDimensions >::Superclass = AdvancedTransform<TScalarType, NDimensions, NDimensions> |
Definition at line 61 of file itkAdvancedTranslationTransform.h.
|
protected |
|
overrideprotected |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedTransform< double, 3, 3 >.
Reimplemented in itk::GPUAdvancedTranslationTransform< TScalarType, NDimensions, TParentTransform >.
|
inlineoverride |
Get the Fixed Parameters. The AdvancedTranslationTransform does not require Fixed parameters, therefore this method returns an parameters array of size zero.
Definition at line 239 of file itkAdvancedTranslationTransform.h.
|
override |
Compute the Jacobian of the transformation.
|
override |
Compute the Jacobian of the spatial Hessian of the transformation.
|
override |
Compute both the spatial Hessian and the Jacobian of the spatial Hessian of the transformation.
|
override |
Compute the Jacobian of the spatial Jacobian of the transformation.
|
override |
Compute the Jacobian of the spatial Jacobian of the transformation.
|
inlineoverride |
Return the number of parameters that completely define the Transform
Definition at line 201 of file itkAdvancedTranslationTransform.h.
|
inline |
This method returns the value of the offset of the AdvancedTranslationTransform.
Definition at line 115 of file itkAdvancedTranslationTransform.h.
|
override |
Get the Transformation Parameters.
|
override |
Compute the spatial Hessian of the transformation.
|
override |
Compute the spatial Jacobian of the transformation.
|
inlineoverride |
Indicates the category transform. e.g. an affine transform, or a local one, e.g. a deformation field.
Definition at line 221 of file itkAdvancedTranslationTransform.h.
|
inlineoverride |
Indicates that this transform is linear. That is, given two points P and Q, and scalar coefficients a and b, then
T( a*P + b*Q ) = a * T(P) + b * T(Q)
Definition at line 212 of file itkAdvancedTranslationTransform.h.
itk::AdvancedTranslationTransform< TScalarType, NDimensions >::ITK_DISALLOW_COPY_AND_MOVE | ( | AdvancedTranslationTransform< TScalarType, NDimensions > | ) |
itk::AdvancedTranslationTransform< TScalarType, NDimensions >::itkStaticConstMacro | ( | ParametersDimension | , |
unsigned int | , | ||
NDimensions | ) |
itk::AdvancedTranslationTransform< TScalarType, NDimensions >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned int | , | ||
NDimensions | ) |
Dimension of the domain space.
|
static |
New macro for creation of through the object factory.
|
overrideprotected |
Print contents of an AdvancedTranslationTransform.
|
inlineoverride |
Set the fixed parameters and update internal transformation. The Translation Transform does not require fixed parameters, therefore the implementation of this method is a null operation.
Definition at line 231 of file itkAdvancedTranslationTransform.h.
void itk::AdvancedTranslationTransform< TScalarType, NDimensions >::SetIdentity | ( | ) |
Set the parameters to the IdentityTransform
|
inline |
Set offset of an Translation Transform. This method sets the offset of an AdvancedTranslationTransform to a value specified by the user.
Definition at line 133 of file itkAdvancedTranslationTransform.h.
|
override |
This method sets the parameters for the transform value specified by the user.
|
override |
|
override |
Transform by an affine transformation. This method applies the affine transform given by self to a given point or vector, returning the transformed point or vector.
|
override |
|
override |
|
private |
Definition at line 268 of file itkAdvancedTranslationTransform.h.
|
private |
Definition at line 267 of file itkAdvancedTranslationTransform.h.
|
private |
Definition at line 261 of file itkAdvancedTranslationTransform.h.
|
private |
Definition at line 266 of file itkAdvancedTranslationTransform.h.
|
private |
Definition at line 258 of file itkAdvancedTranslationTransform.h.
|
private |
Definition at line 265 of file itkAdvancedTranslationTransform.h.
|
private |
Definition at line 264 of file itkAdvancedTranslationTransform.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |