OpenMP burning CPU cycles: cv::resize() is very slow unless cv::imshow() is used

There are no gui functions in my minimal example.

Does the example reproduce for you?