Block 2 Part 2 Flashcards

1
Q

Compression

A
  • applied to reduce file sizes so more manageable to store, manipulate and retransmit
  • retains as much source content possible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Different compression techniques

A
  • AAC - advanced audio coding
  • AMR - Adaptive Multi-Rate
  • AVC - advanced video coding
  • GIF - graphics interchange format
  • HE-ACC - high-efficiency advanced audio coding
  • JPEG - Joint Photographic Expert Group
  • MP3 - MPEG audio layer 3
  • MPEG - Moving Picture Experts Group
  • PDF - portable document format
  • PNG - portable network graphics
  • TIFF - tagged image file format
  • ZIP - named for compression algorithm
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Lossless compression

A
  • also called noiseless or entropy coding
  • enable an exact reconstruction of original source data from compressed representation
  • well known examples are Lempel-Ziv-Welch (LZW) coding and Huffman coding
  • ZIP, GIF, PNG, TIFF and final stage of JPEG use this
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Lossy compression

A
  • irreversible loss of information
  • only approx. version of original source can be reconstructed
  • MP3, AAC, HE-ACC, JPEG and JPEG2000 for still picture coding and MPEG family use this
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Message

A
  • consists of source symbol that is selected from predetermined set of possible symbols
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Source alphabet

A
  • Complete set of possible source symbols
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Source coding

A
  • represents each message by code word

- simplest source codes are fixed-length codes in which all code words contain same number of bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ASCII coding

A
  • stands for American standard code for information interchange
  • does not include accents or non-English characters
  • UTF-8 (universal coded character set + transformation format - 8-bit) is another set used
  • UTF-8 backward compatible with ASCII
  • ASCII code word for each source symbol made up of its column number in binary followed by row number in binary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Binary coded decimal

A
  • each numerical value of decimal digit converted to binary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Source extensions

A
  • more digits used to represent more numbers or digits

- this lowers them number of bits per decimal needed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Variable-length codes

A
  • different numbers of bits used for different source symbols
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Uniquely decodable

A
  • means that code can be decoded in only one way and can’t be mistaken for something else
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Instantaneously decodable

A
  • as soon as any code word received, it can be decode immediately
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

code trees

A
  • instantaneous codes can be generated and decode using this

- rather like family tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Compressing files with Huffman code

A
  • Huffman code used by finding probabilities of characters appearing in message
  • In order to uncompress file Huffman code used needs to be sent with file
  • adds more overhead
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Run length encoding (RLE)

A
  • If symbols repeated you can add a number to represent how many symbols
  • e.g. ccccc = c5
17
Q

Strength of RLE

A
  • unlike Huffman coding, not necessary to scan entire file before coding
  • overhead is only single number associated with each run unlike whole Huffman table
  • Efficiency depends on amount of repetition in file
18
Q

Limitations of RLE

A
  • requires lots of repetition in file to be useful