go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions
itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions > Class Template Referenceabstract

#include <itkAdvancedBSplineDeformableTransformBase.h>

Detailed Description

template<class TScalarType = double, unsigned int NDimensions = 3>
class itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >

Base class for deformable transform using a B-spline representation.

This class is the base for the encapsulation of a deformable transform of points from one N-dimensional one space to another N-dimensional space.

This class is not templated over the spline order, which makes the use of different spline orders more convenient in subsequent code.

Definition at line 42 of file itkAdvancedBSplineDeformableTransformBase.h.

Inheritance diagram for itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >:
Inheritance graph
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef ContinuousIndex< ScalarType, SpaceDimension > ContinuousIndexType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef ImageType::DirectionType DirectionType
 
typedef IndexType GridOffsetType
 
typedef ImageType::Pointer ImagePointer
 
typedef Image< PixelType, itkGetStaticConstMacro(SpaceDimension) > ImageType
 
typedef RegionType::IndexType IndexType
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef Superclass::InternalMatrixType InternalMatrixType
 
typedef Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
 
typedef Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef Superclass::MovingImageGradientType MovingImageGradientType
 
typedef Superclass::MovingImageGradientValueType MovingImageGradientValueType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef ImageType::PointType OriginType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Array< unsigned long > ParameterIndexArrayType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::ParametersValueType ParametersValueType
 
typedef ParametersType::ValueType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef ImageRegion< itkGetStaticConstMacro(SpaceDimension) > RegionType
 
typedef Superclass::ScalarType ScalarType
 
typedef AdvancedBSplineDeformableTransformBase Self
 
typedef RegionType::SizeType SizeType
 
typedef ImageType::SpacingType SpacingType
 
typedef Superclass::SpatialHessianType SpatialHessianType
 
typedef Superclass::SpatialJacobianType SpatialJacobianType
 
typedef AdvancedTransform< TScalarType, NDimensions, NDimensions > Superclass
 
typedef Superclass::TransformCategoryType TransformCategoryType
 
- Public Types inherited from itk::AdvancedTransform< TScalarType, NDimensions, NDimensions >
typedef SmartPointer< const SelfConstPointer
 
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< SpatialHessianTypeJacobianOfSpatialHessianType
 
typedef std::vector< SpatialJacobianTypeJacobianOfSpatialJacobianType
 
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< SelfPointer
 
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
 

Public Member Functions

virtual const char * GetClassName () const
 
virtual const ImagePointerGetCoefficientImages (void) const
 
virtual const ParametersTypeGetFixedParameters (void) const
 
virtual DirectionType GetGridDirection () const
 
virtual OriginType GetGridOrigin () const
 
virtual RegionType GetGridRegion () const
 
virtual SpacingType GetGridSpacing () const
 
virtual unsigned int GetNumberOfAffectedWeights (void) const =0
 
virtual NumberOfParametersType GetNumberOfNonZeroJacobianIndices (void) const =0
 
virtual NumberOfParametersType GetNumberOfParameters (void) const
 
virtual NumberOfParametersType GetNumberOfParametersPerDimension (void) const
 
virtual const ParametersTypeGetParameters (void) const
 
virtual TransformCategoryType GetTransformCategory (void) const
 
virtual const RegionTypeGetValidRegion ()
 
virtual bool IsLinear (void) const
 
 itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions)
 
virtual void SetCoefficientImages (ImagePointer images[])
 
void SetFixedParameters (const ParametersType &parameters)
 
virtual void SetGridDirection (const DirectionType &direction)
 
virtual void SetGridOrigin (const OriginType &origin)
 
virtual void SetGridRegion (const RegionType &region)=0
 
virtual void SetGridSpacing (const SpacingType &spacing)
 
void SetIdentity (void)
 
void SetParameters (const ParametersType &parameters)
 
void SetParametersByValue (const ParametersType &parameters)
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
- Public Member Functions inherited from itk::AdvancedTransform< TScalarType, NDimensions, NDimensions >
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 void GetJacobian (const InputPointType &ipp, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0
 
virtual void GetJacobianOfSpatialHessian (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0
 
virtual void GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0
 
virtual void GetJacobianOfSpatialJacobian (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0
 
virtual void GetJacobianOfSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const =0
 
virtual void GetSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh) const =0
 
virtual void GetSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj) const =0
 
 itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions)
 
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions)
 

Protected Types

typedef Image< JacobianPixelType, itkGetStaticConstMacro(SpaceDimension) > JacobianImageType
 
typedef JacobianType::ValueType JacobianPixelType
 

Protected Member Functions

 AdvancedBSplineDeformableTransformBase ()
 
virtual void ComputeNonZeroJacobianIndices (NonZeroJacobianIndicesType &nonZeroJacobianIndices, const RegionType &supportRegion) const =0
 
virtual bool InsideValidRegion (const ContinuousIndexType &index) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
void TransformPointToContinuousGridIndex (const InputPointType &point, ContinuousIndexType &index) const
 
void UpdateGridOffsetTable (void)
 
void UpdatePointIndexConversions (void)
 
void WrapAsImages (void)
 
virtual ~AdvancedBSplineDeformableTransformBase ()
 
- Protected Member Functions inherited from itk::AdvancedTransform< TScalarType, NDimensions, NDimensions >
 AdvancedTransform ()
 
 AdvancedTransform (NumberOfParametersType numberOfParameters)
 
virtual ~AdvancedTransform ()
 

Protected Attributes

ImagePointer m_CoefficientImages [NDimensions]
 
DirectionType m_GridDirection
 
GridOffsetType m_GridOffsetTable
 
OriginType m_GridOrigin
 
RegionType m_GridRegion
 
SpacingType m_GridSpacing
 
DirectionType m_IndexToPoint
 
const ParametersTypem_InputParametersPointer
 
ParametersType m_InternalParametersBuffer
 
JacobianImageType::Pointer m_JacobianImage [NDimensions]
 
IndexType m_LastJacobianIndex
 
unsigned long m_Offset
 
DirectionType m_PointToIndexMatrix
 
SpatialJacobianType m_PointToIndexMatrix2
 
FixedArray< ScalarType, NDimensions > m_PointToIndexMatrixDiagonal
 
FixedArray< ScalarType, NDimensions *NDimensions > m_PointToIndexMatrixDiagonalProducts
 
bool m_PointToIndexMatrixIsDiagonal
 
DirectionType m_PointToIndexMatrixTransposed
 
SpatialJacobianType m_PointToIndexMatrixTransposed2
 
bool m_SplineOrderOdd
 
SizeType m_SupportSize
 
RegionType m_ValidRegion
 
ContinuousIndexType m_ValidRegionBegin
 
ContinuousIndexType m_ValidRegionEnd
 
ImagePointer m_WrappedImage [NDimensions]
 
- Protected Attributes inherited from itk::AdvancedTransform< TScalarType, NDimensions, NDimensions >
bool m_HasNonZeroJacobianOfSpatialHessian
 
bool m_HasNonZeroSpatialHessian
 

Private Member Functions

 AdvancedBSplineDeformableTransformBase (const Self &)
 
void operator= (const Self &)
 

Member Typedef Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef SmartPointer< const Self > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::ConstPointer

Definition at line 52 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef ContinuousIndex< ScalarType, SpaceDimension > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::ContinuousIndexType

This typedef should be equal to the typedef used in derived classes based on the weights function.

Definition at line 285 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::DerivativeType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::DerivativeType

Definition at line 64 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef ImageType::DirectionType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::DirectionType

Definition at line 191 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef IndexType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GridOffsetType

Definition at line 193 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef ImageType::Pointer itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::ImagePointer

Definition at line 166 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Image< PixelType, itkGetStaticConstMacro( SpaceDimension ) > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::ImageType

Definition at line 165 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef RegionType::IndexType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::IndexType

