ITK  6.0.0
Insight Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities > Class Template Reference

#include <itkBlockMatchingImageFilter.h>

Detailed Description

template<typename TFixedImage, typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
class itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >

Computes displacements of given points from a fixed image in a floating image.

BlockMatchingImageFilter takes fixed and moving Images as well as PointSet of feature points as inputs. Physical coordinates of feature points are stored as point coordinates. Points of the input point set must have unique identifiers within range 0..N-1, where N is the number of points. Pixels (pointData) of input point set are not used. Additionally, by default, feature points are expected to lie at least (SearchRadius + BlockRadius) voxels from a boundary. This is usually achieved by using an appropriate mask during selection of feature points. If you are unsure whether feature points satisfy the above condition set CheckBoundary flag to true which turns on boundary checks. The default output(0) is a PointSet with displacements stored as vectors. Additional output(1) is a PointSet containing similarities. Similarities are needed to compute displacements and are always computed. The number of points in the output PointSet is equal to the number of points in the input PointSet.

The filter is templated over fixed Image, moving Image, input PointSet, output displacements PointSet and output similarities PointSet.

This filter is intended to be used in the process of Physics-Based Non-Rigid Registration. It computes displacement for selected points based on similarity [M. Bierling, Displacement estimation by hierarchical block matching, Proc. SPIE Vis. Comm. and Image Proc., vol. 1001, pp. 942-951, 1988.].

Author
Andriy Kot, Center for Real-Time Computing, Old Dominion University, Norfolk, VA
See also
MaskFeaturePointSelectionFilter
ITK Sphinx Examples:
  • <a href=
  • <a href=

Definition at line 80 of file itkBlockMatchingImageFilter.h.

+ Inheritance diagram for itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >:
+ Collaboration diagram for itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >:

Classes

struct  ThreadStruct
 

Public Types

using ConstPointer = SmartPointer< const Self >
 
using DisplacementsConstPointer = typename DisplacementsType::ConstPointer
 
using DisplacementsPointer = typename DisplacementsType::Pointer
 
using DisplacementsType = TDisplacements
 
using DisplacementsVector = typename DisplacementsType::PixelType
 
using FeaturePointsConstPointer = typename FeaturePointsType::ConstPointer
 
using FeaturePointsPhysicalCoordinates = typename FeaturePointsType::PointType
 
using FeaturePointsPointer = typename FeaturePointsType::Pointer
 
using FeaturePointsType = TFeatures
 
using FixedImageConstPointer = typename FixedImageType::ConstPointer
 
using FixedImagePixelType = typename FixedImageType::PixelType
 
using FixedImageType = TFixedImage
 
using ImageIndexType = Index< ImageDimension >
 
using ImageRegionType = ImageRegion< ImageDimension >
 
using ImageSizeType = Size< ImageDimension >
 
using MovingImageConstPointer = typename MovingImageType::ConstPointer
 
using MovingImageType = TMovingImage
 
using Pointer = SmartPointer< Self >
 
using Self = BlockMatchingImageFilter
 
using SimilaritiesConstPointer = typename SimilaritiesType::ConstPointer
 
using SimilaritiesPointer = typename SimilaritiesType::Pointer
 
using SimilaritiesType = TSimilarities
 
using SimilaritiesValue = typename SimilaritiesType::PixelType
 
using Superclass = MeshToMeshFilter< FeaturePointsType, DisplacementsType >
 
- Public Types inherited from itk::MeshToMeshFilter< PointSet< Matrix< SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension >, TFixedImage::ImageDimension >, PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > >
using ConstPointer = SmartPointer< const Self >
 
using InputMeshPointer = typename InputMeshType::Pointer
 
using InputMeshType = PointSet< Matrix< SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension >, TFixedImage::ImageDimension >
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = MeshToMeshFilter
 
using Superclass = MeshSource< PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > >
 
- Public Types inherited from itk::MeshSource< PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = MeshSource
 
using Superclass = ProcessObject
 
using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
 
- 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 MultiThreaderType = MultiThreaderBase
 
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

DisplacementsTypeGetDisplacements ()
 
const char * GetNameOfClass () const override
 
SimilaritiesTypeGetSimilarities ()
 
