SlideShare ist ein Scribd-Unternehmen logo
1 von 41
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

Weitere ähnliche Inhalte

Was ist angesagt?

Graphics software and standards
Graphics software and standardsGraphics software and standards
Graphics software and standardsMani Kanth
 
Raster animation
Raster animationRaster animation
Raster animationabhijit754
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4PrathimaBaliga
 
Raster Scan and Raster Scan Displays
Raster Scan and Raster Scan DisplaysRaster Scan and Raster Scan Displays
Raster Scan and Raster Scan DisplaysSaravana Priya
 
Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)shalinikarunakaran1
 
Video display devices
Video display devicesVideo display devices
Video display devicesMohd Arif
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics systemKamal Acharya
 
Raster Scan And Random Scan
Raster Scan And Random ScanRaster Scan And Random Scan
Raster Scan And Random ScanDevika Rangnekar
 
Graphics software standards
Graphics software standardsGraphics software standards
Graphics software standardsAnkit Garg
 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphicsAaina Katyal
 
Segments in Graphics
Segments in GraphicsSegments in Graphics
Segments in GraphicsRajani Thite
 
Attributes of output primitives( curve attributes & area fill attributes)
Attributes of output primitives( curve attributes & area fill attributes)Attributes of output primitives( curve attributes & area fill attributes)
Attributes of output primitives( curve attributes & area fill attributes)shalinikarunakaran1
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notessmruti sarangi
 
Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2Iftikhar Ahmad
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewingRabin BK
 
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPTHOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPTAhtesham Ullah khan
 
Raster scan system
Raster scan systemRaster scan system
Raster scan systemMohd Arif
 
Multimedia data and file format
Multimedia data and file formatMultimedia data and file format
Multimedia data and file formatNiketa Jain
 
Attributes of Output Primitives
Attributes of Output PrimitivesAttributes of Output Primitives
Attributes of Output PrimitivesRenita Santhmayora
 

Was ist angesagt? (20)

Graphics software and standards
Graphics software and standardsGraphics software and standards
Graphics software and standards
 
Frame buffer
Frame bufferFrame buffer
Frame buffer
 
Raster animation
Raster animationRaster animation
Raster animation
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4
 
Raster Scan and Raster Scan Displays
Raster Scan and Raster Scan DisplaysRaster Scan and Raster Scan Displays
Raster Scan and Raster Scan Displays
 
Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)
 
Video display devices
Video display devicesVideo display devices
Video display devices
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
 
Raster Scan And Random Scan
Raster Scan And Random ScanRaster Scan And Random Scan
Raster Scan And Random Scan
 
Graphics software standards
Graphics software standardsGraphics software standards
Graphics software standards
 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphics
 
Segments in Graphics
Segments in GraphicsSegments in Graphics
Segments in Graphics
 
Attributes of output primitives( curve attributes & area fill attributes)
Attributes of output primitives( curve attributes & area fill attributes)Attributes of output primitives( curve attributes & area fill attributes)
Attributes of output primitives( curve attributes & area fill attributes)
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notes
 
Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2Monitors & workstation,Donald ch-2
Monitors & workstation,Donald ch-2
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewing
 
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPTHOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
 
Raster scan system
Raster scan systemRaster scan system
Raster scan system
 
Multimedia data and file format
Multimedia data and file formatMultimedia data and file format
Multimedia data and file format
 
Attributes of Output Primitives
Attributes of Output PrimitivesAttributes of Output Primitives
Attributes of Output Primitives
 

Ähnlich wie Unit 1

Ähnlich wie 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
 
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
 
SESSION 1.pptx
SESSION 1.pptxSESSION 1.pptx
SESSION 1.pptx
 
Randomscandisplaysandrasterscandisplays 130930115124-phpapp01
Randomscandisplaysandrasterscandisplays 130930115124-phpapp01Randomscandisplaysandrasterscandisplays 130930115124-phpapp01
Randomscandisplaysandrasterscandisplays 130930115124-phpapp01
 

Mehr von Ankit Garg

Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1Ankit Garg
 
Curve clipping
Curve clippingCurve clipping
Curve clippingAnkit Garg
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformationAnkit Garg
 
Projection ppt
Projection pptProjection ppt
Projection pptAnkit Garg
 
Polygon filling
Polygon fillingPolygon filling
Polygon fillingAnkit Garg
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clippingAnkit Garg
 
Numerical unit 1
Numerical unit 1Numerical unit 1
Numerical unit 1Ankit Garg
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesAnkit Garg
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removalAnkit Garg
 
Fractal introduction and applications modified version
Fractal introduction and applications modified versionFractal introduction and applications modified version
Fractal introduction and applications modified versionAnkit Garg
 
Digital image processing & computer graphics
Digital image processing & computer graphicsDigital image processing & computer graphics
Digital image processing & computer graphicsAnkit Garg
 
Concept of basic illumination model
Concept of basic illumination modelConcept of basic illumination model
Concept of basic illumination modelAnkit Garg
 
Circle generation algorithm
Circle generation algorithmCircle generation algorithm
Circle generation algorithmAnkit Garg
 
Character generation
Character generationCharacter generation
Character generationAnkit Garg
 
Applications of cg
Applications of cgApplications of cg
Applications of cgAnkit Garg
 
2 d transformation
2 d transformation2 d transformation
2 d transformationAnkit Garg
 
3 d transformations
3 d transformations3 d transformations
3 d transformationsAnkit Garg
 

Mehr von Ankit Garg (18)

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

Kürzlich hochgeladen

Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 

Kürzlich hochgeladen (20)

Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 

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