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

Aerial image

In this exercise, we will improve the quality of an aerial image of a city. The image has low contrast and therefore we can not distinguish all the elements in it.

Aerial image, airport taken from the air
Image loaded as image_aerial.

For this we will use the normal or standard technique of Histogram Equalization.

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

Image Processing in Python

ดูคอร์ส

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

  • Import the required module from scikit-image.
  • Use the histogram equalization function from the module previously imported.
  • Show the resulting image.

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

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

# Import the required module
from ____ import ____

# Use histogram equalization to improve the contrast
image_eq =  ____

# Show the original and resulting image
show_image(image_aerial, 'Original')
show_image(____, 'Resulting image')
แก้ไขและรันโค้ด