# RAW Mosaic Viewer Sample¶

The sample in <install-prefix>/share/metavision/sdk/driver/samples/metavision_raw_mosaic_viewer/metavision_raw_mosaic_viewer.cpp demonstrates how to show a mosaic of frames combining events and processed events from multiple streams (multiple RAW files).

## Expected Output¶

The sample visualizes a mosaic of two frames: one with input events and one with output events processed by Metavision::PolarityFilterAlgorithm.

## How to start¶

First, compile the sample as described in this tutorial.

To start the sample based on recorded data, provide the full path to one or several RAW files (here, we use two files from Metavision Dataset):

Linux

./metavision_raw_mosaic_viewer -i traffic_monitoring.raw monitoring_40_50hz.raw


Windows

metavision_raw_mosaic_viewer.exe -i traffic_monitoring.raw monitoring_40_50hz.raw


To check for additional options:

Linux

./metavision_raw_mosaic_viewer -h


Windows

metavision_raw_mosaic_viewer.exe -h