This class extends cv::Mat_<T> for event images. For more information, please refer here. More...
#include <event-image.hpp>
Public Member Functions | |
| template<typename... Args> | |
| EventImage_ (Args &&...args) | |
| cv::Mat & | render () |
Public Member Functions inherited from ev::AbstractRepresentation_< T, RepresentationOptions::NONE, int > | |
| std::size_t | count () const |
| Number of events integrated in the representation. | |
| double | duration () const |
| Time difference between the oldest and the newest event integrated in the representation. | |
| double | midTime () const |
| Calculate the midpoint time between the oldest and the newest event. | |
| void | clear () |
| Remove all events from the representation. | |
| void | clear (const cv::Mat &background) |
| Remove all events from the representation and add a background image. | |
| bool | insert (const Event_< int > &e) |
| Insert one event in the representation. | |
| bool | insert (const Array_< int, N > &array) |
| Insert an array of events in the representation. | |
| bool | insert (const Vector_< int > &vector) |
| Insert a vector of events in the representation. | |
| bool | insert (Queue_< int > &queue, const bool keep_events_in_queue=false) |
| Insert a queue of events in the representation. | |
| void | setTimeOffset (const Event_< int > &e) |
| Set time offset. | |
| void | setValue (const bool polarity, const Type &value) |
| Set values for ON and OFF pixels. | |
| void | setValue (const Type &value) |
| Set value for non-activated pixels (background). | |
| void | setValues (const Type &positive, const Type &negative, const Type &reset) |
| Set values for ON, OFF, and non-activated pixels. | |
| void | setColor (const bool polarity, const cv::viz::Color &color) |
| Set colors for ON and OFF pixels. For more information, please refer here. | |
| void | setColor (const cv::viz::Color &color) |
| Set colors for non-activated pixels (background). For more information, please refer here. | |
| void | setColors (const cv::viz::Color &positive, const cv::viz::Color &negative, const cv::viz::Color &reset) |
| Set colors for ON, OFF, and non-activated pixels. For more information, please refer here. | |
| void | setColormap (const cv::ColormapTypes cm) |
| Set colormap for the representation. | |
Additional Inherited Members | |
Public Types inherited from ev::AbstractRepresentation_< T, RepresentationOptions::NONE, int > | |
| using | Type |
This class extends cv::Mat_<T> for event images. For more information, please refer here.
Analogously to OpenCV library, the following aliases are defined for convenience: