This project demonstrates basic image transformations using NumPy and Matplotlib.
It generates a random grayscale image and applies various operations like flipping, brightness adjustment, and negative transformation.
- Flip the image horizontally (
np.fliplr
) - Flip the image vertically (
np.flipud
) - Increase brightness
- Create a negative of the image
- Display all transformations using Matplotlib subplots
Hereโs a sample output generated by the code:
- Python 3.x
- NumPy
- Matplotlib
Install dependencies using pip:
pip install numpy matplotlib