NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar > Class Template Reference

Deformable transform using a BSpline representation. More...

Inheritance diagram for itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >:
Inheritance graph
[legend]
Collaboration diagram for itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >:
Collaboration graph
[legend]

Public Types

typedef UCLBSplineTransform Self
 
typedef DeformableTransform
< TFixedImage, TScalarType,
NDimensions,
TDeformationScalar > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::JacobianType JacobianType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef
Superclass::DeformationFieldPixelType 
DeformationFieldPixelType
 
typedef
Superclass::DeformationFieldType 
DeformationFieldType
 
typedef
Superclass::DeformationFieldPointer 
DeformationFieldPointer
 
typedef
Superclass::DeformationFieldRegionType 
DeformationFieldRegionType
 
typedef
Superclass::DeformationFieldIndexType 
DeformationFieldIndexType
 
typedef
Superclass::DeformationFieldSizeType 
DeformationFieldSizeType
 
typedef
Superclass::DeformationFieldSpacingType 
DeformationFieldSpacingType
 
typedef
Superclass::DeformationFieldDirectionType 
DeformationFieldDirectionType
 
typedef
Superclass::DeformationFieldOriginType 
DeformationFieldOriginType
 
typedef Vector
< TDeformationScalar,
NDimensions > 
GridPixelType
 
typedef Image< GridPixelType,
NDimensions > 
GridImageType
 
typedef GridImageType::Pointer GridImagePointer
 
typedef ImageRegion< NDimensions > GridRegionType
 
typedef GridRegionType::IndexType GridIndexType
 
typedef GridRegionType::SizeType GridSizeType
 
typedef GridImageType::SpacingType GridSpacingType
 
typedef
GridImageType::DirectionType 
GridDirectionType
 
typedef GridImageType::PointType GridOriginType
 
typedef TDeformationScalar BendingEnergyPixelType
 
typedef Image
< TDeformationScalar,
NDimensions > 
BendingEnergyImageType
 
typedef ImageRegion< NDimensions > BendingEnergyImageRegionType
 
typedef
BendingEnergyImageRegionType::SizeType 
BendingEnergyImageSizeType
 
typedef
BendingEnergyImageType::Pointer 
BendingEnergyImagePointer
 
typedef const
BendingEnergyImageType
BendingEnergyImageConstPointer
 
typedef ImageRegionIterator
< BendingEnergyImageType
BendingEnergyIteratorType
 
typedef
ScalarImageToNormalizedGradientVectorImageFilter
< BendingEnergyImageType,
TDeformationScalar > 
BendingEnergyDerivativeFilterType
 
typedef
BendingEnergyDerivativeFilterType::Pointer 
BendingEnergyDerivativeFilterPointer
 
typedef
BendingEnergyDerivativeFilterType::OutputPixelType 
BendingEnergyDerivativePixelType
 
typedef
BendingEnergyDerivativeFilterType::OutputImageType 
BendingEnergyDerivativeImageType
 
typedef
ImageRegionConstIterator
< BendingEnergyDerivativeImageType
BendingEnergyDerivativeIteratorType
 
typedef TFixedImage FixedImageType
 
typedef
FixedImageType::ConstPointer 
FixedImagePointer
 
typedef itk::ContinuousIndex
< TDeformationScalar,
NDimensions > 
GridVoxelCoordinateType
 
typedef
itk::ImageRegionIterator
< DeformationFieldType
DeformationFieldIteratorType
 
typedef
itk::ImageRegionConstIteratorWithIndex
< GridImageType
GridConstIteratorType
 
typedef
itk::ImageRegionIterator
< GridImageType
GridIteratorType
 
typedef
SingleValuedCostFunction::MeasureType 
MeasureType
 
- Public Types inherited from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >
typedef DeformableTransform Self
 
typedef Transform< TScalarType,
NDimensions, NDimensions > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef Array
< ParametersValueType
DerivativeType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef
Superclass::OutputVectorType 
OutputVectorType
 
typedef
Superclass::InputCovariantVectorType 
InputCovariantVectorType
 
typedef
Superclass::OutputCovariantVectorType 
OutputCovariantVectorType
 
typedef
Superclass::InputVnlVectorType 
InputVnlVectorType
 
typedef
Superclass::OutputVnlVectorType 
OutputVnlVectorType
 
typedef Vector
< TDeformationScalar,
NDimensions > 
VectorFieldPixelType
 
typedef Image
< VectorFieldPixelType,
NDimensions > 
VectorFieldImageType
 
