Convolve a column vector

Posted by Geoff on Stack Overflow See other posts from Stack Overflow or by Geoff
Published on 2010-06-17T20:36:13Z Indexed on 2010/06/18 12:03 UTC
Read the original article Hit count: 252

Filed under:

This is an OpenCV2 question.

I have a matrix:

cv::Mat_<Point3f> points;

representing some space curve. I want to smooth it (using, for example a Gaussian kernel).

I have tried using:

cv::Mat_<Point3f> result;
cv::GaussianBlur(points, result, cv::Size(4 * sigma, 1), sigma, sigma, cv::BORDER_WRAP);

But I get the error:

Assertion failed (columnBorderType != BORDER_WRAP)

© Stack Overflow or respective owner

Related posts about opencv