Definition at line 188 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputCovariantVectorType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::InputCovariantVectorType

Definition at line 74 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputPointType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::InputPointType

Definition at line 67 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputVectorType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::InputVectorType

Definition at line 69 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputVnlVectorType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::InputVnlVectorType

Definition at line 71 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InternalMatrixType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::InternalMatrixType

Definition at line 87 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Image< JacobianPixelType, itkGetStaticConstMacro( SpaceDimension ) > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::JacobianImageType
protected

Definition at line 349 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass ::JacobianOfSpatialHessianType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::JacobianOfSpatialHessianType

Definition at line 86 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass ::JacobianOfSpatialJacobianType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::JacobianOfSpatialJacobianType

Definition at line 83 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef JacobianType::ValueType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::JacobianPixelType
protected

Jacobian as SpaceDimension number of images.

Definition at line 347 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::JacobianType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::JacobianType

Definition at line 65 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::MovingImageGradientType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::MovingImageGradientType

Definition at line 88 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::MovingImageGradientValueType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::MovingImageGradientValueType

Definition at line 89 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass ::NonZeroJacobianIndicesType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::NonZeroJacobianIndicesType

Definition at line 80 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::NumberOfParametersType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::NumberOfParametersType

Definition at line 63 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef ImageType::PointType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::OriginType

Definition at line 192 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::OutputCovariantVectorType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::OutputCovariantVectorType

Definition at line 76 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::OutputPointType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::OutputPointType

Definition at line 68 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::OutputVectorType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::OutputVectorType

Definition at line 70 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::OutputVnlVectorType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::OutputVnlVectorType

Definition at line 72 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Array< unsigned long > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::ParameterIndexArrayType

Parameter index array type.

Definition at line 217 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::ParametersType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::ParametersType

Typedefs from Superclass.

Definition at line 61 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::ParametersValueType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::ParametersValueType

Definition at line 62 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef ParametersType::ValueType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::PixelType

Parameters as SpaceDimension number of images.

Definition at line 163 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef SmartPointer< Self > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::Pointer

Definition at line 51 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef ImageRegion< itkGetStaticConstMacro( SpaceDimension ) > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::RegionType

Typedefs for specifying the extend to the grid.

Definition at line 186 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::ScalarType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::ScalarType

Definition at line 66 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef AdvancedBSplineDeformableTransformBase itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::Self

Standard class typedefs.

Definition at line 48 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef RegionType::SizeType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SizeType

Definition at line 189 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef ImageType::SpacingType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SpacingType

Definition at line 190 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::SpatialHessianType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SpatialHessianType

Definition at line 84 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::SpatialJacobianType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SpatialJacobianType

Definition at line 81 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef AdvancedTransform< TScalarType, NDimensions, NDimensions > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::Superclass

Definition at line 50 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::TransformCategoryType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::TransformCategoryType

Definition at line 77 of file itkAdvancedBSplineDeformableTransformBase.h.

Constructor & Destructor Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::AdvancedBSplineDeformableTransformBase ( )
protected
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::~AdvancedBSplineDeformableTransformBase ( )
protectedvirtual
template<class TScalarType = double, unsigned int NDimensions = 3>
itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::AdvancedBSplineDeformableTransformBase ( const Self )
private

Member Function Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::ComputeNonZeroJacobianIndices ( NonZeroJacobianIndicesType nonZeroJacobianIndices,
const RegionType supportRegion 
) const
protectedpure virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual const char* itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetClassName ( ) const
virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual const ImagePointer* itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetCoefficientImages ( void  ) const
inlinevirtual

Get the array of coefficient images.

Definition at line 169 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual const ParametersType& itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetFixedParameters ( void  ) const
virtual

