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 Attributes

WeightType weight {1}
DepthType depth {0}
Stereo stereo {Stereo::LEFT}
Public Attributes inherited from ev::Event_< T >
TimeType t
PolarityType p

Friends

std::ostream & operator<< (std::ostream &os, const AugmentedEvent_< T > &e)
 Overload of << operator.

Additional Inherited Members

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 TimeType t, const PolarityType p)
 Event_ (const cv::Point_< T > &pt, const TimeType t, const PolarityType p)
Event_< T > & operator= (const Event_< T > &)=default
template<typename U>
Event_< T > & operator= (const Event_< U > &e)
Event_< T > & operator= (const cv::Point3_< T > &p)
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

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:252
AugmentedEvent_< float > AugmentedEventf
Definition types.hpp:276
AugmentedEventi AugmentedEvent
Definition types.hpp:278
AugmentedEvent_< long > AugmentedEventl
Definition types.hpp:275
AugmentedEvent_< int > AugmentedEventi
Definition types.hpp:274
AugmentedEvent_< double > AugmentedEventd
Definition types.hpp:277

◆ 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>
DepthType ev::AugmentedEvent_< T >::depth {0}

Event depth

◆ stereo

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

Left/right

◆ weight

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

Event weight


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