Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multithreaded filtering function in CImg #10

Closed
ghost opened this issue Sep 3, 2015 · 2 comments
Closed

multithreaded filtering function in CImg #10

ghost opened this issue Sep 3, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 3, 2015

Hello,
I would like to know if there is a simple way to get multithreaded filtering function in CImg. I tried to modify CImg loop macros with openmp pragma instructions without succes...
Best regards,

@dtschump
Copy link
Collaborator

dtschump commented Sep 3, 2015

Most CImg methods are already parallelized using OpenMP directives (at least on recent versions <1 year I'd say). You just have to define

#define cimg_use_openmp

to enable it. What function in particular you are interested in ?

@ghost
Copy link
Author

ghost commented Sep 3, 2015

Wow how can I have missed it... Thank you very much, and sorry for this inconvenience.
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant