cv::gpu::sepFilter2D maximum kernel size

asked 2013-09-04 08:05:02 -0600

andreas_ gravatar image

Hi,

I just came across the hard coded maximum kernel size of 32 running cv::gpu::sepFilter2D

OpenCV Error: Assertion failed (ksize > 0 && ksize <= 32) in getLinearRowFilter_GPU

Is there a reason for that? I tried using two convolutions instead, but that seems to be much slower (I guess because twice dft is more expensive than a seperated filter). What's the appropriate way to work around that?

Cheers, Andreas

edit retag flag offensive close merge delete