I’m using opencv4.1.0
i built convolution as following:
cv::Ptr<cv::cuda::Convolution> myConv; myConv = cv::cuda::createConvolution(cv::Size(0,0)); // i.e. native optimization myConv->convolve(src, myKer, dst);
the output image includes artifact black\white lines parallel to image grid (by any manner they are not related to the applied filter\kernel) they looks like assembly artifacts.
Does anyone familiar with this issue?
another problem i got is when tried to use the following filter 2D (instead of previous mehtod):
cv::Ptr<cv::cuda::Filter> filter2D; filter2D = cv::cuda::createLinearFilter(src.type(), -1, myKer); filter2D-> apply(src, dst);
and i get the following runtime error:
OpenCV(4.1.0) /home/user/documents/utils/JEP-master/script/opencv/opencv-4.1.0/modules/core/src/matrix_wrap.cpp:118: error: (-213 function/feature is not implemented) You should explicitly call download method for cuda::GpuMat object in function 'getMat_'