typedef
VectorFieldImageType::Pointer 
VectorFieldImagePointer
 
typedef
VectorFieldImageType::SizeType 
VectorFieldSizeType
 
typedef ImageRegionIterator
< VectorFieldImageType
VectorFieldIteratorType
 
typedef
ImageRegionConstIterator
< VectorFieldImageType
VectorFieldConstIteratorType
 
typedef VectorFieldPixelType DeformationFieldPixelType
 
typedef VectorFieldImageType DeformationFieldType
 
typedef
DeformationFieldType::Pointer 
DeformationFieldPointer
 
typedef ImageRegion< NDimensions > DeformationFieldRegionType
 
typedef
DeformationFieldRegionType::IndexType 
DeformationFieldIndexType
 
typedef
DeformationFieldRegionType::SizeType 
DeformationFieldSizeType
 
typedef
DeformationFieldType::SpacingType 
DeformationFieldSpacingType
 
typedef
DeformationFieldType::DirectionType 
DeformationFieldDirectionType
 
typedef
DeformationFieldType::PointType 
DeformationFieldOriginType
 
typedef Image
< TDeformationScalar,
NDimensions > 
DeformationFieldComponentImageType
 
typedef TFixedImage FixedImageType
 
typedef
FixedImageType::ConstPointer 
FixedImagePointer
 
typedef Transform< TScalarType,
itkGetStaticConstMacro(SpaceDimension),
itkGetStaticConstMacro(SpaceDimension)> 
GlobalTransformType
 
typedef
GlobalTransformType::ConstPointer 
GlobalTransformPointer
 
typedef
DisplacementFieldJacobianDeterminantFilter
< DeformationFieldType,
TScalarType > 
JacobianDeterminantFilterType
 
typedef
JacobianDeterminantFilterType::Pointer 
JacobianDeterminantFilterPointer
 
typedef Superclass::JacobianType JacobianType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions)
 
virtual void SetIdentity ()
 
void Initialize (FixedImagePointer fixedImage, GridSpacingType finalGridSpacingInMillimetres, int numberOfLevels)
 
void InterpolateNextGrid (FixedImagePointer fixedImage)
 
void SetParameters (const ParametersType &parameters)
 
virtual const ParametersTypeGetFixedParameters (void) const
 
virtual void SetFixedParameters (const ParametersType &parameters)
 
MeasureType GetBendingEnergy ()
 
virtual bool GetBendingEnergyHasBeenUpdatedFlag ()
 
void GetBendingEnergyDerivative (DerivativeType &derivative)
 
void GetBendingEnergyDerivativeDaniel (DerivativeType &derivative)
 
void GetBendingEnergyDerivativeMarc (DerivativeType &derivative)
 
virtual GridImageTypeGetGrid ()
 
virtual void WriteParameters (std::string filename)
 
void WriteControlPointImage (std::string filename)
 
virtual OutputPointType TransformPoint (const InputPointType &point) const
 
- Public Member Functions inherited from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >
 itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions)
 
virtual void SetGlobalTransform (const GlobalTransformType *_arg)
 
virtual const GlobalTransformTypeGetGlobalTransform ()
 
virtual void SetInverseSearchRadius (double _arg)
 
virtual double GetInverseSearchRadius ()
 
virtual const ParametersTypeGetParameters (void) const
 
virtual NumberOfParametersType GetNumberOfParameters (void) const
 
virtual void SetParametersFromField (const VectorFieldImagePointer &image, bool force=false)
 
virtual DeformationFieldTypeGetDeformationField () const
 
TScalarType ComputeMaxDeformation ()
 
TScalarType ComputeMinDeformation ()
 
TScalarType ComputeMaxJacobian ()
 
TScalarType ComputeMinJacobian ()
 
TScalarType GetSumLogJacobianDeterminant ()
 
virtual void WriteTransform (std::string filename)
 
void WriteJacobianImage (std::string filename)
 
void WriteMidasStrImage (std::string filename, int origin[NDimensions], typename TFixedImage::RegionType paddedDesiredRegion, const typename JacobianDeterminantFilterType::OutputImageType *jacobianImage)
 
void ReadMidasStrImage (std::string filename, int origin[NDimensions], typename TFixedImage::RegionType paddedDesiredRegion, typename JacobianDeterminantFilterType::OutputImageType *jacobianImage)
 
void WriteMidasVecImage (std::string filename, int origin[NDimensions], typename TFixedImage::RegionType paddedDesiredRegion)
 
void WriteVectorImage (std::string filename)
 
