Ask Your Question

Revision history [back]

In the first select a column then specify kernel size with (1,n).

The following code shows you how to do it.

Mat input_img = imread("c:\\test.bmp",0);

int x = 100;
GaussianBlur(input_img.col(x),input_img.col(x),Size(1,13),0);

imshow("view",input_img);
waitKey(0);