ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep > Class Template Reference

#include <itkBlockMatchingImageRegistrationMethod.h>

Detailed Description

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
class itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >

This class defines the interface to perform deformable image registration by block matching.

Displacements are calculated at every block from the FixedImage to the Moving Image.

Blocks are neighborhoods with a fixed radius, and they are located on a grid in the fixed image.

An Image of search Regions in the moving image specifies each block's search area. The information from the search region image (origin, spacing, region, etc) determines the information in the output displacement image.

See also
ImageRegistrationMethod

Definition at line 56 of file itkBlockMatchingImageRegistrationMethod.h.

+ Inheritance diagram for itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >:
+ Collaboration diagram for itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >:

Public Types

using ConstPointer = SmartPointer<const Self>
 
using CoordRepType = typename itk::Point<TCoordRep, ImageDimension>
 
using DirectionType = typename ImageType::DirectionType
 
using FixedImageType = TFixedImage
 
using FixedRegionType = typename FixedImageType::RegionType
 
using ImageType = TDisplacementImage
 
using IndexType = typename RegionType::IndexType
 
using MetricImageFilterType = MetricImageFilter<FixedImageType, MovingImageType, MetricImageType>
 
using MetricImageToDisplacementCalculatorType = MetricImageToDisplacementCalculator<TMetricImage, TDisplacementImage>
 
using MetricImageType = TMetricImage
 
using MovingImageType = TMovingImage
 
using MovingRegionType = typename MovingImageType::RegionType
 
using OriginType = typename ImageType::PointType
 
using Pointer = SmartPointer<Self>
 
using RadiusType = typename FixedImageType::SizeType
 
using RegionType = typename ImageType::RegionType
 
using SearchRegionImageType = Image<typename MovingImageType::RegionType, ImageDimension>
 
using Self = ImageRegistrationMethod
 
using SizeType = typename RegionType::SizeType
 
using SpacingType = typename ImageType::SpacingType
 
using Superclass = ImageToImageFilter<SearchRegionImageType, TDisplacementImage>
 
- Public Types inherited from itk::ImageToImageFilter< itk::Image< TMovingImage::RegionType, TDisplacementImage::ImageDimension >, TDisplacementImage >
using ConstPointer
 
using InputImageConstPointer
 
using InputImagePixelType
 
using InputImagePointer
 
using InputImageRegionType
 
using InputImageType
 
typedef typename OutputImageType::PixelType OutputImagePixelType
 
using OutputImagePixelType
 
typedef typename OutputImageType::RegionType OutputImageRegionType
 
using OutputImageRegionType
 
using Pointer
 
using Self
 
using Superclass
 
- Public Types inherited from itk::ImageSource< TDisplacementImage >
using ConstPointer
 
using DataObjectIdentifierType
 
using DataObjectPointer
 
using DataObjectPointerArraySizeType
 
using OutputImagePixelType
 
using OutputImagePointer
 
using OutputImageRegionType
 
using OutputImageType
 
using Pointer
 
using Self
 
using Superclass
 
- 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
 
const FixedImageType * GetFixedImage () const
 
virtual const MetricImageFilterType * GetMetricImageFilter () const
 
virtual const MetricImageToDisplacementCalculatorType * GetMetricImageToDisplacementCalculator () const
 
const MovingImageType * GetMovingImage () const
 
virtual const char * GetNameOfClass () const
 
virtual const RadiusType & GetRadius () const
 
virtual bool GetUseStreaming () const
 
void SetFixedImage (FixedImageType *fixedImage)
 
virtual void SetMetricImageFilter (MetricImageFilterType *_arg)
 
virtual void SetMetricImageToDisplacementCalculator (MetricImageToDisplacementCalculatorType *_arg)
 
void SetMovingImage (MovingImageType *movingImage)
 
virtual void SetRadius (const RadiusType &radius)
 
virtual void SetRadius (const unsigned int rad)
 
virtual void SetSearchRegionImage (SearchRegionImageType *searchRegionImage)
 
virtual void SetUseStreaming (bool _arg)
 
virtual void UseStreamingOff ()
 
virtual void UseStreamingOn ()
 
- Public Member Functions inherited from itk::ImageToImageFilter< itk::Image< TMovingImage::RegionType, TDisplacementImage::ImageDimension >, TDisplacementImage >
const InputImageType * GetInput () const
 
