ImageTriangulation
ImageTriangulation copied to clipboard
A short python script to tessellate any image into a bunch of colored triangles using weighted blue noise sampling.
ImageTriangulation
A short python script that tessellates any image into a mesh of triangles using weighted blue noise sampling. More details to follow soon.
Following external dependencies are required to run the script:
- PIL
- Numpy and Matplotlib
- Scipy
- Skimage
- Pandas
All other imports should be a part of Python 3's internal library suite.
Usage
python3 ImageTriangulation.py <input_file_path> <min_dist_between_points>
Example
python3 ImageTriangulation.py cornell.jpg 25
Output Images