ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage > Class Template Reference

#include <itkTwoProjectionImageRegistrationMethod.h>

Detailed Description

template<typename TFixedImage, typename TMovingImage>
class itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >

Base class for Image Registration Methods.

This Class define the generic interface for a registration method.

This class is templated over the type of the two image to be registered. A generic Transform is used by this class. That allows to select at run time the particular type of transformation that is to be applied for registering the images.

This method use a generic Metric in order to compare the two images. the final goal of the registration method is to find the set of parameters of the Transformation that optimizes the metric.

The registration method also support a generic optimizer that can be selected at run-time. The only restriction for the optimizer is that it should be able to operate in single-valued cost functions given that the metrics used to compare images provide a single value as output.

The terms : Fixed image and Moving image are used in this class to indicate what image is being mapped by the transform.

This class uses the coordinate system of the Fixed image as a reference and searchs for a Transform that will map points from the space of the Fixed image to the space of the Moving image.

For doing so, a Metric will be continously applied to compare the Fixed image with the Transformed Moving image. This process also requires to interpolate values from the Moving image.

Definition at line 65 of file itkTwoProjectionImageRegistrationMethod.h.

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

Public Types

using ConstPointer = SmartPointer<const Self>
 
using DataObjectPointer = typename DataObject::Pointer
 
using FixedImageConstPointer = typename FixedImageType::ConstPointer
 
using FixedImageRegionType = typename MetricType::FixedImageRegionType
 
using FixedImageType = TFixedImage
 
using InterpolatorPointer = typename InterpolatorType::Pointer
 
using InterpolatorType = typename MetricType::InterpolatorType
 
using MetricPointer = typename MetricType::Pointer
 
using MetricType = TwoImageToOneImageMetric<FixedImageType, MovingImageType>
 
using MovingImageConstPointer = typename MovingImageType::ConstPointer
 
using MovingImageType = TMovingImage
 
using OptimizerType = SingleValuedNonLinearOptimizer
 
using ParametersType = typename MetricType::TransformParametersType
 
using Pointer = SmartPointer<Self>
 
using Self = TwoProjectionImageRegistrationMethod
 
using Superclass = ProcessObject
 
using TransformOutputConstPointer = typename TransformOutputType::ConstPointer
 
using TransformOutputPointer = typename TransformOutputType::Pointer
 
using TransformOutputType = DataObjectDecorator<TransformType>
 
using TransformPointer = typename TransformType::Pointer
 
using TransformType = typename MetricType::TransformType
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector<DataObjectPointer>
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using NameArray = std::vector<DataObjectIdentifierType>
 
using Pointer = SmartPointer<Self>
 
using Self = ProcessObject
 
using Superclass = Object
 
- 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 FixedImageType * GetFixedImage1 () const
 
virtual const FixedImageType * GetFixedImage2 () const
 
virtual const FixedImageRegionType & GetFixedImageRegion1 () const
 
virtual const FixedImageRegionType & GetFixedImageRegion2 () const
 
virtual bool GetFixedImageRegionDefined1 ()
 
virtual bool GetFixedImageRegionDefined2 ()
 
virtual const ParametersType & GetInitialTransformParameters () const
 
virtual const InterpolatorType * GetInterpolator1 () const
 
virtual const InterpolatorType * GetInterpolator2 () const
 
virtual const ParametersType & GetLastTransformParameters () const
 
virtual const MetricType * GetMetric () const
 
virtual const MovingImageType * GetMovingImage () const
 
virtual const char * GetNameOfClass () const
 
virtual const OptimizerType * GetOptimizer () const
 
const TransformOutputType * GetOutput () const
 
virtual const TransformType * GetTransform () const
 
virtual void Initialize ()
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
void SetFixedImage1 (const FixedImageType *fixedImage1)
 
void SetFixedImage2 (const FixedImageType *fixedImage2)
 
void SetFixedImageRegion1 (const FixedImageRegionType &region1)
 
