![]() |
DvsenseDriver
1.3.0
The SDK for dvsense products.
|
Spatial APS/DVS calibration using affine mappings and cached APS pixel indexes. More...
#include <Calibrator.hpp>
Public Member Functions | |
| Calibrator () | |
| bool | loadCalibrationParam (CalibratorParameters ¶m) |
| void | mapDvsToAps (EventIterator_t begin, EventIterator_t end) |
| Transform event coordinates to APS coordinates in place over [begin, end). | |
| ApsFrame | mapApsToDvs (ApsFrame &src_frame) |
| bool | mapApsToDvsBgr (ApsFrame &src_frame, uint8_t *dst, size_t dst_size) |
| Map an APS image into reusable DVS-resolution BGR888 output storage. | |
| void | adjustAffineTranslation (double dx, double dy) |
| void | saveCalibrationParam (std::string &file_path) |
| void | computeInverseAffine (const double src[6], double dst[6]) |
Spatial APS/DVS calibration using affine mappings and cached APS pixel indexes.
|
inline |
|
inline |
|
inline |
Transform event coordinates to APS coordinates in place over [begin, end).
|
inline |
Map an APS image into reusable DVS-resolution BGR888 output storage.
| src_frame | Contiguous BGR888 input matching the calibrated APS dimensions. |
| dst | Caller-owned destination, at least dvs_cols * dvs_rows * 3 bytes. |
| dst_size | Destination capacity in bytes. |
Out-of-image mappings become black; source dimensions and input capacity are not checked.
|
inline |
|
inline |
|
inline |