ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension > Class Template Reference

#include <itkPhaseCorrelationOptimizer.h>

Detailed Description

template<typename TRealPixel, unsigned int VImageDimension>
class itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >

Defines common interface for optimizers, that estimates the shift from correlation surface.

The class is templated over the input phase correlation real pixel type. As some optimization methods operate on real correlation surface and some on complex correlation surface, both input phase correlation images can be set with SetRealInput and SetComplexInput.

The peak interpolation method is defined by SetPeakInterpolationMethod. More complex peak interpolation methods use simpler methods as preliminary steps.

For PeakInterpolationMethod::None the integer pixel-precision max peaks are found. This step operates on the real correlation surface. The optimizer finds the maximum peak by NMinimaMaximaImageCalculator, and applies constraits from the SetMergePeaks, SetZeroSuppression, and SetPixelDistanceTolerance parameters.

For PeakInterpolationMethod::Parabolic or PeakInterpolationMethod::Cosine, a sub-pixel peak is found by fitting these functions to the real phase correlation surface.

For PeakInterpolationMethod::WeightedMeanPhase, for efficiency, the weighted mean phase method is used the first PhaseInterpolated number of peaks, and Parabolic interpolation is used for the remaining peaks. This approach is summarized in:

https://www.ncbi.nlm.nih.gov/pubmed/31352341

Power spectrum weighted mean. (Eqn. 10)

Future work may add support for the slope of the phase-frequency least squares linear regression. (Eqn. 14)

Author
Matt McCormick, matt..nosp@m.mcco.nosp@m.rmick.nosp@m.@kit.nosp@m.ware..nosp@m.com, Kitware, Inc
Dženan Zukić, dzena.nosp@m.n.zu.nosp@m.kic@k.nosp@m.itwa.nosp@m.re.co.nosp@m.m, Kitware, Inc
Jakub Bican, jakub.nosp@m..bic.nosp@m.an@ma.nosp@m.tfyz.nosp@m..cz, Department of Image Processing, Institute of Information Theory and Automation, Academy of Sciences of the Czech Republic.

Definition at line 119 of file itkPhaseCorrelationOptimizer.h.

+ Inheritance diagram for itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >:
+ Collaboration diagram for itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >:

Public Types

using ComplexImageType = Image<ComplexPixelType, ImageDimension>
 
using ComplexPixelType = std::complex<RealPixelType>
 
using ConfidenceVector = std::vector<typename NumericTraits<typename ImageType::PixelType>::ValueType>
 
using ConstPointer = SmartPointer<const Self>
 
using DataObjectPointer = typename DataObject::Pointer
 
using ImageType = Image<RealPixelType, ImageDimension>
 
using IndexContainerType = typename MaxCalculatorType::IndexVector
 
using MaxCalculatorType = NMinimaMaximaImageCalculator<ImageType>
 
using OffsetOutputConstPointer = typename OffsetOutputType::ConstPointer
 
using OffsetOutputPointer = typename OffsetOutputType::Pointer
 
using OffsetOutputType = SimpleDataObjectDecorator<OffsetType>
 
using OffsetScalarType = typename OffsetType::ValueType
 
using OffsetType = typename ImageType::PointType
 
using OffsetVector = std::vector<OffsetType>
 
using PeakInterpolationMethodEnum = PhaseCorrelationOptimizerEnums::PeakInterpolationMethod
 
using Pointer = SmartPointer<Self>
 
using RealPixelType = TRealPixel
 
using Self = PhaseCorrelationOptimizer
 
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::itk::LightObject::Pointer CreateAnother () const
 
virtual const ImageType * GetAdjustedInput () const
 
virtual const ConfidenceVector & GetConfidences () const
 
virtual const IndexContainerType & GetMaxIndices () const
 
virtual unsigned GetMergePeaks () const
 
virtual const char * GetNameOfClass () const
 
virtual unsigned GetOffsetCount () const
 
virtual const OffsetVector & GetOffsets () const
 
const OffsetOutputType * GetOutput (unsigned index) const
 
virtual PeakInterpolationMethodEnum GetPeakInterpolationMethod () const
 
