Closed zacario-li closed 3 years ago
Hi, cv::resize is much faster than simd::resize. Is there any problem? OS: Win10 Pro (1909) CPU: i7-10700 RAM: 32G | method | cost(s) |
---|---|---|
cv::resize | 0.003689 | |
simd::resize | 0.009789 |
Hi!
I think that main reason of this behavior is that Simd::Resize works at single thread but cv::resize uses multithreading.
P.S. OpenCV is developed to achieve maximal performance at work station and maximal uses multithreading to minimize function execution time for single user. I developed Simd to work in server environment: it works mainly in single thread and avoids internal algorithm multithreading in order to achieve maximal utilization of CPU resources at multithread using.
Hi!
I think that main reason of this behavior is that Simd::Resize works at single thread but cv::resize uses multithreading.
P.S. OpenCV is developed to achieve maximal performance at work station and maximal uses multithreading to minimize function execution time for single user. I developed Simd to work in server environment: it works mainly in single thread and avoids internal algorithm multithreading in order to achieve maximal utilization of CPU resources at multithread using.
Thanks for your explanation.
Hi, First of all, thank you for your contribution. But when I used this library, I tested Simd:: Resize(),Simd:: BgrToGray and so on. Many functions are 4-6 times slower than OpenCV4.5.5. (OS: Ubuntu18.04 CPU: i7-10750H 12cores)
Did I miss anything when I used it? Could you give a use case of image processing to make it faster than opencv's function. If most of them are slower than opencv, what are the advantages of this library. Sincerely look forward to your answer.