Ask Your Question

Revision history [back]

Yes, src and dst can be the same matrix. The following code works fine:

int main(int argc, char argv[]) {
    cv::Mat test = cv::imread("test.jpg");
    cv::GaussianBlur(test, test, cv::Size(11, 11), 5.0);
    cv::imshow("test", test);
    cv::waitKey(0);
    return 0;
}