尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Computer GraphicsComputer Graphics
Module-IModule-I
Graphics SystemsGraphics Systems
Ankit GargAnkit Garg
Objective
 Video Display Device
 CRT
 Types of Display System
 Color Generation Technique
 Input/Output Device
 Numerical based on display System
 Application of Computer Graphics
2
3
Video Display DevicesVideo Display Devices
 The primary output device in a graphical
system is the video monitor.
4
Cathode-ray tubes (CRT)Cathode-ray tubes (CRT)
Base
Connector
Pins
Y deflect
x deflect
Phosphor
Electron
Gun
Focusing
System
Control
grid
voltage
5
1. The electron gun emits a beam of electrons
(cathode rays).
2. The electron beam passes through focusingfocusing and
deflectiondeflection systems that direct it towards
specified positions on the phosphor-coated
screen.
3. When the beam hits the screen, the phosphor
emits a small spot of light at each position
contacted by the electron beam.
Because the light emitted by the phosphor fades very
quickly some method is needed for maintaining the
screen picture.
1. Redraw the picture by quickly directing the
electron beam back over the same screen points.
Basic operations of a CRTBasic operations of a CRT
Steps
6
Phosphor PersistencePhosphor Persistence
Definition:Definition: The time from the initial light output to
the moment when has decayed to its 10%.
There are different kind of phosphors for use in a
CRT. Besides color, a major difference is their
persistence – how long they continue to emit light
after the CRT beam is removed.
A phosphor with low-persistence is useful in
animation.
A high-persistence phosphor is useful for displaying
highly complex, static pictures.
Graphics monitors are usually constructed with a
persistence in the range from 10 to 60 microseconds.
7
Developed in the early seventies.
It is today's dominant hardware technology.
Almost all graphics systems are raster-based.
A picture is produced as an array – the rasterraster – of
picture elements.
This elements are called PixelsPixels or Pels (Picture
Elements). A pixel corresponds to a location, or
small area, in the image.
Collectively, the pixels are stored in a part of
memory called the refresh bufferrefresh buffer or frame bufferframe buffer.
Raster Scan DisplaysRaster Scan Displays
8
ResolutionResolution
The maximum number of points (pixels) that can be
displayed without overlap on a screen is referred to as the
resolution, and determines the detail that can be seen in an
image.
A more precise definition is the number of points per
centimeter that can be plotted horizontally and vertically,
although it is often simply stated as the total number of
points in each direction (i.e. 1280 × 1024).
The physical size of a graphics monitor, on the other hand,
is given as the length (in inches) of the screen diagonal.
9
 The aspect ratio gives the ratio of vertical points
to horizontal points necessary to produce equal-
length lines in both directions on the screen. So
4:3 (most common) means that a vertical line
plotted with 4 points has the same length as a
horizontal line plotted with 3 points.
10
The Frame BufferThe Frame Buffer
x
y
0
0 800
600
Display surfaceFrame buffer
pixel at address (x,y) spot at (x,y)
at (800,600)
11
Frame
Buffers
 A frame buffer may be thought of as computer memory organized
as a two-dimensional array with each (x,y) addressable location
corresponding to one pixel.
 Bit Planes or Bit Depth is the number of bits corresponding to each
pixel.
 A typical frame buffer resolution might be
– 640 x 480 x 8
– 1280 x 1024 x 8
– 1280 x 1024 x 24
12
Monochrome Display
(Bit-map Display)
Electron
Gun
1 bit
2 levels
13
3-Bit Color Display
3
red
green
blue
COLOR: black red green blue yellow cyan magenta white
R
G
B
0
0
0
1
0
0
0
1
0
0
0
1
1
1
0
0
1
1
1
0
1
1
1
1
14
True Color Display
24 bit planes, 8 bits per color gun.
224
= 16,777,216
Green
Red
Blue
N
N
N
15
Refresh RateRefresh Rate
 Definition:Definition: The number of times per second the image is
redrawn.
 The entire contents of the frame buffer are displayed on
the CRT at a rate high enough to avoid flicker. This rate
is called the refresh raterefresh rate.
 For a human to see a steady image on most CRT displays,
the same path must be retraced, or refreshed, by the beam
at least 60 times per second.
 Current raster-scan displays perform refreshing at the rate
of 60 to 80 frames per second, although some systems
now have refresh rates of up to 120 frames per second.
 Refresh rates are described in units of cycles per second,