void SetFixedImageRegion2 (const FixedImageRegionType &region2)
 
virtual void SetFixedImageRegionDefined1 (bool _arg)
 
virtual void SetFixedImageRegionDefined2 (bool _arg)
 
virtual void SetInitialTransformParameters (const ParametersType &param)
 
virtual void SetInterpolator1 (InterpolatorType *_arg)
 
virtual void SetInterpolator2 (InterpolatorType *_arg)
 
virtual void SetMetric (MetricType *_arg)
 
void SetMovingImage (const MovingImageType *movingImage)
 
virtual void SetOptimizer (OptimizerType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
void StartOptimization ()
 
void StartRegistration ()
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *output)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderBase * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderBase *threader)
 
virtual void SetNumberOfWorkUnitsFromThreadRatio (ThreadIdType ratio)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType numberOfWorkUnits)
 
virtual ThreadIdType GetNumberOfWorkUnits () const
 
- 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
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStamp & GetTimeStamp () 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 void Delete ()
 
virtual int GetReferenceCount () const
 
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 val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

void GenerateData () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetLastTransformParameters (ParametersType _arg)
 
 TwoProjectionImageRegistrationMethod ()
 
 ~TwoProjectionImageRegistrationMethod () override=default
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObject * GetInput (const DataObjectIdentifierType &key)
 
const DataObject * GetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeType & GetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeType & GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation () const
 
virtual void VerifyPreconditions () const
 
 ~ProcessObject () override
 
DataObject * GetInput (DataObjectPointerArraySizeType idx)
 
const DataObject * GetInput (DataObjectPointerArraySizeType idx) const
 
DataObject * GetPrimaryInput ()
 
const DataObject * GetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObject * GetOutput (const DataObjectIdentifierType &key)
 
const DataObject * GetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObject * GetOutput (DataObjectPointerArraySizeType i)
 
const DataObject * GetOutput (DataObjectPointerArraySizeType i) const
 
DataObject * GetPrimaryOutput ()
 
const DataObject * GetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
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 PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

FixedImageConstPointer m_FixedImage1
 
FixedImageConstPointer m_FixedImage2
 
FixedImageRegionType m_FixedImageRegion1
 
FixedImageRegionType m_FixedImageRegion2
 
bool m_FixedImageRegionDefined1
 
bool m_FixedImageRegionDefined2
 
ParametersType m_InitialTransformParameters
 
InterpolatorPointer m_Interpolator1
 
InterpolatorPointer m_Interpolator2
 
ParametersType m_LastTransformParameters
 
MetricPointer m_Metric
 
MovingImageConstPointer m_MovingImage
 
OptimizerType::Pointer m_Optimizer
 
TransformPointer m_Transform
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject>
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 74 of file itkTwoProjectionImageRegistrationMethod.h.

◆ DataObjectPointer

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::DataObjectPointer = typename DataObject::Pointer

Smart Pointer type to a DataObject.

Definition at line 117 of file itkTwoProjectionImageRegistrationMethod.h.

◆ FixedImageConstPointer

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageConstPointer = typename FixedImageType::ConstPointer

Definition at line 84 of file itkTwoProjectionImageRegistrationMethod.h.

◆ FixedImageRegionType

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageRegionType = typename MetricType::FixedImageRegionType

Definition at line 93 of file itkTwoProjectionImageRegistrationMethod.h.

◆ FixedImageType

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

Type of the Fixed image.

Definition at line 83 of file itkTwoProjectionImageRegistrationMethod.h.

◆ InterpolatorPointer

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::InterpolatorPointer = typename InterpolatorType::Pointer

Definition at line 107 of file itkTwoProjectionImageRegistrationMethod.h.

◆ InterpolatorType

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::InterpolatorType = typename MetricType::InterpolatorType

Type of the Interpolator.

Definition at line 106 of file itkTwoProjectionImageRegistrationMethod.h.

◆ MetricPointer

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::MetricPointer = typename MetricType::Pointer

