Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv::gpu::sepFilter2D maximum kernel size


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