![]() |
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 41 of file itkWeightedCombinationTransform.h.
typedef SmartPointer< const Self > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::ConstPointer |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 51 of file itkWeightedCombinationTransform.h.
typedef Superclass ::InputCovariantVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputCovariantVectorType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 70 of file itkWeightedCombinationTransform.h.
typedef Superclass::InputPointType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputPointType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 75 of file itkWeightedCombinationTransform.h.
typedef Superclass::InputVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputVectorType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 67 of file itkWeightedCombinationTransform.h.
typedef Superclass::InputVnlVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputVnlVectorType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 73 of file itkWeightedCombinationTransform.h.
typedef Superclass::JacobianOfSpatialJacobianType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::JacobianOfSpatialJacobianType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 81 of file itkWeightedCombinationTransform.h.
typedef Superclass::JacobianType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::JacobianType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 66 of file itkWeightedCombinationTransform.h.
typedef Superclass::NonZeroJacobianIndicesType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::NonZeroJacobianIndicesType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 78 of file itkWeightedCombinationTransform.h.
typedef Superclass ::OutputCovariantVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputCovariantVectorType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 72 of file itkWeightedCombinationTransform.h.
typedef Superclass::OutputPointType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputPointType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 76 of file itkWeightedCombinationTransform.h.
typedef Superclass::OutputVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputVectorType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 68 of file itkWeightedCombinationTransform.h.
typedef Superclass::OutputVnlVectorType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputVnlVectorType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 74 of file itkWeightedCombinationTransform.h.
typedef Superclass::ParametersType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::ParametersType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 65 of file itkWeightedCombinationTransform.h.
typedef SmartPointer< Self > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::Pointer |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 50 of file itkWeightedCombinationTransform.h.
typedef Superclass::ScalarType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::ScalarType |
Typedefs from the Superclass.
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 64 of file itkWeightedCombinationTransform.h.
typedef WeightedCombinationTransform itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::Self |
Standard class typedefs.
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 46 of file itkWeightedCombinationTransform.h.
typedef Superclass::SpatialHessianType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::SpatialHessianType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 82 of file itkWeightedCombinationTransform.h.
typedef Superclass::SpatialJacobianType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::SpatialJacobianType |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 79 of file itkWeightedCombinationTransform.h.
typedef AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::Superclass |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
Definition at line 49 of file itkWeightedCombinationTransform.h.
typedef std::vector< TransformPointer > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::TransformContainerType |
Definition at line 90 of file itkWeightedCombinationTransform.h.
typedef TransformType::Pointer itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::TransformPointer |
Definition at line 89 of file itkWeightedCombinationTransform.h.
typedef Transform< TScalarType, NInputDimensions, NOutputDimensions > itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::TransformType |
New typedefs in this class:
Definition at line 87 of file itkWeightedCombinationTransform.h.
itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::WeightedCombinationTransform | ( | ) | [protected] |
virtual itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::~WeightedCombinationTransform | ( | ) | [inline, protected, virtual] |
Definition at line 150 of file itkWeightedCombinationTransform.h.
itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::WeightedCombinationTransform | ( | const Self & | ) | [private] |
virtual const char* itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
virtual void itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::GetJacobian | ( | const InputPointType & | ipp, |
JacobianType & | jac, | ||
NonZeroJacobianIndicesType & | nzji | ||
) | const [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 threadsafe, unlike the normal GetJacobian function.
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
virtual const JacobianType& itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::GetJacobian | ( | const InputPointType & | ipp | ) | const [virtual] |
The GetJacobian from the superclass.
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
virtual bool itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::GetNormalizeWeights | ( | ) | const [virtual] |
virtual unsigned int itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::GetNumberOfParameters | ( | void | ) | const [inline, virtual] |
Return the number of subtransforms that have been set
Definition at line 117 of file itkWeightedCombinationTransform.h.
virtual const ParametersType& itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::GetParameters | ( | ) | [virtual] |
Get the currently set parameters
const TransformContainerType& itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::GetTransformContainer | ( | void | ) | const [inline] |
Return the vector of subtransforms by const reference. So, if you want to add a subtransform, 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 143 of file itkWeightedCombinationTransform.h.
itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::itkStaticConstMacro | ( | InputSpaceDimension | , |
unsigned | int, | ||
NInputDimensions | |||
) |
Dimension of the domain space.
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::itkStaticConstMacro | ( | OutputSpaceDimension | , |
unsigned | int, | ||
NOutputDimensions | |||
) |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
static Pointer itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::New | ( | ) | [static] |
New method for creating an object using a factory.
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
void itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >.
virtual void itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::SetNormalizeWeights | ( | bool | _arg | ) | [virtual] |
Set/get if the weights (parameters) should be normalized. Default: false.
virtual void itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::SetParameters | ( | const ParametersType & | param | ) | [virtual] |
Set the parameters. Computes the sum of weights (which is the normalization term). And checks if the number of parameters is correct
virtual void itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::SetTransformContainer | ( | const TransformContainerType & | transformContainer | ) | [inline, virtual] |
Set the vector of subtransforms. Calls a this->Modified()
Definition at line 128 of file itkWeightedCombinationTransform.h.
virtual OutputPointType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::TransformPoint | ( | const InputPointType & | ipp | ) | const [virtual] |
Method to transform a point.
bool itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::m_NormalizeWeights [private] |
Definition at line 160 of file itkWeightedCombinationTransform.h.
double itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::m_SumOfWeights [protected] |
Definition at line 153 of file itkWeightedCombinationTransform.h.
TransformContainerType itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >::m_TransformContainer [protected] |
Definition at line 150 of file itkWeightedCombinationTransform.h.
Generated on 24-05-2012 for elastix by ![]() |
![]() |