เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Let's make some noise!

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

Various fruits
Image preloaded as fruit_image.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Image Processing in Python

ดูคอร์ส

คำแนะนำการฝึกหัด

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

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# 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')
แก้ไขและรันโค้ด