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

#include <itkConstantVelocityFieldTransformParametersAdaptor.h>

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

Detailed Description

template<class TTransform>
class itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >

ConstantVelocityFieldTransformParametersAdaptor is a helper class intended to definition.

The fixed parameters store the following information: field size field origin field spacing field direction During multiresolution image registration it is often desired to also increase the displacement field 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 field size and decrease the spacing. This can be done as follows:

transformAdaptor->SetTransform( transform );
transformAdaptor->SetRequiredOrigin( displacementField->GetOrigin() );
transformAdaptor->SetRequiredDirection( displacementField->GetDirection() );
transformAdaptor->SetRequiredSize( requiredSize );
transformAdaptor->SetRequiredSpacing( requiredSpacing );
transformAdaptor->AdaptTransformParameters();
Author
Nick Tustison
Brian Avants

Definition at line 64 of file itkConstantVelocityFieldTransformParametersAdaptor.h.

Public Types

typedef
TransformType::ConstantVelocityFieldType 
ConstantVelocityFieldType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
ConstantVelocityFieldType::DirectionType 
DirectionType
 
typedef
TransformType::ParametersType 
ParametersType
 
typedef
TransformType::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef
ConstantVelocityFieldType::PointType 
PointType
 
typedef
ConstantVelocityFieldTransformParametersAdaptor 
Self
 
typedef
ConstantVelocityFieldType::SizeType 
SizeType
 
typedef
ConstantVelocityFieldType::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::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TransformParametersAdaptor Self
 
typedef
TransformParametersAdaptorBase
< TTransform > 
Superclass
 
typedef
Superclass::TransformPointer 
TransformPointer
 
typedef TTransform TransformType
 
- Public Types inherited from itk::TransformParametersAdaptorBase< TTransform >
typedef SmartPointer< const SelfConstPointer
 
typedef
TransformType::ParametersType 
ParametersType
 
typedef ParametersType::ValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef
TransformParametersAdaptorBase 
Self
 
typedef Object Superclass
 
typedef TransformType::Pointer TransformPointer
 
typedef TTransform TransformType
 
- 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 ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual const DirectionType GetRequiredDirection () const
 
virtual const PointType GetRequiredOrigin () const
 
virtual const SizeType GetRequiredSize () const
 
virtual const SpacingType GetRequiredSpacing () const
 
void SetRequiredDirection (const DirectionType &)
 
void SetRequiredOrigin (const PointType &)
 
void SetRequiredSize (const SizeType &)
 
void SetRequiredSpacing (const SpacingType &)
 
- Public Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const ParametersTypeGetRequiredFixedParameters ()
 
virtual void SetRequiredFixedParameters (ParametersType _arg)
 
virtual void SetTransform (TransformType *_arg)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
static Pointer New ()
 

Static Public Attributes

static const unsigned int ConstantVelocityFieldDimension = TransformType::ConstantVelocityFieldDimension
 

Protected Member Functions

 ConstantVelocityFieldTransformParametersAdaptor ()
 
 ~ConstantVelocityFieldTransformParametersAdaptor ()
 
- Protected Member Functions inherited from itk::TransformParametersAdaptor< TTransform >
void PrintSelf (std::ostream &os, Indent) const
 
 TransformParametersAdaptor ()
 
 ~TransformParametersAdaptor ()
 
- Protected Member Functions inherited from itk::TransformParametersAdaptorBase< TTransform >
void PrintSelf (std::ostream &os, Indent indent) const
 
 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

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

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::TransformParametersAdaptor< TTransform >
ParametersType m_RequiredFixedParameters
 
TransformPointer m_Transform
 

Member Typedef Documentation

template<class TTransform >
typedef TransformType::ConstantVelocityFieldType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ConstantVelocityFieldType
template<class TTransform >
typedef SmartPointer<const Self> itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ConstPointer
template<class TTransform >
typedef ConstantVelocityFieldType::DirectionType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::DirectionType
template<class TTransform >
typedef TransformType::ParametersType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ParametersType
template<class TTransform >
typedef TransformType::ParametersValueType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ParametersValueType
template<class TTransform >
typedef SmartPointer<Self> itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::Pointer
template<class TTransform >
typedef ConstantVelocityFieldType::PointType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::PointType

Standard class typedefs.

Definition at line 70 of file itkConstantVelocityFieldTransformParametersAdaptor.h.

template<class TTransform >
typedef ConstantVelocityFieldType::SizeType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SizeType
template<class TTransform >
typedef ConstantVelocityFieldType::SpacingType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SpacingType
template<class TTransform >
typedef TransformParametersAdaptor<TTransform> itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::Superclass
template<class TTransform >
typedef TransformType::Pointer itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::TransformPointer
template<class TTransform >
typedef TTransform itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::TransformType

Typedefs associated with the transform

Definition at line 79 of file itkConstantVelocityFieldTransformParametersAdaptor.h.

Constructor & Destructor Documentation

template<class TTransform >
itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ConstantVelocityFieldTransformParametersAdaptor ( const Self )
private

Member Function Documentation

template<class TTransform >
virtual void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::AdaptTransformParameters ( )
virtual
template<class TTransform >
virtual::itk::LightObject::Pointer itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::CreateAnother ( void  ) 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.

Reimplemented in itk::GaussianExponentialDiffeomorphicTransformParametersAdaptor< TTransform >.

template<class TTransform >
virtual const char* itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::GetNameOfClass ( ) const
virtual
template<class TTransform >
virtual const DirectionType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredDirection ( ) const
virtual

Get the required direction.

template<class TTransform >
virtual const PointType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredOrigin ( ) const
virtual

Get the required origin.

template<class TTransform >
virtual const SizeType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredSize ( ) const
virtual

Get the required size.

template<class TTransform >
virtual const SpacingType itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::GetRequiredSpacing ( ) const
virtual

Get the required spacing.

template<class TTransform >
static Pointer itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::New ( )
static

New macro for creation of through a Smart Pointer.

template<class TTransform >
void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::operator= ( const Self )
private
template<class TTransform >
void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredDirection ( const DirectionType )

Alternative method for setting the required direction.

template<class TTransform >
void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredOrigin ( const PointType )

Alternative method for setting the required origin.

template<class TTransform >
void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredSize ( const SizeType )

Alternative method for setting the required size.

template<class TTransform >
void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredSpacing ( const SpacingType )

Alternative method for setting the required spacing.

Member Data Documentation

template<class TTransform >
const unsigned int itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ConstantVelocityFieldDimension = TransformType::ConstantVelocityFieldDimension
static

Dimension of parameters.

Definition at line 94 of file itkConstantVelocityFieldTransformParametersAdaptor.h.


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