使用指定的结构元素腐蚀图像 dst = cv.erode( src, kernel[, dst[, anchor[, iterations[, borderType[, borderValue]]]]] )
参数描述
src输入的图像dst输出的图像kernel结构元素anchorposition of the anchor within the element;iterationsnumber of times erosion is applied.borderTypeborderValue
参考文献: https://docs.opencv.org/master/d4/d86/group__imgproc__filter.html#gaeb1e0c1033e3f6b891a25d0511362aeb
参考文献: https://docs.opencv.org/master/d4/d86/group__imgproc__filter.html#gac342a1bb6eabf6f55c803b09268e36dc https://blog.csdn.net/qq_36387683/article/details/80479793