1053340 影像處理作業 5
作業題目(Image noise processing):
撰寫一個程式(a)在一張圖片中將上雜訊,(b)設計方法將雜訊去除。 (a) 說明加上的雜訊類型(Gaussian, Uniform, Salt-and-Pepper 等)與數量(20%, 50%等) (b)說明所設計去除雜訊的方法 設計與測試多種雜訊分數越高
使用環境:
- Spyder(Python3.7)
- opencv-python 4.2.0
方法:
分別利用skimage.util.random_noise對原始圖片加入 Salt-and-Pepper、Gaussian雜訊,再分別對兩個加了雜訊圖片使用高斯濾波和中值濾波 。
執行結果:
原圖 > 高斯雜訊 > 使用高斯濾波 > 使用中值濾波:
原圖 > Salt & Pepper雜訊 > 使用高斯濾波 > 使用中值濾波:




沒有留言:
張貼留言