You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cv::resize, UMat refcount Error when setting UseOpenCL to false #13577
unknown file: error: C++ exception with description "OpenCV(4.0.0) d:\opencv\opencv-4.0.0\modules\core\src\matrix.cpp:169: error: (-215:Assertion failed) u->refcount == 0 in function 'cv::StdMatAllocator::deallocate' " thrown in the test body.
Steps to reproduce
cv::ocl::setUseOpenCL(false);
UMat foo( 10, 10, CV_32FC1 );
cv::resize(foo, foo, cv::Size(), .5, .5 ); // <-- happens here
Only happens when src==dst for cv::resize
See similar: #8693
Activity