OpenEV
Extending OpenCV to event-based vision
|
This class extends Event to include: weigth, depth, and stereo. More...
#include <types.hpp>
Public Member Functions | |
std::vector< AugmentedEvent_< int > > | bilinearVoting () const |
Bilinear voting. | |
Public Member Functions inherited from ev::Event_< T > | |
Event_ () | |
Event_ (const Event_< T > &)=default | |
Event_ (Event_< T > &&) noexcept=default | |
Event_ (const T x, const T y) | |
Event_ (const cv::Point_< T > &pt) | |
Event_ (const T x, const T y, const double t, const bool p) | |
Event_ (const cv::Point_< T > &pt, const double t, const bool p) | |
Event_< T > & | operator= (const Event_< T > &)=default |
Event_< T > & | operator= (const cv::Point_< T > &p) |
Event_< T > & | operator= (Event_< T > &&) noexcept=default |
bool | operator== (const Event_< T > &e) const |
bool | operator== (const cv::Point_< T > &pt) const |
bool | operator== (const cv::Point3_< T > &pt) const |
bool | operator< (const Event_< T > &e) const |
template<typename U > | |
operator cv::Point_< U > () const | |
template<typename U > | |
operator cv::Point3_< U > () const | |
double | distance (const Event_< T > &e, const uint8_t type=DISTANCE_NORM_L2|DISTANCE_FLAG_SPATIAL) const |
bool | undistort (const UndistortMap &map) |
std::array< double, 4 > | bilinearVoting () const |
Bilinear voting. | |
Public Attributes | |
double | weight {1} |
double | depth {0} |
Stereo | stereo {Stereo::LEFT} |
Public Attributes inherited from ev::Event_< T > | |
double | t |
bool | p |
Friends | |
std::ostream & | operator<< (std::ostream &os, const AugmentedEvent_< T > &e) |
Overload of << operator. | |
This class extends Event to include: weigth, depth, and stereo.
Analogously to OpenCV library, the following aliases are defined for convenience:
|
inline |
Bilinear voting.
|
friend |
Overload of << operator.
os | Output stream |
e | Event to print |
double ev::AugmentedEvent_< T >::depth {0} |
Event depth
Stereo ev::AugmentedEvent_< T >::stereo {Stereo::LEFT} |
Left/right
double ev::AugmentedEvent_< T >::weight {1} |
Event weight