DataObject::Pointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual void SetBlockRadius (ImageSizeType _arg)
 
virtual ImageSizeType GetBlockRadius () const
 
virtual void SetSearchRadius (ImageSizeType _arg)
 
virtual ImageSizeType GetSearchRadius () const
 
 itkSetInputMacro (FixedImage, FixedImageType)
 
 itkGetInputMacro (FixedImage, FixedImageType)
 
 itkSetInputMacro (MovingImage, MovingImageType)
 
 itkGetInputMacro (MovingImage, MovingImageType)
 
 itkSetInputMacro (FeaturePoints, FeaturePointsType)
 
 itkGetInputMacro (FeaturePoints, FeaturePointsType)
 
- Public Member Functions inherited from itk::MeshToMeshFilter< PointSet< Matrix< SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension >, TFixedImage::ImageDimension >, PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > >
const InputMeshTypeGetInput () const
 
const InputMeshTypeGetInput (unsigned int idx) const
 
const char * GetNameOfClass () const override
 
void SetInput (const InputMeshType *input)
 
- Public Member Functions inherited from itk::MeshSource< PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > >
const char * GetNameOfClass () const override
 
OutputMeshTypeGetOutput ()
 
OutputMeshTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
void SetOutput (PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > *output)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
const char * GetNameOfClass () const override
 
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 DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderType *threader)
 
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 SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () 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
 
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::MeshToMeshFilter< PointSet< Matrix< SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension >, TFixedImage::ImageDimension >, PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::MeshSource< PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > >
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 ImageDimension = TFixedImage::ImageDimension
 

Protected Member Functions

virtual void AfterThreadedGenerateData ()
 
virtual void BeforeThreadedGenerateData ()
 
 BlockMatchingImageFilter ()
 
void EnlargeOutputRequestedRegion (DataObject *output) override
 
void GenerateData () override
 
void GenerateOutputInformation () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void ThreadedGenerateData (ThreadIdType threadId)
 
 ~BlockMatchingImageFilter () override=default
 
- Protected Member Functions inherited from itk::MeshToMeshFilter< PointSet< Matrix< SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension >, TFixedImage::ImageDimension >, PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > >
void CopyInputMeshToOutputMeshCellData ()
 
void CopyInputMeshToOutputMeshCellLinks ()
 
void CopyInputMeshToOutputMeshCells ()
 
void CopyInputMeshToOutputMeshPointData ()
 
void CopyInputMeshToOutputMeshPoints ()
 
 MeshToMeshFilter ()
 
 ~MeshToMeshFilter () override=default
 
- Protected Member Functions inherited from itk::MeshSource< PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension > >
void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~MeshSource () 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 GenerateData ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () 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 ()
 
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 VerifyInputInformation () const
 
virtual void VerifyPreconditions () const
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- 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 ()
 

Static Protected Member Functions

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)
 

Private Attributes

ImageSizeType m_BlockRadius {}
 
std::unique_ptr< DisplacementsVector[]> m_DisplacementsVectorsArray
 
SizeValueType m_PointsCount {}
 
ImageSizeType m_SearchRadius {}
 
std::unique_ptr< SimilaritiesValue[]> m_SimilaritiesValuesArray
 

Additional Inherited Members

- 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 = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ConstPointer = SmartPointer<const Self>

Definition at line 123 of file itkBlockMatchingImageFilter.h.

◆ DisplacementsConstPointer

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::DisplacementsConstPointer = typename DisplacementsType::ConstPointer

Definition at line 110 of file itkBlockMatchingImageFilter.h.

◆ DisplacementsPointer

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::DisplacementsPointer = typename DisplacementsType::Pointer

Definition at line 109 of file itkBlockMatchingImageFilter.h.

◆ DisplacementsType

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::DisplacementsType = TDisplacements

Displacement vectors type alias.

Definition at line 108 of file itkBlockMatchingImageFilter.h.

◆ DisplacementsVector

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::DisplacementsVector = typename DisplacementsType::PixelType

Definition at line 111 of file itkBlockMatchingImageFilter.h.

◆ FeaturePointsConstPointer

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FeaturePointsConstPointer = typename FeaturePointsType::ConstPointer

Definition at line 104 of file itkBlockMatchingImageFilter.h.

