2017-02-28 18:02:39 -0600 | answered a question | How to use lambda as a parameter to parallel_for_ You need to implement a sort of adapter pattern because cv::parallel_for_ is not a template method so the implementation could be like this: and then call it like this hope it works for you! |