Skip to content

A lossy compression algorithm using Voronoi cells to encode information.

License

Notifications You must be signed in to change notification settings

ShaynAli/Voronoi-Compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voronoi Compression

Uses Voronoi cells to compress and decompress an image.

Usage

compression.py [-h] -i IN_IMAGE -o OUT_IMAGE

arguments:
  -h, --help            show this help message and exit
  -i IN_IMAGE, --in-image IN_IMAGE
                        the filepath to read an image from, this image will be
                        compressed
  -o OUT_IMAGE, --out-image OUT_IMAGE
                        the filepath to write the compressed image to