6#ifndef OPENEV_REPRESENTATIONS_EVENT_HISTOGRAM_HPP
7#define OPENEV_REPRESENTATIONS_EVENT_HISTOGRAM_HPP
13#include <opencv2/core/hal/interface.h>
14#include <opencv2/core/mat.hpp>
15#include <opencv2/core/matx.hpp>
53template <
typename T, const RepresentationOptions Options = RepresentationOptions::NONE,
typename E =
int>
54class EventHistogram_ :
public EventImage_<T, Options, E> {
56 template <
typename... Args>
57 explicit EventHistogram_(Args &&...args) : EventImage_<T, Options, E>(std::forward<Args>(args)...) {
70 void clear_()
override;
71 void clear_(
const cv::Mat &background)
override;
72 bool insert_(
const Event_<E> &e)
override;
105#include "openev/representations/event-histogram.tpp"
Event abstract representation.
Definition matrices.hpp:102
This class extends ev::EventImage_<T> for event 2D histograms.
Definition event-histogram.hpp:54
cv::Mat & render()
Render event histogram matrix.
CounterMat counter
Definition event-histogram.hpp:61
This class extends cv::Point_<T> for event data. For more information, please refer here.
Definition types.hpp:60
EventHistogram1 EventHistogram
Definition event-histogram.hpp:101
EventHistogram_< cv::Vec2f > EventHistogram2f
Definition event-histogram.hpp:92
EventHistogram_< cv::Vec4w > EventHistogram4w
Definition event-histogram.hpp:86
EventHistogram_< uchar > EventHistogram1b
Definition event-histogram.hpp:75
EventHistogram_< cv::Vec4i > EventHistogram4i
Definition event-histogram.hpp:90
EventHistogram1b EventHistogram1
Definition event-histogram.hpp:99
EventHistogram_< cv::Vec3f > EventHistogram3f
Definition event-histogram.hpp:93
EventHistogram_< cv::Vec3b > EventHistogram3b
Definition event-histogram.hpp:77
EventHistogram_< cv::Vec3d > EventHistogram3d
Definition event-histogram.hpp:97
EventHistogram_< cv::Vec2b > EventHistogram2b
Definition event-histogram.hpp:76
EventHistogram_< float > EventHistogram1f
Definition event-histogram.hpp:91
EventHistogram_< ushort > EventHistogram1w
Definition event-histogram.hpp:83
EventHistogram_< cv::Vec4s > EventHistogram4s
Definition event-histogram.hpp:82
EventHistogram_< cv::Vec2s > EventHistogram2s
Definition event-histogram.hpp:80
EventHistogram_< cv::Vec3i > EventHistogram3i
Definition event-histogram.hpp:89
EventHistogram_< cv::Vec4d > EventHistogram4d
Definition event-histogram.hpp:98
EventHistogram3b EventHistogram3
Definition event-histogram.hpp:100
EventHistogram_< cv::Vec3w > EventHistogram3w
Definition event-histogram.hpp:85
EventHistogram_< cv::Vec2w > EventHistogram2w
Definition event-histogram.hpp:84
EventHistogram_< cv::Vec2i > EventHistogram2i
Definition event-histogram.hpp:88
EventHistogram_< double > EventHistogram1d
Definition event-histogram.hpp:95
EventHistogram_< cv::Vec4b > EventHistogram4b
Definition event-histogram.hpp:78
EventHistogram_< cv::Vec3s > EventHistogram3s
Definition event-histogram.hpp:81
EventHistogram_< cv::Vec4f > EventHistogram4f
Definition event-histogram.hpp:94
EventHistogram_< int > EventHistogram1i
Definition event-histogram.hpp:87
EventHistogram_< short > EventHistogram1s
Definition event-histogram.hpp:79
EventHistogram_< cv::Vec2d > EventHistogram2d
Definition event-histogram.hpp:96
Basic event-based vision structures based on OpenCV components.
Basic event-based vision structures based on OpenCV components.