ITK  5.3.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
itk::CompositeTransform< TParametersValueType, NDimensions > Class Template Reference

#include <itkCompositeTransform.h>

+ Inheritance diagram for itk::CompositeTransform< TParametersValueType, NDimensions >:
+ Collaboration diagram for itk::CompositeTransform< TParametersValueType, NDimensions >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = CompositeTransform
 
using Superclass = MultiTransform< TParametersValueType, NDimensions, NDimensions >
 
using TransformsToOptimizeFlagsType = std::deque< bool >
 
- Public Types inherited from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using ScalarType = ParametersValueType
 
using Self = MultiTransform
 
using SubTransformInverseTransformBasePointer = typename TransformType::InverseTransformBasePointer
 
using Superclass = Transform< TParametersValueType, NDimensions, NSubDimensions >
 
using TransformQueueType = std::deque< TransformTypePointer >
 
using TransformType = Transform< TParametersValueType, NSubDimensions, NSubDimensions >
 
using TransformTypePointer = typename TransformType::Pointer
 
- Public Types inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
using ConstPointer = SmartPointer< const Self >
 
using DerivativeType = Array< ParametersValueType >
 
using DirectionChangeMatrix = Matrix< double, Self::OutputSpaceDimension, Self::InputSpaceDimension >
 
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 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 Pointer = SmartPointer< Self >
 
using ScalarType = ParametersValueType
 
using Self = Transform
 
using Superclass = TransformBaseTemplate< TParametersValueType >
 
- 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
 
using TransformCategoryEnum = TransformBaseTemplateEnums::TransformCategory
 
- 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
 

Public Member Functions

void ClearTransformQueue () override
 
void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &outJacobian) const override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual void FlattenTransformQueue ()
 
const FixedParametersTypeGetFixedParameters () const override
 
bool GetInverse (Self *inverse) const
 
InverseTransformBasePointer GetInverseTransform () const override
 
virtual const char * GetNameOfClass () const
 
virtual bool GetNthTransformToOptimize (SizeValueType i) const
 
NumberOfParametersType GetNumberOfFixedParameters () const override
 
NumberOfParametersType GetNumberOfLocalParameters () const override
 
NumberOfParametersType GetNumberOfParameters () const override
 
const ParametersTypeGetParameters () const override
 
TransformCategoryEnum GetTransformCategory () const override
 
virtual const TransformsToOptimizeFlagsTypeGetTransformsToOptimizeFlags () const
 
virtual void SetAllTransformsToOptimize (bool state)
 
virtual void SetAllTransformsToOptimizeOff ()
 
virtual void SetAllTransformsToOptimizeOn ()
 
void SetFixedParameters (const FixedParametersType &inputParameters) override
 
virtual void SetNthTransformToOptimize (SizeValueType i, bool state)
 
virtual void SetNthTransformToOptimizeOff (SizeValueType i)
 
virtual void SetNthTransformToOptimizeOn (SizeValueType i)
 
virtual void SetOnlyMostRecentTransformToOptimizeOn ()
 
void SetParameters (const ParametersType &inputParameters) override
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const override
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &inputVector, const InputPointType &inputPoint) const override
 
OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &) const override
 
OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &inputVector, const InputPointType &inputPoint) const override
 
OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &inputTensor) const override
 
OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &inputTensor, const InputPointType &inputPoint) const override
 
OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &inputTensor) const override
 
OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &inputTensor, const InputPointType &inputPoint) const override
 
OutputPointType TransformPoint (const InputPointType &inputPoint) const override
 
OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor) const override
 
OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor, const InputPointType &inputPoint) const override
 
OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor) const override
 
OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor, const InputPointType &inputPoint) const override
 
OutputVectorPixelType TransformVector (const InputVectorPixelType &inputVector) const override
 
OutputVectorPixelType TransformVector (const InputVectorPixelType &inputVector, const InputPointType &inputPoint) const override
 
OutputVectorType TransformVector (const InputVectorType &) const override
 
OutputVectorType TransformVector (const InputVectorType &inputVector, const InputPointType &inputPoint) const override
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &inputVector) const override
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &inputVector, const InputPointType &inputPoint) const override
 
void UpdateTransformParameters (const DerivativeType &update, ScalarType factor=1.0) override
 
