Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Graphics CC416 Lecture 02: Overview of Graphics Systems: Raster & Random Displays – Chapter 2 Dr. Manal Helal – Fall 2014.

Similar presentations


Presentation on theme: "Computer Graphics CC416 Lecture 02: Overview of Graphics Systems: Raster & Random Displays – Chapter 2 Dr. Manal Helal – Fall 2014."— Presentation transcript:

1 Computer Graphics CC416 Lecture 02: Overview of Graphics Systems: Raster & Random Displays – Chapter 2 Dr. Manal Helal – Fall 2014

2 Overview of Graphics Systems Video Display Devices Raster-Scan Systems Random-Scan Systems © 2005 Pearson Education

3 Video Display Devices Cathode-ray tube (CRT) Monitor Rater-Scan Displays Random-Scan Displays Color CRT Monitors Flat-Panel Displays

4 Cathode-ray tube (CRT) Monitors Primary output device – Video monitors –Standard design of video monitor: Cathode-ray tube (CRT)

5 © 2005 Pearson Education Cathode-ray tube (CRT) Monitors

6 Display Technologies

7 © 2005 Pearson Education Cathode-ray tube (CRT) Monitors –Refresh CRT Beam of electrons hit phosphor-coated screen, light emitted by phosphor Direct electron beam to the same screen repeatedly, keeping phosphor activated The frequency at which a picture is redrawn on the screen is referred to as the “refresh rate” The maximum number of points that can be displayed on a CRT is referred to as the “resolution” http://en.wikipedia.org/wiki/Display_resolution Display principle –Raster Scan Display Principle –Random Scan Display Principle

8 RASTER SCAN DISPLAY Raster: A rectangular array of points or dot. An image is subdivided into a sequence of (usually horizontal) strips known as "scan lines“ which can be further divided into discrete pixels for processing in a computer system. A raster image is a collection of dots called pixels

9 © 2005 Pearson Education CRT Display Principles Raster-Scan Displays –Based on TV technology Electron beam swept across screen one row at a time from top to bottom Each row is referred to as a scan line

10 © 2005 Pearson Education CRT Display Principles Raster-Scan Displays –Picture elements: screen point referred as “Pixel” –Picture information stored in refresh (frame) buffer

11

12 CRT Display Principles Raster-Scan Displays –Picture information stored in refresh (frame) buffer The number of bits per pixel in the frame buffer is called depth or bit planes Buffer with 1 bit per pixel – Bitmap Buffer with multiple bits per pixel – Pixmap –Interlaced refresh procedure Beams sweeps across every other scan line © 2005 Pearson Education

13 Frame Buffer A frame buffer is characterized by size, x, y, and pixel depth. The resolution of a frame buffer is the number of pixels in the display. e.g. 1024x1024 pixels. Bit Planes or Bit Depth is the number of bits corresponding to each pixel. This determines the color resolution of the buffer. Bilevel or monochrome displays have 1 bit/pixel 8bits/pixel -> 256 simultaneous colors 24bits/pixel -> 16 million simultaneous colors

14 Specifying Color direct color : – each pixel directly specifies a color value e.g., 24bit : 8bits(R) + 8bits(G) + 8 bits(B) palette-based color : indirect specification –use palette (CLUT) e.g., 8 bits pixel can represent 256 colors 24 bits plane, 8 bits per color gun. 2 24 = 16,777,216

15

16 Raster Refresh Rates and Bandwidth Frames per second (FPS) The return to the left of the screen, after refreshing each scan line is called Horizontal retrace. At the end of each frame the electron beam returns to the top left corner of the screen to begin the next frame is called Vertical retrace.

17 Interlaced Scanning Scan frame 30 times per second To reduce flicker, divide frame into two fields—one consisting of the even scan lines and the other of the odd scan lines. Even and odd fields are scanned out alternately to produce an interlaced image.

18

19 Aspect Ratio Frame aspect ratio (FAR) = horizontal/vertical size TV 4:3 HDTV 16:9 Page 8.5:11 ~ 3/4 Pixel aspect ratio (PAR) = FAR vres/hres Nuisance in graphics if not 1

20

21 RASTER IMAGE

22 APPLICATIONS Suited for realistic display of screens Home television computer printers create their images basically by raster scanning. Laser printers use a spinning polygonal mirror (or an optical equivalent) to scan across the photosensitive drum, and paper movement provides the other scan axis  Common raster image formats include BMP (Windows Bitmap), JPEG (Joint Photographics Expert Group), GIF (Graphics Interchange Format), PNG (Portable Network Graphic), PSD (Adobe PhotoShop)

23 DISADVANTAGE To increase size of a raster image the pixels defining the image are be increased in either number or size Spreading the pixels over a larger area causes the image to lose detail and clarity. Produces jagged lines that are plotted as discrete points

24 CRT Display Principles Random-Scan Display Principles –Calligraphic Displays also called vector, stroke or line drawing graphics –Electron beam directed only to the points of picture to be displayed. –Vector displays, electron beams trace out lines to generate pictures –Picture stores as a set of line-drawing commands Storage referred as display list, refresh display file, vector file or display program –http://groups.csail.mit.edu/graphics/classes/6.837/F98/Le cture1/Slide11.html © 2005 Pearson Education

25 Random Scan Refresh Rate Refresh rate depends on the number of lines to be displayed. Picture definition is now stored as a line- drawing commands an area of memory referred to as refresh display file (display list). To display a picture, the system cycle through the set of commands in the display file, drawing each component line in turn. Random scan displays are designed to draw all the component lines of a picture 30 to 60 times each second

26 CRT Display Principles Sample of Random-Scan displays principles © 2005 Pearson Education

27 Images are described in terms of line segments rather than pixels Display processor cycles through the commands CRT Display Principles

28 RANDOM SCAN DISPLAY Random scan display is the use of geometrical primitives such as points, lines, curves, and polygons, which are all based upon mathematical equation

29 VECTOR IMAGE

30 Raster Outline primitives Filled primitives  Vector displays product smooth line drawing  A Raster system produces jagged lines that are plotted as discrete points sets.

31 Random scan displays are designed for line- drawing applications and can not display realistic shaded scenes

32

33 Comparing Raster and Vector (1/2) Advantages of vector: –very fine detail of line drawings (sometimes curves), whereas raster suffers from jagged edge problem due to pixels (aliasing, quantization errors) –geometry objects (lines) whereas raster only handles pixels –eg. 1000 line plot: vector disply computes 2000 endpoints –raster display computes all pixels on each line

34 Comparing Raster and Vector (2/2) Advantages of raster: –cheaper –colours, textures, realism –unlimited complexity of picture: whatever you put in refresh buffer, whereas vector complexity limited by refresh rate


Download ppt "Computer Graphics CC416 Lecture 02: Overview of Graphics Systems: Raster & Random Displays – Chapter 2 Dr. Manal Helal – Fall 2014."

Similar presentations


Ads by Google