Python3與OpenCV3.3 圖像處理---邊緣檢測算子(canny)

參考:http://www.javashuo.com/article/p-mvoioaye-u.html 1 canny 算法五步驟 (1)高斯模糊 (2)灰度轉換 (3)計算梯度 (4)非最大信號抑制 (5)高低閾值輸出二值圖像 import cv2 as cv import numpy as np def edge(img): #高斯模糊,降低噪聲 blurred = cv
相關文章
相關標籤/搜索