ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected 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<typename TFixedImage, typename 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

using ConstPointer = SmartPointer< const Self >
 
using FixedImagePointer = typename Superclass::FixedImagePointer
 
using FixedImageType = typename Superclass::FixedImageType
 
using InputPointType = typename Superclass::InputPointType
 
using MovingImagePointer = typename Superclass::MovingImagePointer
 
using MovingImageType = typename Superclass::MovingImageType
 
using OffsetType = typename Superclass::OffsetType
 
using OutputVectorType = typename Superclass::OutputVectorType
 
using Pointer = SmartPointer< Self >
 
using Self = CenteredVersorTransformInitializer
 
using Superclass = CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
 
using TransformPointer = typename Superclass::TransformPointer
 
using TransformType = typename Superclass::TransformType
 
- Public Types inherited from itk::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
using ConstPointer = SmartPointer< const Self >
 
using FixedImageCalculatorPointer = typename FixedImageCalculatorType::Pointer
 
using FixedImageCalculatorType = ImageMomentsCalculator< FixedImageType >
 
using FixedImagePointer = typename FixedImageType::ConstPointer
 
using FixedImageType = TFixedImage
 
using InputPointType = typename TransformType::InputPointType
 
using MovingImageCalculatorPointer = typename MovingImageCalculatorType::Pointer
 
using MovingImageCalculatorType = ImageMomentsCalculator< MovingImageType >
 
using MovingImagePointer = typename MovingImageType::ConstPointer
 
using MovingImageType = TMovingImage
 
using OffsetType = typename TransformType::OffsetType
 
using OutputVectorType = typename TransformType::OutputVectorType
 
using Pointer = SmartPointer< Self >
 
using Self = CenteredTransformInitializer
 
using Superclass = Object
 
using TransformPointer = typename TransformType::Pointer
 
using TransformType = VersorRigid3DTransform< double >
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void InitializeTransform () override
 
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 () 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 ()
 
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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
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::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 constexpr unsigned int InputSpaceDimension = Superclass::InputSpaceDimension
 
static constexpr unsigned int OutputSpaceDimension = Superclass::OutputSpaceDimension
 
- Static Public Attributes inherited from itk::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
static constexpr unsigned int InputSpaceDimension
 
static constexpr unsigned int OutputSpaceDimension
 

Protected Member Functions

 CenteredVersorTransformInitializer ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~CenteredVersorTransformInitializer () override=default
 
- 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 override
 
 ~CenteredTransformInitializer () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- 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 Attributes

bool m_ComputeRotation
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::ConstPointer = SmartPointer< const Self >

Definition at line 56 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::FixedImagePointer = typename Superclass::FixedImagePointer

Definition at line 76 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::FixedImageType = typename Superclass::FixedImageType

Image Types to use in the initialization of the transform

Definition at line 73 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::InputPointType = typename Superclass::InputPointType

Point type.

Definition at line 83 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::MovingImagePointer = typename Superclass::MovingImagePointer

Definition at line 77 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::MovingImageType = typename Superclass::MovingImageType

Definition at line 74 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::OffsetType = typename Superclass::OffsetType

Offset type.

Definition at line 80 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::OutputVectorType = typename Superclass::OutputVectorType

Vector type.

Definition at line 86 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::Pointer = SmartPointer< Self >

Definition at line 55 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::Self = CenteredVersorTransformInitializer

Standard class type aliases.

Definition at line 50 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::Superclass = CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >

Definition at line 53 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::TransformPointer = typename Superclass::TransformPointer

Definition at line 66 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
using itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::TransformType = typename Superclass::TransformType

Type of the transform to initialize

Definition at line 65 of file itkCenteredVersorTransformInitializer.h.

Constructor & Destructor Documentation

template<typename TFixedImage , typename TMovingImage >
itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::CenteredVersorTransformInitializer ( )
protected
template<typename TFixedImage , typename TMovingImage >
itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::~CenteredVersorTransformInitializer ( )
overrideprotecteddefault

Member Function Documentation

template<typename TFixedImage , typename 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<typename TFixedImage , typename 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<typename TFixedImage , typename TMovingImage >
virtual::itk::LightObject::Pointer itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::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 TFixedImage , typename 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<typename TFixedImage , typename 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<typename TFixedImage , typename TMovingImage >
void itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::InitializeTransform ( )
overridevirtual

Initialize the transform using data from the images

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

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

New macro for creation of through a Smart Pointer.

template<typename TFixedImage , typename TMovingImage >
void itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::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::Object.

template<typename TFixedImage , typename 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<typename TFixedImage , typename TMovingImage >
constexpr unsigned int itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::InputSpaceDimension = Superclass::InputSpaceDimension
static

Dimension of parameters.

Definition at line 69 of file itkCenteredVersorTransformInitializer.h.

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

Definition at line 105 of file itkCenteredVersorTransformInitializer.h.

template<typename TFixedImage , typename TMovingImage >
constexpr unsigned int itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::OutputSpaceDimension = Superclass::OutputSpaceDimension
static

Definition at line 70 of file itkCenteredVersorTransformInitializer.h.


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