Get startedGet started for free

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.

This exercise is part of the course

Image Processing in Python

View Course

Exercise instructions

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

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# 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')
Edit and Run Code