To get the exampels running, first you need to install the Cuvis C SDK (see here), as explained for the MATLAB wrapper here.
For running some of the examples, you have to use sample data (provided here).
Make sure that the folder of the example data (cuvis_3.2.1_sample_data) and the folder cuvis.matlab.examples are in the same directory.
Load measurement from disk and print the value (count) for all available channels (wavelength) for one specific pixel.
Load measurement as well as references (dark, white, distance) from disk and reprocess the measurement to reflectance.
Load measurement from disk and save to different file formats.
Load measurement from disk and reprocess to a new given distance.
Setup camera and record measurements via looping software trigger, aka "single shot mode" or "software mode".
Setup camera and record measurements via internal clock triggering, aka "video mode". In this example the cuvis.Worker
is used to make use of multithreading (cuvis_worker_create
).
Set up a virtual camera based on a pre-recorded session file to simulate actual camera behaviour.