Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I've probably found the reason behind this. The two versions with lower speed are using GPU, while the fast version is using CPU. The computer I'm using has an Intel HD graphic card so this is probably the explanation. I've declared the variables as cv::Mat and not cv::UMat and consequently wasn't expecting such behavior and it still sort of baffles me.