Get the Transformation Fixed Parameters.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual DirectionType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetGridDirection ( ) const
virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual OriginType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetGridOrigin ( ) const
virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual RegionType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetGridRegion ( ) const
virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual SpacingType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetGridSpacing ( ) const
virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual unsigned int itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetNumberOfAffectedWeights ( void  ) const
pure virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual NumberOfParametersType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetNumberOfNonZeroJacobianIndices ( void  ) const
pure virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual NumberOfParametersType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetNumberOfParameters ( void  ) const
virtual

Return the number of parameters that completely define the Transform.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual NumberOfParametersType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetNumberOfParametersPerDimension ( void  ) const
virtual

Return the number of parameters per dimension

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual const ParametersType& itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetParameters ( void  ) const
virtual

Get the Transformation Parameters.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual TransformCategoryType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetTransformCategory ( void  ) const
inlinevirtual

Indicates the category transform. e.g. an affine transform, or a local one, e.g. a deformation field.

Definition at line 272 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual const RegionType& itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::GetValidRegion ( )
virtual

Return the region of the grid wholly within the support region

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual bool itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::InsideValidRegion ( const ContinuousIndexType index) const
protectedvirtual

Check if a continuous index is inside the valid region.

Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual bool itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::IsLinear ( void  ) const
inlinevirtual

Indicates that this transform is linear. That is, given two points P and Q, and scalar coefficients a and b, then

      T( a*P + b*Q ) = a * T(P) + b * T(Q)

Definition at line 267 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::itkStaticConstMacro ( SpaceDimension  ,
unsigned  int,
NDimensions   
)

Dimension of the domain space.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::operator= ( const Self )
private
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SetCoefficientImages ( ImagePointer  images[])
virtual

Set the array of coefficient images.

This is an alternative API for setting the B-spline coefficients as an array of SpaceDimension images. The grid region spacing and origin is taken from the first image. It is assume that the buffered region of all the subsequent images are the same as the first image. Note that no error checking is done.

Warning: use either the SetParameters() or SetCoefficientImages() API. Mixing the two modes may results in unexpected results.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SetFixedParameters ( const ParametersType parameters)

This method sets the fixed parameters of the transform. For a B-spline deformation transform, the parameters are the following: Grid Size, Grid Origin, and Grid Spacing

The fixed parameters are the three times the size of the templated dimensions. This function has the effect of make the following calls: transform->SetGridSpacing( spacing ); transform->SetGridOrigin( origin ); transform->SetGridDirection( direction ); transform->SetGridRegion( bsplineRegion );

This function was added to allow the transform to work with the itkTransformReader/Writer I/O filters.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SetGridDirection ( const DirectionType direction)
virtual

This method specifies the grid directions .

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SetGridOrigin ( const OriginType origin)
virtual

This method specifies the grid origin.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SetGridRegion ( const RegionType region)
pure virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SetGridSpacing ( const SpacingType spacing)
virtual

This method specifies the grid spacing or resolution.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SetIdentity ( void  )

This method can ONLY be invoked AFTER calling SetParameters(). This restriction is due to the fact that the AdvancedBSplineDeformableTransform does not copy the array of parameters internally, instead it keeps a pointer to the user-provided array of parameters. This method is also in violation of the const-correctness of the parameters since the parameter array has been passed to the transform on a 'const' basis but the values get modified when the user invokes SetIdentity().

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SetParameters ( const ParametersType parameters)

This method sets the parameters of the transform. For a B-spline deformation transform, the parameters are the BSpline coefficients on a sparse grid.

The parameters are N number of N-D grid of coefficients. Each N-D grid is represented as a flat array of doubles (in the same configuration as an itk::Image). The N arrays are then concatenated to form one parameter array.

For efficiency, this transform does not make a copy of the parameters. It only keeps a pointer to the input parameters. It assumes that the memory is managed by the caller. Use SetParametersByValue to force the transform to call copy the parameters.

This method wraps each grid as itk::Image's using the user specified grid region, spacing and origin. NOTE: The grid region, spacing and origin must be set first.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::SetParametersByValue ( const ParametersType parameters)

This method sets the parameters of the transform. For a B-spline deformation transform, the parameters are the BSpline coefficients on a sparse grid.

