Ravi
Ravi

Reputation: 53

OPENCV convolution for big kernels with size nearly equal to image

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

Answers (1)

Andrey Kamaev
Andrey Kamaev

Reputation: 30122

Generic cv::filter2D is good enough for such case. It uses DFT-based algorithm for sufficiently large kernels.

Upvotes: 2

Related Questions