Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 856 Bytes

File metadata and controls

41 lines (26 loc) · 856 Bytes

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

carbon (1)

Gradient Application

$ python gradient_mapping.py
Original Gradient
Gradient-Original Gradient-Result