Etshawy1 / Arithmetic_coding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gray scale images Arithmetic Coding

prerequisites

python 3.7

how to run

  1. run the file main.py

  2. you will be prompted for the path of the image, enter the path without quotes

  3. enter the block size used for encoding

  4. enter the data type for the numpy array used to store the codes for each block

  5. you will find encoded input in file image.npy

  6. you will find decoded output for image.npy in output.png

About


Languages

Language:Python 100.0%