OpenEV
Extending OpenCV to event-based vision
|
This class extends AbstractReader_ to read dataset in plain text format. More...
#include <plain-text-reader.hpp>
Public Member Functions | |
PlainTextReader (const std::string &filename, const PlainTextReaderColumns columns=PlainTextReaderColumns::TXYP, const std::string &separator=" ") | |
Public Member Functions inherited from ev::AbstractReader_ | |
bool | next (Event &e) |
Get next event from the dataset. | |
template<std::size_t N> | |
bool | next (Array< N > &array) |
Get next events from the dataset. | |
bool | next_n (Vector &vector, const int n) |
Get next n events from the dataset. | |
bool | next_n (Queue &queue, const int n, const bool keep_size=false) |
Get next n events from the dataset. | |
bool | next_t (Vector &vector, const double t) |
Get the next events until the specified duration is reached. | |
bool | next_t (Queue &queue, const double t, const bool keep_size=false) |
Get the next events until the specified duration is reached and store them in a queue. | |
bool | skip_n (int n) |
Skip the next n events in the dataset. | |
bool | skip_t (const double t) |
Skip events for the specified duration. | |
void | reset () |
Start reading from the first event in the dataset. | |
std::size_t | count () |
Additional Inherited Members | |
Protected Member Functions inherited from ev::AbstractReader_ |
This class extends AbstractReader_ to read dataset in plain text format.
|
explicit |
Contructor using filename.
filename | Filename of the dataset TODO |