2017-03-19 09:05:12 -0600 | commented question | Different run time for Morphological operations in OpenCV 2410 and OpenCV 310 Actually I run 100 iterations. The result is the same per each one of them. OPENCV is built without OPENCL/CUDA support. |
2017-03-19 08:09:32 -0600 | asked a question | Different run time for Morphological operations in OpenCV 2410 and OpenCV 310 Hello, I'm running the same code for morphological "OPEN" operation as below: include "opencv.hpp"include <chrono>using namespace cv; void main() { Mat Image; Image = Mat::zeros(5000, 5000, CV_8UC3) ; } However, the same code runs very different in terms of runtime with OPENCV 2410 and OPENCV 310. (both 64 bit) In 2410 it takes ~500ms, but in 310 it akes more than 5 seconds! 2410 also outperforms the 310 for other different kernel sizes. Would appreciate if someone has seen such a problem... Thank you, Alex. |