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

#include <itkBlockMatchingImageFilter.h>

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

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

Definition at line 73 of file itkBlockMatchingImageFilter.h.

Classes

struct  ThreadStruct
 

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
DisplacementsType::ConstPointer 
DisplacementsConstPointer
 
typedef DisplacementsType::Pointer DisplacementsPointer
 
typedef TDisplacements DisplacementsType
 
typedef
DisplacementsType::PixelType 
DisplacementsVector
 
typedef
FeaturePointsType::ConstPointer 
FeaturePointsConstPointer
 
typedef
FeaturePointsType::PointType 
FeaturePointsPhysicalCoordinates
 
typedef FeaturePointsType::Pointer FeaturePointsPointer
 
typedef TFeatures FeaturePointsType
 
typedef
FixedImageType::ConstPointer 
FixedImageConstPointer
 
typedef FixedImageType::PixelType FixedImagePixelType
 
typedef TFixedImage FixedImageType
 
typedef Index< ImageDimensionImageIndexType
 
typedef ImageRegion
< ImageDimension
ImageRegionType
 
typedef Size< ImageDimensionImageSizeType
 
typedef
MovingImageType::ConstPointer 
MovingImageConstPointer
 
typedef TMovingImage MovingImageType
 
typedef SmartPointer< SelfPointer
 
typedef BlockMatchingImageFilter Self
 
typedef
SimilaritiesType::ConstPointer 
SimilaritiesConstPointer
 
typedef SimilaritiesType::Pointer SimilaritiesPointer
 
typedef TSimilarities SimilaritiesType
 
typedef SimilaritiesType::PixelType SimilaritiesValue
 
typedef MeshToMeshFilter
< FeaturePointsType,
DisplacementsType
Superclass
 
- Public Types inherited from itk::MeshToMeshFilter< TFeatures, TDisplacements >
typedef SmartPointer< const SelfConstPointer
 
typedef InputMeshType::Pointer InputMeshPointer
 
typedef TFeatures InputMeshType
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TDisplacements OutputMeshType
 
typedef SmartPointer< SelfPointer
 
typedef MeshToMeshFilter Self
 
typedef MeshSource
< TDisplacements > 
Superclass
 
- Public Types inherited from itk::MeshSource< TDisplacements >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TDisplacements OutputMeshType
 
typedef SmartPointer< SelfPointer
 
typedef MeshSource Self
 
typedef ProcessObject Superclass
 
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
DisplacementsTypeGetDisplacements ()
 
virtual const char * GetNameOfClass () const
 
SimilaritiesTypeGetSimilarities ()
 
virtual void SetBlockRadius (ImageSizeType _arg)
 
virtual ImageSizeType GetBlockRadius () const
 
virtual void SetSearchRadius (ImageSizeType _arg)
 
virtual ImageSizeType GetSearchRadius () const
 
virtual void SetFixedImage (const FixedImageType *input)
 
virtual const FixedImageTypeGetFixedImage () const
 
virtual void SetMovingImage (const MovingImageType *input)
 
virtual const MovingImageTypeGetMovingImage () const
 
virtual void SetFeaturePoints (const FeaturePointsType *input)
 
virtual const FeaturePointsTypeGetFeaturePoints () const
 
- Public Member Functions inherited from itk::MeshToMeshFilter< TFeatures, TDisplacements >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
const InputMeshTypeGetInput () const
 
const InputMeshTypeGetInput (unsigned int idx) const
 
void SetInput (const InputMeshType *input)
 
- Public Member Functions inherited from itk::MeshSource< TDisplacements >
OutputMeshTypeGetOutput ()
 
OutputMeshTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
void SetOutput (TDisplacements *output)
 
virtual void GraftOutput (DataObject *output)
 
- 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 ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
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 SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::MeshToMeshFilter< TFeatures, TDisplacements >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::MeshSource< TDisplacements >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned ImageDimension = TFixedImage::ImageDimension
 

Protected Member Functions

virtual void AfterThreadedGenerateData ()
 
virtual void BeforeThreadedGenerateData ()
 
 BlockMatchingImageFilter ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *output) override
 
