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:
This class extends cv::Point_<T> for event data. For more information, please refer here.
Definition types.hpp:60
- Examples
- example-event-histogram.cpp, example-event-image.cpp, example-event.cpp, example-plain-text-reader.cpp, example-point-cloud.cpp, and example-time-surface.cpp.
◆ 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 |
◆ bilinearVoting()
template<typename T >
std::array< double, 4 > ev::Event_< T >::bilinearVoting |
( |
| ) |
const |
|
inline |
Bilinear voting.
- Returns
- Vector of weights
◆ 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
- Examples
- example-event.cpp.
◆ 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]
◆ undistort()
Undistort event using undistortion map
- Parameters
-
- Returns
- True if the new coordinates lie on the frame
- See also
- UndistortMap
◆ 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 file: