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?
1 | initial version |
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?