Get startedGet started for free

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.

This exercise is part of the course

Image Processing in Python

View Course

Exercise instructions

  • 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.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Import Gaussian filter 
____

# Apply filter
gaussian_image = ____

# Show original and resulting image to compare
show_image(____, "Original")
____(____, "Reduced sharpness Gaussian")
Edit and Run Code