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")
Either "adaptive","always" or "none". The default is adaptive (parallelisation for large images only).
NULL (function is used for side effects)
# NOT RUN { cimg.use.openmp("never") #turn off parallelisation # }
Run the code above in your browser using DataLab