Definition at line 92 of file itkTwoProjectionImageRegistrationMethod.h.

◆ MetricType

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::MetricType = TwoImageToOneImageMetric<FixedImageType, MovingImageType>

Type of the metric.

Definition at line 91 of file itkTwoProjectionImageRegistrationMethod.h.

◆ MovingImageConstPointer

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImageConstPointer = typename MovingImageType::ConstPointer

Definition at line 88 of file itkTwoProjectionImageRegistrationMethod.h.

◆ MovingImageType

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

Type of the Moving image.

Definition at line 87 of file itkTwoProjectionImageRegistrationMethod.h.

◆ OptimizerType

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::OptimizerType = SingleValuedNonLinearOptimizer

Type of the optimizer.

Definition at line 110 of file itkTwoProjectionImageRegistrationMethod.h.

◆ ParametersType

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::ParametersType = typename MetricType::TransformParametersType

Type of the Transformation parameters This is the same type used to represent the search space of the optimization algorithm

Definition at line 114 of file itkTwoProjectionImageRegistrationMethod.h.

◆ Pointer

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

Definition at line 73 of file itkTwoProjectionImageRegistrationMethod.h.

◆ Self

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

Standard class type alias.

Definition at line 71 of file itkTwoProjectionImageRegistrationMethod.h.

◆ Superclass

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::Superclass = ProcessObject

Definition at line 72 of file itkTwoProjectionImageRegistrationMethod.h.

◆ TransformOutputConstPointer

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputConstPointer = typename TransformOutputType::ConstPointer

Definition at line 103 of file itkTwoProjectionImageRegistrationMethod.h.

◆ TransformOutputPointer

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputPointer = typename TransformOutputType::Pointer

Definition at line 102 of file itkTwoProjectionImageRegistrationMethod.h.

◆ TransformOutputType

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputType = DataObjectDecorator<TransformType>

Type for the output: Using Decorator pattern for enabling the Transform to be passed in the data pipeline

Definition at line 101 of file itkTwoProjectionImageRegistrationMethod.h.

◆ TransformPointer

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformPointer = typename TransformType::Pointer

Definition at line 97 of file itkTwoProjectionImageRegistrationMethod.h.

◆ TransformType

template<typename TFixedImage, typename TMovingImage>
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformType = typename MetricType::TransformType

Type of the Transform .

Definition at line 96 of file itkTwoProjectionImageRegistrationMethod.h.

Constructor & Destructor Documentation

◆ TwoProjectionImageRegistrationMethod()

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

Referenced by GetNameOfClass().

◆ ~TwoProjectionImageRegistrationMethod()

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

Member Function Documentation

◆ CreateAnother()

template<typename TFixedImage, typename TMovingImage>
virtual::itk::LightObject::Pointer itk::TwoProjectionImageRegistrationMethod< 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.

◆ GenerateData()

template<typename TFixedImage, typename TMovingImage>
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GenerateData ( )
overrideprotectedvirtual

Method invoked by the pipeline in order to trigger the computation of the registration.

Reimplemented from itk::ProcessObject.

◆ GetFixedImage1()

template<typename TFixedImage, typename TMovingImage>
virtual const FixedImageType * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImage1 ( ) const
virtual

◆ GetFixedImage2()

template<typename TFixedImage, typename TMovingImage>
virtual const FixedImageType * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImage2 ( ) const
virtual

◆ GetFixedImageRegion1()

template<typename TFixedImage, typename TMovingImage>
virtual const FixedImageRegionType & itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImageRegion1 ( ) const
virtual

Get the region of the fixed image to be considered as region of interest during the registration. This region will be passed to the ImageMetric in order to restrict the metric computation to consider only this region.

◆ GetFixedImageRegion2()

template<typename TFixedImage, typename TMovingImage>
virtual const FixedImageRegionType & itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImageRegion2 ( ) const
virtual

◆ GetFixedImageRegionDefined1()

