DATA COMPRESSION - PowerPoint PPT Presentation

About This Presentation
Title:

DATA COMPRESSION

Description:

A compression of information that is acceptable in pictures or videos, but not ... Done by zigzag linearization rather than row by row, to conceal fine changes. MPEG's ... – PowerPoint PPT presentation

Number of Views:14
Avg rating:3.0/5.0
Slides: 10
Provided by: danmcg
Learn more at: http://www.cs.loyola.edu
Category:

less

Transcript and Presenter's Notes

Title: DATA COMPRESSION


1
DATA COMPRESSION
  • LOSSY COMPRESSION METHODS

2
What it is
  • A compression of information that is acceptable
    in pictures or videos, but not texts or programs.
  • Methods of Lossy Data Compression are
  • Joint Photographic Experts Group (JPEG)
  • Motion Picture Experts Group (MPEG)

3
Why use it?
  • Cost effective
  • Time Efficient

4
How Its Done!
  • Change the picture into a linear set of numbers
    that reveals the redundancies.
  • Redundancies can be removed.
  • The set of bits is simplified.
  • Each block of 64 pixels goes through the discrete
    cosine transform (DCT)

P(x,y)
T(x,y)
Value of each pixel before DCT
Value after DCT
5
Operation
  • If a block has two different sections, each
    uniform in its respective section, you can
    decrease the amount of operations performed to
    display the image by 4800 times. How?
  • By doing the DCT operation
  • 7 7
  • 0.25 x c(x) x c(y) x S S x P(x,y)
  • m0 n0
  • If there is no change to any one pixel out of the
    64 in the chart, then 0s are created for the
    spot.

6
Quantization
  • After all that math, theres more math
  • Divide the number of bits needed for compression
    by a constant
  • Drop the fraction
  • of bits and of 0s are now optimized for
    compression

7
Compression
  • After quantization, redundant 0s are removed
  • Done by zigzag linearization rather than row by
    row, to conceal fine changes.

8
MPEGs
  • Means spatially compressing each frame while
    temporally compressing a set of frames
  • Types
  • I-framesintracoded frame an independent frame
    from a set
  • P-framespredicted frame related to the previous
    frame, without the possibility for changes being
    recorded
  • B-framesbidirectional frame relative to
    preceding and future frames, never related to
    another B-frame

9
Summation
All received data need not be an exact replica of the sent data MPEG is used to compress video bits
JPEG is a method to compress pics and graphics Spatial compression is similar to JPEG, compressing extraneous bits
DCT, quantization, and compression are tools for compression Temporal compression removes redundant frames
Write a Comment
User Comments (0)
About PowerShow.com