Hi,
I wanted to try out the Gpu version of filter2D, but it is giving me a strange compile error:
error: in passing argument 7 of 'void cv::gpu::filter2D(const cv::gpu::GpuMat&, cv::gpu::GpuMat&, int, const cv::Mat&, cv::Point, int, cv::gpu::Stream&)'
But I am not even changing that parameter, it is the default parameter. I call it in the following manner:
cv::gpu::filter2D(gpuPatch, gpuResponse, CV_32F, m_model.weights[i], cv::Point(-1, -1), 0, cv::BORDER_CONSTANT);
What is going wrong here ?