- Public Member Functions inherited from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >
virtual void AddTransform (TransformType *t)
 
virtual void AppendTransform (TransformType *t)
 
virtual const TransformTypeGetBackTransform () const
 
virtual const TransformTypeGetFrontTransform () const
 
virtual const TransformTypePointer GetNthTransform (SizeValueType n) const
 
virtual const TransformTypeGetNthTransformConstPointer (const SizeValueType n) const
 
virtual TransformTypeGetNthTransformModifiablePointer (const SizeValueType n) const
 
virtual SizeValueType GetNumberOfTransforms () const
 
virtual const TransformQueueTypeGetTransformQueue () const
 
virtual bool IsTransformQueueEmpty () const
 
virtual void PrependTransform (TransformType *t)
 
virtual void RemoveTransform ()
 
bool IsLinear () const override
 
TransformCategoryEnum GetTransformCategory () const override
 
const ParametersTypeGetParameters () const override
 
void SetParameters (const ParametersType &inputParameters) override
 
const FixedParametersTypeGetFixedParameters () const override
 
void SetFixedParameters (const FixedParametersType &inputParameters) override
 
NumberOfParametersType GetNumberOfParameters () const override
 
NumberOfParametersType GetNumberOfLocalParameters () const override
 
NumberOfParametersType GetNumberOfFixedParameters () const override
 
void UpdateTransformParameters (const DerivativeType &update, ScalarType factor=1.0) override
 
bool GetInverse (Self *inverse) const
 
- Public Member Functions inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
void CopyInFixedParameters (const FixedParametersValueType *const begin, const FixedParametersValueType *const end) override
 
void CopyInParameters (const ParametersValueType *const begin, const ParametersValueType *const end) override
 
const FixedParametersTypeGetFixedParameters () const override
 
unsigned int GetInputSpaceDimension () const override
 
bool GetInverse (Self *) const
 
NumberOfParametersType GetNumberOfParameters () const override
 
unsigned int GetOutputSpaceDimension () const override
 
const ParametersTypeGetParameters () const override
 
TransformCategoryEnum GetTransformCategory () const override
 
std::string GetTransformTypeAsString () const override
 
 itkCloneMacro (Self)
 
void SetFixedParameters (const FixedParametersType &) override=0
 
void SetParameters (const ParametersType &) override=0
 
void SetParametersByValue (const ParametersType &p) override
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianPositionType &) const
 
 itkLegacyMacro (virtual void ComputeJacobianWithRespectToPosition(const InputPointType &x, JacobianType &jacobian) const)
 
 itkLegacyMacro (virtual void ComputeInverseJacobianWithRespectToPosition(const InputPointType &x, JacobianType &jacobian) const)
 
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &pnt, InverseJacobianPositionType &jacobian) const
 
std::enable_if_t< TImage::ImageDimension==NInputDimensions &&TImage::ImageDimension==NOutputDimensions, void > ApplyToImageMetadata (TImage *image) const
 
std::enable_if_t< TImage::ImageDimension==NInputDimensions &&TImage::ImageDimension==NOutputDimensions, void > ApplyToImageMetadata (SmartPointer< TImage > image) const
 
- Public Member Functions inherited from itk::TransformBaseTemplate< TParametersValueType >
virtual void SetParametersByValue (const ParametersType &p)=0
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

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 val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int InputDimension = NDimensions
 
static constexpr unsigned int OutputDimension = NDimensions
 
- Static Public Attributes inherited from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >
static constexpr unsigned int InputDimension
 
static constexpr unsigned int OutputDimension
 
static constexpr unsigned int SubInputDimension
 
static constexpr unsigned int SubOutputDimension
 
- Static Public Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
static constexpr unsigned int InputSpaceDimension
 
static constexpr unsigned int OutputSpaceDimension
 
TransformQueueType m_TransformsToOptimizeQueue
 
TransformsToOptimizeFlagsType m_TransformsToOptimizeFlags
 
ModifiedTimeType m_PreviousTransformsToOptimizeUpdateTime
 
void ComputeJacobianWithRespectToParametersCachedTemporaries (const InputPointType &p, JacobianType &outJacobian, JacobianType &cacheJacobian) const override
 
 CompositeTransform ()
 
 ~CompositeTransform () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
