Lab1
Lab1
Second Cycle
Recherche Opérationnelle
LAb -1-: Point Processing in Image Processing
1. Objective:
• Python .
• matplotlib library.
• Jupyter Notebook or a code editor for Python
3. Lab Procedure:
• RGB Channels
– RGB channels are the essential components that collectively create the full spec-
trum of colors in digital images.
• Motion Difference
– Load and plot the two images named (t4,t5) using matplotlib,
– Subtract the pixel values of t4.png from t5.png to create a new image.
– Create a figure with a subplot to display the resulting image.
• Apply various point processing techniques to the loaded image.
– Making the image overall darker,
– Reduce the difference between light and dark areas,
– Change all the pixel values from dark to light and vice versa,
– Increase the brightness of the pixels, making the image overall brighter,
– Increasing the difference between light and dark areas.
4. Homework Assignment: Provide a report on the outcomes, including the code used
and the purpose of applying these techniques to the chosen images.
Page 2