ITK  4.8.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::BSplineTransformParametersAdaptor< TTransform > Class Template Reference

#include <itkBSplineTransformParametersAdaptor.h>

+ Inheritance diagram for itk::BSplineTransformParametersAdaptor< TTransform >:
+ Collaboration diagram for itk::BSplineTransformParametersAdaptor< TTransform >:

Detailed Description

template<typename TTransform>
class itk::BSplineTransformParametersAdaptor< TTransform >

BSplineTransformParametersAdaptor adapts a BSplineTransform to the new specified fixed parameters.

The fixed parameters of the BSplineTransform store the following information (in order as they appear in m_FixedParameters): grid size grid origin grid spacing grid direction

During multiresolution image registration it is often desired to also increase the B-spline grid resolution for greater flexibility in optimizing the transform. As defined in the base class, the user can change the resolution via

* transformAdaptor->SetTransform( transform );
* transformAdaptor->SetRequiredFixedParameters( fixedParameters );
* transformAdaptor->AdaptTransformParameters();
*

or the user can use the more intuitive API for setting the fixed parameters. E.g., often the user will want to maintain the same transform domain spatial extent but only increase the mesh size. This can be done as follows:

* transformAdaptor->SetTransform( transform );
* transformAdaptor->SetRequiredTransformDomainOrigin( transform->GetTransformDomainOrigin() );
* transformAdaptor->SetRequiredTransformDomainDirection( transform->GetTransformDomainDirection() );
* transformAdaptor->SetRequiredTransformDomainPhysicalDimensions( transform->GetTransformDomainPhysicalDimensions() );
* transformAdaptor->SetRequiredTransformDomainMeshSize( newMeshSize );
* transformAdaptor->AdaptTransformParameters();
*
Author
Nick Tustison
Marius Staring
Examples:
Examples/RegistrationITKv4/DeformableRegistration6.cxx.

Definition at line 65 of file itkBSplineTransformParametersAdaptor.h.

Public Types

typedef
TransformType::CoefficientImageArray 
CoefficientImageArray
 
typedef SmartPointer< const SelfConstPointer
 
typedef
TransformType::DirectionType 
DirectionType
 
typedef
Superclass::FixedParametersType 
FixedParametersType
 
typedef
Superclass::FixedParametersValueType 
FixedParametersValueType
 
typedef TransformType::ImageType ImageType
 
typedef TransformType::IndexType IndexType
 
typedef TransformType::MeshSizeType MeshSizeType
 
typedef TransformType::OriginType OriginType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef
TransformType::PhysicalDimensionsType 
PhysicalDimensionsType
 
typedef SmartPointer< SelfPointer
 
typedef ImageType::RegionType RegionType
 
typedef
BSplineTransformParametersAdaptor 
Self
 
typedef TransformType::SizeType SizeType
 
typedef TransformType::SpacingType SpacingType
 
typedef
TransformParametersAdaptor
< TTransform > 
Superclass
 
typedef TransformType::Pointer TransformPointer
 
typedef TTransform TransformType
 
- Public Types inherited from itk::TransformParametersAdaptor< TTransform >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::FixedParametersType 
FixedParametersType
 
typedef
Superclass::FixedParametersValueType 
FixedParametersValueType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TransformParametersAdaptor Self
 
typedef
TransformParametersAdaptorBase
< Transform< typename
TTransform::ScalarType,
TTransform::InputSpaceDimension,
TTransform::OutputSpaceDimension > > 
Superclass
 
typedef
Superclass::TransformBaseType 
TransformBaseType
 
typedef TransformType::Pointer TransformPointer
 
typedef TTransform TransformType
 
- Public Types inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef
TransformBaseType::FixedParametersType 
FixedParametersType
 
typedef
TransformBaseType::FixedParametersValueType 
FixedParametersValueType
 
typedef
TransformBaseType::ParametersType 
ParametersType
 
typedef ParametersType::ValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef
TransformParametersAdaptorBase 
Self
 
typedef Object Superclass
 
typedef TransformBaseType::Pointer TransformBasePointer
 
typedef Transform
< TTransform::ScalarType,
TTransform::InputSpaceDimension,
TTransform::OutputSpaceDimension > 
TransformBaseType
 
- 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

virtual void AdaptTransformParameters () override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual const DirectionTypeGetRequiredTransformDomainDirection () const
 