const InputImageType * GetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const itk::Image< TMovingImage::RegionType, TDisplacementImage::ImageDimension > *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TDisplacementImage >
OutputImageType * GetOutput (unsigned int idx)
 
OutputImageType * GetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
OutputImageType * GetOutput ()
 
const OutputImageType * GetOutput () const
 
OutputImageType * GetOutput ()
 
const OutputImageType * GetOutput () const
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
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
 
LightObject::Pointer CreateAnother () const override
 
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::ImageToImageFilter< itk::Image< TMovingImage::RegionType, TDisplacementImage::ImageDimension >, TDisplacementImage >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- 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 ImageDimension = TDisplacementImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< itk::Image< TMovingImage::RegionType, TDisplacementImage::ImageDimension >, TDisplacementImage >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TDisplacementImage >
static constexpr unsigned int OutputImageDimension
 
static constexpr unsigned int OutputImageDimension
 

Protected Member Functions

void EnlargeOutputRequestedRegion (DataObject *data) override
 
void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 ImageRegistrationMethod ()
 
virtual void Initialize ()
 
 ~ImageRegistrationMethod () override=default
 
- Protected Member Functions inherited from itk::ImageToImageFilter< itk::Image< TMovingImage::RegionType, TDisplacementImage::ImageDimension >, TDisplacementImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void VerifyInputInformation () const override
 
 ~ImageToImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageSource< TDisplacementImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void BeforeThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
void GenerateData () override
 
void GenerateData () override
 
virtual const ImageRegionSplitterBase * GetImageRegionSplitter () const
 
virtual const ImageRegionSplitterBase * GetImageRegionSplitter () const
 
 ImageSource ()
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- 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 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
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 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 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 ()
 

Protected Attributes

FixedImageType::Pointer m_FixedImage
 
MetricImageFilterType::Pointer m_MetricImageFilter
 
MetricImageToDisplacementCalculatorType::Pointer m_MetricImageToDisplacementCalculator
 
MovingImageType::Pointer m_MovingImage
 
RadiusType m_Radius
 
bool m_UseStreaming
 
- Protected Attributes inherited from itk::ImageSource< TDisplacementImage >
bool m_DynamicMultiThreading
 
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< itk::Image< TMovingImage::RegionType, TDisplacementImage::ImageDimension >, TDisplacementImage >
using InputToOutputRegionCopierType
 
using OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TDisplacementImage >
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter ()
 
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- 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)
 

Member Typedef Documentation

◆ ConstPointer

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::ConstPointer = SmartPointer<const Self>

Definition at line 98 of file itkBlockMatchingImageRegistrationMethod.h.

◆ CoordRepType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::CoordRepType = typename itk::Point<TCoordRep, ImageDimension>

Type of the point use for determing the location in the fixed image of a block's center.

Definition at line 108 of file itkBlockMatchingImageRegistrationMethod.h.

◆ DirectionType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::DirectionType = typename ImageType::DirectionType

Definition at line 88 of file itkBlockMatchingImageRegistrationMethod.h.

◆ FixedImageType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::FixedImageType = TFixedImage

Type of the fixed image.

Definition at line 67 of file itkBlockMatchingImageRegistrationMethod.h.

◆ FixedRegionType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::FixedRegionType = typename FixedImageType::RegionType

Definition at line 68 of file itkBlockMatchingImageRegistrationMethod.h.

◆ ImageType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::ImageType = TDisplacementImage

Type of the displacement image.

Definition at line 81 of file itkBlockMatchingImageRegistrationMethod.h.

◆ IndexType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::IndexType = typename RegionType::IndexType

Definition at line 84 of file itkBlockMatchingImageRegistrationMethod.h.

◆ MetricImageFilterType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::MetricImageFilterType = MetricImageFilter<FixedImageType, MovingImageType, MetricImageType>

Type of the MetricImageFilter.

Definition at line 111 of file itkBlockMatchingImageRegistrationMethod.h.

◆ MetricImageToDisplacementCalculatorType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::MetricImageToDisplacementCalculatorType = MetricImageToDisplacementCalculator<TMetricImage, TDisplacementImage>

◆ MetricImageType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::MetricImageType = TMetricImage

Type of the metric image.

Definition at line 78 of file itkBlockMatchingImageRegistrationMethod.h.

◆ MovingImageType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::MovingImageType = TMovingImage

Type of the moving image.

Definition at line 74 of file itkBlockMatchingImageRegistrationMethod.h.

