Aan de slagGa gratis aan de slag

Let's make some noise!

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

Various fruits
Image preloaded as fruit_image.

Deze oefening maakt deel uit van de cursus

Image Processing in Python

Cursus bekijken

Oefeninstructies

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

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# 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')
Code bewerken en uitvoeren