摘要: 1.随机修改一部分像素点的灰度值为指定值 def noise(img,proportion=0.05): ''' 随机的修改一定数量像素点的灰度值 :param img: :param proportion: 噪声点占全部像素点的比例 :return: ''' height,width =img.s 阅读全文
posted @ 2021-09-01 23:45 stateless 阅读(1047) 评论(1) 推荐(0)