LightObject::Pointer InternalClone () const override
 
void PushFrontTransform (TransformTypePointer t) override
 
void PushBackTransform (TransformTypePointer t) override
 
void PopFrontTransform () override
 
void PopBackTransform () override
 
const TransformQueueTypeGetTransformsToOptimizeQueue () const
 

Additional Inherited Members

- Protected Member Functions inherited from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >
 MultiTransform ()
 
 ~MultiTransform () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
- Protected Member Functions inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
LightObject::Pointer InternalClone () const override
 
 Transform ()
 
 Transform (NumberOfParametersType numberOfParameters)
 
 ~Transform () override=default
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType &, const InverseJacobianPositionType &) const
 
- Protected Member Functions inherited from itk::TransformBaseTemplate< TParametersValueType >
 TransformBaseTemplate ()=default
 
 ~TransformBaseTemplate () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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 ()
 
- Protected Attributes inherited from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >
TransformQueueType m_TransformQueue
 
NumberOfParametersType m_NumberOfLocalParameters
 
ModifiedTimeType m_LocalParametersUpdateTime
 
- Protected Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
ParametersType m_Parameters
 
FixedParametersType m_FixedParameters
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
class itk::CompositeTransform< TParametersValueType, NDimensions >

This class contains a list of transforms and concatenates them by composition.

This class concatenates transforms in reverse queue order by means of composition: $ T_0 o T_1 = T_0(T_1(x)) $ Transforms are stored in a container (queue), in the following order: $ T_0, T_1, ... , T_N-1 $ Transforms are added via a single method, AddTransform(). This adds the transforms to the back of the queue. A single method for adding transforms is meant to simplify the interface and prevent errors. One use of the class is to optimize only a subset of included transforms.

The sub transforms are the same dimensionality as this class.

Example: A user wants to optimize two Affine transforms together, then add a Deformation Field (DF) transform, and optimize it separately. He first adds the two Affines, then runs the optimization and both Affines transforms are optimized. Next, he adds the DF transform and calls SetOnlyMostRecentTransformToOptimizeOn, which clears the optimization flags for both of the affine transforms, and leaves the flag set only for the DF transform, since it was the last transform added. Now he runs the optimization and only the DF transform is optimized, but the affines are included in the transformation during the optimization.

Optimization Flags: The m_TransformsToOptimize flags hold one flag for each transform in the queue, designating if each transform is to be used for optimization. Note that all transforms in the queue are applied in TransformPoint, regardless of these flags states'. The methods GetParameters, SetParameters, ComputeJacobianWithRespectToParameters, GetTransformCategory, GetFixedParameters, and SetFixedParameters all query these flags and include only those transforms whose corresponding flag is set. Their input or output is a concatenated array of all transforms set for use in optimization. The goal is to be able to optimize multiple transforms at once, while leaving other transforms fixed. See the above example.

Setting Optimization Flags: A transform's optimization flag is set when it is added to the queue, and remains set as other transforms are added. The methods SetNthTransformToOptimize* and SetAllTransformToOptimize* are used to set and clear flags arbitrarily. SetOnlyMostRecentTransformToOptimizeOn is a convenience method for setting only the most recently added transform for optimization, with the idea that this will be a common practice.

Indexing: The index values used in GetNthTransform and SetNthTransformToOptimize* and SetAllTransformToOptimize* follow the order in which transforms were added. Thus, the first transform added is at index 0, the next at index 1, etc.

Inverse: The inverse transform is created by retrieving the inverse from each sub transform and adding them to a composite transform in reverse order. The m_TransformsToOptimizeFlags is copied in reverse for the inverse.

Examples
Examples/IO/TransformReadWrite.cxx, Examples/RegistrationITKv4/DeformableRegistration15.cxx, Examples/RegistrationITKv4/ImageRegistration1.cxx, Examples/RegistrationITKv4/MultiStageImageRegistration1.cxx, Examples/RegistrationITKv4/MultiStageImageRegistration2.cxx, SphinxExamples/src/Core/Transform/CopyACompositeTransform/Code.cxx, SphinxExamples/src/Registration/Common/Perform2DTranslationRegistrationWithMeanSquares/Code.cxx, and SphinxExamples/src/Registration/Metricsv4/PerformRegistrationOnVectorImages/Code.cxx.

