Archive

Posts Tagged ‘Matlab’

OpenCV: Equivalent to Matlab’s conv2() function

July 5th, 2011 21 comments

The numerical computing environment Matlab (or e.g. its free alternative GNU Octave) provides a function called conv2 for the two-dimensional convolution of a given matrix with a convolution kernel. While writing some C++ code based upon the free image processing library OpenCV, I found that OpenCV currently offers no equivalent method. Read more…