Skip to content

navegantes/JPEGsrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPEGsrc Codec

A simple implementation of the algorithm JPEG encoder/decoder.

Build Status python-2.7

Dependencies

  • Opencv Opencv package utilized in reading/show of images and conversion of colors spaces RGB to YCbCr.
  • Bitstring package used to convert the coefficients of the DCT transform.

Usage

Just run the main file.

python main.py

Outputs

Generates a generic text (and large) file '.huff' in 'output/' with the binary stream. Coputes some compression information like: compression rate, data redundancy, total number of bits. At the end the image quality is measured by performing the Structural Similarity Index are performed.

Exemples

flyingfish ImRec
Original image Rescued image
ImDif ImSSIMMap
Diference image (luma) Similarity map

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages