LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Image Processing in Python

Kurs anzeigen

Anleitung zur Übung

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

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# 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')
Code bearbeiten und ausführen