1. Learn
  2. /
  3. Courses
  4. /
  5. Image Processing in Python

Exercise

RGB to grayscale

In this exercise you will load an image from scikit-image module data and make it grayscale, then compare both of them in the output.

We have preloaded a function show_image(image, title='Image') that displays the image using Matplotlib. You can check more about its parameters using ?show_image() or help(show_image) in the console.

Rocket

Instructions

100 XP
  • Import the data and color modules from Scikit image. The first module provides example images, and the second, color transformation functions.
  • Load the rocket image.
  • Convert the RGB-3 rocket image to grayscale.