Definition at line 87 of file itkCompositeTransform.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
using itk::CompositeTransform< TParametersValueType, NDimensions >::ConstPointer = SmartPointer<const Self>

Definition at line 96 of file itkCompositeTransform.h.

◆ Pointer

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
using itk::CompositeTransform< TParametersValueType, NDimensions >::Pointer = SmartPointer<Self>

Definition at line 95 of file itkCompositeTransform.h.

◆ Self

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
using itk::CompositeTransform< TParametersValueType, NDimensions >::Self = CompositeTransform

Standard class type aliases.

Definition at line 93 of file itkCompositeTransform.h.

◆ Superclass

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
using itk::CompositeTransform< TParametersValueType, NDimensions >::Superclass = MultiTransform<TParametersValueType, NDimensions, NDimensions>

Definition at line 94 of file itkCompositeTransform.h.

◆ TransformsToOptimizeFlagsType

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
using itk::CompositeTransform< TParametersValueType, NDimensions >::TransformsToOptimizeFlagsType = std::deque<bool>

Optimization flags queue type

Definition at line 166 of file itkCompositeTransform.h.

Constructor & Destructor Documentation

◆ CompositeTransform()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
itk::CompositeTransform< TParametersValueType, NDimensions >::CompositeTransform ( )
protected

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

◆ ~CompositeTransform()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
itk::CompositeTransform< TParametersValueType, NDimensions >::~CompositeTransform ( )
overrideprotecteddefault

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Member Function Documentation

◆ ClearTransformQueue()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::ClearTransformQueue ( )
inlineoverridevirtual

Clear the transform queue.

Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.

Definition at line 240 of file itkCompositeTransform.h.

◆ ComputeJacobianWithRespectToParameters()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToParameters ( const InputPointType p,
JacobianType outJacobian 
) const
overridevirtual

Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. See comments in the implementation.

Implements itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ ComputeJacobianWithRespectToParametersCachedTemporaries()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToParametersCachedTemporaries ( const InputPointType p,
JacobianType outJacobian,
JacobianType cacheJacobian 
) const
overridevirtual

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ CreateAnother()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual::itk::LightObject::Pointer itk::CompositeTransform< TParametersValueType, NDimensions >::CreateAnother ( ) const
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.

◆ FlattenTransformQueue()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::CompositeTransform< TParametersValueType, NDimensions >::FlattenTransformQueue ( )
virtual

Flatten the transform queue such that there are no nested composite transforms.

◆ GetFixedParameters()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
const FixedParametersType& itk::CompositeTransform< TParametersValueType, NDimensions >::GetFixedParameters ( ) const
overridevirtual

Get the fixed parameters.

Implements itk::TransformBaseTemplate< TParametersValueType >.

◆ GetInverse()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
bool itk::CompositeTransform< TParametersValueType, NDimensions >::GetInverse ( Self inverse) const

Returns a boolean indicating whether it is possible or not to compute the inverse of this current Transform. If it is possible, then the inverse of the transform is returned in the inverseTransform variable passed by the user. The inverse consists of the inverse of each sub-transform, in the reverse order of the forward transforms.

◆ GetInverseTransform()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
InverseTransformBasePointer itk::CompositeTransform< TParametersValueType, NDimensions >::GetInverseTransform ( ) const
overridevirtual

Return an inverse of this transform. If the inverse has not been implemented, return nullptr. The type of the inverse transform does not necessarily need to match the type of the forward transform. This allows one to return a numeric inverse transform instead.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ GetNameOfClass()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual const char* itk::CompositeTransform< TParametersValueType, NDimensions >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.

◆ GetNthTransformToOptimize()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual bool itk::CompositeTransform< TParametersValueType, NDimensions >::GetNthTransformToOptimize ( SizeValueType  i) const
inlinevirtual

Definition at line 227 of file itkCompositeTransform.h.

◆ GetNumberOfFixedParameters()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
NumberOfParametersType itk::CompositeTransform< TParametersValueType, NDimensions >::GetNumberOfFixedParameters ( ) const
overridevirtual

