|
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.
|
|
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.
|
|
template<typename T, const RepresentationOptions Options = RepresentationOptions::NONE, typename E = int>
class ev::PointCloud_< T, Options, E >
This class is used to represent events as point clouds.
Analogously to OpenCV library, the following aliases are defined for convenience:
This class is used to represent events as point clouds.
Definition point-cloud.hpp:52
PointCloud_< cv::Vec3s > PointCloud3s
Definition point-cloud.hpp:82
PointCloud_< float > PointCloud1f
Definition point-cloud.hpp:87
PointCloud1b PointCloud1
Definition point-cloud.hpp:91
PointCloud_< short > PointCloud1s
Definition point-cloud.hpp:81
PointCloud_< double > PointCloud1d
Definition point-cloud.hpp:89
PointCloud_< cv::Vec3b > PointCloud3b
Definition point-cloud.hpp:80
PointCloud3b PointCloud3
Definition point-cloud.hpp:92
PointCloud_< cv::Vec3f > PointCloud3f
Definition point-cloud.hpp:88
PointCloud1 PointCloud
Definition point-cloud.hpp:93
PointCloud_< cv::Vec3w > PointCloud3w
Definition point-cloud.hpp:84
PointCloud_< cv::Vec3d > PointCloud3d
Definition point-cloud.hpp:90
PointCloud_< int > PointCloud1i
Definition point-cloud.hpp:85
PointCloud_< uchar > PointCloud1b
Definition point-cloud.hpp:79
PointCloud_< cv::Vec3i > PointCloud3i
Definition point-cloud.hpp:86
PointCloud_< ushort > PointCloud1w
Definition point-cloud.hpp:83