ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder > Class Template Referenceabstract

#include <itkBSplineBaseTransform.h>

+ Inheritance diagram for itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >:
+ Collaboration diagram for itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >:

Detailed Description

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
class itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >

A base class with common elements of BSplineTransform and BSplineDeformableTransform.

Definition at line 35 of file itkBSplineBaseTransform.h.

Public Types

typedef FixedArray
< ImagePointer, NDimensions > 
CoefficientImageArray
 
typedef SmartPointer< const SelfConstPointer
 
typedef
WeightsFunctionType::ContinuousIndexType 
ContinuousIndexType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef ImageType::DirectionType DirectionType
 
typedef ImageType::Pointer ImagePointer
 
typedef Image
< ParametersValueType,
itkGetStaticConstMacro(SpaceDimension)> 
ImageType
 
typedef RegionType::IndexType IndexType
 
typedef vnl_vector_fixed
< TScalar, SpaceDimension
InputVnlVectorType
 
typedef Superclass::JacobianType JacobianType
 
typedef SizeType MeshSizeType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef ImageType::PointType OriginType
 
typedef vnl_vector_fixed
< TScalar, SpaceDimension
OutputVnlVectorType
 
typedef Array< unsigned long > ParameterIndexArrayType
 
typedef Superclass::ParametersType ParametersType
 
typedef ParametersType::ValueType ParametersValueType
 
typedef ImageType::SpacingType PhysicalDimensionsType
 
typedef ImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef ImageRegion
< itkGetStaticConstMacro(SpaceDimension)> 
RegionType
 
typedef Superclass::ScalarType ScalarType
 
typedef BSplineBaseTransform Self
 
typedef RegionType::SizeType SizeType
 
typedef ImageType::SpacingType SpacingType
 
typedef Transform< TScalar,
NDimensions, NDimensions > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
typedef
BSplineInterpolationWeightFunction
< ScalarType,
itkGetStaticConstMacro(SpaceDimension),
itkGetStaticConstMacro(SplineOrder)> 
WeightsFunctionType
 
typedef
WeightsFunctionType::WeightsType 
WeightsType
 
typedef Vector< TScalar,
itkGetStaticConstMacro(SpaceDimension)> 
InputVectorType
 
typedef Vector< TScalar,
itkGetStaticConstMacro(SpaceDimension)> 
OutputVectorType
 
typedef CovariantVector
< TScalar,
itkGetStaticConstMacro(SpaceDimension)> 
InputCovariantVectorType
 
typedef CovariantVector
< TScalar,
itkGetStaticConstMacro(SpaceDimension)> 
OutputCovariantVectorType
 
typedef Point< TScalar,
itkGetStaticConstMacro(SpaceDimension)> 
InputPointType
 
typedef Point< TScalar,
itkGetStaticConstMacro(SpaceDimension)> 
OutputPointType
 
- Public Types inherited from itk::Transform< TScalar, NDimensions, NDimensions >
typedef SmartPointer< const SelfConstPointer
 
typedef Array
< ParametersValueType
DerivativeType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
DirectionChangeMatrix
 
typedef CovariantVector
< TScalar, NInputDimensions > 
InputCovariantVectorType
 