or Hertz (Hz), where a cycle corresponds to one frame
(i.e. a refresh rate of 60 frames per second = 60 Hz).
16
Refresh-rate for films and TVRefresh-rate for films and TV
 On films, below 24 frames per second, we can perceive a
gap between successive screen images.
– Old silent films show flicker because they where photographed at
a rate of 16 frames per second.
– When sound systems were developed in the 1920s, motion
picture film rates increased to 24 frames per second removing
flickering.
– Today TV refresh rate is 25 frames per second in Europe and 30
frames per second in the USA.
17
The depth (or intensity) of the frame
buffer, defined as the number of bits that
are used for each pixel, determines
properties such as how many colors can be
represented on a given system.
1-bit-deep frame buffer allows 21
colors (black
and white)
8-bit-deep frame buffer allows 28
(=256) colors
In full color systems (also called RGB-color
systems), there are 24 (or more) bits per pixel in
order to display sufficient colors to represent
most images realistically.
Raster Scan Displays
– Raster: A rectangular array of points or dots
– Pixel: One dot or picture element of the raster.
Its intensity range for pixels depends on
capability of the system
– Scan line: A row of pixels
– Picture elements are stored in a memory called
frame buffer
18
19
Raster Scan DisplaysRaster Scan Displays
Electron beam “paints” the picture on screen one
line at a time.
Vertical
retrace
Horizontal
retrace
Scan line
000000000000000000000
000000000111000000000
000000111111111000000
000111111111111111000
000111110000011111000
000111111111111111000
000111111000111111000
000111111000111111000
000111111000111111000
000111111000111111000
000111111111111111000
000000000000000000000
20
Raster Scan DisplaysRaster Scan Displays
They are based on TV technology
Refresh rate = 60 to 80 frames per second.
Note: Below 24 frames/second, eye detects flicker.
Each screen point is visited every refresh cycle.
Their capability to store intensity information for
each screen point makes them well suited for the
realistic display of scenes containing shading and
color patterns.
The frame-buffer with 1-bit intensity is called a
bitmap.
The frame-buffer with multiple-bits intensity is called
a pixmap.
21
Random-Scan (Vector) displaysRandom-Scan (Vector) displays
Vector stands for line.
Developed in the mid-sixties and in common use until the
mid-eighties.
The electron beam is directed only to parts of the screen
where the picture is to be drawn.
MoveTo (300,800)
LineTo (700,800)
LineTo (500,300)
LineTo (300,800)
22
Random Scan DisplaysRandom Scan Displays
Picture is stored as a set of point- and line-drawing
commands with (x,y) or (x,y,z) endpoint coordinates, as
well as character-plotting commands.
Refresh rate depends on the number of lines to be
displayed. To avoid flicker it must be at least 30 times per
second (30 Hz).
They are designed to draw all the component lines of a
picture 30 to 60 times per second – more than 60 could
burn the phosphor.
High quality vector systems are capable of handling
approximately 100,000 lines at this refresh rate.
They are designed for line drawing applications and cannot
display realistic shaded images.
23
Raster Scan Vs Random ScanRaster Scan Vs Random Scan
Random scanRaster scan
2 Basic Techniques for Color Display
Beam-Penetration
Method
Shadow-Mask
Method
25
Beam-Penetration Method
 Used with random scan monitors
 The screen has two layers of phosphor: usually red and green
 The displayed color depends on how far the electron beam penetrates
through the two layers.
 A beam of slow electrons excites only the outer of the red layer, a beam
of fast electrons penetrates through the red layer and excites the inner
green layer, and at intermediate beam speeds, combinations of the two
colors are emitted to show other colors (yellow & orange).
26
Shadow-Mask Method
Color CRTs have
– Three electron guns
– A metal shadow mask to differentiate the
beams
 The Shadow mask in the previous image is known as the delta-delta
shadow-mask.
 The 3 electron beams are deflected and focused as a group onto the
shadow mask, which contains a series of holes aligned with the
phosphor-dot patterns.
 The 3 beams pass through a hole in the shadow mask and activate a dot
triangle, which appears as a small color spot on the screen.
Beam Penetration VS Shadow
mask
28
Controlling Colors in shadow mask
 Different colors can be obtained by varying the intensity levels of the
three electron beams.
 Example: Simply turning off the red and green guns, we get only the
color coming from the blue phosphor.
 Yellow = Green + Red
 Magenta = Blue + Red
 Cyan = Blue + Green
 White is produced when all the 3 guns possess equal amount of
