Image compression Flashcards

1
Q

What is 100 photo quality?

A

Perfect image quality with no loss of information

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

When the compression ratio is high…

A

The image ratio is low

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

What is non-lossy 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
4
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
5
Q

What are the 3 types of data redundancy?

A
  • Coding redundancy
  • Inter-pixel redundancy
  • Psycho-visual redundancy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What causes coding redundancy?

A

It is 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
7
Q

What causes inter-pixel redundancy?

A

Due to grey-level correlations between neighbouring pixels.

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

What is 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
9
Q

What does clarity depend on?

A
  • Spatial frequency
  • Amplitude
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the compression ratio?

A

A measure of the the compactness of a compressed image file

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

How is compression ratio (Cr) defined?

A

CR = b1 / b2
b1 = the number of bits in the original image
b2 = the number of bits in the encoded image

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

What are the steps from A to the compressed image?

A
  • Transformation
  • Quantization
  • Symbol encoder
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the steps from compressed image to A?

A
  • Symbol decoder
  • Dequantizer
  • Inverse transformation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does symbol refer to?

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
15
Q

What happens in the transformation step?

A
  • Converts the input image A into a format that is better suited to encoding.
  • This transforms the pixels into coefficients.
  • For most natural images a significant number of transformation coefficients have negligible magnitude and can be discarded.
  • The remaining coefficients can be coarsely quantized – thereby reducing the number of bits required to encode them.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What happens in the quantization step?

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.
  • Therefore a non-lossy compression method can not comprise a quantization component.
17
Q

What happens in the symbol coding step?

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).

18
Q

What is the JPEG image compression recipe?

A
  • Split into 8x8 blocks and treat each block separately.
  • Apply Discrete Cosine Transformation (DCT) to each image block.
  • Quantise the DCT coefficients (transformed 8x8 pixel block) .
  • Apply Huffman coding scheme (symbol coder) to quantised coefficients.
19
Q

In JPEG image compression transformations where are the significant coefficients found?

A

The significant coefficients of the DCT are usually located in the top left-hand corner

20
Q

What does a quantizer do and how is it achieved?

A
  • A quantizer reduces the number of bits needed to store the coefficients that result from an image transformation.
  • This is achieved by reducing the precision of the coefficients.
21
Q

What is cosine referred to?

A

The basis function

22
Q

What does weighting refer to?

A

Coefficient and relates to pixel values