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

#include <itkBlockMatchingMetricImageFilter.h>

Detailed Description

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
class itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >

Create a metric image by applying a metric to a kernel over a search region.

This class is intended to be used internally by itk::BlockMatching::ImageRegistrationMethod and its ilk.

There are two inputs to this image, the Fixed Image, and the Moving Image. A block or kernel from the FixedImage is specified with SetFixedRegion(). A metric is evaluted by comparing the kernel to the search area specified by SetMovingRegion(). The fixed image region should always be smaller than the moving image region. The metric is evaluated multiple times with different translations applied such that a metric image is created. The output of this filter is the metric image.

By default, the metric image spacing is the same as the moving image's spacing. The origin of the metric image is the same as the fixed image.

Only derived classes of this class are intended to be instantiated.

See also
ImageRegistrationMethod

Definition at line 55 of file itkBlockMatchingMetricImageFilter.h.

+ Inheritance diagram for itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >:
+ Collaboration diagram for itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >:

Public Types

using ConstPointer = SmartPointer<const Self>
 
using FixedImageRegionType = typename FixedImageType::RegionType
 
using FixedImageType = TFixedImage
 
using MetricImageRegionType = typename MetricImageType::RegionType
 
using MetricImageSpacingType = typename MetricImageType::SpacingType
 
using MetricImageType = TMetricImage
 
using MovingImageRegionType = typename MovingImageType::RegionType
 
using MovingImageType = TMovingImage
 
using Pointer = SmartPointer<Self>
 
using RadiusType = typename FixedImageType::SizeType
 
using Self = MetricImageFilter
 
using Superclass = ImageToImageFilter<TFixedImage, TMetricImage>
 
- Public Types inherited from itk::ImageToImageFilter< TFixedImage, TMetricImage >
using ConstPointer
 
using InputImageConstPointer
 
using InputImagePixelType
 
using InputImagePointer
 
using InputImageRegionType
 
using InputImageType
 
typedef typename OutputImageType::PixelType OutputImagePixelType
 
using OutputImagePixelType
 
typedef typename OutputImageType::RegionType OutputImageRegionType
 
using OutputImageRegionType
 
using Pointer
 
using Self
 
using Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer<Self>
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector<DataObjectPointer>
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using NameArray = std::vector<DataObjectIdentifierType>
 
using Pointer = SmartPointer<Self>
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 

Public Member Functions

virtual const FixedImageRegionType & GetFixedImageRegion () const
 
virtual const MovingImageRegionType & GetMovingImageRegion () const
 
virtual const char * GetNameOfClass () const
 
void SetFixedImage (FixedImageType *fixedImage)
 
void SetFixedImageRegion (const FixedImageRegionType &region)
 
void SetMovingImage (MovingImageType *movingImage)
 
void SetMovingImageRegion (const MovingImageRegionType &region)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TFixedImage, TMetricImage >
const InputImageType * GetInput () const
 
const InputImageType * GetInput () const
 
const InputImageType * GetInput (unsigned int idx) const
 
const InputImageType * GetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopBackInput () override
 
void PopFrontInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const TFixedImage *image)
 
virtual void SetInput (unsigned int, const TFixedImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
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 const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderBase * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderBase *threader)
 
virtual void SetNumberOfWorkUnitsFromThreadRatio (ThreadIdType ratio)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType numberOfWorkUnits)
 
virtual ThreadIdType GetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStamp & GetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TFixedImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TFixedImage, TMetricImage >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Member Functions

void EnlargeOutputRequestedRegion (DataObject *data) override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 MetricImageFilter ()
 
 ~MetricImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TFixedImage, TMetricImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
 ImageToImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void VerifyInputInformation () const override
 
void VerifyInputInformation () const override
 
 ~ImageToImageFilter () override=default
 
 ~ImageToImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
void GenerateData () override
 
virtual const ImageRegionSplitterBase * GetImageRegionSplitter () const
 
 ImageSource ()
 
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 GenerateOutputRequestedRegion (DataObject *output)
 
DataObject * GetInput (const DataObjectIdentifierType &key)
 
const DataObject * GetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeType & GetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeType & GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions () const
 
 ~ProcessObject () override
 
DataObject * GetInput (DataObjectPointerArraySizeType idx)
 
const DataObject * GetInput (DataObjectPointerArraySizeType idx) const
 
DataObject * GetPrimaryInput ()
 
const DataObject * GetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObject * GetOutput (const DataObjectIdentifierType &key)
 
const DataObject * GetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObject * GetOutput (DataObjectPointerArraySizeType i)
 
const DataObject * GetOutput (DataObjectPointerArraySizeType i) const
 
DataObject * GetPrimaryOutput ()
 
const DataObject * GetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

FixedImageRegionType m_FixedImageRegion
 
bool m_FixedImageRegionDefined
 
RadiusType m_FixedRadius
 
MovingImageRegionType m_MovingImageRegion
 
bool m_MovingImageRegionDefined
 
RadiusType m_MovingRadius
 
- Protected Attributes inherited from itk::ImageSource< TOutputImage >
bool m_DynamicMultiThreading { true }
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::ImageToImageFilter< TFixedImage, TMetricImage >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Types inherited from itk::ImageToImageFilter< TFixedImage, TMetricImage >
using InputToOutputRegionCopierType
 
using OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
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

◆ ConstPointer

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

Definition at line 64 of file itkBlockMatchingMetricImageFilter.h.

◆ FixedImageRegionType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
using itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::FixedImageRegionType = typename FixedImageType::RegionType

Definition at line 74 of file itkBlockMatchingMetricImageFilter.h.

◆ FixedImageType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
using itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::FixedImageType = TFixedImage

Type of the Fixed image.

Definition at line 73 of file itkBlockMatchingMetricImageFilter.h.

◆ MetricImageRegionType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
using itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::MetricImageRegionType = typename MetricImageType::RegionType

Definition at line 83 of file itkBlockMatchingMetricImageFilter.h.

◆ MetricImageSpacingType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
using itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::MetricImageSpacingType = typename MetricImageType::SpacingType

Definition at line 82 of file itkBlockMatchingMetricImageFilter.h.

◆ MetricImageType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
using itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::MetricImageType = TMetricImage

Type of the Metric image.

Definition at line 81 of file itkBlockMatchingMetricImageFilter.h.

◆ MovingImageRegionType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
using itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::MovingImageRegionType = typename MovingImageType::RegionType

Definition at line 78 of file itkBlockMatchingMetricImageFilter.h.

◆ MovingImageType

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
using itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::MovingImageType = TMovingImage

Type of the Moving image.

Definition at line 77 of file itkBlockMatchingMetricImageFilter.h.

◆ Pointer

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

Definition at line 63 of file itkBlockMatchingMetricImageFilter.h.

◆ RadiusType

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

Type of the block radius.

Definition at line 86 of file itkBlockMatchingMetricImageFilter.h.

◆ Self

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
using itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::Self = MetricImageFilter

Standard class type alias.

Definition at line 61 of file itkBlockMatchingMetricImageFilter.h.

◆ Superclass

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
using itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::Superclass = ImageToImageFilter<TFixedImage, TMetricImage>

Definition at line 62 of file itkBlockMatchingMetricImageFilter.h.

Constructor & Destructor Documentation

◆ MetricImageFilter()

◆ ~MetricImageFilter()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::~MetricImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ EnlargeOutputRequestedRegion()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
void itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::EnlargeOutputRequestedRegion ( DataObject * data)
overrideprotectedvirtual

This filter produces the LargestPossibleRegion.

Reimplemented from itk::ProcessObject.

Reimplemented in itk::BlockMatching::NormalizedCrossCorrelationMetricImageFilter< TFixedImage, TMovingImage, TMetricImage >.

◆ GenerateInputRequestedRegion()

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

We set the fixed and moving image's requested region. The fixed image's requested region is equal to FixedImageRegion and the moving image's requested region is equal to the MovingImageRegion dilated by a radius related to the FixedImageRegion's size.

Reimplemented from itk::ImageToImageFilter< TFixedImage, TMetricImage >.

◆ GenerateOutputInformation()

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

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

Reimplemented from itk::ProcessObject.

Reimplemented in itk::BlockMatching::NormalizedCrossCorrelationMetricImageFilter< TFixedImage, TMovingImage, TMetricImage >.

◆ GetFixedImageRegion()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
virtual const FixedImageRegionType & itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::GetFixedImageRegion ( ) const
virtual

◆ GetMovingImageRegion()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
virtual const MovingImageRegionType & itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::GetMovingImageRegion ( ) const
virtual

◆ GetNameOfClass()

◆ SetFixedImage()

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

Set the fixed image.

◆ SetFixedImageRegion()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
void itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::SetFixedImageRegion ( const FixedImageRegionType & region)

Set/Get the fixed image region. This will defined the kernel in the fixed image to be compared against the moving. Every pixel in this region will be compared against the moving image region to generate a pixel in the output metric image.

◆ SetMovingImage()

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

Set the moving image.

◆ SetMovingImageRegion()

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
void itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::SetMovingImageRegion ( const MovingImageRegionType & region)

Set/Get the moving image region. This will defined the search region over which the FixedImageRegion will be iteratively translated over to create the metric image.

Member Data Documentation

◆ ImageDimension

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

ImageDimension enumeration.

Definition at line 70 of file itkBlockMatchingMetricImageFilter.h.

◆ m_FixedImageRegion

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
FixedImageRegionType itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::m_FixedImageRegion
protected

Definition at line 128 of file itkBlockMatchingMetricImageFilter.h.

◆ m_FixedImageRegionDefined

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
bool itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::m_FixedImageRegionDefined
protected

Definition at line 131 of file itkBlockMatchingMetricImageFilter.h.

◆ m_FixedRadius

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
RadiusType itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::m_FixedRadius
protected

Definition at line 136 of file itkBlockMatchingMetricImageFilter.h.

◆ m_MovingImageRegion

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
MovingImageRegionType itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::m_MovingImageRegion
protected

Definition at line 129 of file itkBlockMatchingMetricImageFilter.h.

◆ m_MovingImageRegionDefined

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
bool itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::m_MovingImageRegionDefined
protected

Definition at line 132 of file itkBlockMatchingMetricImageFilter.h.

◆ m_MovingRadius

template<typename TFixedImage, typename TMovingImage, typename TMetricImage>
RadiusType itk::BlockMatching::MetricImageFilter< TFixedImage, TMovingImage, TMetricImage >::m_MovingRadius
protected

Definition at line 140 of file itkBlockMatchingMetricImageFilter.h.


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