高斯均值滤波(椒盐)

import cv2 import numpy as np img = cv2.imread('D:/pythonob/imageinpaint/img/noise.jpg',1) gauss = cv2.GaussianBlur(img,(5,5),1.5)#高斯滤波 #均值滤波:将每个像素取周围像素的平均值 imgInfo = img.shape height = imgInfo[0] wid
相关文章
相关标签/搜索