5.6 Representing images, sound and other data

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/52

encourage image

There's no tags or description

Looks like no tags are added yet.

53 Terms

1
New cards

BMP, JPG, GIF, PNG,TIF

Common bitmap file types

2
New cards

Screen resolution

72dpi

3
New cards

Print quality resolution

300dpi

4
New cards

Why is there a deterioration in quality when a bitmap is resized

The size of each pixel grows or shrinks to maintain the required resolution

5
New cards

Vector images

Made up of geometric shapes or objects

6
New cards

How are vector shapes displayed on the screen

The properties of each shape are stored and retrieved in order to mathematically redraw it

7
New cards

Example properties of objects stored in a vector drawing list

Shape type, position, fill colour, line colour and weight, length and width or radius

8
New cards

How can an image be captured by a physical camera

Light is focused by the lens onto an array of sensors on the sensor chip which each produce an electric signal, representing a pixel. An ADC converts the measurements of the light intensity into binary, and a colour filter is applied to generate separate data for red green and blue colour components

9
New cards

Adobe, SVG

Common vector file types

10
New cards

Bitmap metadata examples

Colour depth, width in pixels, height in pixels

11
New cards

Bitmaps or vectors for: photographs, digital art, complex images

Bitmaps

12
New cards

Bitmaps or vectors for: technical drawings, clipart, cartoons, logos, simple images

Vectors

13
New cards

Why do vectors typically have a smaller file size than bitmaps

They contain mathematical equations rather than storing information about every pixel

14
New cards

Sound

A vibration that propagates as an audible wave of pressure through the air

15
New cards

Analogue signals

A continuous signal that represents physical measurements

16
New cards

Digital signals

Discrete time signals generated by digital modulation

17
New cards

How are analog signals caputured

By measuring continuously varying quantities

18
New cards

How are digital signals captured

By counting quantities

19
New cards

Analog to digital converter (ADC)

Any device that converts continuous natural sound waves into a digital format eg a microphone

20
New cards

Digital to analog converter (DAC)

Any device that converts digital audio signals into a continuous natural sound wave eg a speaker

21
New cards

Why is the pixel data for bitmap images discrete

The colour of each pixel is stored in a fixed number of bits

22
New cards

How do ADC’s convert analogue sounds to digital

The analogue signal is sampled at fixed time intervals. The amplitude of the signal is measured and rounded to the nearest available value (quantisation) and then coded in binary

23
New cards

Nyquist theorem

You need to use a sampling rate at least double that of the highest frequency in the original signal/sound

24
New cards

Frequency range of the human ear

20Hz - 20kHz

25
New cards

Sampling rate

The number of samples taken in a given period of time

26
New cards

Sampling resolution

The number of bits used to represent each sample

27
New cards

How is MIDI used to allow electronic musical instruments to communicate with computers

A MIDI controller is used to send and receive a sequence of event messages to each device

28
New cards

Example details included in event messages

Duration of note, pitch, vibrato, volume change

29
New cards

MIDI file

A list of instructions that detail how to synthesise a sound

30
New cards

4 advantages of using MIDI instead of sampled sound

More compact representation, easy to modify notes/instruments, no data lost through sampling, can be directly output to control different instruments

31
New cards

3 disadvantages of using MIDI instead of sampled sound

Doesn’t store the actual sound recording, requires a compatible synthesiser, cannot accurately reproduce every detail of a live acoustic performance.

32
New cards

3 Attributes of a MIDI file

16 channels supported, 2/3 bytes long, first byte of each MIDI message is a status byte

33
New cards

5 purposes of compression

Reduce file size/download times/storage requirements, make best use of bandwidth, less buffering on audio or video streams

34
New cards

What type of images is lossless compression ideal for

Vector-style images

35
New cards

Advantage of lossless compression

The file can be reproduced exactly as it was originally

36
New cards

What is dictionary coding ideal for

Text based documents

37
New cards

What is run length encoding ideal for

Images

38
New cards

How can data be compressed using dictionary-based compression

A dictionary is built that maps substrings of the original text onto single tokens. The substrings are then replaced by the corresponding tokens

39
New cards

Possible issue with dictionary compression

It creates additional overhead in storing the dictionary, but the space it saves negates the problem

40
New cards

How is information stored using Run Length Encoding

In frequency/data pairs

41
New cards

Encryption

The process of encoding a message so it can be read only by the sender and the intended recipient

42
New cards

Symmetric encryption

A single cypher is used to both encrypt and decrypt a message

43
New cards

Issues with symmetric encyrption

A message can be cracked by intercepting or duplicating the cipher key

44
New cards

Plaintext vs ciphertext

Plaintext is the original data while ciphertext is the encrypted data

45
New cards

Cipher

The encryption method or algoritm

46
New cards

Caesar cipher

Replaces each letter of the alphabet with another letter a fixed distance away from the original letter

47
New cards

3 reasons why are Caesar ciphers vulnerable

Each character is always encrypted to the same character, the ciphertext will retain structural properties of the plaintext message (eg frequency of characters), there are only 25 functional encryption keys

48
New cards

3 cases where a one time pad cipher (eg the Vernam cipher) is offers perfect security

The encryption key is at least as long as the plaintext message, the key is random, the key is not reused

49
New cards

Why is the Vernam cipher perfectly secure (under the 3 main conditions)

Nothing can be learnt about the plaintext from the ciphertext, and the knowledge of how one character has been encrypted doesn’t help figure out how others have been

50
New cards

How does the Vernam Cipher work

A Boolean XOR operation is carried out between the binary representation of each character of the plaintext and the corresponding character of the one-time pad (encryption key)

51
New cards

Why is the file size doubled for stereo sound

Two channels are recorded for left and right

52
New cards

Why a MIDI file is generally smaller than a digital audio file

Stores instructions rather than sound recordings therefore it doesn’t need to store thousands of digital samples representing sound waveforms

53
New cards

Differences in playback quality between MIDI and digital audio

MIDI depends on the synthesiser used while digital audio is generally consistent across devices