Explorations in the RGB Color Space

In this guided exploration project you will understand the mathematics of representing colors as points in a vector space (of RGB based colors) and how images can be analyzed using techniques from linear algebra.

Some very rough guidelines are given below to help you start thinking about the project: more details will be provided during discussions.

  1. Read the paper “Color Spaces and Digital Imaging” by Nicholas Higham to get a rough overview of some of the mathematics behind this.
  2. Learn about RGB color codes and HEX representation (You can try this online color picker)
  3. Use Python Pillow to explore the color spaces of images.
  4. Use the methods learnt in our course to write a Python module that can find the closest RGB color to a given color.
  5. Explore the mathematics behind image compression.