降低雜訊
我們有一張帶有雜訊的影像,希望透過移除雜訊來提升品質。
noisy_image。請使用全變異數濾波(total variation filter)進行去雜訊。
本練習屬於課程
Python 影像處理
練習說明
- 從其模組匯入
denoise_tv_chambolle函式。 - 套用全變異數濾波的去雜訊。
- 顯示原始的含雜訊影像與去雜訊後的結果影像。
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Import the module and function
from skimage.____ import ____
# Apply total variation filter denoising
denoised_image = ____(____,
multichannel=____)
# Show the noisy and denoised images
show_image(____, 'Noisy')
____(____, 'Denoised image')