Digital Images

This section deals with digital images and how to play with Python (Numpy).

../_images/as_spectrum.jpg

Fig. 7 Spectrum project - Arts et Sciences - IOGS 2024. LEnsE & Eric Michel.

Examples of opening and writing PGM and PPM images in Python are given. Then, we will play with image data. Finally, we will code some primitive transforms of images.

Note

Examples of this section require Python 3.9 (or higher), Numpy and Matplotlib.

If you need help with Python for scientific use, you can check this set of tutorials: Python for Science.