L0-Smoothing
L0-Smoothing copied to clipboard
Implementation of algorithm in the paper 'Image Smoothing via L0 Gradient Minimization"
Image Smoothing via L0 Gradient Minimization
Table of Contents
- About the Project
- Getting Started
- Code Setup
About the Project
This repository is the Python implementation of the paper: Image Smoothing via L0 Gradient Minimization
| Flower |
|---|
![]() |
| Rock |
|---|
![]() |
Getting Started
Code Setup
# 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

