18#ifndef itkPhaseCorrelationOptimizer_h
19#define itkPhaseCorrelationOptimizer_h
27#include "MontageExport.h"
55 static constexpr std::array<PeakInterpolationMethod, 4>
69extern Montage_EXPORT std::ostream &
118template <
typename TRealPixel,
unsigned int VImageDimension>
164 using ConfidenceVector = std::vector<typename NumericTraits<typename ImageType::PixelType>::ValueType>;
212 itkGetConstMacro(MergePeaks,
unsigned);
216 itkGetConstMacro(ZeroSuppression,
double);
217 itkSetClampMacro(ZeroSuppression,
double, 0.0, 100.0);
234 itkGetConstMacro(PhaseInterpolated,
unsigned int);
237 static_assert(!std::is_same<TRealPixel, bool>::value,
"bool is not supported as RealPixelType");
291#ifndef ITK_MANUAL_INSTANTIATION
292# include "itkPhaseCorrelationOptimizer.hxx"
Perform a cyclic spatial shift of image intensities on the image grid.
SmartPointer< Self > Pointer
SmartPointer< Self > Pointer
Pad an image to make it suitable for an FFT transformation.
SmartPointer< Self > Pointer
Base class for templated image classes.
Templated n-dimensional image class.
Point< PointValueType, VImageDimension > PointType
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Computes the N highest and/or lowest intensity values of an image.
std::vector< IndexType > IndexVector
SmartPointer< Self > Pointer
static constexpr std::array< PeakInterpolationMethod, 4 > AllPeakInterpolationMethods()
PadFilterType::Pointer m_PadFilter
PhaseCorrelationOptimizerEnums::PeakInterpolationMethod PeakInterpolationMethodEnum
~PhaseCorrelationOptimizer() override=default
void SetRealInput(const ImageType *image)
PhaseCorrelationOptimizer Self
ConfidenceVector m_Confidences
SmartPointer< Self > Pointer
const OffsetOutputType * GetOutput(unsigned index) const
unsigned int m_PhaseInterpolated
typename OffsetType::ValueType OffsetScalarType
SimpleDataObjectDecorator< OffsetType > OffsetOutputType
FFTFilterType::Pointer m_FFTFilter
FFTPadImageFilter< ImageType, ImageType > PadFilterType
std::vector< OffsetType > OffsetVector
void SetMovingImage(const ImageBase< ImageType::ImageDimension > *image)
PhaseCorrelationOptimizer()
MaxCalculatorType::Pointer m_MaxCalculator
NMinimaMaximaImageCalculator< ImageType > MaxCalculatorType
Image< ComplexPixelType, ImageDimension > ComplexImageType
void SetComplexInput(const ComplexImageType *image)
IndexContainerType m_MaxIndices
CyclicShiftImageFilter< ImageType > CyclicShiftFilterType
void GenerateData() override
void PrintSelf(std::ostream &os, Indent indent) const override
SizeValueType m_PixelDistanceTolerance
InternalPixelType RealPixelType
static constexpr unsigned int ImageDimension
SmartPointer< const Self > ConstPointer
void SetFixedImage(const ImageBase< ImageType::ImageDimension > *image)
typename OffsetOutputType::ConstPointer OffsetOutputConstPointer
std::complex< RealPixelType > ComplexPixelType
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
typename DataObject::Pointer DataObjectPointer
virtual unsigned GetOffsetCount() const
virtual void SetOffsetCount(unsigned count)
typename ImageType::PointType OffsetType
Image< RealPixelType, ImageDimension > ImageType
CyclicShiftFilterType::Pointer m_CyclicShiftFilter
void SetPeakInterpolationMethod(const PeakInterpolationMethodEnum peakInterpolationMethod)
typename MaxCalculatorType::IndexVector IndexContainerType
ImageType::Pointer m_AdjustedInput
std::vector< typename NumericTraits< typename ImageType::PixelType >::ValueType > ConfidenceVector
PeakInterpolationMethodEnum m_PeakInterpolationMethod
typename OffsetOutputType::Pointer OffsetOutputPointer
RealToHalfHermitianForwardFFTImageFilter< ImageType > FFTFilterType
DataObject * GetOutput(const DataObjectIdentifierType &key)
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
Base class for specialized real-to-complex forward Fast Fourier Transform.
SmartPointer< Self > Pointer
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, AnatomicalOrientation::CoordinateEnum value)
#define itkSetMacro(name, type)