Reducing noise while preserving edges
In this exercise, you will reduce the noise in this landscape picture.
landscape_image.Since we prefer to preserve the edges in the image, we'll use the bilateral denoising filter.
Latihan ini adalah bagian dari kursus
Image Processing in Python
Petunjuk latihan
- Import the
denoise_bilateralfunction from its module. - Apply bilateral filter denoising.
- Show the original noisy and the resulting denoised image.
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Import bilateral denoising function
____
# Apply bilateral filter denoising
denoised_image = ____(____,
multichannel=____)
# Show original and resulting images
show_image(____, 'Noisy image')
show_image(____, 'Denoised image')