lecture4 Data and Graphics 2011

# Cartesiancoordinates cartesiancoordinates internally

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: the monitor. The Bitmap is stored in MEMORY…..the more bits stored, the more memory required…. Graphic images Graphic images (for display) graphic images are composed of pixels this type of graphic is called bit­mapped or raster graphics the image is stored as a sequence of bits (a) representing the pixel properties (b) 11111111 11111110 00011101 10111000 01111111 11111111 1… (A) Y (B) 1 1 1 1 1 1 0 0 1 1 0 1 1 1 0 1 1 1 0 0 1 1 1 1 1 1 1 1 1000011 1111111 1111111 X Resolution Resolution This is a very low resolution (3 pixels by 4 pixels) picture of the letter “Y”. Cartesian Coordinates Cartesian Coordinates Internally everything is numbers, so each position is represented by its Cartesian coordinate. So is (2,3). 3 2 1 0 0 1 2 A magnified bit map A magnified bit map Levels of Intensity Levels of Intensity For a black and white (Grayscale) picture we might use, say, 8 bits (one byte) to represent 256 levels of intensity, from 0 (black) to 255 (white) For a color picture we...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online