实现对图像进行简单的高斯去噪和椒盐去噪。
代码如下:
import numpy as np
from PIL import Image
import matplotlib.pyplot as plt
import random
import scipy.misc
import scipy.signal
import scipy.ndimage
from matplotlib.font_manager import FontProperties
font_set = FontProperties(fname=r"c:\windows\fonts\simsun.ttc", size=10)
de
2021-04-29 10:58:48
100KB
中值滤波
1