powered by
On supported architectures CImg can parallelise many operations using OpenMP. Use this function to turn parallelisation on or off.
cimg.use.openmp(mode = "adaptive")
NULL (function is used for side effects)
Either "adaptive","always" or "none". The default is adaptive (parallelisation for large images only).
Simon Barthelme
cimg.use.openmp("never") #turn off parallelisation
Run the code above in your browser using DataLab