Return the number of parameters that define the constant elements of a Transfom

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ GetNumberOfLocalParameters()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
NumberOfParametersType itk::CompositeTransform< TParametersValueType, NDimensions >::GetNumberOfLocalParameters ( ) const
overridevirtual

Return the number of local parameters that completely defines the Transform at an individual voxel. For transforms with local support, this will enable downstream computation of the jacobian wrt only the local support region. For instance, in the case of a deformation field, this will be equal to the number of image dimensions. If it is an affine transform, this will be the same as the GetNumberOfParameters().

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ GetNumberOfParameters()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
NumberOfParametersType itk::CompositeTransform< TParametersValueType, NDimensions >::GetNumberOfParameters ( ) const
overridevirtual

Return the number of parameters that completely define the Transfom

Implements itk::TransformBaseTemplate< TParametersValueType >.

◆ GetParameters()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
const ParametersType& itk::CompositeTransform< TParametersValueType, NDimensions >::GetParameters ( ) const
overridevirtual

Get/Set Parameter functions work on the current list of transforms that are set to be optimized (active) using the 'Set[Nth|All]TransformToOptimze' routines. The parameter data from each active transform is concatenated into a single ParametersType object.

Note
The sub-transforms are read in reverse queue order, so the returned array is ordered in the same way. That is, the last sub-transform to be added is returned first in the parameter array. This is the opposite of what's done in the parent MultiTransform class.

Implements itk::TransformBaseTemplate< TParametersValueType >.

◆ GetTransformCategory()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
TransformCategoryEnum itk::CompositeTransform< TParametersValueType, NDimensions >::GetTransformCategory ( ) const
overridevirtual

Special handling for composite transform. If all transforms are linear, then return category Linear. Otherwise if all transforms set to optimize are DisplacementFields, then return DisplacementField category.

Implements itk::TransformBaseTemplate< TParametersValueType >.

◆ GetTransformsToOptimizeFlags()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual const TransformsToOptimizeFlagsType& itk::CompositeTransform< TParametersValueType, NDimensions >::GetTransformsToOptimizeFlags ( ) const
inlinevirtual

Access optimize flags

Definition at line 234 of file itkCompositeTransform.h.

◆ GetTransformsToOptimizeQueue()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
const TransformQueueType& itk::CompositeTransform< TParametersValueType, NDimensions >::GetTransformsToOptimizeQueue ( ) const
protected

Get a list of transforms to optimize. Helper function.

◆ InternalClone()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
LightObject::Pointer itk::CompositeTransform< TParametersValueType, NDimensions >::InternalClone ( ) const
overrideprotectedvirtual

Clone the current transform

Reimplemented from itk::LightObject.

◆ New()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
static Pointer itk::CompositeTransform< TParametersValueType, NDimensions >::New ( )
static

New macro for creation of through a Smart Pointer

◆ PopBackTransform()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::PopBackTransform ( )
inlineoverrideprotectedvirtual

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.

Definition at line 457 of file itkCompositeTransform.h.

◆ PopFrontTransform()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::PopFrontTransform ( )
inlineoverrideprotectedvirtual

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.

Definition at line 450 of file itkCompositeTransform.h.

◆ PrintSelf()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Reimplemented from itk::Object.

◆ PushBackTransform()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::PushBackTransform ( TransformTypePointer  t)
inlineoverrideprotectedvirtual

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.

Definition at line 442 of file itkCompositeTransform.h.

◆ PushFrontTransform()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::PushFrontTransform ( TransformTypePointer  t)
inlineoverrideprotectedvirtual

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.

Definition at line 434 of file itkCompositeTransform.h.

◆ SetAllTransformsToOptimize()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::CompositeTransform< TParametersValueType, NDimensions >::SetAllTransformsToOptimize ( bool  state)
inlinevirtual

Definition at line 194 of file itkCompositeTransform.h.

◆ SetAllTransformsToOptimizeOff()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::CompositeTransform< TParametersValueType, NDimensions >::SetAllTransformsToOptimizeOff ( )
inlinevirtual

Definition at line 207 of file itkCompositeTransform.h.

◆ SetAllTransformsToOptimizeOn()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::CompositeTransform< TParametersValueType, NDimensions >::SetAllTransformsToOptimizeOn ( )
inlinevirtual

Definition at line 201 of file itkCompositeTransform.h.

◆ SetFixedParameters()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::SetFixedParameters ( const FixedParametersType )
overridevirtual

Set the fixed parameters.

Implements itk::TransformBaseTemplate< TParametersValueType >.

◆ SetNthTransformToOptimize()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::CompositeTransform< TParametersValueType, NDimensions >::SetNthTransformToOptimize ( SizeValueType  i,
bool  state 
)
inlinevirtual

Active Transform state manipulation

Definition at line 175 of file itkCompositeTransform.h.

◆ SetNthTransformToOptimizeOff()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::CompositeTransform< TParametersValueType, NDimensions >::SetNthTransformToOptimizeOff ( SizeValueType  i)
inlinevirtual

Definition at line 188 of file itkCompositeTransform.h.

◆ SetNthTransformToOptimizeOn()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::CompositeTransform< TParametersValueType, NDimensions >::SetNthTransformToOptimizeOn ( SizeValueType  i)
inlinevirtual

Definition at line 182 of file itkCompositeTransform.h.

◆ SetOnlyMostRecentTransformToOptimizeOn()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::CompositeTransform< TParametersValueType, NDimensions >::SetOnlyMostRecentTransformToOptimizeOn ( )
inlinevirtual

Definition at line 216 of file itkCompositeTransform.h.

◆ SetParameters()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::SetParameters ( const ParametersType )
overridevirtual

Set the transformation parameters and update internal transformation.

Implements itk::TransformBaseTemplate< TParametersValueType >.

