An implementation of the paper Depixelizing Pixel Art by Kopf and Lischinski. The implementation is purely in python.
Install via pip:
pip install depixelizer
Use in code:
from depixelizer import Depixelize
Depixelize(input_image_path, output_dir).run()
or via command-line:
usage: depixelize [-h] [--output_dir OUTPUT_DIR] image_path
positional arguments:
image_path Input Pixel Art Image
optional arguments:
-h, --help show this help message and exit
--output_dir OUTPUT_DIR
Output Dir, defaults to os.cwd()
- Python
pypng
: https://pypi.python.org/pypi/pypngnetworkx
: https://pypi.python.org/pypi/networkx/svgwrite
: https://pypi.python.org/pypi/svgwrite/
- https://johanneskopf.de/publications/pixelart/paper/pixel.pdf
- https://github.com/gityou/depixelize
- http://dev.crazyrobot.net/2011/07/12/pixelart-to-vector/
- https://code.launchpad.net/libdepixelize
- http://networkx.lanl.gov/index.html
- https://github.com/jerith/depixel
- https://svgwrite.readthedocs.org/en/latest/
- http://vinipsmaker.wordpress.com/2013/07/21/splines-extraction-on-kopf-lischinski-algorithm-part-1/
- http://vinipsmaker.wordpress.com/2013/08/13/splines-extraction-on-kopf-lischinski-algorithm-part-2/
Anirudh Vemula, Vamsidhar Yeddu
Computer Science & Engineering, IIT Bombay