Blinking Pattern Recording (C++)

The tool metavision_blinking_pattern_recording uses the Calibration C++ API to produce images of a blinking pattern, which can be then used for various applications with third-party software: focusing, MTF estimation, calibration…

The source code of this tool can be found in <install-prefix>/share/metavision/sdk/calibration/cpp_samples/metavision_blinking_pattern_recording when installing Metavision SDK from installer or packages. For other deployment methods, check the section Path of Samples and Applications.

For example, the following pattern can be used for MTF estimation using the slanted edge method:

Input blinking pattern

This is an example output grayscale image when slightly out of focus:

Accumulated grayscale image

How to start

Linux

metavision_blinking_pattern_recording --accumulation-time <ACCUMULATION_TIME_US> --event-count <0,1> --output_directory <OUTPUT_DIRECTORY> --pattern-blinker-refresh <PATTERN_REFRESH_TIME_US> --pattern-image-path <INPUT_PATTERN_IMAGE>

Windows

metavision_blinking_pattern_recording.exe --accumulation-time <ACCUMULATION_TIME_US> --event-count <0,1> --output_directory <OUTPUT_DIRECTORY> --pattern-blinker-refresh <PATTERN_REFRESH_TIME_US> --pattern-image-path <INPUT_PATTERN_IMAGE>