First time here? Check out the FAQ!
answered 2014-04-08 02:45:18 -0600
Be aware of the arguments, it has to be numpy.ones( (1,21), np.uint8), this kernel works perfectly fine for me using OpenCV 2.4.8.