SDK CV Events
-
template<typename T = float>
struct Event2dFrequency Event2dFrequency represents a periodic event at a particular 2D position.
-
template<typename T = float>
struct Event2dFrequencyCluster Event2dFrequencyCluster represents a cluster of frequency events.
-
struct EventActiveTrack
Event describing the position and size of a track generated by an active light source.
Public Members
-
float x
Blob’s center’s abscissa in the sensor.
-
float y
Blob’s center’s ordinate in the sensor.
-
float radius
Track’s influence radius (i.e. radius below which an event is associated to the track)
-
std::uint32_t id
ID of the source that generated this track.
-
Status status
Blob’s status.
-
float x
-
struct EventOpticalFlow
Class representing an event used to describe an optical flow.
Public Functions
-
EventOpticalFlow() = default
Default constructor.
-
inline EventOpticalFlow(unsigned short x, unsigned short y, short p, timestamp t, float vx, float vy, unsigned int id, float cx, float cy)
Constructor.
- Parameters
x – Column position of the event in the sensor
y – Row position of the event in the sensor
p – Polarity of the event
t – Timestamp of the event (in us)
vx – Speed in X axis in pixels per second in the image plane of the considered event
vy – Speed in Y axis in pixels per second in the image plane of the considered event
id – Feature ID of the considered event
cx – Horizontal coordinate of the center of the feature used to compute speed of the considered event
cy – Vertical coordinate of the center of the feature used to compute speed of the considered event
Public Members
-
unsigned short x
Column position in the sensor at which the event happened.
-
unsigned short y
Row position in the sensor at which the event happened.
-
short p
Polarity, whose value depends on the type of the event (CD or EM)
See also
Metavision::Event2d for more details
-
float vx
Speed in X axis in pixels per second in the image plane of the considered event.
-
float vy
Speed in Y axis in pixels per second in the image plane of the considered event.
-
unsigned int id = 0
id feature ID of the considered event.
-
float center_x = 0.f
center_x horizontal coordinate of the center of the feature used to compute speed of the considered event.
-
float center_y = 0.f
center_y vertical coordinate of the center of the feature used to compute speed of the considered event.
Public Static Functions
-
static inline EventOpticalFlow read_event(void *buf, const timestamp &delta_ts)
Read EventOpticalFlowCCL from buffer.
-
EventOpticalFlow() = default
-
template<typename T = timestamp>
struct Event2dPeriod Event2dPeriod is an Event2d extended with a period information.
Public Members
-
unsigned short x
Column position in the sensor at which the event happened.
-
unsigned short y
Row position in the sensor at which the event happened.
-
short p
Polarity of the event.
See also
Metavision::Event2d for more details
-
unsigned short x
-
struct EventSourceId
Event triggered by a source identified with a unique ID.