Reputation: 53
My image is of size 107x149. And my filter kernel is of size 75x75. What is the best way(in terms of speed) to convolve the image with kernel? Note : filters are non-separable.
Upvotes: 2
Views: 777
Reputation: 30122
Generic cv::filter2D
is good enough for such case. It uses DFT-based algorithm for sufficiently large kernels.
Upvotes: 2