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.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Image Processing in Python
คำแนะนำการฝึกหัด
- Import the
denoise_bilateralfunction from its module. - Apply bilateral filter denoising.
- Show the original noisy and the resulting denoised image.
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Import bilateral denoising function
____
# Apply bilateral filter denoising
denoised_image = ____(____,
multichannel=____)
# Show original and resulting images
show_image(____, 'Noisy image')
show_image(____, 'Denoised image')