Replace cv::resize() with Intel Integrated Performance Primitives (IPP) resize?

asked 2017-02-22 05:25:02 -0600

lovaj gravatar image

I'm trying to improve surf.cpp parallel performance, and according to my analysis, a lot of time is spent at line 697:

// Scale the window to size PATCH_SZ so each pixel's size is s. This
// makes calculating the gradients with wavelets of size 2s easy
resize(win, _patch, _patch.size(), 0, 0, INTER_AREA);

Where Mat win(win_size, win_size, CV_8U, winbuf);

I never used Intel Integrated Perfomance Primitives (IPP), but from my understanding usually has better performance than OpenCV. I've seen here that you can use it to resize an image, what is the equivalent command above using IPP?

edit retag flag offensive close merge delete