virtual const MeshSizeTypeGetRequiredTransformDomainMeshSize () const
 
virtual const OriginTypeGetRequiredTransformDomainOrigin () const
 
virtual const
PhysicalDimensionsType
GetRequiredTransformDomainPhysicalDimensions () const
 
virtual void SetRequiredFixedParameters (const FixedParametersType) override
 
void SetRequiredTransformDomainDirection (const DirectionType &)
 
void SetRequiredTransformDomainMeshSize (const MeshSizeType &)
 
void SetRequiredTransformDomainOrigin (const OriginType &)
 
void SetRequiredTransformDomainPhysicalDimensions (const PhysicalDimensionsType &)
 
- Public Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const FixedParametersTypeGetRequiredFixedParameters () const override
 
virtual void SetTransform (TransformType *_arg)
 
virtual void SetTransform (TransformBaseType *_arg, void *) override
 
- Public Member Functions inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >
virtual void SetRequiredFixedParameters (FixedParametersType _arg)
 
virtual void SetTransform (TransformBaseType *_arg, void *priorityLower=nullptr)=0
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () 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 override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
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 Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
static Pointer New ()
 
- 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 ()
 

Static Public Attributes

static const unsigned int SpaceDimension = TransformType::SpaceDimension
 

Protected Member Functions

 BSplineTransformParametersAdaptor ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~BSplineTransformParametersAdaptor ()
 
- Protected Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 TransformParametersAdaptor ()
 
 ~TransformParametersAdaptor ()
 
- Protected Member Functions inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >
 TransformParametersAdaptorBase ()
 
 ~TransformParametersAdaptorBase ()
 
- 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
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

 BSplineTransformParametersAdaptor (const Self &)
 
void operator= (const Self &)
 
void UpdateRequiredFixedParameters ()
 

Private Attributes

DirectionType m_RequiredTransformDomainDirection
 
MeshSizeType m_RequiredTransformDomainMeshSize
 
OriginType m_RequiredTransformDomainOrigin
 
PhysicalDimensionsType m_RequiredTransformDomainPhysicalDimensions
 

Additional Inherited Members

- Protected Attributes inherited from itk::TransformParametersAdaptor< TTransform >
TransformPointer m_Transform
 
- Protected Attributes inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >
FixedParametersType m_RequiredFixedParameters
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TTransform >
typedef TransformType::CoefficientImageArray itk::BSplineTransformParametersAdaptor< TTransform >::CoefficientImageArray

Definition at line 102 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef SmartPointer<const Self> itk::BSplineTransformParametersAdaptor< TTransform >::ConstPointer

Definition at line 74 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformType::DirectionType itk::BSplineTransformParametersAdaptor< TTransform >::DirectionType

Definition at line 96 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef Superclass::FixedParametersType itk::BSplineTransformParametersAdaptor< TTransform >::FixedParametersType

Definition at line 86 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef Superclass::FixedParametersValueType itk::BSplineTransformParametersAdaptor< TTransform >::FixedParametersValueType

Definition at line 87 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformType::ImageType itk::BSplineTransformParametersAdaptor< TTransform >::ImageType

Definition at line 100 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformType::IndexType itk::BSplineTransformParametersAdaptor< TTransform >::IndexType

Definition at line 94 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformType::MeshSizeType itk::BSplineTransformParametersAdaptor< TTransform >::MeshSizeType

Definition at line 95 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformType::OriginType itk::BSplineTransformParametersAdaptor< TTransform >::OriginType

Definition at line 91 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef Superclass::ParametersType itk::BSplineTransformParametersAdaptor< TTransform >::ParametersType

Definition at line 88 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef Superclass::ParametersValueType itk::BSplineTransformParametersAdaptor< TTransform >::ParametersValueType

Definition at line 89 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformType::PhysicalDimensionsType itk::BSplineTransformParametersAdaptor< TTransform >::PhysicalDimensionsType

Definition at line 97 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef SmartPointer<Self> itk::BSplineTransformParametersAdaptor< TTransform >::Pointer

Definition at line 73 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef ImageType::RegionType itk::BSplineTransformParametersAdaptor< TTransform >::RegionType

Definition at line 101 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef BSplineTransformParametersAdaptor itk::BSplineTransformParametersAdaptor< TTransform >::Self

Standard class typedefs.

Definition at line 71 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformType::SizeType itk::BSplineTransformParametersAdaptor< TTransform >::SizeType

Definition at line 92 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformType::SpacingType itk::BSplineTransformParametersAdaptor< TTransform >::SpacingType

Definition at line 93 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformParametersAdaptor<TTransform> itk::BSplineTransformParametersAdaptor< TTransform >::Superclass

Definition at line 72 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TransformType::Pointer itk::BSplineTransformParametersAdaptor< TTransform >::TransformPointer

Definition at line 84 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
typedef TTransform itk::BSplineTransformParametersAdaptor< TTransform >::TransformType

Typedefs associated with the transform

Definition at line 80 of file itkBSplineTransformParametersAdaptor.h.

Constructor & Destructor Documentation

template<typename TTransform >
itk::BSplineTransformParametersAdaptor< TTransform >::BSplineTransformParametersAdaptor ( )
protected
template<typename TTransform >
itk::BSplineTransformParametersAdaptor< TTransform >::~BSplineTransformParametersAdaptor ( )
protected
template<typename TTransform >
itk::BSplineTransformParametersAdaptor< TTransform >::BSplineTransformParametersAdaptor ( const Self )
private

Member Function Documentation

template<typename TTransform >
virtual void itk::BSplineTransformParametersAdaptor< TTransform >::AdaptTransformParameters ( )
overridevirtual

Initialize the transform using the specified fixed parameters

Reimplemented from itk::TransformParametersAdaptor< TTransform >.

template<typename TTransform >
virtual::itk::LightObject::Pointer itk::BSplineTransformParametersAdaptor< TTransform >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TTransform >
virtual const char* itk::BSplineTransformParametersAdaptor< TTransform >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::TransformParametersAdaptor< TTransform >.

template<typename TTransform >
virtual const DirectionType& itk::BSplineTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainDirection ( ) const
virtual

Get the required direction.

template<typename TTransform >
virtual const MeshSizeType& itk::BSplineTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainMeshSize ( ) const
virtual

Get the required mesh size.

template<typename TTransform >
virtual const OriginType& itk::BSplineTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainOrigin ( ) const
virtual

Get the required origin.

template<typename TTransform >
virtual const PhysicalDimensionsType& itk::BSplineTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainPhysicalDimensions ( ) const
virtual

Get the required physical dimensions.

template<typename TTransform >
static Pointer itk::BSplineTransformParametersAdaptor< TTransform >::New ( )
static

New macro for creation of through a Smart Pointer.

template<typename TTransform >
void itk::BSplineTransformParametersAdaptor< TTransform >::operator= ( const Self )
private
template<typename TTransform >
void itk::BSplineTransformParametersAdaptor< TTransform >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >.

template<typename TTransform >
virtual void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredFixedParameters ( const FixedParametersType  fixedParameters)
overridevirtual

Set the fixed parameters

Reimplemented from itk::TransformParametersAdaptor< TTransform >.

template<typename TTransform >
void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainDirection ( const DirectionType )

Alternative method for setting the required direction.

template<typename TTransform >
void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainMeshSize ( const MeshSizeType )

Alternative method for setting the required mesh size.

template<typename TTransform >
void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainOrigin ( const OriginType )

Alternative method for setting the required origin.

template<typename TTransform >
void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainPhysicalDimensions ( const PhysicalDimensionsType )

Alternative method for setting the required mesh size.

template<typename TTransform >
void itk::BSplineTransformParametersAdaptor< TTransform >::UpdateRequiredFixedParameters ( )
private

Helper function to set m_RequiredFixedParameters

Member Data Documentation

template<typename TTransform >
DirectionType itk::BSplineTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainDirection
private

Definition at line 151 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
MeshSizeType itk::BSplineTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainMeshSize
private

Definition at line 149 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
OriginType itk::BSplineTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainOrigin
private

Definition at line 150 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
PhysicalDimensionsType itk::BSplineTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainPhysicalDimensions
private

Definition at line 152 of file itkBSplineTransformParametersAdaptor.h.

template<typename TTransform >
const unsigned int itk::BSplineTransformParametersAdaptor< TTransform >::SpaceDimension = TransformType::SpaceDimension
static

Dimension of parameters.

Definition at line 105 of file itkBSplineTransformParametersAdaptor.h.


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