virtual unsigned int GetPhaseInterpolated () const
 
virtual SizeValueType GetPixelDistanceTolerance () const
 
virtual double GetZeroSuppression () const
 
void SetComplexInput (const ComplexImageType *image)
 
void SetFixedImage (const ImageBase< ImageType::ImageDimension > *image)
 
virtual void SetMergePeaks (unsigned _arg)
 
void SetMovingImage (const ImageBase< ImageType::ImageDimension > *image)
 
virtual void SetOffsetCount (unsigned count)
 
void SetPeakInterpolationMethod (const PeakInterpolationMethodEnum peakInterpolationMethod)
 
virtual void SetPhaseInterpolated (unsigned int _arg)
 
virtual void SetPixelDistanceTolerance (SizeValueType _arg)
 
void SetRealInput (const ImageType *image)
 
virtual void SetZeroSuppression (double _arg)
 
- 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
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStamp & GetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::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 = VImageDimension
 

Protected Member Functions

void ComputeOffset ()
 
void GenerateData () override
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
 PhaseCorrelationOptimizer ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~PhaseCorrelationOptimizer () override=default
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
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 ()
 

Private Types

using CyclicShiftFilterType = CyclicShiftImageFilter<ImageType>
 
using FFTFilterType = RealToHalfHermitianForwardFFTImageFilter<ImageType>
 
using PadFilterType = FFTPadImageFilter<ImageType, ImageType>
 

Private Attributes

ImageType::Pointer m_AdjustedInput
 
ConfidenceVector m_Confidences
 
CyclicShiftFilterType::Pointer m_CyclicShiftFilter = CyclicShiftFilterType::New()
 
FFTFilterType::Pointer m_FFTFilter = FFTFilterType::New()
 
MaxCalculatorType::Pointer m_MaxCalculator = MaxCalculatorType::New()
 
IndexContainerType m_MaxIndices
 
unsigned m_MergePeaks = 1
 
OffsetVector m_Offsets
 
PadFilterType::Pointer m_PadFilter = PadFilterType::New()
 
PeakInterpolationMethodEnum m_PeakInterpolationMethod = PeakInterpolationMethodEnum::Parabolic
 
unsigned int m_PhaseInterpolated { 1 }
 
SizeValueType m_PixelDistanceTolerance = 0
 
double m_ZeroSuppression = 5
 

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ComplexImageType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::ComplexImageType = Image<ComplexPixelType, ImageDimension>

Definition at line 141 of file itkPhaseCorrelationOptimizer.h.

◆ ComplexPixelType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::ComplexPixelType = std::complex<RealPixelType>

Definition at line 139 of file itkPhaseCorrelationOptimizer.h.

◆ ConfidenceVector

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::ConfidenceVector = std::vector<typename NumericTraits<typename ImageType::PixelType>::ValueType>

Confidences corresponding to offsets.

Definition at line 164 of file itkPhaseCorrelationOptimizer.h.

◆ ConstPointer

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::ConstPointer = SmartPointer<const Self>

Definition at line 127 of file itkPhaseCorrelationOptimizer.h.

◆ CyclicShiftFilterType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::CyclicShiftFilterType = CyclicShiftImageFilter<ImageType>
private

Definition at line 277 of file itkPhaseCorrelationOptimizer.h.

◆ DataObjectPointer

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::DataObjectPointer = typename DataObject::Pointer

Smart Pointer type to a DataObject.

Definition at line 155 of file itkPhaseCorrelationOptimizer.h.

◆ FFTFilterType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::FFTFilterType = RealToHalfHermitianForwardFFTImageFilter<ImageType>
private

Definition at line 285 of file itkPhaseCorrelationOptimizer.h.

◆ ImageType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::ImageType = Image<RealPixelType, ImageDimension>

Definition at line 140 of file itkPhaseCorrelationOptimizer.h.

◆ IndexContainerType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::IndexContainerType = typename MaxCalculatorType::IndexVector

Definition at line 209 of file itkPhaseCorrelationOptimizer.h.

◆ MaxCalculatorType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::MaxCalculatorType = NMinimaMaximaImageCalculator<ImageType>

