L4.Image Coding Flashcards

1
Q

How does frequency-domain processing make encoding of images more efficient?

A
  • transform image into freq-domain
  • encode only features that can be perceived by Eye
  • reverse transform at receiver
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Step 1 of JPEG image compression

A
  • image 640x480 RGB pixels
  • convert each to Y and ((I,Q) or (U,V))
  • reduce I,Q to 2 320x240 matrices (averaging 2x2)
  • consider Y,I,Q divided in 8-bit tiles
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Step 2 of JPEG image compression

A
  • DCT2 to each 8x8 tile

- (Fx,Fy,DCT) with small high frequency components

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

Step 3 of JPEG image compression

A
  • Quantize DCT coeffs with table
  • > divide
  • > round to int
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Step 4 of JPEG image compression

A

Encode differences in DC-DC components between tiles

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

Step 5 of JPEG image compression

A
  • zig zag

- sum successive 0s (run length code )

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

Is RGB ro YIQ better for processing?

A

YIQ

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

DIfference between JPEG, MPEG and ZIP compression?

A

Jpeg, Mpeg are lossy

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

By what factor doe Jpeg compress images?

A

10x

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

By what factor does Mpeg compress videos?

A

100x

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

What choise decides the quality/compression trade-off?

A

Choice of Coefficient quentization matrix

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

What process of compressing increases sensitivity to bi-errors?

A

Huffman coding

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

Where is huffman coding used?

A

image compression

MP3 music encoding

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

Disadvantage of Huffman codes?

A

Sensitivity to bit error

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

What happens when a huffman code is affected by a bit error?

A

Variable length means if on symbol is affected all the ones following it are fucked

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

What does motion compensation mean in the context of encoding video?

A
  • find similarity between parts of successive images
  • send info where it is strong
  • encode any jpeg differences
17
Q

what 3 types of frame are there in mpeg?

A

I
P
B

18
Q

What is an I-frame?

A

An Image encoded as JPEG

19
Q

How does P-frame encode positions of moving blocks?

A

Predict from previous I and P frames

20
Q

How does B-frame encode positions of moving blocks?

A

Estimate from both previous I&P and next