1.1 Text, Images, Sound, Memory Units Flashcards
What is a bitmap image?
A collection of pixels where each pixel is assigned a value that represents it’s colour.
What is a pixel?
Short for picture element
The smallest block of colour in an image
What is colour/bit depth?
The number of bits used to represent the colour of a single pixel
How many colours can be stored using 1-bit?
2
There are 2 possible values - 0 or 1
How many colours can be stored using 2-bits?
4
There are 4 possible values (00, 01, 10, 11)
How many colours can be stored using 4-bits?
16
Range of possible value is 0000 - 1111 = 0 - 15
For n bits you can store 2^n different colour codes.
How many colours can be stored using 12 bits?
4096 (2^12)
What is image resolution?
The number of pixels in the image e.g. 600 px x 400 px = 240 000 px
How do you calculate the size of an image?
image size = number of pixels x colour depth
If a 12-bit colour depth is used and the image size is 800 x 600 pixels, what is the minimum file size for the image in bytes?
Number of pixels = 800 x 600
Number of bits per pixel = 12
Total number of bits = 12 x 800 x 600 = 5760000
Number of bytes = 5760000 ÷ 8 = 720000 bytes
What is meant by image metadata?
Image files usually also contain metadata .
Metadata means ‘data about data’
It provides additional information about the image.
Computers needs this data to interpret the file
Give 3 examples of image metadata
file format - eg JPG, GIF, BMP, PNG
resolution
colour depth
time/date the image was taken
camera settings
GPS data
Explain how captured camera images are converted to digital photo files
Image is turned into pixels
Pixels form a grid
Each pixel is give a binary value
Each pixel is given a colour
Pixels are stored in the correct sequence
Meta data is also stored about the image e.g. dimensions/resolution/colour depth
Different file formats are used e.g. JPEG
What happens when you increase the colour depth of an image?
The quality of the image increases
You are more accurately able to represent the range of colours
Also increases the memory size of the image
What happens when you increase the number of pixels in an image?
The density of pixels in the same sized area increases
More pixels per inch, improving sharpness
Can enlarge without visible loss of quality
Increases the memory size of the image
What is an ADC?
Analogue-to-digital converter
Samples and converts an analogue signal into an equivalent digital signal
What is a DAC?
Digital-to-analogue converter
Converts a digital signal into an equivalent electrical analogue signal
What is the difference between analogue and digital signals?
Analogue signals cover a whole continuous range of values.
Digital signals change in discrete steps e.g. have only two values - off (0) and on (1)
What is the sample/sampling rate?
The number of samples taken per second of sound
1 Hertz (Hz) is one sample per second.
Audio CD is 44.1KHz
What is the sample/sampling resolution?
The number of bits used to store each sample / measurement of the height of the wave
Also known as bit depth