void Initialize (FixedImagePointer image)
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
virtual bool IsLinear () const
 
virtual bool IsIdentity ()
 
bool GetInverse (Self *inverse) const
 
void ConcatenateAfterGivenTransform (Self *givenTransform)
 
virtual bool IsRegridable () const
 
virtual void UpdateRegriddedDeformationParameters (ParametersType &regriddedParameters, const ParametersType &currentPosition)
 
void SetUseForwardDifferenceJacobianCalculation ()
 
void InitialiseGlobalTransformation ()
 
JacobianDeterminantFilterType::OutputImageType * GetJacobianImage () const
 
void ExtractComponents ()
 
void InvertUsingIterativeFixedPoint (typename Self::Pointer invertedTransform, int maxIterations, int maxOuterIterations, double tol)
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 UCLBSplineTransform ()
 
virtual ~UCLBSplineTransform ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
- Protected Member Functions inherited from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >
 DeformableTransform ()
 
virtual ~DeformableTransform ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
unsigned long int GetNumberOfParametersImpliedByImage (const VectorFieldImagePointer image)
 
void ResizeParametersArray (const VectorFieldImagePointer image)
 
void MarshallParametersToImage (VectorFieldImagePointer image)
 
void MarshallImageToParameters (const VectorFieldImagePointer image, ParametersType &parameters)
 
virtual
JacobianDeterminantFilterType::OutputImageRegionType 
GetValidJacobianRegion () const
 

Additional Inherited Members

- Protected Attributes inherited from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >
DeformationFieldType::Pointer m_DeformationField
 
GlobalTransformPointer m_GlobalTransform
 
JacobianDeterminantFilterPointer m_JacobianFilter
 
double m_InverseSearchRadius
 
double m_InverseVoxelTolerance
 
double m_InverseIterationTolerance
 
double m_MaxNumberOfInverseIterations
 
DeformationFieldComponentImageType::Pointer m_DeformationFieldComponent [NDimensions]
 

Detailed Description

template<class TFixedImage, class TScalarType, unsigned int NDimensions, class TDeformationScalar>
class itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >

Deformable transform using a BSpline representation.

SetParameters and GetParameters are used by the standard ITK optimizers. You should call Initialize() with your fixed image, which will set up the size of the deformation field, according to the grid spacing.

Alternatively, you can force the grid size/space/origin using SetGridSize, SetGridSpacing, SetGridOrigin. When you call these methods, the parameters array is resized, and reset.

Internally, Set/GetGridSize, Set/GetGridSpacing, Set/GetGridOrigin operate directly onto the control point grid.

Member Typedef Documentation

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef BendingEnergyDerivativeFilterType::Pointer itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyDerivativeFilterPointer
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef ScalarImageToNormalizedGradientVectorImageFilter<BendingEnergyImageType, TDeformationScalar> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyDerivativeFilterType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef BendingEnergyDerivativeFilterType::OutputImageType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyDerivativeImageType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef ImageRegionConstIterator<BendingEnergyDerivativeImageType> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyDerivativeIteratorType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef BendingEnergyDerivativeFilterType::OutputPixelType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyDerivativePixelType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef const BendingEnergyImageType* itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyImageConstPointer
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef BendingEnergyImageType::Pointer itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyImagePointer
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef ImageRegion<NDimensions> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyImageRegionType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef BendingEnergyImageRegionType::SizeType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyImageSizeType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Image<TDeformationScalar, NDimensions> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyImageType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef ImageRegionIterator<BendingEnergyImageType> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyIteratorType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef TDeformationScalar itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::BendingEnergyPixelType

typedefs for image of bending energy.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef SmartPointer<const Self> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::ConstPointer
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DeformationFieldDirectionType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldDirectionType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DeformationFieldIndexType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldIndexType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef itk::ImageRegionIterator<DeformationFieldType> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldIteratorType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DeformationFieldOriginType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldOriginType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DeformationFieldPixelType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldPixelType

Typedefs for the deformation field.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DeformationFieldPointer itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldPointer
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DeformationFieldRegionType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldRegionType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DeformationFieldSizeType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldSizeType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DeformationFieldSpacingType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldSpacingType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DeformationFieldType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DeformationFieldType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::DerivativeType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::DerivativeType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef FixedImageType::ConstPointer itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::FixedImagePointer
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef TFixedImage itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::FixedImageType