◆ MovingRegionType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::MovingRegionType = typename MovingImageType::RegionType

Definition at line 75 of file itkBlockMatchingImageRegistrationMethod.h.

◆ OriginType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::OriginType = typename ImageType::PointType

Definition at line 89 of file itkBlockMatchingImageRegistrationMethod.h.

◆ Pointer

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::Pointer = SmartPointer<Self>

Definition at line 97 of file itkBlockMatchingImageRegistrationMethod.h.

◆ RadiusType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::RadiusType = typename FixedImageType::SizeType

Type of the radius used to characterized the fixed image block.

Definition at line 71 of file itkBlockMatchingImageRegistrationMethod.h.

◆ RegionType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::RegionType = typename ImageType::RegionType

Definition at line 83 of file itkBlockMatchingImageRegistrationMethod.h.

◆ SearchRegionImageType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SearchRegionImageType = Image<typename MovingImageType::RegionType, ImageDimension>

Type of the search region image.

Definition at line 92 of file itkBlockMatchingImageRegistrationMethod.h.

◆ Self

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::Self = ImageRegistrationMethod

Standard class type alias.

Definition at line 95 of file itkBlockMatchingImageRegistrationMethod.h.

◆ SizeType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SizeType = typename RegionType::SizeType

Definition at line 85 of file itkBlockMatchingImageRegistrationMethod.h.

◆ SpacingType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SpacingType = typename ImageType::SpacingType

Definition at line 87 of file itkBlockMatchingImageRegistrationMethod.h.

◆ Superclass

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
using itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::Superclass = ImageToImageFilter<SearchRegionImageType, TDisplacementImage>

Definition at line 96 of file itkBlockMatchingImageRegistrationMethod.h.

Constructor & Destructor Documentation

◆ ImageRegistrationMethod()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::ImageRegistrationMethod ( )
protected

Referenced by GetNameOfClass().

◆ ~ImageRegistrationMethod()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::~ImageRegistrationMethod ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual::itk::LightObject::Pointer itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::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::LightObject.

◆ EnlargeOutputRequestedRegion()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::EnlargeOutputRequestedRegion ( DataObject * output)
overrideprotectedvirtual

Give the process object a chance to indicate that it will produce more output than it was requested to produce. For example, many imaging filters must compute the entire output at once or can only produce output in complete slices. Such filters cannot handle smaller requested regions. These filters must provide an implementation of this method, setting the output requested region to the size they will produce. By default, a process object does not modify the size of the output requested region.

Reimplemented from itk::ProcessObject.

References itk::ProcessObject::DataObject.

◆ GenerateData()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GenerateData ( void )
overrideprotectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

◆ GenerateInputRequestedRegion()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

What is the input requested region that is required to produce the output requested region? By default, the largest possible region is always required but this is overridden in many subclasses. For instance, for an image processing filter where an output pixel is a simple function of an input pixel, the input requested region will be set to the output requested region. For an image processing filter where an output pixel is a function of the pixels in a neighborhood of an input pixel, then the input requested region will need to be larger than the output requested region (to avoid introducing artificial boundary conditions). This function should never request an input region that is outside the the input largest possible region (i.e. implementations of this method should crop the input requested region at the boundaries of the input largest possible region).

Reimplemented from itk::ProcessObject.

◆ GenerateOutputInformation()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GenerateOutputInformation ( )
overrideprotectedvirtual

Generate the information describing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ProcessObject.

◆ GetFixedImage()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
const FixedImageType * itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GetFixedImage ( ) const
inline

Definition at line 120 of file itkBlockMatchingImageRegistrationMethod.h.

References m_FixedImage.

◆ GetMetricImageFilter()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual const MetricImageFilterType * itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GetMetricImageFilter ( ) const
virtual

◆ GetMetricImageToDisplacementCalculator()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual const MetricImageToDisplacementCalculatorType * itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GetMetricImageToDisplacementCalculator ( ) const
virtual

◆ GetMovingImage()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
const MovingImageType * itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GetMovingImage ( ) const
inline

Definition at line 129 of file itkBlockMatchingImageRegistrationMethod.h.

References m_MovingImage.

◆ GetNameOfClass()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual const char * itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GetNameOfClass ( ) const
virtual

◆ GetRadius()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual const RadiusType & itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GetRadius ( ) const
virtual

◆ GetUseStreaming()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual bool itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::GetUseStreaming ( ) const
virtual