Definition at line 208 of file itkPhaseCorrelationOptimizer.h.

◆ OffsetOutputConstPointer

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::OffsetOutputConstPointer = typename OffsetOutputType::ConstPointer

Definition at line 152 of file itkPhaseCorrelationOptimizer.h.

◆ OffsetOutputPointer

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::OffsetOutputPointer = typename OffsetOutputType::Pointer

Definition at line 151 of file itkPhaseCorrelationOptimizer.h.

◆ OffsetOutputType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::OffsetOutputType = SimpleDataObjectDecorator<OffsetType>

Type for the output: Using Decorator pattern for enabling the offset to be passed in the data pipeline

Definition at line 150 of file itkPhaseCorrelationOptimizer.h.

◆ OffsetScalarType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::OffsetScalarType = typename OffsetType::ValueType

Definition at line 146 of file itkPhaseCorrelationOptimizer.h.

◆ OffsetType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::OffsetType = typename ImageType::PointType

Type for the output parameters. It defines a position in the optimization search space.

Definition at line 145 of file itkPhaseCorrelationOptimizer.h.

◆ OffsetVector

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::OffsetVector = std::vector<OffsetType>

Resulting vector of offsets.

Definition at line 158 of file itkPhaseCorrelationOptimizer.h.

◆ PadFilterType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::PadFilterType = FFTPadImageFilter<ImageType, ImageType>
private

Definition at line 282 of file itkPhaseCorrelationOptimizer.h.

◆ PeakInterpolationMethodEnum

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::PeakInterpolationMethodEnum = PhaseCorrelationOptimizerEnums::PeakInterpolationMethod

Definition at line 185 of file itkPhaseCorrelationOptimizer.h.

◆ Pointer

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::Pointer = SmartPointer<Self>

Definition at line 126 of file itkPhaseCorrelationOptimizer.h.

◆ RealPixelType

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::RealPixelType = TRealPixel

Definition at line 138 of file itkPhaseCorrelationOptimizer.h.

◆ Self

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::Self = PhaseCorrelationOptimizer

Definition at line 124 of file itkPhaseCorrelationOptimizer.h.

◆ Superclass

template<typename TRealPixel, unsigned int VImageDimension>
using itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::Superclass = ProcessObject

Definition at line 125 of file itkPhaseCorrelationOptimizer.h.

Constructor & Destructor Documentation

◆ PhaseCorrelationOptimizer()

template<typename TRealPixel, unsigned int VImageDimension>
itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::PhaseCorrelationOptimizer ( )
protected

◆ ~PhaseCorrelationOptimizer()

template<typename TRealPixel, unsigned int VImageDimension>
itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::~PhaseCorrelationOptimizer ( )
overrideprotecteddefault

Member Function Documentation

◆ ComputeOffset()

template<typename TRealPixel, unsigned int VImageDimension>
void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::ComputeOffset ( )
protected

◆ CreateAnother()

template<typename TRealPixel, unsigned int VImageDimension>
virtual::itk::LightObject::Pointer itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::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.

◆ GenerateData()

template<typename TRealPixel, unsigned int VImageDimension>
void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GenerateData ( )
overrideprotectedvirtual

Method invoked by the pipeline in order to trigger the computation of the output values.

Reimplemented from itk::ProcessObject.

◆ GetAdjustedInput()

template<typename TRealPixel, unsigned int VImageDimension>
virtual const ImageType * itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetAdjustedInput ( ) const
virtual

Get correlation image biased towards the expected solution.

◆ GetConfidences()

template<typename TRealPixel, unsigned int VImageDimension>
virtual const ConfidenceVector & itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetConfidences ( ) const
virtual

Get the confidences corresponding to offsets.

◆ GetMaxIndices()

template<typename TRealPixel, unsigned int VImageDimension>
virtual const IndexContainerType & itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetMaxIndices ( ) const
virtual

Indices of the maxima.

◆ GetMergePeaks()

template<typename TRealPixel, unsigned int VImageDimension>
virtual unsigned itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetMergePeaks ( ) const
virtual

Get/Set maximum city-block distance for peak merging. Zero disables it.

◆ GetNameOfClass()

