wk 8.2 Flashcards

1
Q

what is huffman coding

A

fixed-length code (8 bits) -> variable length code

to represent the pixel values in an image

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

effect of huffman coding

A

more frequent pixel values will be assigned shorter-length bits

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

Common methods of lossy compression

A
  • (JPEG) Joint Photographic Experts Group
  • (MPEG) Moving Picture Experts Group / video
  • Wavelets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

can the compressed image be recovered

A

Only an approximation of the original image can be recovered, lower quality, but smaller

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

JPEG Encoding

A
  • Discrete Cosine Transform (DCT)
  • DCT: reversible transform & retains all the information
  • JPEG and MPEG is obtained by discarding some of DCT components
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

phases of JPEG

A

blocked image -> DCT -> Quantisation -> Lossless compression -> compressed image

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

steps to JPEG Compression

A

blocked image -> divided into 8x8 pixel blocks, transformed and compressed
DCT -> applied to each block
Quantisation -> to reduce number of bits needed for encoding
Lossless compression -> RLE & Huffman Coding
compressed image

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