Composed Viewer Sample

The sample in <install-prefix>/share/metavision/sdk/core/samples/metavision_composed_viewer/metavision_composed_viewer.cpp shows how to use Metavision Core SDK pipeline utility to filter events and show a frame combining unfiltered and filtered events. It also shows how to set a custom consuming callback on a Metavision::FrameCompositionStage instance, so that it can consume data from multiple stages.

Expected Output

The sample visualizes an output combined frame composed of input CD events and polarity filtered events:

Expected Output from Metavision Composed Viewer 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:

Linux

./metavision_composed_viewer

Windows

metavision_composed_viewer.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_composed_viewer -i spinner.raw

Windows

metavision_composed_viewer.exe -i spinner.raw

To check for additional options:

Linux

./metavision_composed_viewer -h

Windows

metavision_composed_viewer.exe -h