Ask Your Question

Revision history [back]

I don't have a windows 10 machine to test on, but I am able to call cuda::threshold in OpenCV 3.4.1 without any issues.

Did you build a Debug configuration of OpenCV with -DINSTALL_TESTS=ON? If so, do you get the same error when you make opencv_test_cudaarithm the start up project, place a breakpoint at line 2564 in the below file, and run through the debugger? https://github.com/opencv/opencv/blob/master/modules/cudaarithm/test/test_element_operations.cpp

If you have a Debug config, have you inspected the line 318 of transform.hpp when the error is observed?

Did you compile the OpenCV 3.4.1 tag or a newer version?

I don't have a windows 10 machine to test on, but I am able to call cuda::threshold in OpenCV 3.4.1 on windows 8.1 without any issues.

Did you build a Debug configuration of OpenCV with -DINSTALL_TESTS=ON? If so, do you get the same error when you make opencv_test_cudaarithm the start up project, place a breakpoint at line 2564 in the below file, and run through the debugger? https://github.com/opencv/opencv/blob/master/modules/cudaarithm/test/test_element_operations.cpp

If you have a Debug config, have you inspected the line 318 of transform.hpp when the error is observed?

Did you compile the OpenCV 3.4.1 tag or a newer version?