OpenEV
Extending OpenCV to event-based vision
Loading...
Searching...
No Matches
ev::AugmentedEvent_< T > Class Template Reference

This class extends Event to include: weigth, depth, and stereo. More...

#include <types.hpp>

Inheritance diagram for ev::AugmentedEvent_< T >:
ev::Event_< T >

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.
 

Detailed Description

template<typename T>
class ev::AugmentedEvent_< T >

This class extends Event to include: weigth, depth, and stereo.

Analogously to OpenCV library, the following aliases are defined for convenience:

This class extends Event to include: weigth, depth, and stereo.
Definition types.hpp:257

Member Function Documentation

◆ bilinearVoting()

template<typename T >
std::vector< AugmentedEvent_< int > > ev::AugmentedEvent_< T >::bilinearVoting ( ) const
inline

Bilinear voting.

Returns
Vector of events after integer casting

Friends And Related Symbol Documentation

◆ operator<<

template<typename T >
std::ostream & operator<< ( std::ostream & os,
const AugmentedEvent_< T > & e )
friend

Overload of << operator.

Parameters
osOutput stream
eEvent to print
Returns
Output stream

Member Data Documentation

◆ depth

template<typename T >
double ev::AugmentedEvent_< T >::depth {0}

Event depth

◆ stereo

template<typename T >
Stereo ev::AugmentedEvent_< T >::stereo {Stereo::LEFT}

Left/right

◆ weight

template<typename T >
double ev::AugmentedEvent_< T >::weight {1}

Event weight


The documentation for this class was generated from the following file: