1 / 9

Lossy Compression

Lossy Compression. Lossless Compression. Run length encoding Huffman Coding. Lossy Compression. Human Auditory System: not sensitive data can be discarded in order to compress the data. 2 Hz to 2000 Hz. Silence Compression:. Silence compression treats small samples as if they are silence.

eyal
Télécharger la présentation

Lossy Compression

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lossy Compression

  2. Lossless Compression • Run length encoding • Huffman Coding

  3. Lossy Compression • Human Auditory System: not sensitive data can be discarded in order to compress the data. • 2 Hz to 2000 Hz

  4. Silence Compression: • Silence compression treats small samples as if they are silence. • This generates run-length of zeros. • Silence compression is a variant of RLE. • It is very much suitable for sound compression.

  5. ADPCM (Advanced Differential Pulse Code Modulation) • Adjacent Audio sample are tend to be similar in size. The simplest way to exploit this redundancy is to subtract adjacent samples and code the differences. Which tend to be smaller in size. Any audio compression based on this principle is called DPCM. Better results can be achieved by an adaptive version called ADPCM. • ADPCM uses the previous sample to predict the current sample. It than computes the difference and quantizes. • For each input sample X[n], the output C[n] of the encoder is simply a certain number of quantization level. • The decoder multiples this number by quantization step to obtain the reconstructed audio sample.

  6. ADPCM Encoding • The adaptive quantizer receives the difference D[n] between the current input sample X[n] and the prediction Xp[n-1] and computes and outputs the quantized code C[n]. • The same code is sent to adaptive dequantizer which produce next dequantized difference value Dq[n]. • This value is added to the previous predictor output Xp[n-1] and Xp[n] is sent to the predictor to be used in the next step.

  7. ADPCM Decoding • It inputs a code C[n], dequantizes it to a difference Dq[n], which is added to a preceding predictor Xp[n-1] to form the next output Xp[n]. • The next output is also fed into a predictor, to be used in the next step.

More Related