Professional Documents
Culture Documents
MULTIMEDIA
MULTIMEDIA DATA
• Sampling – How often measurements are made (sounds) or how close the
measurements are (images)
AUDIO DATA
• CD quality
• 44100 samples/second (44Hz)
• Sample represented as 16 bits (65536 values)
• 1 second audio = 44100 16-bit numbers (88 kB)
IMAGE DATA
• If we sample too often, there is too much processing and more data is
produced.
Notice the direction of the stripes when the image is scaled down.
UNDERSAMPLED: ALIASING
• Top-secret helicopter?
• Explanation
SAMPLING
• DVD movies are generally lower quality than 1080p. Luckily the data can be
compressed.
DATA VS. INFORMATION
• Most practical compression algorithms are lossy - the data stored is a close
approximation of the original.
• By accepting possible loss, we may be able to compress more.
• Instead of using 8 bits to represent 256 possible levels, use 7 bits to represent 128 levels.
• We save 12.5% space but the data is not as accurate.
• Why does this work? We may not be able to tell the difference!
• There is a trade-off between quality and space usage. That is often controlled by a
“quality” setting in your digital camera, for example.
JPEG COMPRESSION
8 KB 14 KB 21 KB 144 KB
BASIC IMAGE PROCESSING
• Contrast enhancement
• Blur out certain parts—tend to remove details.
• Sharpening certain parts—tend to highlight details
CONTRAST ENHANCEMENT
• An MP3 file created using 128 kbits/s results in a file 1/11 the size of the CD source
• Containers
• Combination of video codec and audio codec in one package
• Also contains other information (e.g. titles/chapters, subtitles, other languages for
DVD/Blu-ray)
• For many applications (e.g. Facebook photos), lossy compression is
acceptable.