Ask Your Question

Revision history [back]

The limitation of Gaussian Filter size in cv::cuda::createGaussianFilter

I am trying to use the cuda modules to process image.

But when I use cv::cuda::createGaussianFilter, I encounter an problem.

When the size of the Gaussian filter is bigger than 32, It will return an error.

In the createGaussianFilter function, it will create two SeparableLinearFilter::SeparableLinearFilter.

And this function restrict the size.

Is there any way to solve this problem, or can I modify this code to bigger size?