template<typename TFixedImage, typename TMovingImage>
virtual bool itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImageRegionDefined1 ( )
virtual

True if a region has been defined for the fixed image to which the ImageMetric will limit its computation

◆ GetFixedImageRegionDefined2()

template<typename TFixedImage, typename TMovingImage>
virtual bool itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetFixedImageRegionDefined2 ( )
virtual

◆ GetInitialTransformParameters()

template<typename TFixedImage, typename TMovingImage>
virtual const ParametersType & itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetInitialTransformParameters ( ) const
virtual

◆ GetInterpolator1()

template<typename TFixedImage, typename TMovingImage>
virtual const InterpolatorType * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetInterpolator1 ( ) const
virtual

◆ GetInterpolator2()

template<typename TFixedImage, typename TMovingImage>
virtual const InterpolatorType * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetInterpolator2 ( ) const
virtual

◆ GetLastTransformParameters()

template<typename TFixedImage, typename TMovingImage>
virtual const ParametersType & itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetLastTransformParameters ( ) const
virtual

Get the last transformation parameters visited by the optimizer.

◆ GetMetric()

template<typename TFixedImage, typename TMovingImage>
virtual const MetricType * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetMetric ( ) const
virtual

◆ GetMovingImage()

template<typename TFixedImage, typename TMovingImage>
virtual const MovingImageType * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetMovingImage ( ) const
virtual

◆ GetNameOfClass()

template<typename TFixedImage, typename TMovingImage>
virtual const char * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

References TwoProjectionImageRegistrationMethod().

◆ GetOptimizer()

template<typename TFixedImage, typename TMovingImage>
virtual const OptimizerType * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetOptimizer ( ) const
virtual

◆ GetOutput()

template<typename TFixedImage, typename TMovingImage>
const TransformOutputType * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetOutput ( ) const

Returns the transform resulting from the registration process

References itk::ProcessObject::MakeOutput().

◆ GetTransform()

template<typename TFixedImage, typename TMovingImage>
virtual const TransformType * itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetTransform ( ) const
virtual

◆ Initialize()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::Initialize ( )
virtual

Initialize by setting the interconnects between the components.

◆ MakeOutput() [1/2]

template<typename TFixedImage, typename TMovingImage>
virtual DataObjectPointer itk::ProcessObject::MakeOutput ( const DataObjectIdentifierType & )
virtual

Make a DataObject of the correct type to be used as the specified output.

Reimplemented from itk::ProcessObject.

◆ MakeOutput() [2/2]

template<typename TFixedImage, typename TMovingImage>
DataObjectPointer itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::MakeOutput ( DataObjectPointerArraySizeType idx)
overridevirtual

Make a DataObject of the correct type to used as the specified output.

Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().

Reimplemented from itk::ProcessObject.

◆ New()

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

Method for creation through the object factory.

◆ PrintSelf()

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

◆ SetFixedImage1()

template<typename TFixedImage, typename TMovingImage>
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImage1 ( const FixedImageType * fixedImage1)

Set/Get the Fixed images.

◆ SetFixedImage2()

template<typename TFixedImage, typename TMovingImage>
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImage2 ( const FixedImageType * fixedImage2)

◆ SetFixedImageRegion1()

template<typename TFixedImage, typename TMovingImage>
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImageRegion1 ( const FixedImageRegionType & region1)

Set the region of the fixed image to be considered as region of interest during the registration. This region will be passed to the ImageMetric in order to restrict the metric computation to consider only this region.

Warning
The same region can also be set directly into the metric. please avoid to set the region in both places since this can lead to inconsistent configurations.

◆ SetFixedImageRegion2()

template<typename TFixedImage, typename TMovingImage>
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImageRegion2 ( const FixedImageRegionType & region2)

◆ SetFixedImageRegionDefined1()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImageRegionDefined1 ( bool _arg)
virtual

Turn on/off the use of a fixed image region to which the ImageMetric will limit its computation.