typedef DiffusionTensor3D
< TScalar > 
InputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(InputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
InputDirectionMatrix
 
typedef Point< TScalar,
NInputDimensions > 
InputPointType
 
typedef
SymmetricSecondRankTensor
< TScalar, NInputDimensions > 
InputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TScalar > 
InputVectorPixelType
 
typedef Vector< TScalar,
NInputDimensions > 
InputVectorType
 
typedef vnl_vector_fixed
< TScalar, NInputDimensions > 
InputVnlVectorType
 
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
 
typedef Transform< TScalar,
NOutputDimensions,
NInputDimensions > 
InverseTransformBaseType
 
typedef Array2D
< ParametersValueType
JacobianType
 
typedef Matrix< TScalar,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
MatrixType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef CovariantVector
< TScalar, NOutputDimensions > 
OutputCovariantVectorType
 
typedef DiffusionTensor3D
< TScalar > 
OutputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputDirectionMatrix
 
typedef Point< TScalar,
NOutputDimensions > 
OutputPointType
 
typedef
SymmetricSecondRankTensor
< TScalar, NOutputDimensions > 
OutputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TScalar > 
OutputVectorPixelType
 
typedef Vector< TScalar,
NOutputDimensions > 
OutputVectorType
 
typedef vnl_vector_fixed
< TScalar, NOutputDimensions > 
OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TScalar ScalarType
 
typedef Transform Self
 
typedef TransformBaseTemplate
< TScalar > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
- Public Types inherited from itk::TransformBaseTemplate< TScalar >
typedef SmartPointer< const SelfConstPointer
 
typedef IdentifierType NumberOfParametersType
 
typedef OptimizerParameters
< ParametersValueType
ParametersType
 
typedef TScalar ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TransformBaseTemplate Self
 
typedef Object Superclass
 
enum  TransformCategoryType {
  UnknownTransformCategory =0,
  Linear =1,
  BSpline =2,
  Spline =3,
  DisplacementField =4,
  VelocityField =5
}
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void ComputeJacobianFromBSplineWeightsWithRespectToPosition (const InputPointType &, WeightsType &, ParameterIndexArrayType &) const
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const =0
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianType &) const
 
const CoefficientImageArray GetCoefficientImages () const
 
virtual const ParametersTypeGetFixedParameters () const
 
virtual const char * GetNameOfClass () const
 
unsigned int GetNumberOfAffectedWeights () const
 
virtual NumberOfParametersType GetNumberOfLocalParameters () const
 
virtual NumberOfParametersType GetNumberOfParameters () const =0
 
virtual NumberOfParametersType GetNumberOfParametersPerDimension () const =0
 
unsigned long GetNumberOfWeights () const
 
virtual const ParametersTypeGetParameters () const
 
virtual TransformCategoryType GetTransformCategory () const
 
 itkCloneMacro (Self)
 
virtual void SetCoefficientImages (const CoefficientImageArray &images)=0
 
void SetIdentity ()
 
void SetParameters (const ParametersType &parameters)
 
void SetParametersByValue (const ParametersType &parameters)
 
OutputPointType TransformPoint (const InputPointType &point) const
 
virtual void TransformPoint (const InputPointType &inputPoint, OutputPointType &outputPoint, WeightsType &weights, ParameterIndexArrayType &indices, bool &inside) const =0
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
virtual void UpdateTransformParameters (const DerivativeType &update, TScalar factor=1.0)
 
virtual void SetFixedParameters (const ParametersType &parameters)=0
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
- Public Member Functions inherited from itk::Transform< TScalar, NDimensions, NDimensions >
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jacobian) const
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const =0
 
virtual void ComputeJacobianWithRespectToParametersCachedTemporaries (const InputPointType &p, JacobianType &jacobian, JacobianType &) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianType &) const
 
unsigned int GetInputSpaceDimension (void) const
 
bool GetInverse (Self *) const
 
virtual InverseTransformBasePointer GetInverseTransform () const
 
unsigned int GetOutputSpaceDimension (void) const
 
virtual std::string GetTransformTypeAsString () const
 
virtual bool IsLinear () const
 
 itkCloneMacro (Self)
 
virtual void SetFixedParameters (const ParametersType &)=0
 
virtual void SetParameters (const ParametersType &)=0
 
virtual void SetParametersByValue (const ParametersType &p)
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor, const InputPointType &point) const
 
virtual OutputPointType TransformPoint (const InputPointType &) const =0
 
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor, const InputPointType &point) const
 
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor, const InputPointType &point) const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual void UpdateTransformParameters (const DerivativeType &update, TScalar factor=1.0)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual LightObject::Pointer CreateAnother () const ITK_OVERRIDE
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Attributes

static const unsigned int SpaceDimension = NDimensions
 
static const unsigned int SplineOrder = VSplineOrder
 
- Static Public Attributes inherited from itk::Transform< TScalar, NDimensions, NDimensions >
static const unsigned int InputSpaceDimension
 
static const unsigned int OutputSpaceDimension
 

Protected Member Functions

 BSplineBaseTransform ()
 
virtual bool InsideValidRegion (ContinuousIndexType &) const =0
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetCoefficientImageInformationFromFixedParameters ()=0
 
