![]() |
OpenEV
Extending OpenCV to event-based vision
|
Spatial map marking whether any event has occurred at each pixel. More...
#include <matrices.hpp>
Public Member Functions | |
| template<typename T> | |
| Tb | insert (const Event_< T > &e) |
| Insert an event, setting the pixel at (e.x, e.y) to ON. | |
| template<typename T> | |
| Tb | emplace (const T x, const T y) |
| Set the pixel at (x, y) to ON without constructing an Event_. | |
| Public Member Functions inherited from ev::Mat::Mat_< Tb > | |
| void | updateStats (const Event &e) |
| CounterType | count () const |
| TimeType | duration () const |
| void | resetStats () |
| Reset statistics (count, first timestamp, last timestamp). | |
| void | clear () |
| Reset all pixels. | |
Static Public Attributes | |
| static constexpr Tb | ON = std::numeric_limits<Tb>::max() |
| static constexpr Tb | OFF = static_cast<Tb>(0) |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Binary_ &binary) |
Spatial map marking whether any event has occurred at each pixel.
Each pixel is set to ON upon insertion regardless of polarity, and reset to OFF by clear().
The following alias is defined for convenience:
|
inline |
Set the pixel at (x, y) to ON without constructing an Event_.
| x | Spatial coordinate x |
| y | Spatial coordinate y |
|
inline |
Insert an event, setting the pixel at (e.x, e.y) to ON.
| e | Event to insert |
|
staticconstexpr |
Value after clear()
|
staticconstexpr |
Value written on event insertion