1.2/1.3 Multimedia and Compression Flashcards
How are bitmap images created?
They are created using a mix of 3 colours, each set to a different brightness, 0 for black and 256 for 100% brightness
How many bits does one coloured pixel require in a bitmap image?
24 (1 for b/w)
Define lossless compression
An algorithm that decreases file size without losing any of the details
Define lossy compression
Complex algorithms used to reduce file size, whilst minimising the noticeable reduction in file quality
How do bitmap images represent image data?
They use a grid of pixels combines to create a whole picture
How do vector files work?
They use mathematic formulas to store the details of components of an object (e.g shape, size, colour) that combine together to form the final image
What are the advantages of using vector graphics? (4)
- can be resized without distortion (pixelation)
- smaller file size than bitmapped images
- simpler to create and edit
- stay of good quality regardless of the resolution they are displayed on
What are the disadvantages of using vector graphics? (2)
- More difficult to learn how to use vector drawing software
- Not appropriate for storing digital photos as the data is too complex
Why are videos compressed?
Storing such a large number of frames can take up a lot of storage
What do you need to consider before choosing a video resolution? (3)
- Higher resolutions require more storage capacity and a greater transmission bandwidth
- Higher resolutions use more battery power in your video camera
- Most playback devices don’t support 8k
Name the 2 ways videos can be compressed.
- Spatial redundancy
- Temporal redundancy
What is spatial redundancy?
When there is a close correlation between pixels and neighbouring pixels, not all the data needs to be kept so some of it can be discarded or recorded at a lower bit depth.
What is temporal redundancy?
Most images stay pretty much the same from frame to frame with only certain areas changing significantly. This means that entire frames or large parts of each frame can be calculated and applied to the content of the following frame.
Define bit rate
Refers to the number of bits required for each second of a video
Define sound
Sound is an analogue value, which needs to be digitalised to store it in a computer
How is sound recorded with a microphone? (3)
- the microphone picks up sound waves and converts them into analogue electrical signals
- these signals are then processed by an ADC which converts the electrical signals into digital values that can be stored in a computer
- this is called sampling and involves taking measurements of the level of the analogue signal, called samples, at regular time intervals
Define sample rating.
How often the ADC should sample the sound wave
How does the frequency of the sample rating change the sound?
High frequency - close to the original sound
Low frequency - different to the original sound
What is the frequency used to sample a sound?
The number of samples taken per second (Hz)
- one hertz = one sample taken per second
What effect does a high sample rating have? (2)
- better quality of the audio recording
- bigger file size
Define sample resolution
The number of bits used to represent each sample
What is the effect of having a low sample resolution? (3)
- fewer bits per sample
- limited binary patterns for samples, so analogue signal cannot be represented accurately in digital form
- smaller file size
What is the difference between mono and stereo sounds?
Monophonic sounds only have one track of sound and stereophonic sounds contain 2 different tracks
Define monophonic sound
Only has one track of sound
Define stereophonic sound
Contains 2 different tracks of sound
What are the effects of having 2 tracks in stereo sound? (2)
- adds impression of positioning and direction to the recording
- needing 2 tracks doubles the storage
What is the formula for finding the storage requirement of an audio file? (bits)
Storage requirement (bits) = sampling rate x seconds x sample resolution
What is the formula for finding the stereo storage requirements of an audio file? (bits)
Stereo storage requirements (bits) = sampling rate x seconds x sample resolution x 2
Define compression technique
An algorithm or a sequence of steps, that is followed to reduce file size