https://github.com/sirsayed98/arithmetic-algorithm
A python compression and decompression program based on Arithmetic Coding.
https://github.com/sirsayed98/arithmetic-algorithm
arithmetic-algorithm arithmetic-coding data-compression image-compression python
Last synced: 4 months ago
JSON representation
A python compression and decompression program based on Arithmetic Coding.
- Host: GitHub
- URL: https://github.com/sirsayed98/arithmetic-algorithm
- Owner: sirSayed98
- Created: 2020-05-14T16:26:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T16:34:18.000Z (about 5 years ago)
- Last Synced: 2025-01-01T21:44:04.143Z (6 months ago)
- Topics: arithmetic-algorithm, arithmetic-coding, data-compression, image-compression, python
- Language: Python
- Size: 66.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Arithmetic-algorithm
A python compression and decompression program based on Arithmetic Coding.# Introduction
Arithmetic coding is a way to encode a list of symbols into a single fraction f, where 0 ≤ f < 1.#Type of data
compress gray scale image.# How to use
put path of your image in sample.json file# Run main.py only
main will run automatically encode.py decode.py# You can choose data type and Block_size
Block_size=4 && float64 are recommended.# Watch your image