This class extends cv::Point_<T> for event data. For more information, please refer here.
More...
#include <types.hpp>
|
| 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:64
Event_< long > Eventl
Definition types.hpp:206
Event_< int > Eventi
Definition types.hpp:205
Event_< double > Eventd
Definition types.hpp:208
Event_< float > Eventf
Definition types.hpp:207
Eventi Event
Definition types.hpp:209
◆ 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 double | t, |
|
|
const bool | 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 double | t, |
|
|
const bool | 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()
template<typename T>
| double ev::Event_< T >::distance |
( |
const Event_< T > & | e, |
|
|
const uint8_t | type = DISTANCE_NORM_L2 | DISTANCE_FLAG_SPATIAL ) const |
|
inlinenodiscard |
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 |
|
inlinenodiscard |
◆ operator cv::Point_< U >()
template<typename T>
template<typename U>
| ev::Event_< T >::operator cv::Point_< U > |
( |
| ) |
const |
|
inlinenodiscard |
◆ operator<()
◆ operator=() [1/3]
◆ operator=() [2/3]
◆ operator=() [3/3]
◆ 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