template<typename TRealPixel, unsigned int VImageDimension>
virtual const char * itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

◆ GetOffsetCount()

template<typename TRealPixel, unsigned int VImageDimension>
virtual unsigned itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetOffsetCount ( ) const
inlinevirtual

Definition at line 203 of file itkPhaseCorrelationOptimizer.h.

◆ GetOffsets()

template<typename TRealPixel, unsigned int VImageDimension>
virtual const OffsetVector & itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetOffsets ( ) const
virtual

Get the computed offsets.

◆ GetOutput()

template<typename TRealPixel, unsigned int VImageDimension>
const OffsetOutputType * itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetOutput ( unsigned index) const
inline

Returns the offset resulting from the registration process

Definition at line 192 of file itkPhaseCorrelationOptimizer.h.

◆ GetPeakInterpolationMethod()

template<typename TRealPixel, unsigned int VImageDimension>
virtual PeakInterpolationMethodEnum itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetPeakInterpolationMethod ( ) const
virtual

◆ GetPhaseInterpolated()

template<typename TRealPixel, unsigned int VImageDimension>
virtual unsigned int itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetPhaseInterpolated ( ) const
virtual

Number of peaks to use phase-based sub-sample interpolation with the WeightedMeanPhase methods.

◆ GetPixelDistanceTolerance()

template<typename TRealPixel, unsigned int VImageDimension>
virtual SizeValueType itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetPixelDistanceTolerance ( ) const
virtual

Get/Set expected maximum linear translation needed, in pixels. Zero (the default) has a special meaning: sigmoid scaling with half-way point at around quarter of image size. Translations can plausibly be up to half an image size.

◆ GetZeroSuppression()

template<typename TRealPixel, unsigned int VImageDimension>
virtual double itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::GetZeroSuppression ( ) const
virtual

Get/Set suppression aggressiveness of trivial [0,0,...] solution.

◆ MakeOutput() [1/2]

template<typename TRealPixel, unsigned int VImageDimension>
virtual DataObjectPointer itk::ProcessObject::MakeOutput ( const DataObjectIdentifierType & )
protectedvirtual

Make a DataObject of the correct type to used as the specified output.

Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().

Reimplemented from itk::ProcessObject.

◆ MakeOutput() [2/2]

template<typename TRealPixel, unsigned int VImageDimension>
DataObjectPointer itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::MakeOutput ( DataObjectPointerArraySizeType idx)
inlineoverrideprotectedvirtual

Make a DataObject of the correct type to be used as the specified output.

Reimplemented from itk::ProcessObject.

Definition at line 258 of file itkPhaseCorrelationOptimizer.h.

◆ New()

template<typename TRealPixel, unsigned int VImageDimension>
static Pointer itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TRealPixel, unsigned int VImageDimension>
void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::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::Object.

◆ SetComplexInput()

template<typename TRealPixel, unsigned int VImageDimension>
void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetComplexInput ( const ComplexImageType * image)

Sets the complex phase correlation input image to the optimizer.

◆ SetFixedImage()

template<typename TRealPixel, unsigned int VImageDimension>
void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetFixedImage ( const ImageBase< ImageType::ImageDimension > * image)

Sets the fixed image to the optimizer.

◆ SetMergePeaks()

template<typename TRealPixel, unsigned int VImageDimension>
virtual void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetMergePeaks ( unsigned _arg)
virtual

◆ SetMovingImage()

template<typename TRealPixel, unsigned int VImageDimension>
void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetMovingImage ( const ImageBase< ImageType::ImageDimension > * image)

Sets the fixed image to the optimizer.

◆ SetOffsetCount()

template<typename TRealPixel, unsigned int VImageDimension>
virtual void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetOffsetCount ( unsigned count)
virtual

Get/Set number of maximums to be computed. Resulting count could be smaller than requested! After Update is called, check count again.

◆ SetPeakInterpolationMethod()

template<typename TRealPixel, unsigned int VImageDimension>
void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetPeakInterpolationMethod ( const PeakInterpolationMethodEnum peakInterpolationMethod)

◆ SetPhaseInterpolated()

template<typename TRealPixel, unsigned int VImageDimension>
virtual void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetPhaseInterpolated ( unsigned int _arg)
virtual

◆ SetPixelDistanceTolerance()

template<typename TRealPixel, unsigned int VImageDimension>
virtual void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetPixelDistanceTolerance ( SizeValueType _arg)
virtual

◆ SetRealInput()

template<typename TRealPixel, unsigned int VImageDimension>
void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetRealInput ( const ImageType * image)

Sets the real phase correlation input image to the optimizer.

◆ SetZeroSuppression()

template<typename TRealPixel, unsigned int VImageDimension>
virtual void itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::SetZeroSuppression ( double _arg)
virtual

Member Data Documentation

◆ ImageDimension

template<typename TRealPixel, unsigned int VImageDimension>
unsigned int itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::ImageDimension = VImageDimension
staticconstexpr

Type of the inputs.

Definition at line 136 of file itkPhaseCorrelationOptimizer.h.

◆ m_AdjustedInput

template<typename TRealPixel, unsigned int VImageDimension>
ImageType::Pointer itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_AdjustedInput
private

Definition at line 274 of file itkPhaseCorrelationOptimizer.h.

◆ m_Confidences

template<typename TRealPixel, unsigned int VImageDimension>
ConfidenceVector itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_Confidences
private

Definition at line 267 of file itkPhaseCorrelationOptimizer.h.

◆ m_CyclicShiftFilter

template<typename TRealPixel, unsigned int VImageDimension>
CyclicShiftFilterType::Pointer itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_CyclicShiftFilter = CyclicShiftFilterType::New()
private

Definition at line 278 of file itkPhaseCorrelationOptimizer.h.

◆ m_FFTFilter

template<typename TRealPixel, unsigned int VImageDimension>
FFTFilterType::Pointer itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_FFTFilter = FFTFilterType::New()
private

Definition at line 286 of file itkPhaseCorrelationOptimizer.h.

◆ m_MaxCalculator

template<typename TRealPixel, unsigned int VImageDimension>
MaxCalculatorType::Pointer itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_MaxCalculator = MaxCalculatorType::New()
private

Definition at line 269 of file itkPhaseCorrelationOptimizer.h.

◆ m_MaxIndices

template<typename TRealPixel, unsigned int VImageDimension>
IndexContainerType itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_MaxIndices
private

Definition at line 275 of file itkPhaseCorrelationOptimizer.h.

◆ m_MergePeaks

template<typename TRealPixel, unsigned int VImageDimension>
unsigned itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_MergePeaks = 1
private

Definition at line 270 of file itkPhaseCorrelationOptimizer.h.

◆ m_Offsets

template<typename TRealPixel, unsigned int VImageDimension>
OffsetVector itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_Offsets
private

Definition at line 266 of file itkPhaseCorrelationOptimizer.h.

◆ m_PadFilter

template<typename TRealPixel, unsigned int VImageDimension>
PadFilterType::Pointer itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_PadFilter = PadFilterType::New()
private

Definition at line 283 of file itkPhaseCorrelationOptimizer.h.

◆ m_PeakInterpolationMethod

template<typename TRealPixel, unsigned int VImageDimension>
PeakInterpolationMethodEnum itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_PeakInterpolationMethod = PeakInterpolationMethodEnum::Parabolic
private

Definition at line 264 of file itkPhaseCorrelationOptimizer.h.

◆ m_PhaseInterpolated

template<typename TRealPixel, unsigned int VImageDimension>
unsigned int itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_PhaseInterpolated { 1 }
private

Definition at line 280 of file itkPhaseCorrelationOptimizer.h.

◆ m_PixelDistanceTolerance

template<typename TRealPixel, unsigned int VImageDimension>
SizeValueType itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_PixelDistanceTolerance = 0
private

Definition at line 272 of file itkPhaseCorrelationOptimizer.h.

◆ m_ZeroSuppression

template<typename TRealPixel, unsigned int VImageDimension>
double itk::PhaseCorrelationOptimizer< TRealPixel, VImageDimension >::m_ZeroSuppression = 5
private

Definition at line 271 of file itkPhaseCorrelationOptimizer.h.


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