![]() |
OpenEV
Extending OpenCV to event-based vision
|
This class extends AbstractReader_ to read event data from HDF5 files. More...
#include <hdf5-reader.hpp>
Public Member Functions | |
| HDF5Reader (const std::string &filename, const std::string &t_path="/events/t", const std::string &x_path="/events/x", const std::string &y_path="/events/y", const std::string &p_path="/events/p") | |
| Public Member Functions inherited from ev::AbstractReader_ | |
| ConcurrentQueue & | events (const std::size_t n=0) |
| Read a given number of events, add them to the queue, and return it. | |
| void | prefetch (const std::size_t n) |
| Keep the queue at a given number of events from a background thread. | |
| std::size_t | prefetchCapacity () const |
| Number of events prefetch() keeps in the queue. | |
| void | reset () |
| Go back to the beginning, discarding the events in the queue. | |
| void | setTimeTransform (const TimeType offset, const TimeType scale=1) |
| Transform the timestamp of every event read from now on as (t - offset) * scale. | |
| void | setRoi (const cv::Rect &roi) |
| Deliver only the events inside a region of interest. The events keep their coordinates. | |
| cv::Rect | getRoi () const |
| Get the region of interest. | |
This class extends AbstractReader_ to read event data from HDF5 files.