【图像】骨架提取
找到了三种骨架提取方法,并对效果和速度进行一下比较。import cv2import skimagefrom skimage import morphologyimport matplotlib.pyplot as pltimport timeif __name__ == '__main__': gray=cv2.imread("demo.png",0)#以灰度图像读取 ret, binary = cv2.threshold(gray,0,255,cv2.THRESH_
原创
2021-03-23 15:34:14 ·
1113 阅读 ·
1 评论