![]() |
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.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputCovariantVectorType | InputCovariantVectorType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InputVectorType | InputVectorType |
typedef Superclass::InputVnlVectorType | InputVnlVectorType |
typedef Superclass::JacobianOfSpatialHessianType | JacobianOfSpatialHessianType |
typedef Superclass::JacobianOfSpatialJacobianType | JacobianOfSpatialJacobianType |
typedef Superclass::JacobianType | JacobianType |
typedef Superclass::NonZeroJacobianIndicesType | NonZeroJacobianIndicesType |
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
typedef Superclass::OutputCovariantVectorType | OutputCovariantVectorType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::OutputVectorType | OutputVectorType |
typedef Superclass::OutputVnlVectorType | OutputVnlVectorType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::ScalarType | ScalarType |
typedef WeightedCombinationTransform | Self |
typedef Superclass::SpatialHessianType | SpatialHessianType |
typedef Superclass::SpatialJacobianType | SpatialJacobianType |
typedef AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions > | Superclass |
typedef std::vector< TransformPointer > | TransformContainerType |
typedef TransformType::Pointer | TransformPointer |
typedef Transform< TScalarType, NInputDimensions, NOutputDimensions > | TransformType |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::InputCovariantVectorType | InputCovariantVectorType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InputVectorType | InputVectorType |
typedef Superclass::InputVnlVectorType | InputVnlVectorType |
typedef SpatialJacobianType::InternalMatrixType | InternalMatrixType |
typedef Superclass::InverseTransformBasePointer | InverseTransformBasePointer |
typedef Superclass::InverseTransformBaseType | InverseTransformBaseType |
typedef std::vector< SpatialHessianType > | JacobianOfSpatialHessianType |
typedef std::vector< SpatialJacobianType > | JacobianOfSpatialJacobianType |
typedef Superclass::JacobianType | JacobianType |
typedef OutputCovariantVectorType | MovingImageGradientType |
typedef MovingImageGradientType::ValueType | MovingImageGradientValueType |
typedef std::vector< unsigned long > | NonZeroJacobianIndicesType |
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
typedef Superclass::OutputCovariantVectorType | OutputCovariantVectorType |
typedef Superclass::OutputPointType | OutputPointType |
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 AdvancedTransform | Self |
typedef FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > | SpatialHessianType |
typedef Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > | SpatialJacobianType |
typedef Transform< TScalarType, NInputDimensions, NOutputDimensions > | Superclass |
typedef Transform< TScalarType, NInputDimensions, NOutputDimensions > | TransformType |
typedef TransformType::ConstPointer | TransformTypeConstPointer |
typedef TransformType::Pointer | TransformTypePointer |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
WeightedCombinationTransform () | |
virtual | ~WeightedCombinationTransform () |
![]() | |
AdvancedTransform () | |
AdvancedTransform (NumberOfParametersType numberOfParameters) | |
virtual | ~AdvancedTransform () |
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 |
|
inlineprotectedvirtual |
Definition at line 247 of file itkWeightedCombinationTransform.h.
|
private |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
|
inlinevirtual |
Get the Fixed Parameters.
Definition at line 153 of file itkWeightedCombinationTransform.h.
|
virtual |
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, NInputDimensions, NOutputDimensions >.
|
inlinevirtual |
Implements itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 227 of file itkWeightedCombinationTransform.h.
|
inlinevirtual |
Implements itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 235 of file itkWeightedCombinationTransform.h.
|
inlinevirtual |
Implements itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 210 of file itkWeightedCombinationTransform.h.
|
inlinevirtual |
Implements itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 218 of file itkWeightedCombinationTransform.h.
|
virtual |
|
inlinevirtual |
Return the number of sub-transforms that have been set.
Definition at line 161 of file itkWeightedCombinationTransform.h.
|
virtual |
Get the currently set parameters
|
inlinevirtual |
Implements itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 203 of file itkWeightedCombinationTransform.h.
|
inlinevirtual |
Must be provided.
Implements itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 196 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 189 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 |
|
inlinevirtual |
Set the fixed parameters.
Definition at line 146 of file itkWeightedCombinationTransform.h.
|
virtual |
Set/get if the weights (parameters) should be normalized. Default: false.
|
virtual |
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 173 of file itkWeightedCombinationTransform.h.
|
inlinevirtual |
Definition at line 119 of file itkWeightedCombinationTransform.h.
|
virtual |
Method to transform a point.
|
inlinevirtual |
These vector transforms are not implemented for this transform.
Definition at line 103 of file itkWeightedCombinationTransform.h.
|
inlinevirtual |
Definition at line 111 of file itkWeightedCombinationTransform.h.
|
protected |
Precomputed nonzero Jacobian indices (simply all params)
Definition at line 253 of file itkWeightedCombinationTransform.h.
|
private |
Definition at line 260 of file itkWeightedCombinationTransform.h.
|
protected |
Definition at line 250 of file itkWeightedCombinationTransform.h.
|
protected |
Definition at line 249 of file itkWeightedCombinationTransform.h.
Generated on 07-03-2016 for elastix by ![]() |
![]() |