|
| template<typename T> |
| CounterType | insert (const Event_< T > &e) |
| | Insert an event, incrementing (p=true) or decrementing (p=false) the counter at (e.x, e.y).
|
| template<typename T> |
| CounterType | emplace (const T x, const T y, const bool p) |
| | Increment or decrement the counter at (x, y) without constructing an Event_.
|
| void | updateStats (const Event &e) |
| | Account for an event in the statistics reported by count() and duration().
|
| CounterType | count () const |
| | Number of events accounted for by updateStats() since the last resetStats().
|
| TimeType | duration () const |
| | Time elapsed between the first and the last event accounted for by updateStats().
|
|
void | resetStats () |
| | Reset statistics (count, first timestamp, last timestamp).
|
|
void | clear () |
| | Reset all pixels.
|
Spatial map accumulating signed event counts per pixel.
Each positive-polarity event increments the pixel counter by +1; each negative-polarity event decrements it by -1. Counters are stored as CounterType (int16_t by default).