void SetFixedParametersFromTransformDomainInformation () const
 
virtual void SetFixedParametersGridDirectionFromTransformDomainInformation () const =0
 
virtual void SetFixedParametersGridOriginFromTransformDomainInformation () const =0
 
virtual void SetFixedParametersGridSizeFromTransformDomainInformation () const =0
 
virtual void SetFixedParametersGridSpacingFromTransformDomainInformation () const =0
 
void WrapAsImages ()
 
virtual ~BSplineBaseTransform ()
 
virtual void SetWeightsFunction (WeightsFunctionType *_arg)
 
virtual WeightsFunctionTypeGetModifiableWeightsFunction ()
 
virtual const WeightsFunctionTypeGetWeightsFunction () const
 
- Protected Member Functions inherited from itk::Transform< TScalar, NDimensions, NDimensions >
virtual LightObject::Pointer InternalClone () const
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType, const JacobianType) const
 
 Transform ()
 
 Transform (NumberOfParametersType NumberOfParameters)
 
virtual ~Transform ()
 
- Protected Member Functions inherited from itk::TransformBaseTemplate< TScalar >
 TransformBaseTemplate ()
 
virtual ~TransformBaseTemplate ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

CoefficientImageArray m_CoefficientImages
 
ParametersType m_InternalParametersBuffer
 
WeightsFunctionType::Pointer m_WeightsFunction
 
- Protected Attributes inherited from itk::Transform< TScalar, NDimensions, NDimensions >
DirectionChangeMatrix m_DirectionChange
 
ParametersType m_FixedParameters
 
ParametersType m_Parameters
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Private Member Functions