intensity.
30
Display Processor
 Also called either a Graphics Controller or Display Co-Processor.
 Specialized hardware to assist in scan converting output
primitives into the frame buffer.
 The display processor is used to convert digital information from
the CPU into analog value needed by the display device.
 A major task of display processor is to perform a process called
scan conversion. It is the process of separating contiguous
graphics objects as a collection of ellipse, rectangles and
polygons.
31
Video
ControllerCycles through the frame buffer, one scan line at a time. Contents of the
memory are used the control the CRT's beam intensity or color.
X address
Y address
Pixel
value(s)
Raster scan
generator
Data
Horizontal
and vertical
deflection
signals
Intensity
or color
Linear
address
Set or increment
Set or decrement
M
e
m
o
r
y
32
Input DevicesInput Devices
 Keyboard
– Entering non-graphical data (i.e. text)
Each device is more suitable for certain tasks than for others
33
 Optical Detector Mouse
• Measure distance traveled by counting lines on a
special pad.
 Mouse
• Used to select a location to the screen.
• The motion of the roller at the bottom of the mouse is
converted into signals sent back to the computer.
34
 Trackball
• Similar in use to the mouse.
• Popular with portable computers because they
can be incorporated directly into the keyboard.
• There exist various pressure-sensitive devices
in keyboards that perform similar functions to
the mouse and trackball.
35
 Data Tablet
– It has rows and columns of wires embedded
under its surface. The position of the stylus is
determined through electromagnetic
interactions between signals traveling through
the wires and sensors in the stylus.
 Touch-Sensitive Screens
– Have many of the same properties as Data
Tablet.
36
 Light pen
– If it is positioned on the face of the CRT at a
location, a signal is sent to the computer.
– Not very popular as other devices.
37
 Joystick
– The motion of the screen in two orthogonal
directions is encoded and integrated to identify
a screen location.
– Variable sensitive device – well suited for
flight simulators and games.
38
 Spaceball
– 3D input device
– Stick does not move but it has pressure
sensors (rotations).
– 3 independent twists (translations).
39
 Z-mouse
– 3D input device
– It has three buttons, a thumbwheel on the
sided, a trackball on the top, and a standard
mouse ball underneath.
40
 Data Glove
– Used to grasp a “virtual” object.
– Sensors detect hand and finger motions.
41
 Digitizers
– 2D or 3D input devices.
– Interactive selection of coordinate positions on
an object.
– Wireframe models – rectangular grid

More Related Content

What's hot

Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2
Iftikhar Ahmad
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
A B Shinde
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4
PrathimaBaliga
 
Raster Scan display
Raster Scan displayRaster Scan display
Raster Scan display
Lokesh Singrol
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
Gurpreet singh
 
Bresenham's line algorithm
Bresenham's line algorithmBresenham's line algorithm
Bresenham's line algorithm
Pooja Dixit
 
lecture2 computer graphics graphics hardware(Computer graphics tutorials)
 lecture2  computer graphics graphics hardware(Computer graphics tutorials) lecture2  computer graphics graphics hardware(Computer graphics tutorials)
lecture2 computer graphics graphics hardware(Computer graphics tutorials)
Daroko blog(www.professionalbloggertricks.com)
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
dhruv141293
 
Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics System
PrathimaBaliga
 
Bresenham's line drawing algorithm
Bresenham's line drawing algorithmBresenham's line drawing algorithm
Bresenham's line drawing algorithm
nehrurevathy
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
Mohsin Azam
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
Mohd Arif
 
Output primitives in Computer Graphics
Output primitives in Computer GraphicsOutput primitives in Computer Graphics
Output primitives in Computer Graphics
Kamal Acharya
 
raster and random scan
raster and random scanraster and random scan
raster and random scan
Sonia Pahuja
 
COM2304: Color and Color Models
COM2304: Color and Color ModelsCOM2304: Color and Color Models
COM2304: Color and Color Models
Hemantha Kulathilake
 
Color Models
Color ModelsColor Models
Color Models
Mustafa Salam
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
Ankur Soni
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
Mohd Arif
 
BRESENHAM’S LINE DRAWING ALGORITHM
BRESENHAM’S  LINE DRAWING ALGORITHMBRESENHAM’S  LINE DRAWING ALGORITHM
BRESENHAM’S LINE DRAWING ALGORITHM
St Mary's College,Thrissur,Kerala
 
