baremetalAlgorithm

Some rem usage examples

Get in from GitHub

Get started

Compilation

Use your favorite compiler (however we recommend the one used to compile VLC and the rem module) and use it to create a shared library. example : gcc -shared -fPIC example1.c -o example1.so

Usage

See Rem documentation

Create your own treatment

A treatment is provided as a shared library defining some functions implemented thanks to an API consisting of two C header files : macros.h and rgb_image.h.
For now, two formats can be passed as input : A valid library :

Prototypes

Here is the valid prototype for a treatment function :

Configuration

To configure the library, a configuration block must be added in the global scope :

CONFIG_START
.
.
.
CONFIG_END
Between CONFIG_START and CONFIG_END, you can add the following declarations :

Bodies

The following calls can be used for the statistics defined in the configuration block :