Noise Filtering Sample¶
The Computer Vision API provides different noise filtering strategies.
The sample <install-prefix>/share/metavision/sdk/cv/samples/metavision_noise_filtering/metavision_noise_filtering.cpp
shows how to use Metavision SDK CV module to apply different noise filtering strategies. In addition, it shows how to
capture keys pressed in a display window used to modify the behavior of the stages while the pipeline is running.
The following filters can be applied via keyboard keys:
t -
Metavision::TrailFilterAlgorithm
s -
Metavision::SpatioTemporalContrastAlgorithm
Expected Output¶
The sample visualizes CD events after filtering (here, we applied Activity Filter):

How to start¶
First, compile the sample as described in this tutorial.
To start the sample based on the live stream from your camera, run:
Linux
./metavision_noise_filtering
Windows
metavision_noise_filtering.exe
To start the sample based on recorded data, provide the full path to a RAW file (here, we use the file from Metavision Dataset):
Linux
./metavision_noise_filtering -i monitoring_40_50hz.raw
Windows
metavision_noise_filtering.exe -i monitoring_40_50hz.raw
To check for additional options:
Linux
./metavision_noise_filtering -h
Windows
metavision_noise_filtering.exe -h