lec04_compression_part2
lec04_compression_part2
Image Compression
Prem Kalra
[email protected]
h4p://www.cse.iitd.ac.in/~pkalra/col783
Source: h4p://jens.jm-s.de/comp/LZ77-JensMueller.pdf
Digital Image Processing http://www.cse.iitd.ac.in/~pkalra/col783
Image Compression
Dictionary based methods: LZ77
Look-ahead
Search
Source: h4p://jens.jm-s.de/comp/
LZ77-JensMueller.pdf
Digital Image Processing http://www.cse.iitd.ac.in/~pkalra/col783
Image Compression
Dictionary based methods: LZ77
Decoding
Source: h4p://jens.jm-s.de/comp/
LZ77-JensMueller.pdf
Digital Image Processing http://www.cse.iitd.ac.in/~pkalra/col783
Image Compression
Dictionary based methods: LZW
Extended by Welch (Lempel, Ziv and Welch)
This coding scheme has been adopted in a variety of imaging file formats, such as
the graphic interchange format (GIF), tagged image file format (TIFF) and the
portable document format (PDF).
Source: h4ps://nptel.ac.in/courses/117/105/117105083/#
Digital Image Processing http://www.cse.iitd.ac.in/~pkalra/col783
Image Compression
Dictionary based methods: LZW
Extended by Welch (Lempel, Ziv and Welch)
Source: h4ps://
nptel.ac.in/courses/
117/105/117105083/#
Digital Image Processing http://www.cse.iitd.ac.in/~pkalra/col783
Image Compression
Run Length Coding
Run: a string of the same symbol
Example
input: AAABBCCCCCCCCCAA
output: A3B2C9A2