◆ TransformCovariantVector() [1/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputCovariantVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformCovariantVector ( const InputCovariantVectorType ) const
overridevirtual

◆ TransformCovariantVector() [2/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputCovariantVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformCovariantVector ( const InputCovariantVectorType vector,
const InputPointType point 
) const
overridevirtual

Method to transform a CovariantVector, using a point. Global transforms can ignore the point parameter. Local transforms (e.g. deformation field transform) must override and provide required behavior. By default, point is ignored and TransformCovariantVector(vector) is called

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformCovariantVector() [3/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformCovariantVector ( const InputVectorPixelType ) const
overridevirtual

◆ TransformCovariantVector() [4/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformCovariantVector ( const InputVectorPixelType vector,
const InputPointType point 
) const
overridevirtual

Method to transform a CovariantVector, using a point. Global transforms can ignore the point parameter. Local transforms (e.g. deformation field transform) must override and provide required behavior. By default, point is ignored and TransformCovariantVector(vector) is called

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformDiffusionTensor3D() [1/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputDiffusionTensor3DType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformDiffusionTensor3D ( const InputDiffusionTensor3DType ) const
overridevirtual

Method to transform a diffusion tensor

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformDiffusionTensor3D() [2/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputDiffusionTensor3DType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformDiffusionTensor3D ( const InputDiffusionTensor3DType inputTensor,
const InputPointType point 
) const
overridevirtual

Method to transform a diffusion tensor at a point. Global transforms can ignore the point parameter. Local transforms (e.g. deformation field transform) must override and provide required behavior. By default, point is ignored and TransformDiffusionTensor(tensor) is called

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformDiffusionTensor3D() [3/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformDiffusionTensor3D ( const InputVectorPixelType ) const
overridevirtual

Method to transform a diffusion tensor stored in a VectorImage

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformDiffusionTensor3D() [4/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformDiffusionTensor3D ( const InputVectorPixelType inputTensor,
const InputPointType inputPoint 
) const
overridevirtual

◆ TransformPoint()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputPointType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformPoint ( const InputPointType inputPoint) const
overridevirtual

Compute the position of point in the new space.

Transforms are applied starting from the back of the queue. That is, in reverse order of which they were added, in order to work properly with ResampleFilter.

Imagine a user wants to apply an Affine transform followed by a Deformation Field (DF) transform. He adds the Affine, then the DF. Because the user typically conceptualizes a transformation as being applied from the Moving image to the Fixed image, this makes intuitive sense. But since the ResampleFilter expects to transform from the Fixed image to the Moving image, the transforms are applied in reverse order of addition, i.e. from the back of the queue, and thus, DF then Affine.

Implements itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformSymmetricSecondRankTensor() [1/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputSymmetricSecondRankTensorType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformSymmetricSecondRankTensor ( const InputSymmetricSecondRankTensorType ) const
overridevirtual

Method to transform a ssr tensor stored in a VectorImage

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformSymmetricSecondRankTensor() [2/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputSymmetricSecondRankTensorType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformSymmetricSecondRankTensor ( const InputSymmetricSecondRankTensorType inputTensor,
const InputPointType point 
) const
overridevirtual

Method to transform a diffusion tensor at a point. Global transforms can ignore the point parameter. Local transforms (e.g. deformation field transform) must override and provide required behavior. By default, point is ignored and TransformSymmetricSecondRankTensor(tensor) is called

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformSymmetricSecondRankTensor() [3/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformSymmetricSecondRankTensor ( const InputVectorPixelType ) const
overridevirtual

Method to transform a ssr tensor stored in a VectorImage

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformSymmetricSecondRankTensor() [4/4]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformSymmetricSecondRankTensor ( const InputVectorPixelType inputTensor,
const InputPointType point 
) const
overridevirtual

Method to transform a diffusion tensor stored in a VectorImage, at a point. Global transforms can ignore the point parameter. Local transforms (e.g. deformation field transform) must override and provide required behavior. By default, point is ignored and TransformDiffusionTensor(tensor) is called

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformVector() [1/6]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVectorPixelType ) const
overridevirtual

Method to transform a vector stored in a VectorImage.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformVector() [2/6]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVectorPixelType vector,
const InputPointType point 
) const
overridevirtual

Method to transform a vector stored in a VectorImage, at a point. For global transforms, point is ignored and TransformVector( vector ) is called. Local transforms (e.g. deformation field transform) must override and provide required behavior.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformVector() [3/6]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVectorType ) const
overridevirtual

Method to transform a vector.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformVector() [4/6]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVectorType vector,
const InputPointType point 
) const
overridevirtual

Method to transform a vector at a given location. For global transforms, point is ignored and TransformVector( vector ) is called. Local transforms (e.g. deformation field transform) must override and provide required behavior.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformVector() [5/6]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVnlVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVnlVectorType ) const
overridevirtual

Method to transform a vnl_vector.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ TransformVector() [6/6]

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVnlVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVnlVectorType vector,
const InputPointType point 
) const
overridevirtual

Method to transform a vnl_vector, at a point. For global transforms, point is ignored and TransformVector( vector ) is called. Local transforms (e.g. deformation field transform) must override and provide required behavior.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

◆ UpdateTransformParameters()

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::CompositeTransform< TParametersValueType, NDimensions >::UpdateTransformParameters ( const DerivativeType update,
ScalarType  factor = 1.0 
)
overridevirtual

Update the transform's parameters by the values in update. See GetParameters() for parameter ordering.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

Member Data Documentation

◆ InputDimension

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
constexpr unsigned int itk::CompositeTransform< TParametersValueType, NDimensions >::InputDimension = NDimensions
staticconstexpr

Dimension of the domain spaces.

Definition at line 169 of file itkCompositeTransform.h.

◆ m_PreviousTransformsToOptimizeUpdateTime

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
ModifiedTimeType itk::CompositeTransform< TParametersValueType, NDimensions >::m_PreviousTransformsToOptimizeUpdateTime
mutableprivate

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Definition at line 471 of file itkCompositeTransform.h.

◆ m_TransformsToOptimizeFlags

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
TransformsToOptimizeFlagsType itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags
protected

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Definition at line 468 of file itkCompositeTransform.h.

◆ m_TransformsToOptimizeQueue

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
TransformQueueType itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeQueue
mutableprotected

Expanded interface to Compute the Jacobian with respect to the parameters for the composite transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions and memory allocations. NOTE: outJacobian MUST be sized correctly prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianCache may be resized internally and will be reused between calls

Definition at line 467 of file itkCompositeTransform.h.

◆ OutputDimension

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
constexpr unsigned int itk::CompositeTransform< TParametersValueType, NDimensions >::OutputDimension = NDimensions
staticconstexpr

Definition at line 170 of file itkCompositeTransform.h.


The documentation for this class was generated from the following file: