Image File Formats Flashcards

1
Q

What might we want to store in an image file?

A
  • Pixels
  • Colour palette
  • Different size versions (icons)
  • Transparency information
  • Camera data (model,focal length etc)
  • Location
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How many pixels are stored in a single byte using a portable bit map (.pmb) ?

A

There are 8 pixels in one byte,

This is used for thresholded images, where values are either 0 or 1, hence we can use a single bit to store a pixel.

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

How can we vary the exposure in a camera?

A

Changing the aperture to let more or less light in

Changing the camera shutter, the more time the shutter is open the more light will come in

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

What is a side effect of changing the shutter speed?

A

It can cause motion blur

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

What effect does changing the aperture on a camera have?

A

A small aperture can keep the whole scene in focus

A large aperture can reduce the depth of field

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

What is High Dynamic Range (HDR)?

A

This is about being able to show a larger range of brightness in an image.

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

How does HDR represent a wider range of intensity levels?

A

It uses 12 bits per colour channel.

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

How many bits does a GIF use to store a single pixel?

A

8 bits per pixel

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

How is a GIF image stored?

A

A colour palette is stored along with the pixels in the image.

When interpreting the colour of each pixel, we look in the colour palette table to see what colour it is

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

How is Run Length Encoding (RLE) used in a JPEG?

A

It is used on the 8x8 block after the discrete cosine transform has been applied, and it has been normalised using the Quantisation table.

We use RLE in a zig-zag pattern.

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

How do we compress an image using JPEG?

A
  1. Split image into 8x8 blocks
  2. Apply the Discrete Cosine Transform
  3. Normalise using Quantisation Table
  4. Apply Run Length Encoding
How well did you know this?
1
Not at all
2
3
4
5
Perfectly