◆ Initialize()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::Initialize ( )
protectedvirtual

Initialize by setting the interconnects between the components.

◆ New()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
static Pointer itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::New ( )
static

Method for creation through the object factory.

◆ SetFixedImage()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SetFixedImage ( FixedImageType * fixedImage)

Set the fixed image.

◆ SetMetricImageFilter()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SetMetricImageFilter ( MetricImageFilterType * _arg)
virtual

◆ SetMetricImageToDisplacementCalculator()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SetMetricImageToDisplacementCalculator ( MetricImageToDisplacementCalculatorType * _arg)
virtual

◆ SetMovingImage()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SetMovingImage ( MovingImageType * movingImage)

Set the moving image.

◆ SetRadius() [1/2]

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SetRadius ( const RadiusType & radius)
inlinevirtual

Set the radius for blocks in the fixed image to be matched against the moving image. This is a radius defined similarly to an itk::Neighborhood radius, i.e., the size of the block in the i'th direction is 2*radius[i] +

  1. Every fixed image block to be registered uses the same radius.

Definition at line 156 of file itkBlockMatchingImageRegistrationMethod.h.

References m_Radius, and itk::Object::Modified().

Referenced by SetRadius().

◆ SetRadius() [2/2]

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SetRadius ( const unsigned int rad)
inlinevirtual

Set the radius to the given value in all directions.

Definition at line 163 of file itkBlockMatchingImageRegistrationMethod.h.

References SetRadius().

◆ SetSearchRegionImage()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SetSearchRegionImage ( SearchRegionImageType * searchRegionImage)
inlinevirtual

Set/Get the search region image. The SearchRegionImage has the same LargestPossibleRegion as the output displacement image. It contains ImageRegions in the moving image that define the search region for each block in the fixed image.

The metric image is created by calculating the value of the metric between the fixed image block and the corresponding area/volume in the moving image. The center of the fixed image block is translated between the corners of the given search region, evaluating the metric at the spacing of the metric image. Therefore, contributing region in the moving image to the search is actually the given search region dilated by the radius of the kernel block.

Definition at line 184 of file itkBlockMatchingImageRegistrationMethod.h.

References itk::ImageToImageFilter< itk::Image< TMovingImage::RegionType, TDisplacementImage::ImageDimension >, TDisplacementImage >::SetInput().

◆ SetUseStreaming()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::SetUseStreaming ( bool _arg)
virtual

Whether or not to use streaming. Streaming is achieved by streaming each block matching. This allows for deformable registration of very large images, but it comes at a performance penalty. By default it is OFF.

◆ UseStreamingOff()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::UseStreamingOff ( )
virtual

◆ UseStreamingOn()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
virtual void itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::UseStreamingOn ( )
virtual

Member Data Documentation

◆ ImageDimension

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
unsigned int itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::ImageDimension = TDisplacementImage::ImageDimension
staticconstexpr

ImageDimension enumeration.

Definition at line 64 of file itkBlockMatchingImageRegistrationMethod.h.

◆ m_FixedImage

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
FixedImageType::Pointer itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::m_FixedImage
protected

Definition at line 210 of file itkBlockMatchingImageRegistrationMethod.h.

Referenced by GetFixedImage().

◆ m_MetricImageFilter

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
MetricImageFilterType::Pointer itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::m_MetricImageFilter
protected

Definition at line 213 of file itkBlockMatchingImageRegistrationMethod.h.

◆ m_MetricImageToDisplacementCalculator

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
MetricImageToDisplacementCalculatorType::Pointer itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::m_MetricImageToDisplacementCalculator
protected

Definition at line 214 of file itkBlockMatchingImageRegistrationMethod.h.

◆ m_MovingImage

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
MovingImageType::Pointer itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::m_MovingImage
protected

Definition at line 211 of file itkBlockMatchingImageRegistrationMethod.h.

Referenced by GetMovingImage().

◆ m_Radius

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
RadiusType itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::m_Radius
protected

Definition at line 217 of file itkBlockMatchingImageRegistrationMethod.h.

Referenced by SetRadius().

◆ m_UseStreaming

template<typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TDisplacementImage, typename TCoordRep>
bool itk::BlockMatching::ImageRegistrationMethod< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TCoordRep >::m_UseStreaming
protected

Definition at line 216 of file itkBlockMatchingImageRegistrationMethod.h.


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