Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Gpu version of filter2D

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 ?

Gpu version of filter2D

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 ?

Thanks in advance :)