2

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.

Ravi
  • 53
  • 1
  • 7

1 Answers1

2

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

Andrey Kamaev
  • 29,582
  • 6
  • 94
  • 88