LoslegenKostenlos loslegen

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 in Lodon
Image loaded as building_image.

Diese Übung ist Teil des Kurses

Image Processing in Python

Kurs anzeigen

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_image and resulting gaussian_image.

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Import Gaussian filter 
____

# Apply filter
gaussian_image = ____

# Show original and resulting image to compare
show_image(____, "Original")
____(____, "Reduced sharpness Gaussian")
Code bearbeiten und ausführen