Data representation-graphics Flashcards Preview

COMPUTING > Data representation-graphics > Flashcards

Flashcards in Data representation-graphics Deck (33):
1

what is the definition of a pixel?

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

2

What is a bitmap?

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

3

What is the resolution of a VDU screen?

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

4

What is the resolution of an image?

The number of pixels per centimetre
(can be measured differently for VDUs)

5

What are three typical resolutions of a VDU screen?

1024 x 798
800 x 600
640 x 480

6

What is the definition of colour depth?

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

7

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

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

8

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

white=all colours set to 100%
black=all colours set to 0%

9

What is the name for a black and white image?

monochrome

10

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

one
(1=white, 0=black)

11

What is 12 bit direct colour?

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

12

When is 12 bit direct colour sometimes used?

Devices with limited colour display
(e.g. mobile phones)

13

What is true colour?

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

14

What is 32 bit colour?

Essentially true colour with an extre 8 bits
The extra bits are either ignored or used to represent an alpha channel (providing partial transparency)

15

Why does 32 bit colour use 32 bits?

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

16

What is the size of a bitmap in bytes?

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

17

How are vector graphics different from bitmaps?

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

18

What is a graphic vector object?

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

19

What is a drawing list?

The list of drawing commands used to recreate a vector graphic

20

How is a line described in a vector graphic?

line (x,y,x,y,colour,width)
draws from (x,y) to (x,y)

21

How is a circle described in a vector graphic?

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

22

How is a rectngle described in vector graphics?

rect (x,y,x,y,fill colour,filled,border colour)
draws from top left to bottom right

23

Give examples of properties for components in a vector graphic

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

24

What happens when a bitmapped image is scaled up?

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

25

What happens when a vector graphic is scaled up?

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

What are the advantages of vector graphics over bitmaps?

-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

What are the advantages of bitmaps over vector graphics?

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

28

What is the purpose of data compression?

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

29

What is run length encoding?

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

Is run length encoding lossy or lossless?

lossless
The original image can be recreated perfectly from the compressed version

31

What is lossy compression?

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

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

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

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

lower intensity colours