Thank you all for your time!
System information (version)
OpenCV => 3.2 Operating System / Platform => Windows 10 64 Bit Compiler => Visual Studio 2015 Community CUDA Toolkit Version => 8.0
Detailed description
I am using GPU based functions and operations. I build OpenCV on my own, and most GPU functions and operations work fine. But when it comes to filter related functions like createGaussianFilter or createSobelFilter, error below is catched:
C:\OpenCV\opencv-3.2.0\modules\cudafilters\src\filtering.cpp:414: error: (-215) rowFilter_ != 0 in function `anonymous-namespace'::SeparableLinearFilter::SeparableLinearFilter
Steps to reproduce
// C++ code example // g_g could be any a gray scale image
Ptr<cv::cuda::filter> filter = cv::cuda::createGaussianFilter(g_g.type(), g_g.type(), Size(3, 3), 0);
Ptr<cuda::filter> filterX = cv::cuda::createSobelFilter(g_g.type(), g_g.type(), 1, 0, 3, 1, BORDER_DEFAULT);