![]() |
OpenEV
Extending OpenCV to event-based vision
|
This class extends std::vector to implement event vectors. For more information, please refer here. More...
#include <vector.hpp>
Additional Inherited Members | |
| Public Types inherited from ev::Stats_< Vector_< T > > | |
| using | ResultType |
| Public Member Functions inherited from ev::Stats_< Vector_< 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. | |
| ResultType | density (const cv::Size size) const |
| Compute event density as the ratio between the number of events and the number of pixels. | |
| std::size_t | activePixels () const |
| Count the pixels with at least one event. | |
| ResultType | fillRatio (const cv::Size size) const |
| Compute fill ratio as the fraction of pixels with at least one event. | |
| ResultType | polarityRatio (const PolarityType p) const |
| Compute polarity ratio as the fraction of events with the given polarity. | |
| Event_< ResultType > | mean () const |
| Compute the mean of the events. | |
| cv::Point_< ResultType > | meanPoint () const |
| Compute the mean x,y point of the events. | |
| cv::Matx< ResultType, 2, 2 > | covariance () const |
| Compute the covariance of the x,y coordinates of the events around meanPoint(). | |
| cv::Rect | boundingBox () const |
| Compute the smallest rectangle of pixels containing the events. | |
| ResultType | meanTime () const |
| Compute the mean time of the events. | |
| ResultType | midTime () const |
| Calculate the midpoint time between the oldest and the newest event. | |
| std::size_t | peak () const |
| Find the largest number of events on a single pixel. | |
| ResultType | entropy () const |
| Compute the Shannon entropy of the spatial distribution of the events. | |
This class extends std::vector to implement event vectors. For more information, please refer here.
Event vectors inherit all the properties from standard C++ vectors. Events in the vector are stored contiguously.