MulaiMulai sekarang secara gratis

Let's make some noise!

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

Various fruits
Image preloaded as fruit_image.

Latihan ini adalah bagian dari kursus

Image Processing in Python

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# 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')
Edit dan Jalankan Kode