Blurring to reduce noise
In this exercise you will reduce the sharpness of an image of a building taken during a London trip, through filtering.
building_image.
Diese Übung ist Teil des Kurses
Image Processing in Python
Anleitung zur Übung
- Import the Gaussian filter.
- Apply the filter to the
building_image, set the multichannel parameter to the correct value. - Show the original
building_imageand resultinggaussian_image.
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# Import Gaussian filter
____
# Apply filter
gaussian_image = ____
# Show original and resulting image to compare
show_image(____, "Original")
____(____, "Reduced sharpness Gaussian")