OpenEV
Extending OpenCV to event-based vision
Toggle main menu visibility
Loading...
Searching...
No Matches
filtering.hpp
Go to the documentation of this file.
1
6
#ifndef OPENEV_EVPROC_FILTERING_HPP
7
#define OPENEV_EVPROC_FILTERING_HPP
8
9
#include "
openev/core/matrices.hpp
"
10
#include "
openev/core/types.hpp
"
11
#include <limits>
12
#include <opencv2/core/types.hpp>
13
14
namespace
ev {
15
25
class
BackgroundActivityFilter
{
26
public
:
33
BackgroundActivityFilter
(
const
cv::Size &size, ev::TimeType dt,
int
radius = 1);
34
35
~BackgroundActivityFilter
() =
default
;
36
BackgroundActivityFilter
(
const
BackgroundActivityFilter
&) =
default
;
37
BackgroundActivityFilter
(
BackgroundActivityFilter
&&)
noexcept
=
default
;
38
BackgroundActivityFilter
&operator=(
const
BackgroundActivityFilter
&) =
default
;
39
BackgroundActivityFilter
&operator=(
BackgroundActivityFilter
&&)
noexcept
=
default
;
40
47
[[nodiscard]]
bool
operator()
(
const
ev::Event
&e);
48
49
private
:
50
ev::Mat::Time
map_;
51
ev::TimeType dt_;
52
int
radius_;
53
};
54
55
}
// namespace ev
56
57
#endif
// OPENEV_EVPROC_FILTERING_HPP
ev::BackgroundActivityFilter::BackgroundActivityFilter
BackgroundActivityFilter(const cv::Size &size, ev::TimeType dt, int radius=1)
Definition
filtering.cpp:10
ev::BackgroundActivityFilter::operator()
bool operator()(const ev::Event &e)
Definition
filtering.cpp:13
ev::Mat::Time
Spatial map storing the timestamp of the most recent event at each pixel.
Definition
matrices.hpp:201
matrices.hpp
Event-based matrix representations for accumulating events into spatial maps.
types.hpp
Basic event-based vision structures based on OpenCV components.
ev::Event
Eventi Event
Definition
types.hpp:252
modules
evproc
include
openev
evproc
filtering.hpp
Generated by
1.17.0