02 Section 7 - Sound, Image and Compression Flashcards

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

How are images stored?

A

Images are stored as a series of pixels

-bitmap images are made up of pixels

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

How do you have colour on an image?

A

The colour of each pixel is represented by a binary code

  • black and white images only need 1 bit
  • you can make a greater number of shades by increasing the number of bits per pixel
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define colour depth:`

A

Colour depth is the number of bits used for each pixel

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

How do you work out the number of colours you can get from the colour depth?

A

Total number of colours = 2^n

n = the number of bits per pixel

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

What is the common colour bit depth?

A

24bit, so each colour(red, green, blue) have 1 byte each

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

What is resolution measured in?

A

Resolution is the density of pixels in an image

-measured in dots per inch

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

What does a higher resolution mean?

A

The higher the resolution, the more pixels in a certain area so the better quality of image.
-also increases the file size

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

Define metadata:

A

Metadata is information stored in an image file which helps the computer recreate the image on screen from binary data in each pixel,

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

What does metadata usually include?

A

file format, height, width, colour depth, resolution

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

How is sound recorded by a microphone?

A

Sound is recorded by a microphone as an analogue signal

-analogue signals are pieces of continually changing data

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

Can computers understand analogue signals?

A

No, analogue signals need to be converted into digital data

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

How are analogue signals converted to digital data?

A

It’s converted by analogue to digital converters

-by a process called sampling

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

What are some factors which affect size and quality of sound files?

A

Sampling intervals
Sampling frequency
Sample size
Bit rate

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

What are sampling intervals?

A

gaps between each point when the analogue recording is sampled
-measured in ms

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

What is sampling frequency?

A

how many samples you take per second

-measured in kHz

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

What is sample size?

A

is the number of bits available for each sample

17
Q

What is bit rate?

A

the number of bits used per second of audio

-measured in kbits/s

18
Q

How do you calculate bit rate?

A

bit rate = sampling frequency x sample size

19
Q

How will increasing the sample size improve the quality of a sound file?

A

it will pick up quieter sounds, this will make the recording closer to the sound of the original

20
Q

What are the uses of compressing data files?

A
  • smaller files take up less storage space
  • streaming and downloading files from the internet is quicker(less bandwidth)
  • web pages load quicker
  • email services have restrictions on the size of attachment you can send
21
Q

What are the two types of file compression?

A

Lossy

Lossless

22
Q

Define Lossy compression:

A

it works by removing data permanently from the file

23
Q

Define Lossless compression:

A

it temporarily removes data by encoding it and then it restores it to its original state when it is opened

24
Q

What are the pros and cons of Lossy compression?

A

Pros
-greatly reduces file size
-takes up less bandwidth(download/streamed quicker)
Cons
-can’t return to original file(loses data permanently)
-can’t be used on text or software files

25
Q

What are the pros and cons of Lossless compression?

A
Pros
-no reduction in quality
-can be used for software and text files
Cons
-only a slight reduction on file size
26
Q

What are some examples of Lossy file types?

A

MP3
AAC (audio)
JPEG

27
Q

What are some examples of Lossless file types?

A

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