![]() |
OpenEV
Extending OpenCV to event-based vision
|
This class is used to represent events as point clouds. More...
#include <point-cloud.hpp>
Public Member Functions | |
| bool | contains (const Event_< E > &e) const |
| Check if an event is included in the point cloud. | |
| void | visualize (const int t, const double time_scale=1.0, const double axis_size=1.0, const double point_size=2.0) |
| Visualize point cloud. | |
| 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. | |
| bool | insert (const Event_< int > &e) |
| Insert one event 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 | 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 | 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 is used to represent events as point clouds.
Analogously to OpenCV library, the following aliases are defined for convenience:
|
inlinenodiscard |
Check if an event is included in the point cloud.
| e | Event to check |
| void ev::PointCloud_< T, Options, E >::visualize | ( | const int | t, |
| const double | time_scale = 1.0, | ||
| const double | axis_size = 1.0, | ||
| const double | point_size = 2.0 ) |