Images, Sound & Compression - 1.2.3 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a bitmap image?

A

Made of tiny dots called pixels
Colour of each pixel is represented by a binary code
Number of colours available is related to the number of bits the binary code uses
E.g. a black-white image need 1 bit, 0 for white, 1 for black
2 bit images can be made up of 4 colours

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

What is the colour depth?

A

Number of bits used for each pixel
You can work out number of colours given the colour depth by formula:
2^n

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

What is the usual colour depth of an image?

A

24 bit colour depth (16 million different colours) more than a human can see (10 million)

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

What is the image resolution? Formula?

A

Number of pixels in the image
width x height
Higher resolution (more pixels) = better quality of picture

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

What is the formula for file size?

A

width x height x colour depth = size in bits

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

What two factors affect file size?

A

Large width, height (resolution)
Larger colour depth
Better quality but a larger file size

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

What is metadata? Examples?

A

The data stored in an image file which helps the computer recreate the image from the binary data in each pixel
Includes file format, height, width, colour depth, resolution, time, date
Around 10% of the file size

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

What is a pixel (2)?

A

Short for picture element
A single point in an image

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

What is a sample?

A

A very short recording made of a sound wave at a certain point in time

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

What is the sample rate?

A

Number of samples recorded per second
High sample rate = closer to the original the final recording sounds
Measured in hertz

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

What is the bit-depth?

A

Number of bits available for each sample
Higher bit-depth = quieter sounds can be picked up too, closer to the quality of original

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

What is the bit-rate?

A

How many bits of data are processed every second
Higher bit rate = better sound quality

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

Formula for bit-rate?

A

Sample rate x bit depth

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

Formula for file size (in bits):

A

Sample rate (Hz) x bit depth x duration (secs)

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

Why do we use compression?

A

To make file sizes smaller while keeping it as true to the original as possible
To take up less storage
Streaming and downloading files is quicker as they take less bandwidth (amount of data that can be transferred in a given time)
Web pages load quicker
Send the same content of a file for a smaller size

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

What are the two types of compression?

A

Lossy compression - permanently removes data from a file to limit the number of bits the file needs
Lossless compression - makes the file temporarily smaller, removes data to store the file then restores to its original state when reopened

17
Q

Pros (4) & cons (3) of lossy compression:

A

Greatly reduced file size - more files can be stored
Less bandwidth - can be downloaded/streamed quicker
Commonly used - lots of softwares can read lossy files
Normally unnoticeable

Loses data - can’t be turned back to the original
Can’t be used on text or software files - needs all data back
Worse quality than original

18
Q

Pros (3) & cons (1) to lossless compression:

A

Data is removed temporarily - no reduction in quality
Can be decompressed back to original
Can be used on text and software files

Only a slight reduction in file size - still take up a bit of space

19
Q

Examples of lossy compression file types (3):

A

MP3 (audio)
AAC (audio)
JPEG (image)

20
Q

Examples of lossless compression file types (3):

A

FLAC (audio)
TIFF (image)
PNG (image)