Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

opencv error: the function/feature is not implemented

$
0
0
I am using opencv 3.1.0, visual studio 2013 and cuda 6.5 I wrote a simple code (got it from original tutorial) which includes gpu namespaces i changed them to cv::cuda since opencv 3.0 doesn't support it anymore. but the code still doesn't work. get the error "*opencv error: the function/feature is not implemented*" Here is the code #include #include using namespace cv; int main() { Mat src = imread(“car1080.jpg”, 0); if (!src.data) exit(1); //gpu::GpuMat d_src(src); cv::cuda::GpuMat d_src(src); //gpu::GpuMat d_dst; cv::cuda::GpuMat d_dst; //gpu::bilateralFilter(d_src, d_dst, -1, 50, 7); cv::cuda::bilateralFilter(d_src, d_dst, -1, 50, 7); //gpu::Canny(d_dst, d_dst, 35, 200, 3); cv::Canny(d_dst, d_dst, 35, 200, 3); Mat dst(d_dst); imwrite(“out.png”, dst); return 0; } As I searched, rebuilding opencv using cmake with additional options can be a solution to that problem. However, they are not so sure. Any help?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>