Event Frame GPU Loading Sample using C++

The sample event_frame_gpu_loading.cpp shows how to preprocess RAW files with event frame datas on a GPU using CUDA. Data in Histo3d or Diff3d frame format will be converted into images.

The source code of this sample can be found in <install-prefix>/share/metavision/sdk/core/cpp_samples/metavision_event_frame_gpu_loading when installing Metavision SDK from installer or packages. For other deployment methods, check the page Path of Samples.

Expected Output

The sample generates a set of JPG images from the input histo/diff event frames RAW file.

How to start

First, compile the sample as described in this tutorial.

Then, you can use the metavision_event_frame_generation sample to generate event frame RAW files in Histo3D or Diff3D format.

Now, to start the sample on your event frame RAW file, run:

Linux

./metavision_event_frame_gpu_loading -i event_frame_file.raw -o /path/to/output_folder

Windows

metavision_event_frame_gpu_loading.exe -i event_frame_file.raw -o /path/to/output_folder