Applications of computer graphics
Applications of computer graphicsApplications of computer graphics
Applications of computer graphics
-jyothish kumar sirigidi
 

What's hot (20)

Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4
 
Raster Scan display
Raster Scan displayRaster Scan display
Raster Scan display
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
 
Bresenham's line algorithm
Bresenham's line algorithmBresenham's line algorithm
Bresenham's line algorithm
 
lecture2 computer graphics graphics hardware(Computer graphics tutorials)
 lecture2  computer graphics graphics hardware(Computer graphics tutorials) lecture2  computer graphics graphics hardware(Computer graphics tutorials)
lecture2 computer graphics graphics hardware(Computer graphics tutorials)
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
 
Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics System
 
Bresenham's line drawing algorithm
Bresenham's line drawing algorithmBresenham's line drawing algorithm
Bresenham's line drawing algorithm
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
 
Output primitives in Computer Graphics
Output primitives in Computer GraphicsOutput primitives in Computer Graphics
Output primitives in Computer Graphics
 
raster and random scan
raster and random scanraster and random scan
raster and random scan
 
COM2304: Color and Color Models
COM2304: Color and Color ModelsCOM2304: Color and Color Models
COM2304: Color and Color Models
 
Color Models
Color ModelsColor Models
Color Models
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
 
BRESENHAM’S LINE DRAWING ALGORITHM
BRESENHAM’S  LINE DRAWING ALGORITHMBRESENHAM’S  LINE DRAWING ALGORITHM
BRESENHAM’S LINE DRAWING ALGORITHM
 
Applications of computer graphics
Applications of computer graphicsApplications of computer graphics
Applications of computer graphics
 

Similar to Unit 1

lect-2.ppt
lect-2.pptlect-2.ppt
lect-2.ppt
Deivendran2
 
Display device
Display deviceDisplay device
Display device
GunjanGaur5
 
Unit i
Unit  iUnit  i
Unit i
poshika
 
Introduction to computer graphics part 2
Introduction to computer graphics part 2Introduction to computer graphics part 2
Introduction to computer graphics part 2
Ankit Garg
 
Computer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT DevicesComputer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT Devices
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
Lecture 2&3
Lecture 2&3 Lecture 2&3
Lecture 2&3
mahammed rashid
 
Introduction to computer graphics and multimedia
Introduction to computer graphics and multimediaIntroduction to computer graphics and multimedia
Introduction to computer graphics and multimedia
Shweta Shah
 
Crt notes
Crt notesCrt notes
Crt notes
Crt notesCrt notes
Overview-of-GraphicsSystem@2334444_5.ppt
Overview-of-GraphicsSystem@2334444_5.pptOverview-of-GraphicsSystem@2334444_5.ppt
Overview-of-GraphicsSystem@2334444_5.ppt
vijaybhasker26
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
Kamal Acharya
 
Raster Scan and Raster Scan Displays
Raster Scan and Raster Scan DisplaysRaster Scan and Raster Scan Displays
Raster Scan and Raster Scan Displays
Saravana Priya
 
Display technology
Display technologyDisplay technology
Graphics display devices
Graphics display devicesGraphics display devices
Graphics display devices
alldesign
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
SanthiNivas
 
Introduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptxIntroduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptx
AhmadAbba6
 
Cg Chap 02
Cg Chap 02Cg Chap 02
CG03 Random Raster Scan displays and Color CRTs.ppsx
CG03 Random Raster Scan displays and Color CRTs.ppsxCG03 Random Raster Scan displays and Color CRTs.ppsx
CG03 Random Raster Scan displays and Color CRTs.ppsx
jyoti_lakhani
 
Cgmm introduction
Cgmm introductionCgmm introduction
Cgmm introduction
SIRT BHOPAL
 
Display techniques
Display techniquesDisplay techniques
Display techniques
Mohd Arif
 

Similar to Unit 1 (20)

lect-2.ppt
lect-2.pptlect-2.ppt
lect-2.ppt
 
Display device
Display deviceDisplay device
Display device
 
Unit i
Unit  iUnit  i
Unit i
 
Introduction to computer graphics part 2
Introduction to computer graphics part 2Introduction to computer graphics part 2
Introduction to computer graphics part 2
 
Computer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT DevicesComputer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT Devices
 
Lecture 2&3
Lecture 2&3 Lecture 2&3
Lecture 2&3
 
