Struct corr2d_state_t¶
2-D FFT correlator state. More...
#include <corr2d_core.h>
Public Attributes¶
| Type | Name |
|---|---|
| float complex * | accum |
| size_t | count |
| size_t | dwell |
| fft2d_state_t * | fwd |
| fft2d_state_t * | inv |
| size_t | n |
| size_t | n_out |
| size_t | nx |
| size_t | nx_out |
| size_t | ny |
| size_t | ny_out |
| float complex * | ref_spec |
| float complex * | work_fft |
| float complex * | work_pad |
| float complex * | zcol |
| float complex * | zcolout |
| float complex * | ztmp |
Detailed Description¶
Allocate with corr2d_create(); never stack-allocate. All heap buffers are ny * nx complex floats stored in row-major order.
Public Attributes Documentation¶
variable accum¶
Coherent product-spectrum accumulator.
variable count¶
Frames accumulated (0 … dwell-1).
variable dwell¶
Integration depth.
variable fwd¶
Forward 2-D plan (sign = -1) at (ny, nx).
variable inv¶
Inverse 2-D plan (sign = +1) at (ny_out,…).
variable n¶
ny * nx — total element count.
variable n_out¶
ny_out * nx_out — output element count.
variable nx¶
Column count.
variable nx_out¶
Output columns (== nx unless decoupled).
variable ny¶
Row count.
variable ny_out¶
Output rows (== ny unless decoupled).
variable ref_spec¶
conj(FFT2(ref)), pre-computed. (ny, nx)
variable work_fft¶
Scratch: FFT2(in) · ref_spec (product).
variable work_pad¶
Zero-padded product, (ny_out, nx_out).
variable zcol¶
Column gather scratch, (ny).
variable zcolout¶
Column-padded scratch, (ny_out).
variable ztmp¶
Row-padded intermediate, (ny, nx_out).
The documentation for this class was generated from the following file native/inc/corr2d/corr2d_core.h