Gradient Mapping to an Image
A simple Python Script to apply Gradient Mapping to an Image.
Prerequisites
- Python3
- Windows OS
- A good Internet connection (of course!😉)
Required Libraries
- opencv-python
$ pip install opencv-python
- matplotlib
$ pip install matplotlib
- numpy
NOTE - numpy package automatically installs while installing opencv-python package
Understanding Code

Gradient Application
$ python gradient_mapping.py
| Original | Gradient |
|---|---|
![]() |
![]() |

