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

#include <itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h>

Detailed Description

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
class itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >

The search region at subsequent levels is a function of the similarity metric at the displacement.

This is a SearchRegionImageSource that defines the search region size dynamically according the metric image performance at higher levels. The search region given the metric images at the current level is determined by the value of the similarity at the determined displacement. This size is interpolated is interpolated at the following levels.

In order to examine the metric image values, this class also inherits from MetricImageToDisplacementCalculator.

A second displacment calculator is used to calculate the displacement from similarity metric images. This can be set with SetDisplacementCalculator(), and it defaults to MaximumPixelDisplacementCalculator.

The specified functor is defined with SetFunctor() and it should evaluate to 1.0 to keep the search region the same size at the next level or less than one to decrease the size at the next level. Candidate functions are available in the itk::Function:: namespace.

Todo
more with this. top level / 2 ? The search region radius will be truncated to the top level radius after evaluation with the functor.

Definition at line 71 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

+ Inheritance diagram for itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >:
+ Collaboration diagram for itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >:

Public Types

using CenterPointsImageType = typename DisplacementCalculatorSuperclass::CenterPointsImageType
 
using ConstPointer = SmartPointer<const Self>
 
using DisplacementCalculatorSuperclass = MetricImageToDisplacementCalculator<TMetricImage, TDisplacementImage>
 
using DisplacementImageType = TDisplacementImage
 
using DisplacementResamplerPointer = typename DisplacementResamplerType::Pointer
 
using DisplacementResamplerType = typename Superclass::DisplacementResamplerType
 
using FixedImageType = TFixedImage
 
using FixedRegionType = typename FixedImageType::RegionType
 
using FunctorType = TFunctor
 
using IndexType = typename DisplacementCalculatorSuperclass::IndexType
 
using InterpolatorPointerType = typename InterpolatorType::Pointer
 
using InterpolatorType = InterpolateImageFunction<MetricImageType, TInterpolatorPrecisionType>
 
using MetricImageImageType = typename DisplacementCalculatorSuperclass::MetricImageImageType
 
using MetricImageType = TMetricImage
 
using MovingImageType = TMovingImage
 
using MovingRegionType = typename MovingImageType::RegionType
 
using OutputImageType = typename Superclass::OutputImageType
 
using OutputRegionType = typename OutputImageType::RegionType
 
using OverlapScheduleType = typename Superclass::OverlapScheduleType
 
using Pointer = SmartPointer<Self>
 
using PointType = typename DisplacementCalculatorSuperclass::PointType
 
using PyramidScheduleType = typename Superclass::PyramidScheduleType
 
using RadiusFactorType = FixedArray<double, ImageDimension>
 
using RadiusType = typename FixedImageType::SizeType
 
using SearchRegionRadiusImagePointer = typename SearchRegionRadiusImageType::Pointer
 
using SearchRegionRadiusImageType
 
using SearchRegionRadiusResamplerType = ResampleImageFilter<SearchRegionRadiusImageType, SearchRegionRadiusImageType>
 
using Self = MultiResolutionSimilarityFunctionSearchRegionImageSource
 
using Superclass = MultiResolutionSearchRegionImageSource<TFixedImage, TMovingImage, TDisplacementImage>
 
- Public Types inherited from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage >
using ConstPointer = SmartPointer<const Self>
 
using DisplacementImagePointer = typename DisplacementImageType::Pointer
 
using DisplacementImageType = TDisplacementImage
 
using DisplacementResamplerPointer = typename DisplacementResamplerType::Pointer
 
using DisplacementResamplerType = ResampleImageFilter<DisplacementImageType, DisplacementImageType>
 
using FixedImageType = TFixedImage
 
using FixedRegionType = typename FixedImageType::RegionType
 
using MovingImageType = TMovingImage
 
using MovingRegionType = typename MovingImageType::RegionType
 
using OutputImageType = Image<typename MovingImageType::RegionType, ImageDimension>
 
using OutputRegionType = typename OutputImageType::RegionType
 
using OverlapScheduleType = Array2D<double>
 
using Pointer = SmartPointer<Self>
 
using PyramidScheduleType = Array2D<unsigned int>
 
using RadiusType = typename FixedImageType::SizeType
 
using Self = MultiResolutionSearchRegionImageSource
 
using Superclass = ImageSource<OutputImageType>
 
- Public Types inherited from itk::ImageSource< Image< TMovingImage::RegionType, TMovingImage::ImageDimension > >
using ConstPointer
 
using DataObjectIdentifierType
 
using DataObjectPointer
 
using DataObjectPointerArraySizeType
 
using OutputImagePixelType
 
using OutputImagePointer
 
using OutputImageRegionType
 
using OutputImageType
 
using Pointer
 
using Self
 
using Superclass
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector<DataObjectPointer>
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using NameArray = std::vector<DataObjectIdentifierType>
 
using Pointer = SmartPointer<Self>
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 
- Public Types inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >
using CenterPointsImagePointerType = typename CenterPointsImageType::Pointer
 
using CenterPointsImageType = itk::Image<PointType, ImageDimension>
 
using ConstPointer = SmartPointer<const Self>
 
using DisplacementImagePointerType = typename DisplacementImageType::Pointer
 
using DisplacementImageType = TDisplacementImage
 
using IndexType = typename MetricImageType::IndexType
 
using MetricImageImagePointerType = typename MetricImageImageType::Pointer
 
using MetricImageImageType = itk::Image<MetricImagePointerType, ImageDimension>
 
using MetricImagePointerType = typename MetricImageType::Pointer
 
using MetricImageType = TMetricImage
 
using Pointer = SmartPointer<Self>
 
using PointType = typename DisplacementImageType::PointType
 
using RegionType = typename DisplacementImageType::RegionType
 
using Self = MetricImageToDisplacementCalculator
 
using Superclass = Object
 

Public Member Functions

virtual void Compute ()
 
bool GetDebug () const
 
virtual const DisplacementCalculatorSuperclass * GetDisplacementCalculator () const
 
const FunctorType & GetFunctor () const
 
virtual const InterpolatorType * GetInterpolator () const
 
virtual const RadiusFactorType & GetMinimumSearchRegionRadiusFactor () const
 
virtual const char * GetNameOfClass () const
 
virtual void Modified () const
 
virtual void Register () const
 
virtual void SetDisplacementCalculator (DisplacementCalculatorSuperclass *_arg)
 
virtual void SetDisplacementImage (DisplacementImageType *image)
 
void SetFunctor (const FunctorType &functor)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
virtual void SetMetricImagePixel (const PointType &point, const IndexType &index, MetricImageType *image)
 
virtual void SetMinimumSearchRegionRadiusFactor (const double &factor)
 
virtual void SetMinimumSearchRegionRadiusFactor (const RadiusFactorType &factor)
 
virtual void SetTopLevelRadius (const RadiusType &radius)
 
virtual void UnRegister () const
 
- Public Member Functions inherited from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage >
virtual RadiusType GetFixedBlockRadius () const
 
const FixedImageType * GetFixedImage () const
 
const MovingImageType * GetMovingImage () const
 
virtual const OverlapScheduleType & GetOverlapSchedule () const
 
virtual const DisplacementImageType * GetPreviousDisplacements () const
 
virtual const PyramidScheduleType & GetPyramidSchedule () const
 
virtual void SetFixedBlockRadius (const RadiusType &radius)
 
virtual void SetFixedBlockRadius (const unsigned int rad)
 
void SetFixedImage (FixedImageType *fixedImage)
 
void SetMovingImage (MovingImageType *movingImage)
 
virtual void SetOverlapSchedule (const double &schedule)
 
virtual void SetOverlapSchedule (const OverlapScheduleType &schedule)
 
