![]() |
OpenEV
Extending OpenCV to event-based vision
|
Background activity filter for event noise removal. More...
#include <filtering.hpp>
Public Member Functions | |
| BackgroundActivityFilter (const cv::Size &size, ev::TimeType dt, int radius=1) | |
| BackgroundActivityFilter (const BackgroundActivityFilter &)=default | |
| BackgroundActivityFilter (BackgroundActivityFilter &&) noexcept=default | |
| BackgroundActivityFilter & | operator= (const BackgroundActivityFilter &)=default |
| BackgroundActivityFilter & | operator= (BackgroundActivityFilter &&) noexcept=default |
| bool | operator() (const ev::Event &e) |
Background activity filter for event noise removal.
Discards isolated events that have no correlated neighbor within a spatial radius and time window. An event passes if at least one pixel in its neighborhood fired within the last dt time units.
| ev::BackgroundActivityFilter::BackgroundActivityFilter | ( | const cv::Size & | size, |
| ev::TimeType | dt, | ||
| int | radius = 1 ) |
Constructor.
| size | Sensor resolution (width × height) |
| dt | Time threshold; events with no neighbor firing within this window are discarded |
| radius | Spatial neighborhood half-size (default 1 → 3×3 / 8-connected) |
|
nodiscard |
Test and record a single event.
| e | Event to evaluate |
dt)