OpenEV
Extending OpenCV to event-based vision
|
This class extends boost::circular_buffer to implement event circular buffers. For more information, please refer here. More...
#include <circular.hpp>
Public Member Functions | |
double | duration () const |
Time difference between the last and the first event. | |
double | rate () const |
Compute event rate as the ratio between the number of events and the time difference between the last and the first event. | |
Eventd | mean () const |
Compute the mean of the events. | |
cv::Point2d | meanPoint () const |
Compute the mean x,y point of the events. | |
double | meanTime () const |
Compute the mean time of the events. | |
double | midTime () const |
Calculate the midpoint time between the oldest and the newest event. | |
This class extends boost::circular_buffer to implement event circular buffers. For more information, please refer here.
Event circular buffers inherit all the properties from boost circular buffers. Circular buffers are fixed-size data structures in a circular fashion (i.e, the end of the buffer is reached, it wraps around to the beginning).
|
inlinenodiscard |
Time difference between the last and the first event.
|
inlinenodiscard |
Compute the mean of the events.
|
inlinenodiscard |
Compute the mean x,y point of the events.
|
inlinenodiscard |
Compute the mean time of the events.
|
inlinenodiscard |
Calculate the midpoint time between the oldest and the newest event.
|
inlinenodiscard |
Compute event rate as the ratio between the number of events and the time difference between the last and the first event.