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:

Expected Output

The sample visualizes CD events after filtering (here, we applied Activity Filter):

Expected Output from Metavision Noise Filtering Sample

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:





To start the sample based on recorded data, provide the full path to a RAW file (here, we use the file from Metavision Dataset):


./metavision_noise_filtering -i monitoring_40_50hz.raw


metavision_noise_filtering.exe -i monitoring_40_50hz.raw

To check for additional options:


./metavision_noise_filtering -h


metavision_noise_filtering.exe -h