Caller-owned scratch storage; never reserved by an imagery-only build. More...
#include <lwir_detection.h>
Data Fields | |
| uint8_t | seen [(LWIR_MAX_WIDTH *LWIR_MAX_HEIGHT+7)/8] |
| One visited bit per pixel. | |
| uint32_t | queue [LWIR_MAX_WIDTH *LWIR_MAX_HEIGHT] |
| BFS queue; afterwards lists the component's pixels. | |
| uint32_t | histogram [UINT16_MAX+1U] |
| One bin per raw code, used for exact medians. | |
Detailed Description
Caller-owned scratch storage; never reserved by an imagery-only build.
Use static or otherwise long-lived storage, not a small thread stack. No initialization is needed. Separate workspaces permit independent detectors. Size is roughly 4.1 bytes per maximum native pixel plus 256 KiB of histogram.
Definition at line 127 of file lwir_detection.h.
Field Documentation
◆ histogram
| uint32_t lwir_detection_workspace::histogram[UINT16_MAX+1U] |
One bin per raw code, used for exact medians.
Definition at line 130 of file lwir_detection.h.
◆ queue
| uint32_t lwir_detection_workspace::queue[LWIR_MAX_WIDTH *LWIR_MAX_HEIGHT] |
BFS queue; afterwards lists the component's pixels.
Definition at line 129 of file lwir_detection.h.
◆ seen
| uint8_t lwir_detection_workspace::seen[(LWIR_MAX_WIDTH *LWIR_MAX_HEIGHT+7)/8] |
One visited bit per pixel.
Definition at line 128 of file lwir_detection.h.
The documentation for this struct was generated from the following file:
- modules/lwir_cam/lwir_detection.h