CoefficientImageArray ArrayOfImagePointerGeneratorHelper () const
 
 BSplineBaseTransform (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef FixedArray<ImagePointer, NDimensions> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::CoefficientImageArray

Definition at line 175 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef SmartPointer<const Self> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ConstPointer

Definition at line 43 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef WeightsFunctionType::ContinuousIndexType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ContinuousIndexType

Definition at line 228 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Superclass::DerivativeType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::DerivativeType

Definition at line 196 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef ImageType::DirectionType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::DirectionType

Definition at line 216 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef ImageType::Pointer itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ImagePointer

Definition at line 174 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Image<ParametersValueType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ImageType

Definition at line 173 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef RegionType::IndexType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::IndexType

Definition at line 213 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef CovariantVector<TScalar, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::InputCovariantVectorType

Standard covariant vector type for this class.

Definition at line 78 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Point<TScalar, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::InputPointType

Standard coordinate point type for this class.

Definition at line 87 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Vector<TScalar, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::InputVectorType

Standard vector type for this class.

Definition at line 73 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef vnl_vector_fixed<TScalar, SpaceDimension> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::InputVnlVectorType

Standard vnl_vector type for this class.

Definition at line 83 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Superclass::JacobianType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::JacobianType

Standard Jacobian container.

Definition at line 64 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef SizeType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::MeshSizeType

Definition at line 304 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Superclass::NumberOfParametersType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::NumberOfParametersType

The number of parameters defininig this transform.

Definition at line 70 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef ImageType::PointType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::OriginType

Definition at line 217 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef CovariantVector<TScalar, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::OutputCovariantVectorType

Standard covariant vector type for this class.

Definition at line 79 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Point<TScalar, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::OutputPointType

Standard coordinate point type for this class.

Definition at line 88 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Vector<TScalar, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::OutputVectorType

Standard vector type for this class.

Definition at line 74 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef vnl_vector_fixed<TScalar, SpaceDimension> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::OutputVnlVectorType

Definition at line 84 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Array<unsigned long> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ParameterIndexArrayType

Parameter index array type.

Definition at line 231 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Superclass::ParametersType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ParametersType

Standard parameters container.

Definition at line 61 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef ParametersType::ValueType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ParametersValueType

Parameters as SpaceDimension number of images.

Definition at line 172 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef ImageType::SpacingType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::PhysicalDimensionsType

Definition at line 301 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef ImageType::PixelType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::PixelType

Definition at line 302 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef SmartPointer<Self> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::Pointer

Definition at line 42 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef ImageRegion<itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::RegionType

Typedefs for specifying the extent of the grid.

Definition at line 211 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Superclass::ScalarType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ScalarType

Standard scalar type for this class.

Definition at line 58 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef BSplineBaseTransform itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::Self

Standard class typedefs.

Definition at line 40 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef RegionType::SizeType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SizeType

Definition at line 214 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef ImageType::SpacingType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SpacingType

Definition at line 215 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Transform<TScalar, NDimensions, NDimensions> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::Superclass

Definition at line 41 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef Superclass::TransformCategoryType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::TransformCategoryType

Transform category type.

Definition at line 67 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef BSplineInterpolationWeightFunction<ScalarType, itkGetStaticConstMacro( SpaceDimension ), itkGetStaticConstMacro( SplineOrder )> itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::WeightsFunctionType

Interpolation weights function type.

Definition at line 225 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
typedef WeightsFunctionType::WeightsType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::WeightsType

Definition at line 227 of file itkBSplineBaseTransform.h.

Constructor & Destructor Documentation

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::BSplineBaseTransform ( )
protected
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::~BSplineBaseTransform ( )
protectedvirtual
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::BSplineBaseTransform ( const Self )
private

Member Function Documentation

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
CoefficientImageArray itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ArrayOfImagePointerGeneratorHelper ( ) const
private
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ComputeJacobianFromBSplineWeightsWithRespectToPosition ( const InputPointType ,
WeightsType ,
ParameterIndexArrayType  
) const

Get Jacobian at a point. A very specialized function just for BSplines

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ComputeJacobianWithRespectToParameters ( const InputPointType ,
JacobianType  
) const
pure virtual
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::ComputeJacobianWithRespectToPosition ( const InputPointType ,
JacobianType  
) const
inlinevirtual
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
const CoefficientImageArray itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetCoefficientImages ( ) const
inline

Get the array of coefficient images.

Definition at line 191 of file itkBSplineBaseTransform.h.

References itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::m_CoefficientImages.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual const ParametersType& itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetFixedParameters ( ) const
virtual

Get the Transformation Fixed Parameters.

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual WeightsFunctionType* itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetModifiableWeightsFunction ( )
protectedvirtual

Get/Set to allow subclasses to access and manipulate the weights function.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual const char* itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetNameOfClass ( ) const
virtual
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
unsigned int itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetNumberOfAffectedWeights ( ) const
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual NumberOfParametersType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetNumberOfLocalParameters ( void  ) const
inlinevirtual
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual NumberOfParametersType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetNumberOfParameters ( ) const
pure virtual
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual NumberOfParametersType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetNumberOfParametersPerDimension ( ) const
pure virtual
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
unsigned long itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetNumberOfWeights ( ) const
inline
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual const ParametersType& itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetParameters ( ) const
virtual

Get the Transformation Parameters.

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual TransformCategoryType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetTransformCategory ( ) const
inlinevirtual

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

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

Definition at line 294 of file itkBSplineBaseTransform.h.

References itk::TransformBaseTemplate< TScalar >::BSpline.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual const WeightsFunctionType* itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetWeightsFunction ( ) const
protectedvirtual

Get/Set to allow subclasses to access and manipulate the weights function.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual bool itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::InsideValidRegion ( ContinuousIndexType ) const
protectedpure virtual
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::itkCloneMacro ( Self  )

implement type-specific clone method

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::operator= ( const Self )
private
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetCoefficientImageInformationFromFixedParameters ( )
protectedpure virtual

Construct control point grid size from transform domain information

Implemented in itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetCoefficientImages ( const CoefficientImageArray images)
pure virtual

Set the array of coefficient images.

This is an alternative API for setting the BSpline coefficients as an array of SpaceDimension images. The fixed parameters are taken from the first image. It is assumed 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.

Implemented in itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetFixedParameters ( const ParametersType parameters)
pure virtual

This method sets the fixed parameters of the transform. For a BSpline deformation transform, the fixed parameters are the following: grid size, grid origin, grid spacing, and grid direction. However, all of these are set via the much more intuitive SetTransformDomainXXX() functions

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

With recent updates to this transform, however, all these parameters are set indirectly by setting the transform domain parameters unless the user sets them with SetFixedParameters().

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

Implemented in itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetFixedParametersFromTransformDomainInformation ( ) const
protected

Construct control point grid from transform domain information

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetFixedParametersGridDirectionFromTransformDomainInformation ( ) const
protectedpure virtual

Construct control point grid direction from transform domain information

Implemented in itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetFixedParametersGridOriginFromTransformDomainInformation ( ) const
protectedpure virtual

Construct control point grid origin from transform domain information

Implemented in itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetFixedParametersGridSizeFromTransformDomainInformation ( ) const
protectedpure virtual

Construct control point grid size from transform domain information

Implemented in itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetFixedParametersGridSpacingFromTransformDomainInformation ( ) const
protectedpure virtual

Construct control point grid spacing from transform domain information

Implemented in itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetIdentity ( )

This method can ONLY be invoked AFTER calling SetParameters(). This restriction is due to the fact that the BSplineBaseTransform 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<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetParameters ( const ParametersType parameters)

This method sets the parameters of the transform. For a BSpline 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 scalars (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 fixed parameters. NOTE: The transform domain must be set first.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetParametersByValue ( const ParametersType parameters)

This method sets the parameters of the transform. For a BSpline 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 fixed parameters. NOTE: The fixed parameters must be set first.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SetWeightsFunction ( WeightsFunctionType _arg)
protectedvirtual

Get/Set to allow subclasses to access and manipulate the weights function.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual OutputCovariantVectorType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::TransformCovariantVector ( const InputCovariantVectorType ) const
inlinevirtual

Definition at line 269 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
OutputPointType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::TransformPoint ( const InputPointType point) const

Transform points by a BSpline deformable transformation.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::TransformPoint ( const InputPointType inputPoint,
OutputPointType outputPoint,
WeightsType weights,
ParameterIndexArrayType indices,
bool &  inside 
) const
pure virtual

Transform points by a BSpline deformable transformation. On return, weights contains the interpolation weights used to compute the deformation and indices of the x (zeroth) dimension coefficient parameters in the support region used to compute the deformation. Parameter indices for the i-th dimension can be obtained by adding ( i * this->GetNumberOfParametersPerDimension() ) to the indices array.

Implemented in itk::BSplineDeformableTransform< TScalar, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalar, NDimensions, VSplineOrder >.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual OutputVectorType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::TransformVector ( const InputVectorType ) const
inlinevirtual

Definition at line 253 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual OutputVnlVectorType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::TransformVector ( const InputVnlVectorType ) const
inlinevirtual

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

Definition at line 261 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
virtual void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::UpdateTransformParameters ( const DerivativeType update,
TScalar  factor = 1.0 
)
virtual

Update the transform's parameters by the adding values in update to current parameter values. We assume update is of the same length as Parameters. Throw exception otherwise. factor is a scalar multiplier for each value in update. SetParameters is called at the end of this method, to allow transforms to perform any required operations on the update parameters, typically a converion to member variables for use in TransformPoint. Derived classes should override to provide specialized behavior.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
void itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::WrapAsImages ( )
protected

Wrap flat array into images of coefficients.

Member Data Documentation

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
CoefficientImageArray itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::m_CoefficientImages
protected

Array of images representing the B-spline coefficients in each dimension wrapped from the flat parameters in m_InternalParametersBuffer

Definition at line 363 of file itkBSplineBaseTransform.h.

Referenced by itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetCoefficientImages().

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
ParametersType itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::m_InternalParametersBuffer
protected

Internal parameters buffer.

Definition at line 366 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
WeightsFunctionType::Pointer itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::m_WeightsFunction
protected

Pointer to function used to compute Bspline interpolation weights.

Definition at line 369 of file itkBSplineBaseTransform.h.

Referenced by itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::GetNumberOfWeights().

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
const unsigned int itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SpaceDimension = NDimensions
static

Dimension of the domain space.

Definition at line 49 of file itkBSplineBaseTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3>
const unsigned int itk::BSplineBaseTransform< TScalar, NDimensions, VSplineOrder >::SplineOrder = VSplineOrder
static

The BSpline order.

Definition at line 52 of file itkBSplineBaseTransform.h.


The documentation for this class was generated from the following file: