Professional Documents
Culture Documents
Lecture 4. Compression and Networking
Lecture 4. Compression and Networking
Lecture 4
Compression and Networking
Hoang Van Xiem, Ph.D.
xiemhoang@gmail.com
Hanoi, 2018
Exercise 17/09/2018
1. TBD
1. For storing
2. For transmitting
The method can be more efficient if the data uses only 2 symbols (0s and
1s) in bit patterns and 1 symbol is more frequent than another.
Compression
Quantized values are read from the table and redundant
0s are removed.
To cluster the 0s together, the table is read diagonally in
an zigzag fashion. The reason is if the table doesn’t have
fine changes, the bottom right corner of the table is all
0s.
JPEG usually uses lossless run-length encoding at the
compression phase.
Hoang Van Xiem, Ph.D., VNU-UET Multimedia Signal Processing
JPEG Encoding
1) Tính Entropy:
a) 𝑝 𝑆 = 0.5, 0.125, 0.125, 0.125, 0.125
b) 𝑝 𝑆 = 0.75, 0.0625, 0.0625, 0.0625,0.0625