virtual void SetPyramidSchedule (const PyramidScheduleType &schedule)
 
- Public Member Functions inherited from itk::ImageSource< Image< TMovingImage::RegionType, TMovingImage::ImageDimension > >
OutputImageType * GetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
OutputImageType * GetOutput ()
 
const OutputImageType * GetOutput () const
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *output)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderBase * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderBase *threader)
 
virtual void SetNumberOfWorkUnitsFromThreadRatio (ThreadIdType ratio)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType numberOfWorkUnits)
 
virtual ThreadIdType GetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStamp & GetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 
- Public Member Functions inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >
virtual void CacheMetricImageOff ()
 
virtual void CacheMetricImageOn ()
 
virtual bool GetCacheMetricImage () const
 
virtual const CenterPointsImageType * GetCenterPointsImage () const
 
const DisplacementImageType * GetDisplacementImage () const
 
virtual const MetricImageImageType * GetMetricImageImage () const
 
virtual void ModifyEnlargeOutputRequestedRegion (DataObject *data)
 
virtual void ModifyGenerateInputRequestedRegion (RegionType &region)
 
virtual void SetCacheMetricImage (bool _arg)
 
virtual void SetCenterPointsImage (CenterPointsImageType *_arg)
 
virtual void SetMetricImageImage (MetricImageImageType *_arg)
 

Static Public Member Functions

static Pointer New (void)
 
- 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 = TMovingImage::ImageDimension
 
- Static Public Attributes inherited from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage >
static constexpr unsigned int ImageDimension = TMovingImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< Image< TMovingImage::RegionType, TMovingImage::ImageDimension > >
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >
static constexpr unsigned int ImageDimension = TDisplacementImage::ImageDimension
 

Protected Member Functions

virtual void BeforeThreadedGenerateData () override
 
 MultiResolutionSimilarityFunctionSearchRegionImageSource ()
 
virtual void ThreadedGenerateData (const OutputRegionType &outputRegion, ThreadIdType threadID)
 
- Protected Member Functions inherited from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage >
void GenerateOutputInformation () override
 
 MultiResolutionSearchRegionImageSource ()
 
virtual void SetCurrentLevel (unsigned long _arg)
 
virtual void SetPreviousDisplacements (const DisplacementImageType *displacements)
 
- Protected Member Functions inherited from itk::ImageSource< Image< TMovingImage::RegionType, TMovingImage::ImageDimension > >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
void GenerateData () override
 
virtual const ImageRegionSplitterBase * GetImageRegionSplitter () const
 
 ImageSource ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObject * GetInput (const DataObjectIdentifierType &key)
 
const DataObject * GetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeType & GetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeType & GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
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
 
DataObject * GetInput (DataObjectPointerArraySizeType idx)
 
const DataObject * GetInput (DataObjectPointerArraySizeType idx) const
 
DataObject * GetPrimaryInput ()
 
const DataObject * GetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObject * GetOutput (const DataObjectIdentifierType &key)
 
const DataObject * GetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObject * GetOutput (DataObjectPointerArraySizeType i)
 
const DataObject * GetOutput (DataObjectPointerArraySizeType i) const
 
DataObject * GetPrimaryOutput ()
 
const DataObject * GetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
- Protected Member Functions inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >
 MetricImageToDisplacementCalculator ()
 

Protected Attributes

DisplacementCalculatorSuperclass::Pointer m_DisplacementCalculator
 
FunctorType m_Functor
 
InterpolatorPointerType m_Interpolator
 
RadiusFactorType m_MinimumSearchRegionRadiusFactor
 
SearchRegionRadiusImageType::Pointer m_SearchRegionRadiusImage
 
SearchRegionRadiusResamplerType::Pointer m_SearchRegionRadiusResampler
 
RadiusType m_TopLevelRadius
 
bool m_TopLevelRadiusSpecified
 
- Protected Attributes inherited from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage >
unsigned long m_CurrentLevel
 
