ITK  6.0.0
Insight 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>

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 40 of file itkCenteredVersorTransformInitializer.h.

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

Public Types

using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = CenteredVersorTransformInitializer
 
using Superclass = CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
 
- 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

const char * GetNameOfClass () const override
 
void InitializeTransform () override
 
virtual void SetComputeRotation (bool _arg)
 
virtual bool GetComputeRotation ()
 
virtual void ComputeRotationOn ()
 
- Public Member Functions inherited from itk::CenteredTransformInitializer< VersorRigid3DTransform< double >, TFixedImage, TMovingImage >
const char * GetNameOfClass () const override
 
virtual void InitializeTransform ()
 
virtual void SetFixedImage (const FixedImageType *_arg)
 
virtual void SetMovingImage (const MovingImageType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
void GeometryOn ()
 
void MomentsOn ()
 
virtual FixedImageCalculatorTypeGetModifiableFixedCalculator ()
 
virtual MovingImageCalculatorTypeGetModifiableMovingCalculator ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
const char * GetNameOfClass () const override
 
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) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
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
Pointer Clone () const
 
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual const char * GetNameOfClass () const
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

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 val)
 
- 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 ()=default
 
virtual TransformTypeGetModifiableTransform ()
 
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
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~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 PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

bool m_ComputeRotation { false }
 

Additional Inherited Members

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

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 51 of file itkCenteredVersorTransformInitializer.h.

◆ Pointer

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

Definition at line 50 of file itkCenteredVersorTransformInitializer.h.

◆ Self

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

Standard class type aliases.

Definition at line 47 of file itkCenteredVersorTransformInitializer.h.

◆ Superclass

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

Definition at line 48 of file itkCenteredVersorTransformInitializer.h.

Constructor & Destructor Documentation

◆ CenteredVersorTransformInitializer()

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

◆ ~CenteredVersorTransformInitializer()

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

Member Function Documentation

◆ ComputeRotationOn()

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.

◆ GetComputeRotation()

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.

◆ GetNameOfClass()

template<typename TFixedImage , typename TMovingImage >
const char * itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::GetNameOfClass ( ) const
overridevirtual
See also
LightObject::GetNameOfClass()

Reimplemented from itk::Object.

◆ InitializeTransform()

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

◆ New()

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

New macro for creation of through a Smart Pointer.

◆ PrintSelf()

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.

◆ SetComputeRotation()

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

◆ InputSpaceDimension

template<typename TFixedImage , typename TMovingImage >
constexpr unsigned int itk::CenteredVersorTransformInitializer< TFixedImage, TMovingImage >::InputSpaceDimension = Superclass::InputSpaceDimension
staticconstexpr

Dimension of parameters.

Definition at line 64 of file itkCenteredVersorTransformInitializer.h.

◆ m_ComputeRotation

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

Definition at line 102 of file itkCenteredVersorTransformInitializer.h.

◆ OutputSpaceDimension

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

Definition at line 65 of file itkCenteredVersorTransformInitializer.h.


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