Introduction to computer graphics and multimedia
Introduction to computer graphics and multimediaIntroduction to computer graphics and multimedia
Introduction to computer graphics and multimedia
 
Crt notes
Crt notesCrt notes
Crt notes
 
Crt notes
Crt notesCrt notes
Crt notes
 
Overview-of-GraphicsSystem@2334444_5.ppt
Overview-of-GraphicsSystem@2334444_5.pptOverview-of-GraphicsSystem@2334444_5.ppt
Overview-of-GraphicsSystem@2334444_5.ppt
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
 
Raster Scan and Raster Scan Displays
Raster Scan and Raster Scan DisplaysRaster Scan and Raster Scan Displays
Raster Scan and Raster Scan Displays
 
Display technology
Display technologyDisplay technology
Display technology
 
Graphics display devices
Graphics display devicesGraphics display devices
Graphics display devices
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Introduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptxIntroduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptx
 
Cg Chap 02
Cg Chap 02Cg Chap 02
Cg Chap 02
 
CG03 Random Raster Scan displays and Color CRTs.ppsx
CG03 Random Raster Scan displays and Color CRTs.ppsxCG03 Random Raster Scan displays and Color CRTs.ppsx
CG03 Random Raster Scan displays and Color CRTs.ppsx
 
Cgmm introduction
Cgmm introductionCgmm introduction
Cgmm introduction
 
Display techniques
Display techniquesDisplay techniques
Display techniques
 

More from Ankit Garg

Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1
Ankit Garg
 
Curve clipping
Curve clippingCurve clipping
Curve clipping
Ankit Garg
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
Ankit Garg
 
Projection ppt
Projection pptProjection ppt
Projection ppt
Ankit Garg
 
Polygon filling
Polygon fillingPolygon filling
Polygon filling
Ankit Garg
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
Ankit Garg
 
Numerical unit 1
Numerical unit 1Numerical unit 1
Numerical unit 1
Ankit Garg
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
Ankit Garg
 
Line clipping
Line clippingLine clipping
Line clipping
Ankit Garg
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
Ankit Garg
 
Graphics software standards
Graphics software standardsGraphics software standards
Graphics software standards
Ankit Garg
 
Fractal introduction and applications modified version
Fractal introduction and applications modified versionFractal introduction and applications modified version
Fractal introduction and applications modified version
Ankit Garg
 
Digital image processing & computer graphics
Digital image processing & computer graphicsDigital image processing & computer graphics
Digital image processing & computer graphics
Ankit Garg
 
Concept of basic illumination model
Concept of basic illumination modelConcept of basic illumination model
Concept of basic illumination model
Ankit Garg
 
Circle generation algorithm
Circle generation algorithmCircle generation algorithm
Circle generation algorithm
Ankit Garg
 
Character generation
Character generationCharacter generation
Character generation
Ankit Garg
 
Applications of cg
Applications of cgApplications of cg
Applications of cg
Ankit Garg
 
2 d transformation
2 d transformation2 d transformation
2 d transformation
Ankit Garg
 
3 d transformations
3 d transformations3 d transformations
3 d transformations
Ankit Garg
 

More from Ankit Garg (19)

Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1
 
Curve clipping
Curve clippingCurve clipping
Curve clipping
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
 
Projection ppt
Projection pptProjection ppt
Projection ppt
 
Polygon filling
Polygon fillingPolygon filling
Polygon filling
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
 
Numerical unit 1
Numerical unit 1Numerical unit 1
Numerical unit 1
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
 
Line clipping
Line clippingLine clipping
Line clipping
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
Graphics software standards
Graphics software standardsGraphics software standards
Graphics software standards
 
Fractal introduction and applications modified version
Fractal introduction and applications modified versionFractal introduction and applications modified version
Fractal introduction and applications modified version
 
Digital image processing & computer graphics
Digital image processing & computer graphicsDigital image processing & computer graphics
Digital image processing & computer graphics
 
Concept of basic illumination model
Concept of basic illumination modelConcept of basic illumination model
Concept of basic illumination model
 
Circle generation algorithm
Circle generation algorithmCircle generation algorithm
Circle generation algorithm
 
Character generation
Character generationCharacter generation
Character generation
 
Applications of cg
Applications of cgApplications of cg
Applications of cg
 
2 d transformation
2 d transformation2 d transformation
2 d transformation
 
3 d transformations
3 d transformations3 d transformations
3 d transformations
 

