DigitalHolography / Holovibes

Real time, high throughput digital holography software
https://holovibes.com/
Apache License 2.0
17 stars 3 forks source link

Pipe's realtime/piperefresh settings #698

Open noTban opened 1 day ago

noTban commented 1 day ago

The pipeline needs to keep local version of some settings, because they are used within the vector of functions, and their modification could therefore affect the computations. Those settings are called piperefresh_settings, because they are updated only at the beginning of a pipe refresh. There are also onrestart_settings, which are only updated at the creation of the compute_worker. Other settings, that can be updated anytime without causing problem, are called realtime_settings. They are often used only during the insertion of functions during refresh, and not within the inserted functions.

A verification of the classification of the settings might be necessary. This classification is done in three parts of the pipe : icompute.hh, fourier_transform.hh, and image_accumulation.hh.