![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkWeightedCombinationTransform.h>
Implements a weighted linear combination of multiple transforms.
This transform implements:
where are the weights, which are the transform's parameters, and can be set/get by Set/GetParameters().
Alternatively, if the NormalizeWeights parameter is set to true, the transformation is as follows:
Definition at line 44 of file itkWeightedCombinationTransform.h.
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
WeightedCombinationTransform () | |
~WeightedCombinationTransform () override | |
![]() | |
AdvancedTransform () | |
AdvancedTransform (NumberOfParametersType numberOfParameters) | |
~AdvancedTransform () override | |
Protected Attributes | |
NonZeroJacobianIndicesType | m_NonZeroJacobianIndices |
double | m_SumOfWeights |
TransformContainerType | m_TransformContainer |
![]() | |
bool | m_HasNonZeroJacobianOfSpatialHessian |
bool | m_HasNonZeroSpatialHessian |
Private Member Functions | |
void | operator= (const Self &) |
WeightedCombinationTransform (const Self &) | |
Private Attributes | |
bool | m_NormalizeWeights |
typedef SmartPointer< const Self > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::ConstPointer |
Definition at line 55 of file itkWeightedCombinationTransform.h.
typedef Superclass::InputCovariantVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputCovariantVectorType |
Definition at line 75 of file itkWeightedCombinationTransform.h.
typedef Superclass::InputPointType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputPointType |
Definition at line 80 of file itkWeightedCombinationTransform.h.
typedef Superclass::InputVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputVectorType |
Definition at line 72 of file itkWeightedCombinationTransform.h.
typedef Superclass::InputVnlVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputVnlVectorType |
Definition at line 78 of file itkWeightedCombinationTransform.h.
typedef Superclass::JacobianOfSpatialHessianType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::JacobianOfSpatialHessianType |
Definition at line 89 of file itkWeightedCombinationTransform.h.
typedef Superclass::JacobianOfSpatialJacobianType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::JacobianOfSpatialJacobianType |
Definition at line 86 of file itkWeightedCombinationTransform.h.
typedef Superclass::JacobianType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::JacobianType |
Definition at line 71 of file itkWeightedCombinationTransform.h.
typedef Superclass::NonZeroJacobianIndicesType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::NonZeroJacobianIndicesType |
Definition at line 83 of file itkWeightedCombinationTransform.h.
typedef Superclass::NumberOfParametersType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::NumberOfParametersType |
Definition at line 70 of file itkWeightedCombinationTransform.h.
typedef Superclass::OutputCovariantVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputCovariantVectorType |
Definition at line 77 of file itkWeightedCombinationTransform.h.
typedef Superclass::OutputPointType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputPointType |
Definition at line 81 of file itkWeightedCombinationTransform.h.
typedef Superclass::OutputVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputVectorType |
Definition at line 73 of file itkWeightedCombinationTransform.h.
typedef Superclass::OutputVnlVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputVnlVectorType |
Definition at line 79 of file itkWeightedCombinationTransform.h.
typedef Superclass::ParametersType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::ParametersType |
Definition at line 69 of file itkWeightedCombinationTransform.h.
typedef SmartPointer< Self > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::Pointer |
Definition at line 54 of file itkWeightedCombinationTransform.h.
typedef Superclass::ScalarType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::ScalarType |
Typedefs from the Superclass.
Definition at line 68 of file itkWeightedCombinationTransform.h.
typedef WeightedCombinationTransform itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::Self |
Standard class typedefs.
Definition at line 50 of file itkWeightedCombinationTransform.h.
typedef Superclass::SpatialHessianType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::SpatialHessianType |
Definition at line 87 of file itkWeightedCombinationTransform.h.
typedef Superclass::SpatialJacobianType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::SpatialJacobianType |
Definition at line 84 of file itkWeightedCombinationTransform.h.
typedef AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::Superclass |
Definition at line 53 of file itkWeightedCombinationTransform.h.
typedef std::vector< TransformPointer > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::TransformContainerType |
Definition at line 97 of file itkWeightedCombinationTransform.h.
typedef TransformType::Pointer itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::TransformPointer |
Definition at line 96 of file itkWeightedCombinationTransform.h.
typedef Transform< TScalarType, NInputDimensions, NOutputDimensions > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::TransformType |
New typedefs in this class:
Definition at line 94 of file itkWeightedCombinationTransform.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 244 of file itkWeightedCombinationTransform.h.
|
private |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedTransform< TScalarType, 3, 3 >.
|
inlineoverride |
Get the Fixed Parameters.
Definition at line 150 of file itkWeightedCombinationTransform.h.
|
overridevirtual |
This returns a sparse version of the Jacobian of the transformation. In this class however, the Jacobian is not sparse. However, it is a useful function, since the Jacobian is passed by reference, which makes it thread-safe, unlike the normal GetJacobian function.
Implements itk::AdvancedTransform< TScalarType, 3, 3 >.
|
inlineoverridevirtual |
Implements itk::AdvancedTransform< TScalarType, 3, 3 >.
Definition at line 224 of file itkWeightedCombinationTransform.h.
|
inlineoverridevirtual |
Implements itk::AdvancedTransform< TScalarType, 3, 3 >.
Definition at line 232 of file itkWeightedCombinationTransform.h.
|
inlineoverridevirtual |
Implements itk::AdvancedTransform< TScalarType, 3, 3 >.
Definition at line 207 of file itkWeightedCombinationTransform.h.
|
inlineoverridevirtual |
Implements itk::AdvancedTransform< TScalarType, 3, 3 >.
Definition at line 215 of file itkWeightedCombinationTransform.h.
|
virtual |
|
inlineoverride |
Return the number of sub-transforms that have been set.
Definition at line 158 of file itkWeightedCombinationTransform.h.
|
inlineoverridevirtual |
Implements itk::AdvancedTransform< TScalarType, 3, 3 >.
Definition at line 200 of file itkWeightedCombinationTransform.h.
|
inlineoverridevirtual |
Must be provided.
Implements itk::AdvancedTransform< TScalarType, 3, 3 >.
Definition at line 193 of file itkWeightedCombinationTransform.h.
|
inline |
Return the vector of sub-transforms by const reference. So, if you want to add a sub-transform, you should do something like this: TransformContainerType vec = transform->GetTransformContainer(); vec.push_back( newsubtransformPointer ); transform->SetTransformContainer( vec ); Although perhaps not really efficient, this makes sure that this->Modified() is called when the transform container is updated.
Definition at line 186 of file itkWeightedCombinationTransform.h.
itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::itkStaticConstMacro | ( | InputSpaceDimension | , |
unsigned int | , | ||
NInputDimensions | |||
) |
Dimension of the domain space.
itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::itkStaticConstMacro | ( | OutputSpaceDimension | , |
unsigned int | , | ||
NOutputDimensions | |||
) |
|
static |
New method for creating an object using a factory.
|
private |
|
inlineoverride |
Set the fixed parameters.
Definition at line 143 of file itkWeightedCombinationTransform.h.
|
virtual |
Set/get if the weights (parameters) should be normalized. Default: false.
|
override |
Set the parameters. Computes the sum of weights (which is the normalization term). And checks if the number of parameters is correct
|
inlinevirtual |
Set the vector of subtransforms. Calls a this->Modified()
Definition at line 170 of file itkWeightedCombinationTransform.h.
|
inlineoverride |
Definition at line 119 of file itkWeightedCombinationTransform.h.
|
override |
Method to transform a point.
|
inlineoverride |
These vector transforms are not implemented for this transform.
Definition at line 103 of file itkWeightedCombinationTransform.h.
|
inlineoverride |
Definition at line 111 of file itkWeightedCombinationTransform.h.
|
protected |
Precomputed nonzero Jacobian indices (simply all params)
Definition at line 250 of file itkWeightedCombinationTransform.h.
|
private |
Definition at line 257 of file itkWeightedCombinationTransform.h.
|
protected |
Definition at line 247 of file itkWeightedCombinationTransform.h.
|
protected |
Definition at line 246 of file itkWeightedCombinationTransform.h.
Generated on 1667476801 for elastix by ![]() |
![]() |