template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
class itk::WeightedCombinationTransform< TScalarType, NInputDimensions, NOutputDimensions >
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.
|
| 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::FixedParametersType | FixedParametersType |
| |
| 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 |
| |
|
| virtual const char * | GetClassName () const |
| |
| virtual const ParametersType & | GetFixedParameters (void) const |
| |
| virtual void | GetJacobian (const InputPointType &ipp, JacobianType &jac, NonZeroJacobianIndicesType &nzji) const |
| |
| virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
| |
| virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
| |
| virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
| |
| virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
| |
| virtual bool | GetNormalizeWeights () const |
| |
| virtual NumberOfParametersType | GetNumberOfParameters (void) const |
| |
| virtual const ParametersType & | GetParameters () |
| |
| virtual void | GetSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh) const |
| |
| virtual void | GetSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj) const |
| |
| const TransformContainerType & | GetTransformContainer (void) const |
| |
| | itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) |
| |
| | itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) |
| |
| virtual void | SetFixedParameters (const ParametersType &) |
| |
| virtual void | SetNormalizeWeights (bool _arg) |
| |
| virtual void | SetParameters (const ParametersType ¶m) |
| |
| virtual void | SetTransformContainer (const TransformContainerType &transformContainer) |
| |
| virtual OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &) const |
| |
| virtual OutputPointType | TransformPoint (const InputPointType &ipp) const |
| |
| virtual OutputVectorType | TransformVector (const InputVectorType &) const |
| |
| virtual OutputVnlVectorType | TransformVector (const InputVnlVectorType &) const |
| |
| virtual void | ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const |
| |
| virtual void | ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianType &) const |
| |
| virtual void | EvaluateJacobianWithImageGradientProduct (const InputPointType &ipp, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
| |
| virtual bool | GetHasNonZeroJacobianOfSpatialHessian () const |
| |
| virtual bool | GetHasNonZeroSpatialHessian () const |
| |
| virtual NumberOfParametersType | GetNumberOfNonZeroJacobianIndices (void) const |
| |
| | itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) |
| |
| | itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) |
| |
template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
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.