CommencerCommencer gratuitement

Let's make some noise!

In this exercise, we'll practice adding noise to a fruit image.

Various fruits
Image preloaded as fruit_image.

Cet exercice fait partie du cours

Image Processing in Python

Afficher le cours

Instructions

  • Import the util module and the random noise function.
  • Add noise to the image.
  • Show the original and resulting image.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Import the module and function
from skimage.____ import ____

# Add noise to the image
noisy_image = ____

# Show original and resulting image
show_image(____, 'Original')
____(____, 'Noisy image')
Modifier et exécuter le code