Skip to content

cherryDevBomb/JPEG-Encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

JPEG Encoder

๐ŸŽž๏ธ Audio-Video Data Processing uni assignment

The encoder part

  • Dividing the image into blocks of 8x8 pixels
  • Converting each pixel value from RGB to YUV
  • Subsampling and Upsampling of the U and V block matrices
  • Performing Forward DCT (Discrete Cosine Transform) and Quantization on each 8x8 pixels block
  • Performing Entropy Encoding (zig-zag parsing and run-length encoding)

The decoder part

  • Performing Entropy Decoding (run-length decoding and forming an 8x8 block by zig-zag parsing)
  • Performing DeQuantization and Inverse DCT (Discrete Cosine Transform) on each 8x8 pixels block
  • Converting each pixel value from YUV to RGB
  • Recreating the RGB matrix from the blocks
  • Composing the final decoded PPM image

About

๐ŸŽž๏ธ JPEG encoder - Audio-Video data processing uni assignment

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages