topic 9 - image compression Flashcards

1
Q

what is non - lossy (lossless) compression?

A

Non-lossy (lossless) compression – original image can be recovered exactly from compressed image file.

E.g. Portable Network Graphics (.png).

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

what is lossy compression?

A

Lossy compression – Information lost when file is compressed. Therefore only an approximation to the original image is possible.

Eg. Joint Experts Photographic Group JPEG (.jpg).

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

what is a coding redundancy?

A

Caused by sub-optimal code words for symbol encoding - a symbol typically (but not exclusively) represents grey-level.

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

what is an inter - pixel redundancy?

A

Inter-pixel redundancy: Due to grey-level correlations between neighbouring pixels.

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

what is a psycho - visual redundancy?

A

Information contained within an image that is superfluous to the interpretation or aesthetics of an image.

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

what does clarity depend on with pyscho visual redundancy?

A

Clarity depends on:

1) spatial frequency.

2) amplitude.

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

what is a symbol?

A

A Symbol is a general term that can refer to pixel values or transformation coefficient values.

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

what is the 1st component of the image coder?

A

The first component of the image coder is an image transformation (aka mapper) that converts the input image A(x, y) into a format that is better suited to encoding. This transforms the pixels into coefficients.

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

what is the 2nd component of an image coder?

A

The quantizer achieves compression by approximating the transformation coefficients. Quantization is an inherently lossy process whereas the image transform and coding processes are not.

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

what is the 3rd component of an image coder?

A

Symbol coding compresses the image by exploiting the fact that in natural images some grey-levels occur more frequently than others (also applies to transformation coefficients).

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

what is the JPEG image compression “recipe”?

A
  1. Split into 8x8 blocks and treat each block separately.
  2. Apply Discrete Cosine Transformation (DCT) to each image block.
  3. Quantise the DCT coefficients (transformed 8x8 pixel block) .
  4. Apply Huffman coding scheme (symbol coder) to quantised coefficients.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is Huffman encoding?

A

Huffman encoding is a lossless coding method that aims to reduce the average word length of the symbols for a specified digital image. Here each symbol is initially encoded using 3 binary bits – we want to calculate a more compact representation.

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

what is the step by step method of Huffman encoding?

A
  1. Determine the image histogram of symbol values.
  2. Order the symbols by increasing probability of occurrence.
  3. Combine the two symbols with lowest probability.
  4. The above two steps are repeated until only the most probable symbol of the original image and the combined symbol remain.
  5. Assign the code word 1 to the most probable symbol in the image and assign 0 to the combined symbol.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly