sobel算子、scharr算子和laplacian算子效果圖比較

  img =cv2.imread('F://from 2to7 notebook//images//lena.jpg') sobelx=cv2.Sobel(img,cv2.CV_64F,1,0,ksize=3) sobely=cv2.Sobel(img,cv2.CV_64F,0,1,ksize=3) sobelx=cv2.convertScaleAbs(sobelx) sobely=cv2.co
相關文章
相關標籤/搜索