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

#include <itkCenteredVersorTransformInitializer.h>

+ Inheritance diagram for itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >:
+ Collaboration diagram for itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >:

Detailed Description

template<class TFixedImage, class TMovingImage>
class itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >

CenteredVersorTransformInitializer is a helper class intended to initialize the center of rotation, versor, and translation of the VersorRigid3DTransform.

This class derived from the CenteredTransformInitializer and uses it in a more constrained context. It always uses the Moments mode, and also takes advantage of the second order moments in order to initialize the Versor representing rotation.

Definition at line 41 of file itkCenteredVersorTransformInitializer.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::FixedImagePointer 
FixedImagePointer
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::InputPointType InputPointType
 
typedef
Superclass::MovingImagePointer 
MovingImagePointer
 
typedef Superclass::MovingImageType MovingImageType
 
typedef Superclass::OffsetType OffsetType
 
typedef
Superclass::OutputVectorType 
OutputVectorType
 
typedef SmartPointer< SelfPointer
 
typedef
CenteredVersorTransformInitializer 
Self
 
typedef
CenteredTransformInitializer
< VersorRigid3DTransform
< double >, TFixedImage,
TMovingImage > 
Superclass
 
typedef
Superclass::TransformPointer 
TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
FixedImageCalculatorType::Pointer 
FixedImageCalculatorPointer
 
typedef ImageMomentsCalculator
< FixedImageType
FixedImageCalculatorType
 
typedef
FixedImageType::ConstPointer 
FixedImagePointer
 
typedef TFixedImage FixedImageType
 
typedef
TransformType::InputPointType 
InputPointType
 
typedef
MovingImageCalculatorType::Pointer 
MovingImageCalculatorPointer
 
typedef ImageMomentsCalculator
< MovingImageType
MovingImageCalculatorType
 
typedef
MovingImageType::ConstPointer 
MovingImagePointer
 
typedef TMovingImage MovingImageType
 
typedef TransformType::OffsetType OffsetType
 
typedef
TransformType::OutputVectorType 
OutputVectorType
 
typedef SmartPointer< SelfPointer
 
typedef
CenteredTransformInitializer 
Self
 
typedef Object Superclass
 
typedef TransformType::Pointer TransformPointer
 
typedef VersorRigid3DTransform
< double > 
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 ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void InitializeTransform ()
 
virtual void SetComputeRotation (bool _arg)
 
virtual bool GetComputeRotation ()
 
virtual void ComputeRotationOn ()
 
virtual void ComputeRotationOff ()
 
- Public Member Functions inherited from itk::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void SetFixedImage (const FixedImageType *_arg)
 
virtual void SetMovingImage (const MovingImageType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
void GeometryOn ()
 
void MomentsOn ()
 
virtual FixedImageCalculatorTypeGetModifiableFixedCalculator ()
 
virtual const
FixedImageCalculatorType
GetFixedCalculator () const
 
virtual MovingImageCalculatorTypeGetModifiableMovingCalculator ()
 
virtual const
MovingImageCalculatorType
GetMovingCalculator () const
 
- 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
 
- 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::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
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 InputSpaceDimension = Superclass::InputSpaceDimension
 
static const unsigned int OutputSpaceDimension = Superclass::OutputSpaceDimension
 
- Static Public Attributes inherited from itk::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
static const unsigned int InputSpaceDimension
 
static const unsigned int OutputSpaceDimension
 

Protected Member Functions

 CenteredVersorTransformInitializer ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~CenteredVersorTransformInitializer ()
 
- Protected Member Functions inherited from itk::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
 CenteredTransformInitializer ()
 
virtual TransformTypeGetModifiableTransform ()
 
virtual const TransformTypeGetTransform () const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~CenteredTransformInitializer ()
 
- 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

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

Private Attributes

bool m_ComputeRotation
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<class TFixedImage , class TMovingImage >
typedef SmartPointer< const Self > itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::ConstPointer

Definition at line 54 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImagePointer itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::FixedImagePointer

Definition at line 77 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageType itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::FixedImageType

Image Types to use in the initialization of the transform

Definition at line 74 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef Superclass::InputPointType itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::InputPointType

Point type.

Definition at line 84 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImagePointer itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::MovingImagePointer

Definition at line 78 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageType itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::MovingImageType

Definition at line 75 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef Superclass::OffsetType itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::OffsetType

Offset type.

Definition at line 81 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef Superclass::OutputVectorType itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::OutputVectorType

Vector type.

Definition at line 87 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef SmartPointer< Self > itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::Pointer

Definition at line 53 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef CenteredVersorTransformInitializer itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::Self

Standard class typedefs.

Definition at line 48 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage > itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::Superclass

Definition at line 51 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef Superclass::TransformPointer itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::TransformPointer

Definition at line 64 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
typedef Superclass::TransformType itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::TransformType

Type of the transform to initialize

Definition at line 60 of file itkCenteredVersorTransformInitializer.h.

Constructor & Destructor Documentation

template<class TFixedImage , class TMovingImage >
itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::CenteredVersorTransformInitializer ( )
protected
template<class TFixedImage , class TMovingImage >
itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::~CenteredVersorTransformInitializer ( )
inlineprotected

Definition at line 101 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::CenteredVersorTransformInitializer ( const Self )
private

Member Function Documentation

template<class TFixedImage , class TMovingImage >
virtual void itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::ComputeRotationOff ( )
virtual

Enable the use of the principal axes of each image to compute an initial rotation that will align them.

template<class TFixedImage , class TMovingImage >
virtual void itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::ComputeRotationOn ( )
virtual

Enable the use of the principal axes of each image to compute an initial rotation that will align them.

template<class TFixedImage , class TMovingImage >
virtual::itk::LightObject::Pointer itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::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<class TFixedImage , class TMovingImage >
virtual bool itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::GetComputeRotation ( )
virtual

Enable the use of the principal axes of each image to compute an initial rotation that will align them.

template<class TFixedImage , class TMovingImage >
virtual const char* itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >.

template<class TFixedImage , class TMovingImage >
void itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::InitializeTransform ( )
virtual

Initialize the transform using data from the images

Reimplemented from itk::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >.

template<class TFixedImage , class TMovingImage >
static Pointer itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::New ( )
static

New macro for creation of through a Smart Pointer.

template<class TFixedImage , class TMovingImage >
void itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::operator= ( const Self )
private
template<class TFixedImage , class TMovingImage >
void itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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.

template<class TFixedImage , class TMovingImage >
virtual void itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::SetComputeRotation ( bool  _arg)
virtual

Enable the use of the principal axes of each image to compute an initial rotation that will align them.

Member Data Documentation

template<class TFixedImage , class TMovingImage >
const unsigned int itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::InputSpaceDimension = Superclass::InputSpaceDimension
static

Dimension of parameters.

Definition at line 68 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
bool itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::m_ComputeRotation
private

Definition at line 109 of file itkCenteredVersorTransformInitializer.h.

template<class TFixedImage , class TMovingImage >
const unsigned int itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::OutputSpaceDimension = Superclass::OutputSpaceDimension
static

Dimension of parameters.

Definition at line 70 of file itkCenteredVersorTransformInitializer.h.


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