PCL
Phase Matrices Computation Algorithms

Functions

template<typename T >
void pcl::CrossPowerSpectrumMatrix (Complex< T > *__restrict__ i, const Complex< T > *__restrict__ j, const Complex< T > *__restrict__ a, const Complex< T > *__restrict__ b) noexcept
 
static GenericMatrix pcl::GenericMatrix< T >::CrossPowerSpectrumMatrix (const GenericMatrix &A, const GenericMatrix &B)
 
template<class P1 , class P2 >
void PCL_FUNC pcl::CrossPowerSpectrumMatrix (GenericImage< P1 > &R, const GenericImage< P2 > &A, const GenericImage< P2 > &B)
 
template<typename T >
void pcl::PhaseCorrelationMatrix (Complex< T > *__restrict__ i, const Complex< T > *__restrict__ j, const Complex< T > *__restrict__ a, const Complex< T > *__restrict__ b) noexcept
 
static GenericMatrix pcl::GenericMatrix< T >::PhaseCorrelationMatrix (const GenericMatrix &A, const GenericMatrix &B)
 
template<class P1 , class P2 >
void PCL_FUNC pcl::PhaseCorrelationMatrix (GenericImage< P1 > &R, const GenericImage< P2 > &A, const GenericImage< P2 > &B)
 

Detailed Description

Function Documentation

◆ CrossPowerSpectrumMatrix() [1/3]

template<typename T >
void pcl::CrossPowerSpectrumMatrix ( Complex< T > *__restrict__  i,
const Complex< T > *__restrict__  j,
const Complex< T > *__restrict__  a,
const Complex< T > *__restrict__  b 
)
inlinenoexcept

Cross power spectrum matrix.

Parameters
[out]iAddress of the first element in the output cross power spectrum matrix.
jAddress of the ending element in the output cross power spectrum matrix.
aAddress of the first element in the first operand matrix.
bAddress of the first element in the second operand matrix.

This routine will compute and store the set of contiguous matrix elements at i, i+1, ..., j-1. The total number of computed elements in the output cross power spectrum matrix is equal to j-i. The i, a and b matrices must provide storage for at least j-i complex numbers.

Definition at line 1015 of file Complex.h.

◆ CrossPowerSpectrumMatrix() [2/3]

template<typename T >
static GenericMatrix pcl::GenericMatrix< T >::CrossPowerSpectrumMatrix ( const GenericMatrix< T > &  A,
const GenericMatrix< T > &  B 
)
inlinestatic

Returns the cross power spectrum matrix for two matrices A and B.

Definition at line 2928 of file Matrix.h.

◆ CrossPowerSpectrumMatrix() [3/3]

template<class P1 , class P2 >
void PCL_FUNC pcl::CrossPowerSpectrumMatrix ( GenericImage< P1 > &  R,
const GenericImage< P2 > &  A,
const GenericImage< P2 > &  B 
)
inline

Calculation of the cross power spectrum matrix (CPSM).

Parameters
[out]RThe resulting CPSM as a single-channel complex image with the same dimensions of the source images A and B.
AA single-channel complex image with the discrete Fourier transform of the reference image.
BA single-channel complex image with the discrete Fourier transform of the working image.

Both source images A and B must be nonempty and have the same dimensions. If the result image R does not have the same geometry as the source images, it is reallocated as necessary.

Note
Increments the status monitoring object of the result image R by its area in square pixels.

Definition at line 137 of file PhaseMatrices.h.

◆ PhaseCorrelationMatrix() [1/3]

template<typename T >
void pcl::PhaseCorrelationMatrix ( Complex< T > *__restrict__  i,
const Complex< T > *__restrict__  j,
const Complex< T > *__restrict__  a,
const Complex< T > *__restrict__  b 
)
inlinenoexcept

Phase correlation matrix.

Parameters
[out]iAddress of the first element in the output phase correlation matrix.
jAddress of the ending element in the output phase correlation matrix.
aAddress of the first element in the first operand matrix.
bAddress of the first element in the second operand matrix.

This routine will compute and store the set of contiguous matrix elements at i, i+1, ..., j-1. The total number of computed elements in the output phase correlation matrix is equal to j-i. The i, a and b matrices must provide storage for at least j-i complex numbers.

Definition at line 983 of file Complex.h.

◆ PhaseCorrelationMatrix() [2/3]

template<typename T >
static GenericMatrix pcl::GenericMatrix< T >::PhaseCorrelationMatrix ( const GenericMatrix< T > &  A,
const GenericMatrix< T > &  B 
)
inlinestatic

Returns the phase correlation matrix for two matrices A and B.

Definition at line 2915 of file Matrix.h.

◆ PhaseCorrelationMatrix() [3/3]

template<class P1 , class P2 >
void PCL_FUNC pcl::PhaseCorrelationMatrix ( GenericImage< P1 > &  R,
const GenericImage< P2 > &  A,
const GenericImage< P2 > &  B 
)
inline

Calculation of the phase correlation matrix (PCM).

Parameters
[out]RThe resulting PCM as a single-channel complex image with the same dimensions of the source images A and B.
AA single-channel complex image with the discrete Fourier transform of the reference image.
BA single-channel complex image with the discrete Fourier transform of the working image.

Both source images A and B must be nonempty and have the same dimensions. If the result image R does not have the same geometry as the source images, it is reallocated as necessary.

Note
Increments the status monitoring object of the result image R by its area in square pixels.

Definition at line 88 of file PhaseMatrices.h.