Recently uploaded

一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
gapboxn
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Poonam Singh
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
AK47
 
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
dABGO KI CITy kUSHINAGAR Ak47
 
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
hotchicksescort
 
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
shourabjaat424
 
Online train ticket booking system project.pdf
Online train ticket booking system project.pdfOnline train ticket booking system project.pdf
Online train ticket booking system project.pdf
Kamal Acharya
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
Geoffrey Wardle. MSc. MSc. Snr.MAIAA
 
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Dr.Costas Sachpazis
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
Kamal Acharya
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
Kamal Acharya
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
Lubi Valves
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
felixwold
 
BBOC407 Module 1.pptx Biology for Engineers
BBOC407  Module 1.pptx Biology for EngineersBBOC407  Module 1.pptx Biology for Engineers
BBOC407 Module 1.pptx Biology for Engineers
sathishkumars808912
 
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdfSri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
Balvir Singh
 
paper relate Chozhavendhan et al. 2020.pdf
paper relate Chozhavendhan et al. 2020.pdfpaper relate Chozhavendhan et al. 2020.pdf
paper relate Chozhavendhan et al. 2020.pdf
ShurooqTaib
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
sonamrawat5631
 
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
nonods
 
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book NowKandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
SONALI Batra $A12
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
Tsuyoshi Horigome
 

Recently uploaded (20)

一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
 
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
 
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
 
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
 
Online train ticket booking system project.pdf
Online train ticket booking system project.pdfOnline train ticket booking system project.pdf
Online train ticket booking system project.pdf
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
 
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
 
BBOC407 Module 1.pptx Biology for Engineers
BBOC407  Module 1.pptx Biology for EngineersBBOC407  Module 1.pptx Biology for Engineers
BBOC407 Module 1.pptx Biology for Engineers
 
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdfSri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
 
paper relate Chozhavendhan et al. 2020.pdf
paper relate Chozhavendhan et al. 2020.pdfpaper relate Chozhavendhan et al. 2020.pdf
paper relate Chozhavendhan et al. 2020.pdf
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
 
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
 
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book NowKandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
 