Warning
The region must have been previously defined using the SetFixedImageRegion member function

◆ SetFixedImageRegionDefined2()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImageRegionDefined2 ( bool _arg)
virtual

◆ SetInitialTransformParameters()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetInitialTransformParameters ( const ParametersType & param)
virtual

Set/Get the initial transformation parameters.

◆ SetInterpolator1()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetInterpolator1 ( InterpolatorType * _arg)
virtual

Set/Get the Interpolators.

◆ SetInterpolator2()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetInterpolator2 ( InterpolatorType * _arg)
virtual

◆ SetLastTransformParameters()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetLastTransformParameters ( ParametersType _arg)
protectedvirtual

Provides derived classes with the ability to set this private var

◆ SetMetric()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetMetric ( MetricType * _arg)
virtual

Set/Get the Metric.

◆ SetMovingImage()

template<typename TFixedImage, typename TMovingImage>
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetMovingImage ( const MovingImageType * movingImage)

Set/Get the Moving image.

◆ SetOptimizer()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetOptimizer ( OptimizerType * _arg)
virtual

Set/Get the Optimizer.

◆ SetTransform()

template<typename TFixedImage, typename TMovingImage>
virtual void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetTransform ( TransformType * _arg)
virtual

Set/Get the Transfrom.

◆ StartOptimization()

template<typename TFixedImage, typename TMovingImage>
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::StartOptimization ( )

Method that initiates the optimization process.

◆ StartRegistration()

template<typename TFixedImage, typename TMovingImage>
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::StartRegistration ( )

Method that initiates the registration. This will Initialize and ensure that all inputs the registration needs are in place, via a call to Initialize() will then start the optimization process via a call to StartOptimization()

Member Data Documentation

◆ m_FixedImage1

template<typename TFixedImage, typename TMovingImage>
FixedImageConstPointer itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_FixedImage1
private

Definition at line 232 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_FixedImage2

template<typename TFixedImage, typename TMovingImage>
FixedImageConstPointer itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_FixedImage2
private

Definition at line 233 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_FixedImageRegion1

template<typename TFixedImage, typename TMovingImage>
FixedImageRegionType itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_FixedImageRegion1
private

Definition at line 244 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_FixedImageRegion2

template<typename TFixedImage, typename TMovingImage>
FixedImageRegionType itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_FixedImageRegion2
private

Definition at line 245 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_FixedImageRegionDefined1

template<typename TFixedImage, typename TMovingImage>
bool itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_FixedImageRegionDefined1
private

Definition at line 242 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_FixedImageRegionDefined2

template<typename TFixedImage, typename TMovingImage>
bool itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_FixedImageRegionDefined2
private

Definition at line 243 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_InitialTransformParameters

template<typename TFixedImage, typename TMovingImage>
ParametersType itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_InitialTransformParameters
private

Definition at line 239 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_Interpolator1

template<typename TFixedImage, typename TMovingImage>
InterpolatorPointer itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_Interpolator1
private

Definition at line 236 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_Interpolator2

template<typename TFixedImage, typename TMovingImage>
InterpolatorPointer itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_Interpolator2
private

Definition at line 237 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_LastTransformParameters

template<typename TFixedImage, typename TMovingImage>
ParametersType itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_LastTransformParameters
private

Definition at line 240 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_Metric

template<typename TFixedImage, typename TMovingImage>
MetricPointer itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_Metric
private

Definition at line 228 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_MovingImage

template<typename TFixedImage, typename TMovingImage>
MovingImageConstPointer itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_MovingImage
private

Definition at line 231 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_Optimizer

template<typename TFixedImage, typename TMovingImage>
OptimizerType::Pointer itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_Optimizer
private

Definition at line 229 of file itkTwoProjectionImageRegistrationMethod.h.

◆ m_Transform

template<typename TFixedImage, typename TMovingImage>
TransformPointer itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::m_Transform
private

Definition at line 235 of file itkTwoProjectionImageRegistrationMethod.h.


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