This class extends cv::Point_<T> for event data. For more information, please refer here.
More...
#include <types.hpp>
|
| TimeType | t |
| PolarityType | p |
|
| std::ostream & | operator<< (std::ostream &os, const Event_< T > &e) |
| | Overload of << operator.
|
template<typename T>
class ev::Event_< T >
This class extends cv::Point_<T> for event data. For more information, please refer here.
Analogously to OpenCV library, the following aliases are defined for convenience:
Event_()
Definition types.hpp:85
Event_< long > Eventl
Definition types.hpp:249
Event_< int > Eventi
Definition types.hpp:248
Event_< double > Eventd
Definition types.hpp:251
Event_< float > Eventf
Definition types.hpp:250
Eventi Event
Definition types.hpp:252
◆ Event_() [1/7]
◆ Event_() [2/7]
◆ Event_() [3/7]
◆ Event_() [4/7]
Contructor using event coordinates.
- Parameters
-
| x | Spatial coordinate x |
| y | Spatial coordinate y |
◆ Event_() [5/7]
template<typename T>
| ev::Event_< T >::Event_ |
( |
const cv::Point_< T > & | pt | ) |
|
|
inlineexplicit |
Contructor using event coordinates as cv::Point.
- Parameters
-
| pt | Spatial coordinate (x,y) as point |
◆ Event_() [6/7]
template<typename T>
| ev::Event_< T >::Event_ |
( |
const T | x, |
|
|
const T | y, |
|
|
const TimeType | t, |
|
|
const PolarityType | p ) |
|
inline |
Contructor using timestamp, event coordinates, and polarity.
- Parameters
-
| x | Spatial coordinate x |
| y | Spatial coordinate y |
| t | Timestamp |
| p | Polarity |
◆ Event_() [7/7]
template<typename T>
| ev::Event_< T >::Event_ |
( |
const cv::Point_< T > & | pt, |
|
|
const TimeType | t, |
|
|
const PolarityType | p ) |
|
inline |
Contructor using timestamp, event coordinates as cv::Point, and polarity.
- Parameters
-
| pt | Spatial coordinate (x,y) as point |
| t | Timestamp |
| p | Polarity |
◆ distance()
Compute distance between events.
- Parameters
-
| e | Other event |
| type | Distance type |
- Returns
- Distance
- See also
- Distance
◆ operator cv::Point3_< U >()
template<typename T>
template<typename U>
| ev::Event_< T >::operator cv::Point3_< U > |
( |
| ) |
const |
|
inlineexplicitnodiscard |
◆ operator cv::Point_< U >()
template<typename T>
template<typename U>
| ev::Event_< T >::operator cv::Point_< U > |
( |
| ) |
const |
|
inlineexplicitnodiscard |
◆ operator<()
Less-than operator; compares by timestamp to enable time-ordered sorting.
◆ operator=() [1/5]
◆ operator=() [2/5]
◆ operator=() [3/5]
◆ operator=() [4/5]
template<typename T>
template<typename U>
◆ operator=() [5/5]
◆ operator==() [1/3]
template<typename T>
| bool ev::Event_< T >::operator== |
( |
const cv::Point3_< T > & | pt | ) |
const |
|
inlinenodiscard |
cv::Point3 equality operator
◆ operator==() [2/3]
template<typename T>
| bool ev::Event_< T >::operator== |
( |
const cv::Point_< T > & | pt | ) |
const |
|
inlinenodiscard |
cv::Point equality operator
◆ operator==() [3/3]
◆ operator<<
template<typename T>
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const Event_< T > & | e ) |
|
friend |
Overload of << operator.
- Parameters
-
| os | Output stream |
| e | Event to print |
- Returns
- Output stream
The documentation for this class was generated from the following files:
- modules/algorithms/include/openev/algorithms/efft.hpp
- modules/core/include/openev/core/types.hpp