Unit 1

  • 1. Computer GraphicsComputer Graphics Module-IModule-I Graphics SystemsGraphics Systems Ankit GargAnkit Garg
  • 2. Objective  Video Display Device  CRT  Types of Display System  Color Generation Technique  Input/Output Device  Numerical based on display System  Application of Computer Graphics 2
  • 3. 3 Video Display DevicesVideo Display Devices  The primary output device in a graphical system is the video monitor.
  • 4. 4 Cathode-ray tubes (CRT)Cathode-ray tubes (CRT) Base Connector Pins Y deflect x deflect Phosphor Electron Gun Focusing System Control grid voltage
  • 5. 5 1. The electron gun emits a beam of electrons (cathode rays). 2. The electron beam passes through focusingfocusing and deflectiondeflection systems that direct it towards specified positions on the phosphor-coated screen. 3. When the beam hits the screen, the phosphor emits a small spot of light at each position contacted by the electron beam. Because the light emitted by the phosphor fades very quickly some method is needed for maintaining the screen picture. 1. Redraw the picture by quickly directing the electron beam back over the same screen points. Basic operations of a CRTBasic operations of a CRT Steps
  • 6. 6 Phosphor PersistencePhosphor Persistence Definition:Definition: The time from the initial light output to the moment when has decayed to its 10%. There are different kind of phosphors for use in a CRT. Besides color, a major difference is their persistence – how long they continue to emit light after the CRT beam is removed. A phosphor with low-persistence is useful in animation. A high-persistence phosphor is useful for displaying highly complex, static pictures. Graphics monitors are usually constructed with a persistence in the range from 10 to 60 microseconds.
  • 7. 7 Developed in the early seventies. It is today's dominant hardware technology. Almost all graphics systems are raster-based. A picture is produced as an array – the rasterraster – of picture elements. This elements are called PixelsPixels or Pels (Picture Elements). A pixel corresponds to a location, or small area, in the image. Collectively, the pixels are stored in a part of memory called the refresh bufferrefresh buffer or frame bufferframe buffer. Raster Scan DisplaysRaster Scan Displays
  • 8. 8 ResolutionResolution The maximum number of points (pixels) that can be displayed without overlap on a screen is referred to as the resolution, and determines the detail that can be seen in an image. A more precise definition is the number of points per centimeter that can be plotted horizontally and vertically, although it is often simply stated as the total number of points in each direction (i.e. 1280 × 1024). The physical size of a graphics monitor, on the other hand, is given as the length (in inches) of the screen diagonal.
  • 9. 9  The aspect ratio gives the ratio of vertical points to horizontal points necessary to produce equal- length lines in both directions on the screen. So 4:3 (most common) means that a vertical line plotted with 4 points has the same length as a horizontal line plotted with 3 points.
  • 10. 10 The Frame BufferThe Frame Buffer x y 0 0 800 600 Display surfaceFrame buffer pixel at address (x,y) spot at (x,y) at (800,600)
  • 11. 11 Frame Buffers  A frame buffer may be thought of as computer memory organized as a two-dimensional array with each (x,y) addressable location corresponding to one pixel.  Bit Planes or Bit Depth is the number of bits corresponding to each pixel.  A typical frame buffer resolution might be – 640 x 480 x 8 – 1280 x 1024 x 8 – 1280 x 1024 x 24
  • 13. 13 3-Bit Color Display 3 red green blue COLOR: black red green blue yellow cyan magenta white R G B 0 0 0 1 0 0 0 1 0 0 0 1 1 1 0 0 1 1 1 0 1 1 1 1
  • 14. 14 True Color Display 24 bit planes, 8 bits per color gun. 224 = 16,777,216 Green Red Blue N N N
  • 15. 15 Refresh RateRefresh Rate  Definition:Definition: The number of times per second the image is redrawn.  The entire contents of the frame buffer are displayed on the CRT at a rate high enough to avoid flicker. This rate is called the refresh raterefresh rate.  For a human to see a steady image on most CRT displays, the same path must be retraced, or refreshed, by the beam at least 60 times per second.  Current raster-scan displays perform refreshing at the rate of 60 to 80 frames per second, although some systems now have refresh rates of up to 120 frames per second.  Refresh rates are described in units of cycles per second, or Hertz (Hz), where a cycle corresponds to one frame (i.e. a refresh rate of 60 frames per second = 60 Hz).
  • 16. 16 Refresh-rate for films and TVRefresh-rate for films and TV  On films, below 24 frames per second, we can perceive a gap between successive screen images. – Old silent films show flicker because they where photographed at a rate of 16 frames per second. – When sound systems were developed in the 1920s, motion picture film rates increased to 24 frames per second removing flickering. – Today TV refresh rate is 25 frames per second in Europe and 30 frames per second in the USA.
  • 17. 17 The depth (or intensity) of the frame buffer, defined as the number of bits that are used for each pixel, determines properties such as how many colors can be represented on a given system. 1-bit-deep frame buffer allows 21 colors (black and white) 8-bit-deep frame buffer allows 28 (=256) colors In full color systems (also called RGB-color systems), there are 24 (or more) bits per pixel in order to display sufficient colors to represent most images realistically.
  • 18. Raster Scan Displays – Raster: A rectangular array of points or dots – Pixel: One dot or picture element of the raster. Its intensity range for pixels depends on capability of the system – Scan line: A row of pixels – Picture elements are stored in a memory called frame buffer 18
  • 19. 19 Raster Scan DisplaysRaster Scan Displays Electron beam “paints” the picture on screen one line at a time. Vertical retrace Horizontal retrace Scan line 000000000000000000000 000000000111000000000 000000111111111000000 000111111111111111000 000111110000011111000 000111111111111111000 000111111000111111000 000111111000111111000 000111111000111111000 000111111000111111000 000111111111111111000 000000000000000000000
  • 20. 20 Raster Scan DisplaysRaster Scan Displays They are based on TV technology Refresh rate = 60 to 80 frames per second. Note: Below 24 frames/second, eye detects flicker. Each screen point is visited every refresh cycle. Their capability to store intensity information for each screen point makes them well suited for the realistic display of scenes containing shading and color patterns. The frame-buffer with 1-bit intensity is called a bitmap. The frame-buffer with multiple-bits intensity is called a pixmap.
  • 21. 21 Random-Scan (Vector) displaysRandom-Scan (Vector) displays Vector stands for line. Developed in the mid-sixties and in common use until the mid-eighties. The electron beam is directed only to parts of the screen where the picture is to be drawn. MoveTo (300,800) LineTo (700,800) LineTo (500,300) LineTo (300,800)
  • 22. 22 Random Scan DisplaysRandom Scan Displays Picture is stored as a set of point- and line-drawing commands with (x,y) or (x,y,z) endpoint coordinates, as well as character-plotting commands. Refresh rate depends on the number of lines to be displayed. To avoid flicker it must be at least 30 times per second (30 Hz). They are designed to draw all the component lines of a picture 30 to 60 times per second – more than 60 could burn the phosphor. High quality vector systems are capable of handling approximately 100,000 lines at this refresh rate. They are designed for line drawing applications and cannot display realistic shaded images.
  • 23. 23 Raster Scan Vs Random ScanRaster Scan Vs Random Scan Random scanRaster scan
  • 24. 2 Basic Techniques for Color Display Beam-Penetration Method Shadow-Mask Method
  • 25. 25 Beam-Penetration Method  Used with random scan monitors  The screen has two layers of phosphor: usually red and green  The displayed color depends on how far the electron beam penetrates through the two layers.  A beam of slow electrons excites only the outer of the red layer, a beam of fast electrons penetrates through the red layer and excites the inner green layer, and at intermediate beam speeds, combinations of the two colors are emitted to show other colors (yellow & orange).
  • 26. 26 Shadow-Mask Method Color CRTs have – Three electron guns – A metal shadow mask to differentiate the beams
  • 27.  The Shadow mask in the previous image is known as the delta-delta shadow-mask.  The 3 electron beams are deflected and focused as a group onto the shadow mask, which contains a series of holes aligned with the phosphor-dot patterns.  The 3 beams pass through a hole in the shadow mask and activate a dot triangle, which appears as a small color spot on the screen.
  • 28. Beam Penetration VS Shadow mask 28
  • 29. Controlling Colors in shadow mask  Different colors can be obtained by varying the intensity levels of the three electron beams.  Example: Simply turning off the red and green guns, we get only the color coming from the blue phosphor.  Yellow = Green + Red  Magenta = Blue + Red  Cyan = Blue + Green  White is produced when all the 3 guns possess equal amount of intensity.
  • 30. 30 Display Processor  Also called either a Graphics Controller or Display Co-Processor.  Specialized hardware to assist in scan converting output primitives into the frame buffer.  The display processor is used to convert digital information from the CPU into analog value needed by the display device.  A major task of display processor is to perform a process called scan conversion. It is the process of separating contiguous graphics objects as a collection of ellipse, rectangles and polygons.
  • 31. 31 Video ControllerCycles through the frame buffer, one scan line at a time. Contents of the memory are used the control the CRT's beam intensity or color. X address Y address Pixel value(s) Raster scan generator Data Horizontal and vertical deflection signals Intensity or color Linear address Set or increment Set or decrement M e m o r y
  • 32. 32 Input DevicesInput Devices  Keyboard – Entering non-graphical data (i.e. text) Each device is more suitable for certain tasks than for others
  • 33. 33  Optical Detector Mouse • Measure distance traveled by counting lines on a special pad.  Mouse • Used to select a location to the screen. • The motion of the roller at the bottom of the mouse is converted into signals sent back to the computer.
  • 34. 34  Trackball • Similar in use to the mouse. • Popular with portable computers because they can be incorporated directly into the keyboard. • There exist various pressure-sensitive devices in keyboards that perform similar functions to the mouse and trackball.
  • 35. 35  Data Tablet – It has rows and columns of wires embedded under its surface. The position of the stylus is determined through electromagnetic interactions between signals traveling through the wires and sensors in the stylus.  Touch-Sensitive Screens – Have many of the same properties as Data Tablet.
  • 36. 36  Light pen – If it is positioned on the face of the CRT at a location, a signal is sent to the computer. – Not very popular as other devices.
  • 37. 37  Joystick – The motion of the screen in two orthogonal directions is encoded and integrated to identify a screen location. – Variable sensitive device – well suited for flight simulators and games.
  • 38. 38  Spaceball – 3D input device – Stick does not move but it has pressure sensors (rotations). – 3 independent twists (translations).
  • 39. 39  Z-mouse – 3D input device – It has three buttons, a thumbwheel on the sided, a trackball on the top, and a standard mouse ball underneath.
  • 40. 40  Data Glove – Used to grasp a “virtual” object. – Sensors detect hand and finger motions.
  • 41. 41  Digitizers – 2D or 3D input devices. – Interactive selection of coordinate positions on an object. – Wireframe models – rectangular grid
  翻译: