cg - display devices

78
Display Devices Organized By: Vinay Arora Assistant Professor, CSED Thapar University, Patiala

Upload: vinay-arora

Post on 06-May-2015

3.868 views

Category:

Education


3 download

TRANSCRIPT

Page 1: CG - Display Devices

Display Devices

Organized By: Vinay Arora

Assistant Professor, CSED

Thapar University, Patiala

Page 2: CG - Display Devices

Vinay Arora

TU, CSED

Disclaimer

This is NOT A COPYRIGHT MATERIAL

Content has been taken mainly from the following books & websites:

Computer Graphics C Version By Donald Hearn, M. Pauline BakerSchaum's outline of theory and problems of computer graphics By Zhigang Xiang, Roy A. Plastock

Computer Graphics: Principles and Practice By James D. Foley

http://en.wikipedia.org/wiki/Computer_graphics

http://www.howstuffworks.com/3dgraphics.htm

http://www.graphics.cornell.edu/online/tutorial/

http://www.cgarena.com/

etc…

Page 3: CG - Display Devices

Vinay Arora

TU, CSED

Display Devices

� A Display Device is an Output device for presentation of Information for Visual reception.

� The Display Systems are often referred to as Video Monitor or Video Display Unit (VDU).

� Display Devices having CRT:-

DVST – Direct View Storage Tube

Random Scan

Raster Scan

Page 4: CG - Display Devices

Vinay Arora

TU, CSED

Computer Monitor - External View

Page 5: CG - Display Devices

Vinay Arora

TU, CSED

Computer Monitor - Internal View

Page 6: CG - Display Devices

Vinay Arora

TU, CSED

CRT

Page 7: CG - Display Devices

Vinay Arora

TU, CSED

Electron Gun

Page 8: CG - Display Devices

Vinay Arora

TU, CSED

Electron Gun

� Heat is supplied to the cathode by the Filament.

Page 9: CG - Display Devices

Vinay Arora

TU, CSED

CRT - Operation of Electron Gun

Page 10: CG - Display Devices

Vinay Arora

TU, CSED

Positively Charged Metal (No Accelerating Anode)

� A positively charged metal coating on the inside of the CRT envelope

near the phosphor screen.

Page 11: CG - Display Devices

Vinay Arora

TU, CSED

Electrostatic Deflection

Page 12: CG - Display Devices

Vinay Arora

TU, CSED

Magnetic Deflection

Page 13: CG - Display Devices

Vinay Arora

TU, CSED

Magnetic Coil

Page 14: CG - Display Devices

Vinay Arora

TU, CSED

CRT

Page 15: CG - Display Devices

Vinay Arora

TU, CSED

Brands of CRT

Page 16: CG - Display Devices

Vinay Arora

TU, CSED

Resolution

Page 17: CG - Display Devices

Vinay Arora

TU, CSED

Resolution

Page 18: CG - Display Devices

Vinay Arora

TU, CSED

Related Terms

� Fluorescence – Is the light emitted as electrons lose their excess energy

while the Phosphor is being struck by electrons.

� Phosphorescence – Is the light given off by the return of the relatively

more stable excited electrons to their unexcited state, once the electron

beam excitation is removed.

� Persistence – Time from the removal of the excitation to the moment

when Phosphorescence has decayed to 10% of the Initial Light Output.

Page 19: CG - Display Devices

Vinay Arora

TU, CSED

Raster Scan Display

� Raster Scan is the representation of images as a collection of pixels/dots

(A Rectangular array of Points or Dots)

� Pixel: One Dot or Picture element of the Raster

� Scan Line: A Row of Pixels

Page 20: CG - Display Devices

Vinay Arora

TU, CSED

Raster Scan Display (contd.)

� In a Raster Scan System, the electron beam is swept across the screen,

one row at a time from top to bottom.

Page 21: CG - Display Devices

Vinay Arora

TU, CSED

Raster Scan Display (contd.)

� Picture Definition is stored in a memory area called the Refresh Buffer

or Frame Buffer.

� Refresh Buffer or Frame Buffer This memory area holds the set of

intensity values for all the screen points.

� Stored Intensity values then retrieved from refresh buffer and “painted”

on the screen one row (scan line) at a time.

Page 22: CG - Display Devices

Vinay Arora

TU, CSED

Raster Scan Display (contd.)

Page 23: CG - Display Devices

Vinay Arora

TU, CSED

Raster Drawing

Page 24: CG - Display Devices

Vinay Arora

TU, CSED

Architecture - Raster System

� In addition to the Central Processing Unit (CPU), a special processor,

called the Video Controller or Display Controller, is used to control the

operation of the Display Device.

Page 25: CG - Display Devices

Vinay Arora

TU, CSED

Architecture - Raster System (Conti…)

� A fixed area of the system memory is reserved for the frame buffer, and

the video controller is given direct access to the frame buffer memory.

Page 26: CG - Display Devices

Vinay Arora

TU, CSED

Pixel Coordinate System

� In a Pixel Coordinate System the Pixel at the Lower Left corner of

an image is considered to be at the origin (0,0).

Page 27: CG - Display Devices

Vinay Arora

TU, CSED

Cartesian Coordinates

� Screen Positions, are referenced in Cartesian Coordinates.

� Scan Lines are then labeled from ymax at the top of the screen to 0 at the

bottom. Along each scan line, screen pixel positions are labeled from 0

to xmax.

Page 28: CG - Display Devices

Vinay Arora

TU, CSED

Registers for Storing Coordinates

Page 29: CG - Display Devices

Vinay Arora

TU, CSED

Random Scan Display

� In a Random Scan Display, a CRT has the electron beam directed only to the parts of the screen where a picture is to be drawn.

� Random Scan monitors draw a picture One Line at a time (Vector Display, Stroke – Writing or Calligraphic Displays).

� 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.

Page 30: CG - Display Devices

Vinay Arora

TU, CSED

Random Scan Display

� The component lines of a picture can be drawn and refreshed.

Page 31: CG - Display Devices

Vinay Arora

TU, CSED

Random Scan Drawing

Page 32: CG - Display Devices

Vinay Arora

TU, CSED

Architecture - Random System

Page 33: CG - Display Devices

Vinay Arora

TU, CSED

Random Scan Display

� Random Scan Displays are designed to draw all the component lines of

a picture 30 to 60 times each second.

Page 34: CG - Display Devices

Vinay Arora

TU, CSED

Vector Drawing

Page 35: CG - Display Devices

Vinay Arora

TU, CSED

Random Scan Drawing

� Random scan displays are designed for line drawing applications and

can not display realistic shaded scenes.

Page 36: CG - Display Devices

Vinay Arora

TU, CSED

View of Raster/Random

Page 37: CG - Display Devices

Vinay Arora

TU, CSED

Bitmap / Pixmap

� A Black-and-White System: Each Screen Point is either ON or OFF,

so only one bit per pixel is needed to control the intensity of screen

positions.

� On a Black-and-White System with one bit per pixel, the Frame Buffer

is called BITMAP.

� For system with multiple bits per pixel, the Frame Buffer is called

PIXMAP.

� Sometimes, refresh rates are described in unit of cycles per second, or

Hertz (HZ)

Page 38: CG - Display Devices

Vinay Arora

TU, CSED

Color CRT Monitors

� A CRT monitor displays color pictures by using a combination of

phosphors that emit different COLOR lights.

� Methods:-

1. Beam Penetration

2. Shadow Mask

Page 39: CG - Display Devices

Vinay Arora

TU, CSED

Beam Penetration Method

� Used with Random Scan monitors.

� Two layers of phosphor (red and green) are coated onto the inside of the

CRT screen.

� The display color depends on how far the electron beam penetrates

into the phosphor layers.

� The speed of the electrons, and the screen color at any point, is

controlled by the beam acceleration voltage.

Page 40: CG - Display Devices

Vinay Arora

TU, CSED

Beam Penetration Method (contd.)

� Only 4 colors are possible (red, green, orange, and yellow).

� Quality of pictures is not as good as with other methods.

Page 41: CG - Display Devices

Vinay Arora

TU, CSED

Shadow Mask Method

The color CRT has:-

� Three color phosphor dots (red, green and blue) at each point on the

screen.

� Three electron guns, each controlling the display of red, green and

blue light.

2 Methods for Implementation:-

1. Delta Method.

2. Inline Method.

Page 42: CG - Display Devices

Vinay Arora

TU, CSED

Shadow Mask Method (contd.)

� Used in raster scan system (including color TV)

� We obtain color variations by varying the intensity levels of the three

electron beam.

� Designed as RGB monitors.

� High quality raster graphics system have 24 bits per pixel in the frame

buffer (a Full Color System or a True Color System)

Page 43: CG - Display Devices

Vinay Arora

TU, CSED

Shadow Mask – Delta Method

Page 44: CG - Display Devices

Vinay Arora

TU, CSED

Delta Method

Page 45: CG - Display Devices

Vinay Arora

TU, CSED

Shadow Mask – Inline Method

Page 46: CG - Display Devices

Vinay Arora

TU, CSED

In Line Method

Page 47: CG - Display Devices

Vinay Arora

TU, CSED

Dot Pitch

Page 48: CG - Display Devices

Vinay Arora

TU, CSED

Flat Panel Displays

� A class of video devices that have reduce volume and weight compared

to a CRT.

� A significant feature of Flat Panel Displays is that they are thinner than

CRTs.

� Current uses for Flat Panel Displays:

Small TV monitors

Calculators

Pocket video games

Laptop computers

Advertisement board in elevators

Page 49: CG - Display Devices

Vinay Arora

TU, CSED

Flat CRT

� Electron beams are accelerated parallel to the screen, then deflected 90º

to the screen.

Page 50: CG - Display Devices

Vinay Arora

TU, CSED

Plasma Panel

� A layer of gas (usually neon) is sandwiched between two glass plates.

Page 51: CG - Display Devices

Vinay Arora

TU, CSED

Plasma Panel (Conti…)

Page 52: CG - Display Devices

Vinay Arora

TU, CSED

Plasma Panel (Conti…)

� By applying high voltage to a pair of horizontal & vertical conductors, a

small section of the gas at the intersection of the conductors break down

into glowing plasma of electrons and ions.

Page 53: CG - Display Devices

Vinay Arora

TU, CSED

Thin Film Electroluminescent

� The region between the glass plates is filled with a phosphor, such as

zinc sulfide doped with manganese.

Page 54: CG - Display Devices

Vinay Arora

TU, CSED

Light Emitting Diode (LED)

� A matrix of diodes is arranged to form the pixel positions in the display,

and picture definition is stored in a refresh buffer.

� Information is read from the refreshed buffer and converted to voltage

levels that are applied to the diodes to produce the light patterns in the

display.

Page 55: CG - Display Devices

Vinay Arora

TU, CSED

Liquid Crystal Displays (LCD)

� Used in small systems, such as calculators, laptop computers.

� Produce a picture by passing polarized light (from the surrounding

or from an internal light source) through a liquid-crystal material that

can be aligned to either block or transmit the light.

� Two glass plates, each containing a light polarizer at right angles to the

other plate, sandwich the liquid crystal materials.

� Rows of horizontal transparent conductor & columns of vertical

conductors (put into glass plates)

Page 56: CG - Display Devices

Vinay Arora

TU, CSED

LCD Display

Page 57: CG - Display Devices

Vinay Arora

TU, CSED

Off State

� To turn off the pixel, we apply a voltage to the two intersecting

conductor to align the molecules so that the light is not twisted.

Page 58: CG - Display Devices

Vinay Arora

TU, CSED

On State

� Polarized light passing through the material is twisted so that it

will pass through the opposite polarizer.

Page 59: CG - Display Devices

Vinay Arora

TU, CSED

Page 60: CG - Display Devices

Vinay Arora

TU, CSED

Color Model

Page 61: CG - Display Devices

Vinay Arora

TU, CSED

The RGB Color Model

� R, G, and B represent the colors produced by red, green and blue

phosphors, respectively.

Page 62: CG - Display Devices

Vinay Arora

TU, CSED

Color Depth, Bit Depth

� The number of discrete intensities that the video card is capable of generating for each color determines the maximum number of colors that can be displayed.

� The Number of Memory Bits required to store color information (intensity values for all three primary color components) about a pixel is called COLOR DEPTH or BIT DEPTH.

� A minimum of one memory bit (color depth=1) is required to storeintensity value either 0 or 1 for every screen pixel.

� If there are n pixels in an image a total of n bits memory used for storing intensity values (in a pure black & white image)

Page 63: CG - Display Devices

Vinay Arora

TU, CSED

Bit Plane

� The block of memory which stores (or is mapped with) intensity values

for each pixel (B& W image) is called a Bit Plane or Bitmap.

Page 64: CG - Display Devices

Vinay Arora

TU, CSED

3 Bit Color Display

� Color or gray levels can be achieved in the display using additional bit

planes.

Page 65: CG - Display Devices

Vinay Arora

TU, CSED

N Bit Planes & True Color

� The result for n bits per pixel (color depth=n) is a collection of n bit

planes (2n colors or gray shades at every pixel)

� For TRUE COLOR three bytes of information are used, one for each

of the red, blue and green signals that make a pixel.

� A byte can hold 256 different values and so 256 intensities setting are

possible for each electron gun which mean each primary color can have

256 intensities (256*256*256 color possible)

Page 66: CG - Display Devices

Vinay Arora

TU, CSED

True Color

Page 67: CG - Display Devices

Vinay Arora

TU, CSED

Frame Buffer

Page 68: CG - Display Devices

Vinay Arora

TU, CSED

Look Up Table (LUT)

Page 69: CG - Display Devices

Vinay Arora

TU, CSED

Frame Buffer with LUT

Page 70: CG - Display Devices

Vinay Arora

TU, CSED

Frame Buffer with LUT (Conti…)

Page 71: CG - Display Devices

Vinay Arora

TU, CSED

General Terms

� Modeling Coordinates

� World Coordinates

� Device Coordinates

� Geometric Transformations

� Viewing Transformations

� GKS (Graphics Kernel System)

� PHIGS/PHIGS+ (Programmer’s Hierarchical Interactive Graphics Standard)

Page 72: CG - Display Devices

Vinay Arora

TU, CSED

Transformation Sequence

Page 73: CG - Display Devices

Vinay Arora

TU, CSED

Horizontal/Vertical Retrace

� Horizontal Retrace: The return to the left of the screen, after refreshing

each scan line.

� Vertical Retrace: At the end of each frame the electron beam returns to

the top left corner of the screen to begin/start again.

Page 74: CG - Display Devices

Vinay Arora

TU, CSED

Interlacing

� On some raster systems (TV), each frame is displays in two passes using

an interlaced refresh procedure.

Page 75: CG - Display Devices

Vinay Arora

TU, CSED

Interlacing - Example

Page 76: CG - Display Devices

Vinay Arora

TU, CSED

Aspect Ratio

� The ASPECT RATIO of an image is the ratio of the width of the image

to its height, measured in Unit length or number of pixels. e.g. 2 x 2 inch

image and a 512 x 512 image would have an Aspect ratio of 1

Page 77: CG - Display Devices

Vinay Arora

TU, CSED

Resolution

� Can be defined as the Number of Pixels per unit Length.

� Normally Image Size is given as Total Number of pixels in Horizontal

direction times the Total number of pixels in Vertical direction.

e.g. 512 x 512, 1024 x 768 etc.

Page 78: CG - Display Devices

Vinay Arora

TU, CSED

Thnx…