Data representation-graphics Flashcards

1
Q

what is the definition of a pixel?

A

The smallest addressable area or the smallest block of colour in an image
A picture element

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

What is a bitmap?

A

When the pixels of an image are mapped to positions in the memory which store the colour of that pixel in binary code

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

What is the resolution of a VDU screen?

A

The number of pixels per row x number of pixels per column

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

What is the resolution of an image?

A

The number of pixels per centimetre

can be measured differently for VDUs

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

What are three typical resolutions of a VDU screen?

A

1024 x 798
800 x 600
640 x 480

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

What is the definition of colour depth?

A

The number of bits used to represent the colour of a single pixel in a bitmapped image

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

What is the RGB colour model for changing the colour of a pixel?

A

red, green and blue are set at different light levels to combine to make a range of different colours

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

How do you make white and black in the RGB colour model?

A

white=all colours set to 100%

black=all colours set to 0%

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

What is the name for a black and white image?

A

monochrome

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

Ina black and white image, how many bits are used per pixel?

A

one

1=white, 0=black

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

What is 12 bit direct colour?

A

4 bits (16 possible values) are given to each of the red, blue and green components

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

When is 12 bit direct colour sometimes used?

A

Devices with limited colour display

e.g. mobile phones

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

What is true colour?

A
8 bits (256 possible values) are used to represent each colour component
called true colour because it approaches the level at which the human eye can distinguish colours
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is 32 bit colour?

A

Essentially true colour with an extre 8 bits

The extra bits are either ignored or used to represent an alpha channel (providing partial transparency)

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

Why does 32 bit colour use 32 bits?

A

The word size of most modern PCs is 32 or 64 bit

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

What is the size of a bitmap in bytes?

A

The size of the image in pixels multiplied by the colour depth of the image in bytes

17
Q

How are vector graphics different from bitmaps?

A

It records information about geometric and other objects which make up an image

18
Q

What is a graphic vector object?

A

A graphic component in a vector graphic such as a line or circle

19
Q

What is a drawing list?

A

The list of drawing commands used to recreate a vector graphic

20
Q

How is a line described in a vector graphic?

A
line (x,y,x,y,colour,width)
draws from (x,y) to (x,y)
21
Q

How is a circle described in a vector graphic?

A

circle (x,y,r,fill colour,filled, border colour)

22
Q

How is a rectngle described in vector graphics?

A

rect (x,y,x,y,fill colour,filled,border colour)

draws from top left to bottom right

23
Q

Give examples of properties for components in a vector graphic

A

size, direction, thickness, shading, font size, typeface, fill colour, border colour, mathematical description of curves etc

24
Q

What happens when a bitmapped image is scaled up?

A

The number of pixels remains the sam, they just enlarge, leading to them becoming visible and causing distortion

25
Q

What happens when a vector graphic is scaled up?

A

Distortion is avoided
scaling is geometric because the graphic is defined by relative positions of objects in a coordinate system
It has no intrinsic resolution so no resolution is lost

26
Q

What are the advantages of vector graphics over bitmaps?

A
  • geometric images require fewer bytes
  • geometric images load faster from secondary storage and download faster over the internet
  • vector images scale without distortion
  • some formats allow you to search more easily for a particular geometric object to be manipulated
27
Q

What are the advantages of bitmaps over vector graphics?

A

Images that have continous areas of colour (e.g in photographs) take up fewer bytes as bitmaps

28
Q

What is the purpose of data compression?

A

data is compressed into a smaller number of bytes than it would normally occupy

29
Q

What is run length encoding?

A

A data compression technique which takes advantage of the fact that consecutive cells often contain the same bit pattern (colour)
This is reduced to two bytes: number of consecutive cells, colour of cells

30
Q

Is run length encoding lossy or lossless?

A

lossless

The original image can be recreated perfectly from the compressed version

31
Q

What is lossy compression?

A
unimportant information (e.g. background scenery) is saved with a lower resolution
This means the original image cannot be recreated exactly from the compressed version but it will be close enough that most humans will not be able to see the difference
32
Q

What is the second way in which lossy compression can be done?

A

The lower sensitivity of the eye means that the bits per pixel for colours like blue, which we cannot see as well as others, can be reduced

33
Q

For what kind of colour does lossy compression use fewer bits?

A

lower intensity colours