virtual void GenerateData () override
 
virtual void GenerateOutputInformation () override
 
virtual DataObject::Pointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void ThreadedGenerateData (ThreadIdType threadId) throw ( ExceptionObject )
 
 ~BlockMatchingImageFilter ()
 
- Protected Member Functions inherited from itk::MeshToMeshFilter< TFeatures, TDisplacements >
void CopyInputMeshToOutputMeshCellData ()
 
void CopyInputMeshToOutputMeshCellLinks ()
 
void CopyInputMeshToOutputMeshCells ()
 
void CopyInputMeshToOutputMeshPointData ()
 
void CopyInputMeshToOutputMeshPoints ()
 
 MeshToMeshFilter ()
 
 ~MeshToMeshFilter ()
 
- Protected Member Functions inherited from itk::MeshSource< TDisplacements >
virtual void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
virtual ~MeshSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (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
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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 ()
 

Static Protected Member Functions

static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 

Private Member Functions

 BlockMatchingImageFilter (const BlockMatchingImageFilter &)
 
void operator= (const BlockMatchingImageFilter &)
 

Private Attributes

ImageSizeType m_BlockRadius
 
DisplacementsVectorm_DisplacementsVectorsArray
 
SizeValueType m_PointsCount
 
ImageSizeType m_SearchRadius
 
SimilaritiesValuem_SimilaritiesValuesArray
 

Additional Inherited Members

- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

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 >>
typedef SmartPointer< const Self > itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ConstPointer

Definition at line 115 of file itkBlockMatchingImageFilter.h.

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 >>
typedef DisplacementsType::ConstPointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::DisplacementsConstPointer

Definition at line 102 of file itkBlockMatchingImageFilter.h.

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 >>
typedef DisplacementsType::Pointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::DisplacementsPointer

Definition at line 101 of file itkBlockMatchingImageFilter.h.

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 >>
typedef TDisplacements itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::DisplacementsType

Displacement vectors typedefs.

Definition at line 100 of file itkBlockMatchingImageFilter.h.

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 >>
typedef DisplacementsType::PixelType itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::DisplacementsVector

Definition at line 103 of file itkBlockMatchingImageFilter.h.

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 >>
typedef FeaturePointsType::ConstPointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FeaturePointsConstPointer

Definition at line 96 of file itkBlockMatchingImageFilter.h.

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 >>
typedef FeaturePointsType::PointType itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FeaturePointsPhysicalCoordinates

Definition at line 97 of file itkBlockMatchingImageFilter.h.

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 >>
typedef FeaturePointsType::Pointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FeaturePointsPointer

Definition at line 95 of file itkBlockMatchingImageFilter.h.

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 >>
typedef TFeatures itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FeaturePointsType

Feature points pointset typedefs.

Definition at line 94 of file itkBlockMatchingImageFilter.h.

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 >>
typedef FixedImageType::ConstPointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FixedImageConstPointer

Definition at line 86 of file itkBlockMatchingImageFilter.h.

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 >>
typedef FixedImageType::PixelType itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FixedImagePixelType

Definition at line 87 of file itkBlockMatchingImageFilter.h.

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 >>
typedef TFixedImage itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::FixedImageType

Fixed image typedefs.

Definition at line 85 of file itkBlockMatchingImageFilter.h.

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 >>
typedef Index< ImageDimension > itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ImageIndexType

Definition at line 82 of file itkBlockMatchingImageFilter.h.

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 >>
typedef ImageRegion< ImageDimension > itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ImageRegionType

Not input specific typedefs

Definition at line 80 of file itkBlockMatchingImageFilter.h.

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 >>
typedef Size< ImageDimension > itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ImageSizeType

Definition at line 81 of file itkBlockMatchingImageFilter.h.

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 >>
typedef MovingImageType::ConstPointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::MovingImageConstPointer

Definition at line 91 of file itkBlockMatchingImageFilter.h.

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 >>
typedef TMovingImage itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::MovingImageType

Moving image typedefs.

Definition at line 90 of file itkBlockMatchingImageFilter.h.

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 >>
typedef SmartPointer< Self > itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::Pointer

Definition at line 114 of file itkBlockMatchingImageFilter.h.

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 >>
typedef BlockMatchingImageFilter itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::Self

Definition at line 113 of file itkBlockMatchingImageFilter.h.

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 >>
typedef SimilaritiesType::ConstPointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SimilaritiesConstPointer

Definition at line 108 of file itkBlockMatchingImageFilter.h.

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 >>
typedef SimilaritiesType::Pointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SimilaritiesPointer

Definition at line 107 of file itkBlockMatchingImageFilter.h.

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 >>
typedef TSimilarities itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SimilaritiesType

Displacement similarities typedefs.

Definition at line 106 of file itkBlockMatchingImageFilter.h.

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 >>
typedef SimilaritiesType::PixelType itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::SimilaritiesValue

Definition at line 109 of file itkBlockMatchingImageFilter.h.

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 >>
typedef MeshToMeshFilter< FeaturePointsType, DisplacementsType > itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::Superclass

Standard class typedefs.

Definition at line 112 of file itkBlockMatchingImageFilter.h.

Constructor & Destructor Documentation

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
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
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 ( const BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities > &  )
private

Member Function Documentation

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

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

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::itk::LightObject::Pointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TFixedImage , typename TMovingImage = 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 >::EnlargeOutputRequestedRegion ( DataObject output)
overrideprotectedvirtual

We cannot stream (see comments in GenerateOutputInformation).

Reimplemented from itk::ProcessObject.

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 >::GenerateData ( )
overrideprotectedvirtual

Start multithreader here since MeshToMesh filter does not provide multithreaded support

Reimplemented from itk::ProcessObject.

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 >::GenerateOutputInformation ( )
overrideprotectedvirtual

We need to create our own GenerateOutputInformation because the 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.

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

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 148 of file itkBlockMatchingImageFilter.h.

References itk::ProcessObject::GetOutput().

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 const FeaturePointsType* itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GetFeaturePoints ( ) const
virtual

set/get point list

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 const FixedImageType* itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GetFixedImage ( ) const
virtual

set/get fixed image

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 const MovingImageType* itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GetMovingImage ( ) const
virtual

set/get floating image

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 const char* itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MeshToMeshFilter< TFeatures, TDisplacements >.

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

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 153 of file itkBlockMatchingImageFilter.h.

References itk::ProcessObject::GetOutput().

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 DataObject::Pointer itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::MakeOutput ( ProcessObject::DataObjectPointerArraySizeType  idx)
overrideprotectedvirtual

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 SmartPointer to a DataObject. If a subclass of MeshSource has multiple outputs of different types, then that class must provide an implementation of MakeOutput().

Reimplemented from itk::MeshSource< TDisplacements >.

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.

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 >::operator= ( const BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities > &  )
private
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::MeshSource< TDisplacements >.

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

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 >::SetFeaturePoints ( const FeaturePointsType input)
virtual

set/get point list

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 >::SetFixedImage ( const FixedImageType input)
virtual

set/get fixed image

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 >::SetMovingImage ( const MovingImageType input)
virtual

set/get floating image

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

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)
throw (ExceptionObject
)
protectedvirtual
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_TYPE itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ThreaderCallback ( void *  arg)
staticprotected

Static function used as a "callback" by the MultiThreader. The threading library will call this routine for each thread, which will delegate the control to ThreadedGenerateData().

Member Data Documentation

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 unsigned itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::ImageDimension = TFixedImage::ImageDimension
static

Definition at line 77 of file itkBlockMatchingImageFilter.h.

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 205 of file itkBlockMatchingImageFilter.h.

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 >>
DisplacementsVector* itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::m_DisplacementsVectorsArray
private

Definition at line 210 of file itkBlockMatchingImageFilter.h.

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 209 of file itkBlockMatchingImageFilter.h.

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 206 of file itkBlockMatchingImageFilter.h.

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 >>
SimilaritiesValue* itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::m_SimilaritiesValuesArray
private

Definition at line 211 of file itkBlockMatchingImageFilter.h.


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