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

#include <itkTransformParametersAdaptor.h>

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

Detailed Description

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

Base helper class intended for multi-resolution image registration.

During multi-resolution image registration, it is often useful to expand the number of parameters describing the transform when going from one level to the next. For example, in B-spline registration, one often wants to increase the mesh size (or, equivalently, the control point grid size) for increased flexibility in optimizing the transform. This requires the propagation of the current transform solution to the next level where the solution is identical but with an increase in the number of parameters. This base class and those derived classes are meant to handle these types of situations.

Basic usage will involve the user specifying the required fixed parameters, i.e.

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

which will adjust the transform based on the new fixed parameters.

Author
Nick Tustison
Marius Staring

Definition at line 54 of file itkTransformParametersAdaptor.h.

Public Types

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 ParametersTypeGetRequiredFixedParameters ()
 
virtual void SetRequiredFixedParameters (ParametersType _arg)
 
virtual void SetTransform (TransformType *_arg)
 
- 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 (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
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName ()
 
- 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::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 Member Functions

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 ()
 

Protected Attributes

ParametersType m_RequiredFixedParameters
 
TransformPointer m_Transform
 
- Protected Attributes inherited from itk::TransformParametersAdaptorBase< TTransform >
ParametersType m_RequiredFixedParameters
 
TransformPointer m_Transform
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

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

Definition at line 63 of file itkTransformParametersAdaptor.h.

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

Definition at line 71 of file itkTransformParametersAdaptor.h.

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

Definition at line 72 of file itkTransformParametersAdaptor.h.

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

Definition at line 62 of file itkTransformParametersAdaptor.h.

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

Standard class typedefs.

Definition at line 60 of file itkTransformParametersAdaptor.h.

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

Definition at line 61 of file itkTransformParametersAdaptor.h.

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

Definition at line 70 of file itkTransformParametersAdaptor.h.

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

Typedefs associated with the transform

Definition at line 66 of file itkTransformParametersAdaptor.h.

Constructor & Destructor Documentation

template<typename TTransform >
itk::TransformParametersAdaptor< TTransform >::TransformParametersAdaptor ( )
inlineprotected

Definition at line 90 of file itkTransformParametersAdaptor.h.

template<typename TTransform >
itk::TransformParametersAdaptor< TTransform >::~TransformParametersAdaptor ( )
inlineprotected

Definition at line 91 of file itkTransformParametersAdaptor.h.

template<typename TTransform >
itk::TransformParametersAdaptor< TTransform >::TransformParametersAdaptor ( const Self )
private

Member Function Documentation

template<typename TTransform >
virtual void itk::TransformParametersAdaptor< TTransform >::AdaptTransformParameters ( )
inlinevirtual
template<typename TTransform >
virtual::itk::LightObject::Pointer itk::TransformParametersAdaptor< 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.

template<typename TTransform >
virtual const char* itk::TransformParametersAdaptor< TTransform >::GetNameOfClass ( ) const
virtual
template<typename TTransform >
virtual const ParametersType& itk::TransformParametersAdaptor< TTransform >::GetRequiredFixedParameters ( )
virtual

Get the fixed parameters

Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.

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

New macro for creation of through the object factory.

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

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::Object.

Definition at line 93 of file itkTransformParametersAdaptor.h.

References itk::TransformParametersAdaptor< TTransform >::m_RequiredFixedParameters.

template<typename TTransform >
virtual void itk::TransformParametersAdaptor< TTransform >::SetRequiredFixedParameters ( ParametersType  _arg)
virtual
template<typename TTransform >
virtual void itk::TransformParametersAdaptor< TTransform >::SetTransform ( TransformType _arg)
virtual

Set the transform to be adapted

Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.

Member Data Documentation

template<typename TTransform >
ParametersType itk::TransformParametersAdaptor< TTransform >::m_RequiredFixedParameters
protected
template<typename TTransform >
TransformPointer itk::TransformParametersAdaptor< TTransform >::m_Transform
protected

Definition at line 98 of file itkTransformParametersAdaptor.h.


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