The deformation field is defined over the fixed image.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef itk::ImageRegionConstIteratorWithIndex<GridImageType> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridConstIteratorType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef GridImageType::DirectionType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridDirectionType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef GridImageType::Pointer itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridImagePointer
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Image<GridPixelType, NDimensions> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridImageType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef GridRegionType::IndexType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridIndexType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef itk::ImageRegionIterator<GridImageType> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridIteratorType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef GridImageType::PointType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridOriginType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Vector< TDeformationScalar, NDimensions > itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridPixelType

Typedefs for the grid of control points.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef ImageRegion<NDimensions> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridRegionType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef GridRegionType::SizeType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridSizeType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef GridImageType::SpacingType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridSpacingType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef itk::ContinuousIndex<TDeformationScalar, NDimensions> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GridVoxelCoordinateType

Typedefs for internal stuff.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::InputPointType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::InputPointType

Standard coordinate point type for this class.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::JacobianType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::JacobianType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef SingleValuedCostFunction::MeasureType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::MeasureType

For returning the bending energy.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::OutputPointType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::OutputPointType
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::ParametersType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::ParametersType

Standard parameters container.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef SmartPointer<Self> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::Pointer
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef Superclass::ScalarType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::ScalarType

Standard scalar type for this class.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef UCLBSplineTransform itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::Self

Standard class typedefs.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
typedef DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar> itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::Superclass

Constructor & Destructor Documentation

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::UCLBSplineTransform ( )
protected
template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
virtual itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::~UCLBSplineTransform ( )
protectedvirtual

Member Function Documentation

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
MeasureType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GetBendingEnergy ( )

Returns the bending energy of the transformation.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GetBendingEnergyDerivative ( DerivativeType derivative)

The writes the derivatives into the supplied array.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GetBendingEnergyDerivativeDaniel ( DerivativeType derivative)

Get bending energy derivative in a method like Daniel Rueckerts.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GetBendingEnergyDerivativeMarc ( DerivativeType derivative)

Get bending energy derivative like Marc Modat.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
virtual bool itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GetBendingEnergyHasBeenUpdatedFlag ( )
virtual

This defaults to false, and will go to true, if bending energy is ever evaluated.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
virtual const char* itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
virtual const ParametersType& itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GetFixedParameters ( void  ) const
virtual

Get the fixed parameters for saving.

Reimplemented from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
virtual GridImageType* itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::GetGrid ( )
virtual

Access to the Grid of control points.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::Initialize ( FixedImagePointer  fixedImage,
GridSpacingType  finalGridSpacingInMillimetres,
int  numberOfLevels 
)

Convenience method to set up internal images. Sets the internal deformation field to the same size as fixed image. Sets the grid size, and parameters array to the right size grid, and calls SetIdentity().

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::InterpolateNextGrid ( FixedImagePointer  fixedImage)

Increases the resolution of the grid, for when you are doing multi-resolution.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::itkStaticConstMacro ( SpaceDimension  ,
unsigned  int,
NDimensions   
)

Get the number of dimensions.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
static Pointer itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::New ( )
static

New macro for creation of through the object factory.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected

Print contents of an BSplineDeformableTransform.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
virtual void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::SetFixedParameters ( const ParametersType parameters)
virtual

Set the fixed paramters for loading

Reimplemented from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
virtual void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::SetIdentity ( )
virtual

Set the deformation field to Identity, (no deformation). Doesn't affect the Global transform. Doesn't resize anything.

Reimplemented from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::SetParameters ( const ParametersType parameters)
virtual

This method sets the parameters of the transform. For a BSpline deformation transform, the parameters are the control point displacements.

Imagine an N-D grid, with the same configuration as an N-D image (ie. same, x,y,z order.. with x increasing most quickly and z increasing least quickly.). At each point, you have 3 cooefficients which represent a vector at that point. So, the order of the parameters are the 3 cooefficients (x,y,z) for each point in turn.

Reimplemented from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
virtual OutputPointType itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::TransformPoint ( const InputPointType point) const
virtual

Declared virtual in base class, transform points

Reimplemented from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::WriteControlPointImage ( std::string  filename)

Write out the current transformation as an image of vectors.

template<class TFixedImage , class TScalarType , unsigned int NDimensions, class TDeformationScalar >
virtual void itk::UCLBSplineTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >::WriteParameters ( std::string  filename)
inlinevirtual

Write parameters, so subclass can override if necessary. So when this is called on base class, we write control points instead of the deformation field.

Reimplemented from itk::DeformableTransform< TFixedImage, TScalarType, NDimensions, TDeformationScalar >.


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