|
QTrk
|
Class to facilitate 1D cross correlation calculations. More...
#include <cpu_tracker.h>
Public Member Functions | |
| XCor1DBuffer (int xcorw) | |
| Constructs the buffer and initiates the FFT workers. More... | |
| void | XCorFFTHelper (complex_t *prof, complex_t *prof_rev, scalar_t *result) |
| Calculates a cross correlation much like https://en.wikipedia.org/wiki/Autocorrelation#Efficient_computation. More... | |
Public Attributes | |
| kissfft< scalar_t > | fft_forward |
| Handle to forward FFT kissfft instance. More... | |
| kissfft< scalar_t > | fft_backward |
| Handle to backward FFT kissfft instance. More... | |
| int | xcorw |
| Width of the cross correlation. More... | |
Class to facilitate 1D cross correlation calculations.
Definition at line 9 of file cpu_tracker.h.
|
inline |
Constructs the buffer and initiates the FFT workers.
Definition at line 12 of file cpu_tracker.h.
Calculates a cross correlation much like https://en.wikipedia.org/wiki/Autocorrelation#Efficient_computation.
| [in] | prof | The original profile. |
| [in] | prof_rev | The reversed profile. |
| [out] | result | Pre-allocated array that will hold the cross correlation. |
Definition at line 138 of file cpu_tracker.cpp.
| kissfft<scalar_t> XCor1DBuffer::fft_backward |
Handle to backward FFT kissfft instance.
Definition at line 16 of file cpu_tracker.h.
| kissfft<scalar_t> XCor1DBuffer::fft_forward |
Handle to forward FFT kissfft instance.
Definition at line 15 of file cpu_tracker.h.
| int XCor1DBuffer::xcorw |
Width of the cross correlation.
Definition at line 17 of file cpu_tracker.h.
1.8.12