ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkCompositeTransform.h>
This class contains a list of transforms and concatenates them by composition.
This class concatenates transforms in reverse queue order by means of composition: Transforms are stored in a container (queue), in the following order: 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.
Definition at line 87 of file itkCompositeTransform.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::FixedParametersType | FixedParametersType |
typedef Superclass::FixedParametersValueType | FixedParametersValueType |
typedef Superclass::InputCovariantVectorType | InputCovariantVectorType |
typedef Superclass::InputDiffusionTensor3DType | InputDiffusionTensor3DType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InputSymmetricSecondRankTensorType | InputSymmetricSecondRankTensorType |
typedef Superclass::InputVectorPixelType | InputVectorPixelType |
typedef Superclass::InputVectorType | InputVectorType |
typedef Superclass::InputVnlVectorType | InputVnlVectorType |
typedef Superclass::InverseTransformBasePointer | InverseTransformBasePointer |
typedef Superclass::JacobianType | JacobianType |
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
typedef Superclass::OutputCovariantVectorType | OutputCovariantVectorType |
typedef Superclass::OutputDiffusionTensor3DType | OutputDiffusionTensor3DType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::OutputSymmetricSecondRankTensorType | OutputSymmetricSecondRankTensorType |
typedef Superclass::OutputVectorPixelType | OutputVectorPixelType |
typedef Superclass::OutputVectorType | OutputVectorType |
typedef Superclass::OutputVnlVectorType | OutputVnlVectorType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::ParametersValueType | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::ScalarType | ScalarType |
typedef CompositeTransform | Self |
typedef MultiTransform < TParametersValueType, NDimensions, NDimensions > | Superclass |
typedef Superclass::TransformCategoryType | TransformCategoryType |
typedef Superclass::TransformQueueType | TransformQueueType |
typedef std::deque< bool > | TransformsToOptimizeFlagsType |
typedef Superclass::TransformType | TransformType |
typedef Superclass::TransformTypePointer | TransformTypePointer |
Public Types inherited from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::FixedParametersType | FixedParametersType |
typedef Superclass::FixedParametersValueType | FixedParametersValueType |
typedef Superclass::InputCovariantVectorType | InputCovariantVectorType |
typedef Superclass::InputDiffusionTensor3DType | InputDiffusionTensor3DType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InputSymmetricSecondRankTensorType | InputSymmetricSecondRankTensorType |
typedef Superclass::InputVectorPixelType | InputVectorPixelType |
typedef Superclass::InputVectorType | InputVectorType |
typedef Superclass::InputVnlVectorType | InputVnlVectorType |
typedef Superclass::InverseTransformBasePointer | InverseTransformBasePointer |
typedef Superclass::JacobianType | JacobianType |
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
typedef Superclass::OutputCovariantVectorType | OutputCovariantVectorType |
typedef Superclass::OutputDiffusionTensor3DType | OutputDiffusionTensor3DType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::OutputSymmetricSecondRankTensorType | OutputSymmetricSecondRankTensorType |
typedef Superclass::OutputVectorPixelType | OutputVectorPixelType |
typedef Superclass::OutputVectorType | OutputVectorType |
typedef Superclass::OutputVnlVectorType | OutputVnlVectorType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::ParametersValueType | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef ParametersValueType | ScalarType |
typedef MultiTransform | Self |
typedef TransformType::InverseTransformBasePointer | SubTransformInverseTransformBasePointer |
typedef Transform < TParametersValueType, NDimensions, NSubDimensions > | Superclass |
typedef Superclass::TransformCategoryType | TransformCategoryType |
typedef std::deque < TransformTypePointer > | TransformQueueType |
typedef Transform < TParametersValueType, NSubDimensions, NSubDimensions > | TransformType |
typedef TransformType::Pointer | TransformTypePointer |
Public Types inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Array < ParametersValueType > | DerivativeType |
typedef Matrix< double, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | DirectionChangeMatrix |
typedef Superclass::FixedParametersType | FixedParametersType |
typedef Superclass::FixedParametersValueType | FixedParametersValueType |
typedef CovariantVector < TParametersValueType, NInputDimensions > | InputCovariantVectorType |
typedef DiffusionTensor3D < TParametersValueType > | InputDiffusionTensor3DType |
typedef Matrix< double, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | InputDirectionMatrix |
typedef Point < TParametersValueType, NInputDimensions > | InputPointType |
typedef SymmetricSecondRankTensor < TParametersValueType, NInputDimensions > | InputSymmetricSecondRankTensorType |
typedef VariableLengthVector < TParametersValueType > | InputVectorPixelType |
typedef Vector < TParametersValueType, NInputDimensions > | InputVectorType |
typedef vnl_vector_fixed < TParametersValueType, NInputDimensions > | InputVnlVectorType |
typedef InverseTransformBaseType::Pointer | InverseTransformBasePointer |
typedef Transform < TParametersValueType, NOutputDimensions, NInputDimensions > | InverseTransformBaseType |
typedef Array2D < ParametersValueType > | JacobianType |
typedef Matrix < TParametersValueType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | MatrixType |
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
typedef CovariantVector < TParametersValueType, NOutputDimensions > | OutputCovariantVectorType |
typedef DiffusionTensor3D < TParametersValueType > | OutputDiffusionTensor3DType |
typedef Matrix< double, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension)> | OutputDirectionMatrix |
typedef Point < TParametersValueType, NOutputDimensions > | OutputPointType |
typedef SymmetricSecondRankTensor < TParametersValueType, NOutputDimensions > | OutputSymmetricSecondRankTensorType |
typedef VariableLengthVector < TParametersValueType > | OutputVectorPixelType |
typedef Vector < TParametersValueType, NOutputDimensions > | OutputVectorType |
typedef vnl_vector_fixed < TParametersValueType, NOutputDimensions > | OutputVnlVectorType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::ParametersValueType | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef ParametersValueType | ScalarType |
typedef Transform | Self |
typedef TransformBaseTemplate < TParametersValueType > | Superclass |
typedef Superclass::TransformCategoryType | TransformCategoryType |
Public Types inherited from itk::TransformBaseTemplate< TParametersValueType > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef OptimizerParameters < FixedParametersValueType > | FixedParametersType |
typedef ParametersValueType | FixedParametersValueType |
typedef IdentifierType | NumberOfParametersType |
typedef OptimizerParameters < ParametersValueType > | ParametersType |
typedef TParametersValueType | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef TransformBaseTemplate | Self |
typedef Object | Superclass |
enum | TransformCategoryType { UnknownTransformCategory =0, Linear =1, BSpline =2, Spline =3, DisplacementField =4, VelocityField =5 } |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
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 flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputDimension = NDimensions |
static const unsigned int | OutputDimension = NDimensions |
Static Public Attributes inherited from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions > | |
static const unsigned int | SubInputDimension |
static const unsigned int | SubOutputDimension |
static const unsigned int | InputDimension |
static const unsigned int | OutputDimension |
Static Public Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions > | |
static const unsigned int | InputSpaceDimension |
static const unsigned int | OutputSpaceDimension |
Protected Attributes | |
TransformsToOptimizeFlagsType | m_TransformsToOptimizeFlags |
TransformQueueType | m_TransformsToOptimizeQueue |
Protected Attributes inherited from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions > | |
ModifiedTimeType | m_LocalParametersUpdateTime |
NumberOfParametersType | m_NumberOfLocalParameters |
TransformQueueType | m_TransformQueue |
Protected Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions > | |
DirectionChangeMatrix | m_DirectionChange |
FixedParametersType | m_FixedParameters |
ParametersType | m_Parameters |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
Private Member Functions | |
CompositeTransform (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
ModifiedTimeType | m_PreviousTransformsToOptimizeUpdateTime |
typedef SmartPointer<const Self> itk::CompositeTransform< TParametersValueType, NDimensions >::ConstPointer |
Definition at line 95 of file itkCompositeTransform.h.
typedef Superclass::DerivativeType itk::CompositeTransform< TParametersValueType, NDimensions >::DerivativeType |
Derivative type
Definition at line 120 of file itkCompositeTransform.h.
typedef Superclass::FixedParametersType itk::CompositeTransform< TParametersValueType, NDimensions >::FixedParametersType |
Parameters type.
Definition at line 114 of file itkCompositeTransform.h.
typedef Superclass::FixedParametersValueType itk::CompositeTransform< TParametersValueType, NDimensions >::FixedParametersValueType |
Definition at line 115 of file itkCompositeTransform.h.
typedef Superclass::InputCovariantVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::InputCovariantVectorType |
Standard covariant vector type for this class
Definition at line 137 of file itkCompositeTransform.h.
typedef Superclass::InputDiffusionTensor3DType itk::CompositeTransform< TParametersValueType, NDimensions >::InputDiffusionTensor3DType |
Standard DiffusionTensor3D typedef for this class
Definition at line 149 of file itkCompositeTransform.h.
typedef Superclass::InputPointType itk::CompositeTransform< TParametersValueType, NDimensions >::InputPointType |
Standard coordinate point type for this class.
Definition at line 129 of file itkCompositeTransform.h.
typedef Superclass::InputSymmetricSecondRankTensorType itk::CompositeTransform< TParametersValueType, NDimensions >::InputSymmetricSecondRankTensorType |
Standard SymmetricSecondRankTensor typedef for this class
Definition at line 153 of file itkCompositeTransform.h.
typedef Superclass::InputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::InputVectorPixelType |
Standard Vectorpixel type for this class
Definition at line 145 of file itkCompositeTransform.h.
typedef Superclass::InputVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::InputVectorType |
Standard vector type for this class.
Definition at line 133 of file itkCompositeTransform.h.
typedef Superclass::InputVnlVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::InputVnlVectorType |
Standard vnl_vector type for this class.
Definition at line 141 of file itkCompositeTransform.h.
typedef Superclass::InverseTransformBasePointer itk::CompositeTransform< TParametersValueType, NDimensions >::InverseTransformBasePointer |
InverseTransform type.
Definition at line 108 of file itkCompositeTransform.h.
typedef Superclass::JacobianType itk::CompositeTransform< TParametersValueType, NDimensions >::JacobianType |
Jacobian type.
Definition at line 123 of file itkCompositeTransform.h.
typedef Superclass::NumberOfParametersType itk::CompositeTransform< TParametersValueType, NDimensions >::NumberOfParametersType |
The number of parameters defininig this transform.
Definition at line 160 of file itkCompositeTransform.h.
typedef Superclass::OutputCovariantVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::OutputCovariantVectorType |
Definition at line 138 of file itkCompositeTransform.h.
typedef Superclass::OutputDiffusionTensor3DType itk::CompositeTransform< TParametersValueType, NDimensions >::OutputDiffusionTensor3DType |
Definition at line 150 of file itkCompositeTransform.h.
typedef Superclass::OutputPointType itk::CompositeTransform< TParametersValueType, NDimensions >::OutputPointType |
Definition at line 130 of file itkCompositeTransform.h.
typedef Superclass::OutputSymmetricSecondRankTensorType itk::CompositeTransform< TParametersValueType, NDimensions >::OutputSymmetricSecondRankTensorType |
Definition at line 154 of file itkCompositeTransform.h.
typedef Superclass::OutputVectorPixelType itk::CompositeTransform< TParametersValueType, NDimensions >::OutputVectorPixelType |
Definition at line 146 of file itkCompositeTransform.h.
typedef Superclass::OutputVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::OutputVectorType |
Definition at line 134 of file itkCompositeTransform.h.
typedef Superclass::OutputVnlVectorType itk::CompositeTransform< TParametersValueType, NDimensions >::OutputVnlVectorType |
Definition at line 142 of file itkCompositeTransform.h.
typedef Superclass::ParametersType itk::CompositeTransform< TParametersValueType, NDimensions >::ParametersType |
Definition at line 116 of file itkCompositeTransform.h.
typedef Superclass::ParametersValueType itk::CompositeTransform< TParametersValueType, NDimensions >::ParametersValueType |
Definition at line 117 of file itkCompositeTransform.h.
typedef SmartPointer<Self> itk::CompositeTransform< TParametersValueType, NDimensions >::Pointer |
Definition at line 94 of file itkCompositeTransform.h.
typedef Superclass::ScalarType itk::CompositeTransform< TParametersValueType, NDimensions >::ScalarType |
Scalar type.
Definition at line 111 of file itkCompositeTransform.h.
typedef CompositeTransform itk::CompositeTransform< TParametersValueType, NDimensions >::Self |
Standard class typedefs.
Definition at line 92 of file itkCompositeTransform.h.
typedef MultiTransform<TParametersValueType, NDimensions, NDimensions> itk::CompositeTransform< TParametersValueType, NDimensions >::Superclass |
Definition at line 93 of file itkCompositeTransform.h.
typedef Superclass::TransformCategoryType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformCategoryType |
Transform category type.
Definition at line 126 of file itkCompositeTransform.h.
typedef Superclass::TransformQueueType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformQueueType |
Transform queue type
Definition at line 157 of file itkCompositeTransform.h.
typedef std::deque<bool> itk::CompositeTransform< TParametersValueType, NDimensions >::TransformsToOptimizeFlagsType |
Optimization flags queue type
Definition at line 163 of file itkCompositeTransform.h.
typedef Superclass::TransformType itk::CompositeTransform< TParametersValueType, NDimensions >::TransformType |
Sub transform type
Definition at line 101 of file itkCompositeTransform.h.
typedef Superclass::TransformTypePointer itk::CompositeTransform< TParametersValueType, NDimensions >::TransformTypePointer |
Definition at line 105 of file itkCompositeTransform.h.
|
protected |
|
protectedvirtual |
|
private |
|
inlineoverridevirtual |
Clear the transform queue.
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
Definition at line 229 of file itkCompositeTransform.h.
References itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >::ClearTransformQueue(), and itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags.
|
overridevirtual |
Compute the Jacobian with respect to the parameters for the compositie transform using Jacobian rule. See comments in the implementation.
|
overridevirtual |
Expanded interface to Compute the Jacobian with respect to the parameters for the compositie transform using Jacobian rule. This version takes in temporary variables to avoid excessive constructions. NOTE: outJacobian and jacobianWithRespectToPosition MUST be sized prior to the call; outJacobian's size should be [NDimensions, this->GetNumberOfLocalParameters() ] jacobianWithRespectToPosition size == [ NDimensions, NDimensions ]
|
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.
|
virtual |
Flatten the transform queue such that there are no nested composite transforms.
|
overridevirtual |
Get the Fixed Parameters.
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
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.
|
overridevirtual |
Return an inverse of this transform. If the inverse has not been implemented, return ITK_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 >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
|
inlinevirtual |
Definition at line 218 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags.
|
overridevirtual |
Return the number of parameters that define the constant elements of a Transfom
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
|
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::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
|
overridevirtual |
Return the number of parameters that completely define the Transfom
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
|
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.
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
|
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.
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
|
inlinevirtual |
Access optimize flags
Definition at line 224 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags.
|
protected |
Get a list of transforms to optimize. Helper function.
|
overrideprotectedvirtual |
Clone the current transform
Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.
|
static |
New macro for creation of through a Smart Pointer
|
private |
|
inlineoverrideprotectedvirtual |
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
Definition at line 418 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags, and itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >::PopBackTransform().
|
inlineoverrideprotectedvirtual |
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
Definition at line 412 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags, and itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >::PopFrontTransform().
|
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::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
|
inlineoverrideprotectedvirtual |
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
Definition at line 405 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags, and itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >::PushBackTransform().
|
inlineoverrideprotectedvirtual |
Reimplemented from itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >.
Definition at line 398 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags, and itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >::PushFrontTransform().
|
inlinevirtual |
Definition at line 188 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags, and itk::Object::Modified().
Referenced by itk::CompositeTransform< TParametersValueType, NDimensions >::SetAllTransformsToOptimizeOff(), itk::CompositeTransform< TParametersValueType, NDimensions >::SetAllTransformsToOptimizeOn(), and itk::CompositeTransform< TParametersValueType, NDimensions >::SetOnlyMostRecentTransformToOptimizeOn().
|
inlinevirtual |
Definition at line 200 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::SetAllTransformsToOptimize().
|
inlinevirtual |
Definition at line 195 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::SetAllTransformsToOptimize().
|
overridevirtual |
|
inlinevirtual |
Active Transform state manipulation
Definition at line 172 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::m_TransformsToOptimizeFlags, and itk::Object::Modified().
Referenced by itk::CompositeTransform< TParametersValueType, NDimensions >::SetNthTransformToOptimizeOff(), and itk::CompositeTransform< TParametersValueType, NDimensions >::SetNthTransformToOptimizeOn().
|
inlinevirtual |
Definition at line 183 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::SetNthTransformToOptimize().
|
inlinevirtual |
Definition at line 178 of file itkCompositeTransform.h.
References itk::CompositeTransform< TParametersValueType, NDimensions >::SetNthTransformToOptimize().
Referenced by itk::CompositeTransform< TParametersValueType, NDimensions >::SetOnlyMostRecentTransformToOptimizeOn().
|
inlinevirtual |
Definition at line 208 of file itkCompositeTransform.h.
References itk::MultiTransform< TParametersValueType, NDimensions, NDimensions >::GetNumberOfTransforms(), itk::CompositeTransform< TParametersValueType, NDimensions >::SetAllTransformsToOptimize(), and itk::CompositeTransform< TParametersValueType, NDimensions >::SetNthTransformToOptimizeOn().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
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.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Update the transform's parameters by the values in update
. See GetParameters() for parameter ordering.
|
static |
Dimension of the domain spaces.
Definition at line 166 of file itkCompositeTransform.h.
|
mutableprivate |
Definition at line 434 of file itkCompositeTransform.h.
|
mutableprotected |
Definition at line 428 of file itkCompositeTransform.h.
Referenced by itk::CompositeTransform< TParametersValueType, NDimensions >::ClearTransformQueue(), itk::CompositeTransform< TParametersValueType, NDimensions >::GetNthTransformToOptimize(), itk::CompositeTransform< TParametersValueType, NDimensions >::GetTransformsToOptimizeFlags(), itk::CompositeTransform< TParametersValueType, NDimensions >::PopBackTransform(), itk::CompositeTransform< TParametersValueType, NDimensions >::PopFrontTransform(), itk::CompositeTransform< TParametersValueType, NDimensions >::PushBackTransform(), itk::CompositeTransform< TParametersValueType, NDimensions >::PushFrontTransform(), itk::CompositeTransform< TParametersValueType, NDimensions >::SetAllTransformsToOptimize(), and itk::CompositeTransform< TParametersValueType, NDimensions >::SetNthTransformToOptimize().
|
mutableprotected |
Definition at line 427 of file itkCompositeTransform.h.
|
static |
Dimension of the domain spaces.
Definition at line 167 of file itkCompositeTransform.h.