Problem for erode in python opencv
I want to erode an image with the kernel= numpy.ones(1,21,np.uint8), but the program will crash.
However I change the kernel to another value whose row value is not 1, it won't crash. Is it a bug?