![]() |
OpenEV
Extending OpenCV to event-based vision
|
This class extends std::queue to implement persistent event queues. For more information, please refer here. More...
#include <persistent_queue.hpp>
Public Member Functions | |
| Event_< ResultType > | mean () |
| Compute the mean of the events without consuming the queue. | |
| cv::Point_< ResultType > | meanPoint () |
| Compute the mean x,y point of the events without consuming the queue. | |
| ResultType | meanTime () |
| Compute the mean time of the events without consuming the queue. | |
| Public Member Functions inherited from ev::Queue_< T > | |
| ResultType | duration () const |
| Time difference between the last and the first event. | |
| ResultType | rate () const |
| Compute event rate as the ratio between the number of events and the time difference between the last and the first event. | |
| Event_< ResultType > | mean () |
| Compute the mean of the events. | |
| cv::Point_< ResultType > | meanPoint () |
| Compute the mean x,y point of the events. | |
| ResultType | meanTime () |
| Compute the mean time of the events. | |
| ResultType | midTime () const |
| Calculate the midpoint time between the oldest and the newest event. | |
This class extends std::queue to implement persistent event queues. For more information, please refer here.
Persistent event queues inherit the FIFO behaviour of standard C++ queues while preserving their contents after aggregate queries.
|
inlinenodiscard |
Compute the mean of the events without consuming the queue.
|
inlinenodiscard |
Compute the mean x,y point of the events without consuming the queue.
|
inlinenodiscard |
Compute the mean time of the events without consuming the queue.