◆ FeaturePointsPhysicalCoordinates

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FeaturePointsPhysicalCoordinates = typename FeaturePointsType::PointType

Definition at line 105 of file itkBlockMatchingImageFilter.h.

◆ FeaturePointsPointer

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FeaturePointsPointer = typename FeaturePointsType::Pointer

Definition at line 103 of file itkBlockMatchingImageFilter.h.

◆ FeaturePointsType

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FeaturePointsType = TFeatures

Feature points pointset type alias.

Definition at line 102 of file itkBlockMatchingImageFilter.h.

◆ FixedImageConstPointer

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FixedImageConstPointer = typename FixedImageType::ConstPointer

Definition at line 94 of file itkBlockMatchingImageFilter.h.

◆ FixedImagePixelType

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FixedImagePixelType = typename FixedImageType::PixelType

Definition at line 95 of file itkBlockMatchingImageFilter.h.

◆ FixedImageType

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FixedImageType = TFixedImage

Fixed image type alias.

Definition at line 93 of file itkBlockMatchingImageFilter.h.

◆ ImageIndexType

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ImageIndexType = Index<ImageDimension>

Definition at line 90 of file itkBlockMatchingImageFilter.h.

◆ ImageRegionType

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ImageRegionType = ImageRegion<ImageDimension>

Not input specific type alias

Definition at line 88 of file itkBlockMatchingImageFilter.h.

◆ ImageSizeType

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ImageSizeType = Size<ImageDimension>

Definition at line 89 of file itkBlockMatchingImageFilter.h.

◆ MovingImageConstPointer

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::MovingImageConstPointer = typename MovingImageType::ConstPointer

Definition at line 99 of file itkBlockMatchingImageFilter.h.

◆ MovingImageType

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::MovingImageType = TMovingImage

Moving image type alias.

Definition at line 98 of file itkBlockMatchingImageFilter.h.

◆ Pointer

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::Pointer = SmartPointer<Self>

Definition at line 122 of file itkBlockMatchingImageFilter.h.

◆ Self

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::Self = BlockMatchingImageFilter

Definition at line 121 of file itkBlockMatchingImageFilter.h.

◆ SimilaritiesConstPointer

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SimilaritiesConstPointer = typename SimilaritiesType::ConstPointer

Definition at line 116 of file itkBlockMatchingImageFilter.h.

◆ SimilaritiesPointer

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SimilaritiesPointer = typename SimilaritiesType::Pointer

Definition at line 115 of file itkBlockMatchingImageFilter.h.

◆ SimilaritiesType

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SimilaritiesType = TSimilarities

Displacement similarities type alias.

Definition at line 114 of file itkBlockMatchingImageFilter.h.

◆ SimilaritiesValue

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SimilaritiesValue = typename SimilaritiesType::PixelType

Definition at line 117 of file itkBlockMatchingImageFilter.h.

◆ Superclass

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
using itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::Superclass = MeshToMeshFilter<FeaturePointsType, DisplacementsType>

Standard class type aliases.

Definition at line 120 of file itkBlockMatchingImageFilter.h.

Constructor & Destructor Documentation

◆ BlockMatchingImageFilter()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::BlockMatchingImageFilter ( )
protected

◆ ~BlockMatchingImageFilter()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::~BlockMatchingImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ AfterThreadedGenerateData()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
virtual void itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::AfterThreadedGenerateData ( )
protectedvirtual

Compose pieces computed by each thread into a single output

◆ BeforeThreadedGenerateData()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
virtual void itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::BeforeThreadedGenerateData ( )
protectedvirtual

Generate temporary containers to be used by individual threads exclusively

◆ EnlargeOutputRequestedRegion()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
void itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::EnlargeOutputRequestedRegion ( DataObject output)
overrideprotectedvirtual

We cannot stream (see comments in GenerateOutputInformation).

Reimplemented from itk::ProcessObject.

◆ GenerateData()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
void itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GenerateData ( )
overrideprotectedvirtual

Start multithreader here since MeshToMesh filter does not provide multithreaded support

Reimplemented from itk::ProcessObject.

◆ GenerateOutputInformation()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
void itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GenerateOutputInformation ( )
overrideprotectedvirtual

We need to create our own GenerateOutputInformation because the default version from ProcessObject result in a dynamic_cast of the input pointer to the output pointer type in PointSet::CopyInformation. This does not work since they are different types.

Reimplemented from itk::ProcessObject.

◆ GetBlockRadius()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
virtual ImageSizeType itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GetBlockRadius ( ) const
virtual

set/get half size

◆ GetDisplacements()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
DisplacementsType * itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GetDisplacements ( )
inline

Definition at line 157 of file itkBlockMatchingImageFilter.h.

References itk::ProcessObject::GetOutput().

◆ GetNameOfClass()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
const char * itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GetNameOfClass ( ) const
overridevirtual

◆ GetSearchRadius()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
virtual ImageSizeType itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GetSearchRadius ( ) const
virtual

set/get half window

◆ GetSimilarities()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
SimilaritiesType * itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GetSimilarities ( )
inline

Definition at line 163 of file itkBlockMatchingImageFilter.h.

References itk::ProcessObject::GetOutput().

◆ itkGetInputMacro() [1/3]

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::itkGetInputMacro ( FeaturePoints  ,
FeaturePointsType   
)

set/get point list

◆ itkGetInputMacro() [2/3]

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::itkGetInputMacro ( FixedImage  ,
FixedImageType   
)

set/get fixed image

◆ itkGetInputMacro() [3/3]

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::itkGetInputMacro ( MovingImage  ,
MovingImageType   
)

set/get floating image

◆ itkSetInputMacro() [1/3]

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::itkSetInputMacro ( FeaturePoints  ,
FeaturePointsType   
)

set/get point list

◆ itkSetInputMacro() [2/3]

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::itkSetInputMacro ( FixedImage  ,
FixedImageType   
)

set/get fixed image

◆ itkSetInputMacro() [3/3]

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::itkSetInputMacro ( MovingImage  ,
MovingImageType   
)

set/get floating image

◆ MakeOutput()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
DataObject::Pointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::MakeOutput ( ProcessObject::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 = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
static Pointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
void itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::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.

◆ SetBlockRadius()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
virtual void itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SetBlockRadius ( ImageSizeType  _arg)
virtual

set/get half size

◆ SetSearchRadius()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
virtual void itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SetSearchRadius ( ImageSizeType  _arg)
virtual

set/get half window

◆ ThreadedGenerateData()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
virtual void itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ThreadedGenerateData ( ThreadIdType  threadId)
protectedvirtual

◆ ThreaderCallback()

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ThreaderCallback ( void *  arg)
staticprotected

Static function used as a "callback" by the MultiThreaderBase.

The threading library will call this routine for each thread, which will delegate the control to DynamicThreadedGenerateData() after setting the correct region for the thread.

Member Data Documentation

◆ ImageDimension

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
constexpr unsigned int itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ImageDimension = TFixedImage::ImageDimension
staticconstexpr

Definition at line 85 of file itkBlockMatchingImageFilter.h.

◆ m_BlockRadius

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
ImageSizeType itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::m_BlockRadius {}
private

Definition at line 223 of file itkBlockMatchingImageFilter.h.

◆ m_DisplacementsVectorsArray

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
std::unique_ptr<DisplacementsVector[]> itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::m_DisplacementsVectorsArray
private

Definition at line 228 of file itkBlockMatchingImageFilter.h.

◆ m_PointsCount

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
SizeValueType itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::m_PointsCount {}
private

Definition at line 227 of file itkBlockMatchingImageFilter.h.

◆ m_SearchRadius

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
ImageSizeType itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::m_SearchRadius {}
private

Definition at line 224 of file itkBlockMatchingImageFilter.h.

◆ m_SimilaritiesValuesArray

template<typename TFixedImage , typename TMovingImage = TFixedImage, typename TFeatures = PointSet<Matrix<SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension>, class TDisplacements = PointSet<Vector<typename TFeatures::PointType::ValueType, TFeatures::PointDimension>, TFeatures::PointDimension>, class TSimilarities = PointSet<SpacePrecisionType, TDisplacements::PointDimension>>
std::unique_ptr<SimilaritiesValue[]> itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::m_SimilaritiesValuesArray
private

Definition at line 229 of file itkBlockMatchingImageFilter.h.


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