The parameters are N number of N-D grid of coefficients. Each N-D grid is represented as a flat array of doubles (in the same configuration as an itk::Image). The N arrays are then concatenated to form one parameter array.

This methods makes a copy of the parameters while for efficiency the SetParameters method does not.

This method wraps each grid as itk::Image's using the user specified grid region, spacing and origin. NOTE: The grid region, spacing and origin must be set first.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual OutputCovariantVectorType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::TransformCovariantVector ( const InputCovariantVectorType ) const
inlinevirtual

Method to transform a CovariantVector - not applicable for this type of transform.

Definition at line 245 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::TransformPointToContinuousGridIndex ( const InputPointType point,
ContinuousIndexType index 
) const
protected

Convert an input point to a continuous index inside the B-spline grid.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual OutputVectorType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::TransformVector ( const InputVectorType ) const
inlinevirtual

Method to transform a vector - not applicable for this type of transform.

Definition at line 225 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual OutputVnlVectorType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::TransformVector ( const InputVnlVectorType ) const
inlinevirtual

Method to transform a vnl_vector - not applicable for this type of transform.

Definition at line 235 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::UpdateGridOffsetTable ( void  )
protected
template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::UpdatePointIndexConversions ( void  )
protected
template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::WrapAsImages ( void  )
protected

Wrap flat array into images of coefficients.

Field Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
ImagePointer itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_CoefficientImages[NDimensions]
protected

Array of images representing the B-spline coefficients in each dimension.

Definition at line 314 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
DirectionType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_GridDirection
protected

Definition at line 319 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
GridOffsetType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_GridOffsetTable
protected

Definition at line 321 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
OriginType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_GridOrigin
protected

Definition at line 320 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
RegionType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_GridRegion
protected

Variables defining the coefficient grid extend.

Definition at line 317 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
SpacingType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_GridSpacing
protected

Definition at line 318 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
DirectionType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_IndexToPoint
protected

Definition at line 329 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
const ParametersType* itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_InputParametersPointer
protected

Keep a pointer to the input parameters.

Definition at line 344 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
ParametersType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_InternalParametersBuffer
protected

Internal parameters buffer.

Definition at line 362 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
JacobianImageType::Pointer itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_JacobianImage[NDimensions]
protected

Definition at line 351 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
IndexType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_LastJacobianIndex
mutableprotected

Keep track of last support region used in computing the Jacobian for fast resetting of Jacobian to zero.

Definition at line 356 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
unsigned long itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_Offset
protected

Variables defining the interpolation support region.

Definition at line 335 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
DirectionType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_PointToIndexMatrix
protected

Definition at line 323 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
SpatialJacobianType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_PointToIndexMatrix2
protected

Definition at line 324 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
FixedArray< ScalarType, NDimensions > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_PointToIndexMatrixDiagonal
protected

Definition at line 327 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
FixedArray< ScalarType, NDimensions * NDimensions > itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_PointToIndexMatrixDiagonalProducts
protected

Definition at line 328 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
bool itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_PointToIndexMatrixIsDiagonal
protected

Definition at line 330 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
DirectionType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_PointToIndexMatrixTransposed
protected

Definition at line 325 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
SpatialJacobianType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_PointToIndexMatrixTransposed2
protected

Definition at line 326 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
bool itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_SplineOrderOdd
protected

Odd or even order B-spline.

Definition at line 341 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
SizeType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_SupportSize
protected

Definition at line 336 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
RegionType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_ValidRegion
protected

Definition at line 332 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
ContinuousIndexType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_ValidRegionBegin
protected

Definition at line 337 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
ContinuousIndexType itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_ValidRegionEnd
protected

Definition at line 338 of file itkAdvancedBSplineDeformableTransformBase.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
ImagePointer itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >::m_WrappedImage[NDimensions]
protected

Array holding images wrapped from the flat parameters.

Definition at line 359 of file itkAdvancedBSplineDeformableTransformBase.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo