This repository is the Python implementation of the paper: Image Smoothing via L0 Gradient Minimization
Flower |
---|
Rock |
---|
# Clone the repository
$ git clone https://github.com/nrupatunga/L0-Smoothing.git
# install all the required repositories
$ cd L0-Smoothing
$ pip install -r requirements.txt
# Run
$ cd src
# To run on single image, modify image path in L0_Smoothing.py
$ python L0_Smoothing.py
# To run on multiple image, modify root directory in L0_Smoothing.py
$ python run_batch.py