DisplacementDuplicatorType::Pointer m_DisplacementDuplicator
 
DisplacementResamplerPointer m_DisplacementResampler
 
RadiusType m_FixedBlockRadius
 
FixedImageType::Pointer m_FixedImage
 
MovingImageType::Pointer m_MovingImage
 
OverlapScheduleType m_OverlapSchedule
 
DisplacementImagePointer m_PreviousDisplacements
 
PyramidScheduleType m_PyramidSchedule
 
- Protected Attributes inherited from itk::ImageSource< Image< TMovingImage::RegionType, TMovingImage::ImageDimension > >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 
- Protected Attributes inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >
bool m_CacheMetricImage
 
CenterPointsImagePointerType m_CenterPointsImage
 
DisplacementImagePointerType m_DisplacementImage
 
MetricImageDuplicatorType::Pointer m_MetricImageDuplicator
 
MetricImageImagePointerType m_MetricImageImage
 
MultiThreaderBase::Pointer m_MultiThreader
 
bool m_RegionsDefined
 

Private Member Functions

 MultiResolutionSimilarityFunctionSearchRegionImageSource (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage >
using DisplacementDuplicatorType = ImageDuplicator<DisplacementImageType>
 
- Protected Types inherited from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >
using MetricImageDuplicatorType = ImageDuplicator<MetricImageType>
 
- Static Protected Member Functions inherited from itk::ImageSource< Image< TMovingImage::RegionType, TMovingImage::ImageDimension > >
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject>
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 

Member Typedef Documentation

◆ CenterPointsImageType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::CenterPointsImageType = typename DisplacementCalculatorSuperclass::CenterPointsImageType

◆ ConstPointer

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::ConstPointer = SmartPointer<const Self>

◆ DisplacementCalculatorSuperclass

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::DisplacementCalculatorSuperclass = MetricImageToDisplacementCalculator<TMetricImage, TDisplacementImage>

◆ DisplacementImageType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::DisplacementImageType = TDisplacementImage

Type of the displacement image from the previous level.

Definition at line 124 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ DisplacementResamplerPointer

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::DisplacementResamplerPointer = typename DisplacementResamplerType::Pointer

◆ DisplacementResamplerType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::DisplacementResamplerType = typename Superclass::DisplacementResamplerType

Type of the filter used to resample the deformations.

Definition at line 130 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ FixedImageType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::FixedImageType = TFixedImage

Type of the fixed image.

Definition at line 88 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ FixedRegionType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::FixedRegionType = typename FixedImageType::RegionType

◆ FunctorType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::FunctorType = TFunctor

Type of the function object used to calculate the search region size.

Definition at line 127 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ IndexType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::IndexType = typename DisplacementCalculatorSuperclass::IndexType

◆ InterpolatorPointerType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::InterpolatorPointerType = typename InterpolatorType::Pointer

◆ InterpolatorType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::InterpolatorType = InterpolateImageFunction<MetricImageType, TInterpolatorPrecisionType>

Interpolator type alias.

Definition at line 106 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ MetricImageImageType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::MetricImageImageType = typename DisplacementCalculatorSuperclass::MetricImageImageType

Type of the image of metric images.

Definition at line 102 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ MetricImageType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::MetricImageType = TMetricImage

Type of the metric image.

Definition at line 99 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ MovingImageType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::MovingImageType = TMovingImage

Type of the moving image.

Definition at line 95 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ MovingRegionType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::MovingRegionType = typename MovingImageType::RegionType

◆ OutputImageType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::OutputImageType = typename Superclass::OutputImageType

Type of the search region image.

Definition at line 110 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ OutputRegionType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::OutputRegionType = typename OutputImageType::RegionType

◆ OverlapScheduleType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::OverlapScheduleType = typename Superclass::OverlapScheduleType

◆ Pointer

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::Pointer = SmartPointer<Self>

◆ PointType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::PointType = typename DisplacementCalculatorSuperclass::PointType

Types inherited from the DisplacementCalculator superclass.

Definition at line 134 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ PyramidScheduleType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::PyramidScheduleType = typename Superclass::PyramidScheduleType

ScheduleType type alias support.

Definition at line 118 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ RadiusFactorType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::RadiusFactorType = FixedArray<double, ImageDimension>

Type of the minimum search region radius factor.

Definition at line 138 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ RadiusType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::RadiusType = typename FixedImageType::SizeType

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

Definition at line 92 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ SearchRegionRadiusImagePointer

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SearchRegionRadiusImagePointer = typename SearchRegionRadiusImageType::Pointer

◆ SearchRegionRadiusImageType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SearchRegionRadiusImageType

◆ SearchRegionRadiusResamplerType

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SearchRegionRadiusResamplerType = ResampleImageFilter<SearchRegionRadiusImageType, SearchRegionRadiusImageType>

◆ Self

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::Self = MultiResolutionSimilarityFunctionSearchRegionImageSource

Standard class type alias.

Definition at line 77 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ Superclass

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
using itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::Superclass = MultiResolutionSearchRegionImageSource<TFixedImage, TMovingImage, TDisplacementImage>

Constructor & Destructor Documentation

◆ MultiResolutionSimilarityFunctionSearchRegionImageSource() [1/2]

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::MultiResolutionSimilarityFunctionSearchRegionImageSource ( )
protected

Referenced by GetNameOfClass().

◆ MultiResolutionSimilarityFunctionSearchRegionImageSource() [2/2]

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::MultiResolutionSimilarityFunctionSearchRegionImageSource ( const Self & )
private

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::BeforeThreadedGenerateData ( )
overrideprotectedvirtual

If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Reimplemented from itk::BlockMatching::MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage >.

◆ Compute()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::Compute ( )
virtual

Subclasses must implement this method. If the displacement calculation takes place in SetMetricImagePixel(), then this can do nothing.

Implements itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >.

◆ GetDebug()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
bool itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::GetDebug ( ) const
inline

◆ GetDisplacementCalculator()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual const DisplacementCalculatorSuperclass * itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::GetDisplacementCalculator ( ) const
virtual

◆ GetFunctor()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
const FunctorType & itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::GetFunctor ( ) const
inline

Get the functor object. The functor is returned by reference. (Functors do not have to derive from itk::LightObject, so they do not necessarily have a reference count. So we cannot return a SmartPointer.)

Definition at line 251 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

References m_Functor.

◆ GetInterpolator()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual const InterpolatorType * itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::GetInterpolator ( ) const
virtual

Get a pointer to the interpolator function.

◆ GetMinimumSearchRegionRadiusFactor()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual const RadiusFactorType & itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::GetMinimumSearchRegionRadiusFactor ( ) const
virtual

◆ GetNameOfClass()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual const char * itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::GetNameOfClass ( ) const
virtual

◆ Modified()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::Modified ( ) const
inlinevirtual

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.

Reimplemented from itk::Object.

Definition at line 218 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

References itk::Object::Modified().

Referenced by SetFunctor(), SetMinimumSearchRegionRadiusFactor(), and SetTopLevelRadius().

◆ New()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
static Pointer itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::New ( void )
inlinestatic

◆ operator=()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::operator= ( const Self & )
private

◆ Register()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::Register ( ) const
inlinevirtual

This is needed to avoid resolution ambiguities that occur with multiple inheritance.

Reimplemented from itk::LightObject.

Definition at line 206 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

References itk::LightObject::Register().

◆ SetDisplacementCalculator()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SetDisplacementCalculator ( DisplacementCalculatorSuperclass * _arg)
virtual

Set/Get the internal displacement calculator that is used to calculate the displacements after regularization. Defaults to a MaximumPixelDisplacementCalcultor.

◆ SetDisplacementImage()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SetDisplacementImage ( DisplacementImageType * image)
virtual

We allocate the previous search region image.

Reimplemented from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >.

◆ SetFunctor()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SetFunctor ( const FunctorType & functor)
inline

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

Definition at line 263 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

References m_Functor, and Modified().

◆ SetInterpolator()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SetInterpolator ( InterpolatorType * _arg)
virtual

Set the interpolator function. The default is itk::LinearInterpolateImageFunction<InputImageType, TInterpolatorPrecisionType>. Some other options are itk::NearestNeighborInterpolateImageFunction (useful for binary masks and other images with a small number of possible pixel values), and itk::BSplineInterpolateImageFunction (which provides a higher order of interpolation).

◆ SetMetricImagePixel()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SetMetricImagePixel ( const PointType & point,
const IndexType & index,
MetricImageType * image )
virtual

Calculates the search region radius based on the metric image.

Reimplemented from itk::BlockMatching::MetricImageToDisplacementCalculator< TMetricImage, TDisplacementImage >.

◆ SetMinimumSearchRegionRadiusFactor() [1/2]

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SetMinimumSearchRegionRadiusFactor ( const double & factor)
inlinevirtual

◆ SetMinimumSearchRegionRadiusFactor() [2/2]

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SetMinimumSearchRegionRadiusFactor ( const RadiusFactorType & factor)
inlinevirtual

Set/Get the minimum search region radius factor. This is multiplied by the fixed block size to obtain the minimum search region radius.

Definition at line 179 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

References m_MinimumSearchRegionRadiusFactor, and Modified().

Referenced by SetMinimumSearchRegionRadiusFactor().

◆ SetTopLevelRadius()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::SetTopLevelRadius ( const RadiusType & radius)
inlinevirtual

Set/Get the search region radius at the top, highest level ( level 0 ).

Definition at line 169 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

References m_TopLevelRadius, m_TopLevelRadiusSpecified, and Modified().

◆ ThreadedGenerateData()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::ThreadedGenerateData ( const OutputRegionType & outputRegion,
ThreadIdType threadID )
protectedvirtual

◆ UnRegister()

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
virtual void itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::UnRegister ( ) const
inlinevirtual

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.

Definition at line 212 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

References itk::LightObject::UnRegister().

Member Data Documentation

◆ ImageDimension

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
unsigned int itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::ImageDimension = TMovingImage::ImageDimension
staticconstexpr

ImageDimension enumeration.

Definition at line 85 of file itkBlockMatchingMultiResolutionSimilarityFunctionSearchRegionImageSource.h.

◆ m_DisplacementCalculator

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
DisplacementCalculatorSuperclass::Pointer itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::m_DisplacementCalculator
protected

◆ m_Functor

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
FunctorType itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::m_Functor
protected

◆ m_Interpolator

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
InterpolatorPointerType itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::m_Interpolator
protected

◆ m_MinimumSearchRegionRadiusFactor

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
RadiusFactorType itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::m_MinimumSearchRegionRadiusFactor
protected

◆ m_SearchRegionRadiusImage

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
SearchRegionRadiusImageType::Pointer itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::m_SearchRegionRadiusImage
protected

◆ m_SearchRegionRadiusResampler

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
SearchRegionRadiusResamplerType::Pointer itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::m_SearchRegionRadiusResampler
protected

◆ m_TopLevelRadius

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
RadiusType itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::m_TopLevelRadius
protected

◆ m_TopLevelRadiusSpecified

template<class TFixedImage, class TMovingImage, class TMetricImage, class TDisplacementImage, class TFunctor, class TInterpolatorPrecisionType = double>
bool itk::BlockMatching::MultiResolutionSimilarityFunctionSearchRegionImageSource< TFixedImage, TMovingImage, TMetricImage, TDisplacementImage, TFunctor, TInterpolatorPrecisionType >::m_TopLevelRadiusSpecified
protected

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