pixel: the smallest addressable area of an image
resolution: the number of pixels per unit of measurement
the resolution of an image or VDU screen is expressed as the number of pixels per column
E.g 1024 x 768 = 817,152
Bit mapped graphics
the colour of each pixel is stored as a binary pattern in video memory in a monochrome screen (two colours) Just 1 bit will be needed for each pixel.
0 for white and 1 for black
if 2 bits are used for each pixel then four colours can be stored, for example :
00 - white
01 - blue
10 - red
11 - black
Colour Depth
the colour depth is the number of bits used to re-pressure a single pixel.
if 8 colours was waned then 3 bits would be needed
2 to the power of 3 = 8
2 to the power of 4 = 16
2 to the power of 8 = 256
Bytes required per pixel?
if 16 colours are wanted then we would use 4 bits per pixel
in bytes this would be 1/2 a byte
if 256 colours are wanted then we would use 8 bits per pixel
there would be 1 byte allocated to each pixel
formula for bits in a pixel, if you have N bits, you can store 2^N different colour codes.
Vector
co-ordinates of images are stored as mathematical data.
points are described by relative distance from the origin
objects can be scaled and grouped together by its features
No comments:
Post a Comment