SlideShare ist ein Scribd-Unternehmen logo
Computer Graphics Basic, OpenGL and Line,
Circle Drawing
Topic
Introduction to computer Graphics
and graphics primitives
By,
Dr. Dipika Birari
Contents
• Introduction
• Graphics Primitives
– Pixel
– Resolution
– Aspect Ratio
– Frame Buffer
• Display Devices
– Monochrome Display Monitor
– Color Display Monitor
– Raster Graphics Display
• Applications
Introduction
Example: Graph
Any thing which is not a text on computer is treated as a Computer
Graphics
Computer: The computer is a data processing machine or tool which is
used for storing, manipulating and displaying data
Graphics: Visualization of that data.
0
20
40
60
80
100
F.E. S.E. T.E. B.E.
Result
Result
 Business software
 T.V. Channels
 GUI and Animations
 Making charts
 Image Processing
 CAD/CAM
 Computer Games
Applications
Contents
• Introduction
 Graphics Primitives
– Pixel
– Resolution
– Aspect Ratio
– Frame Buffer
Pixel
Graphics Primitives
The Pixel is the smallest addressable screen element.
Pixel is the smallest piece of a display screen which we can control.
Pixel
Name Address
has
1 2 3 4 5
1
2
3
4
5
Coordinates: (I,j) =(Row, Column)= (3,3)
The greater the number of
points, the higher is the
resolution
Resolution
Resolution: Number of dots on the screen
Graphics Primitives
( No. of dots on horizontal line , No of dots on vertical line)
Pair of
Example,
1. 640 X 480
2. 800 X 600
3. 1024 X 768
4. 1280 X 1024
R G
B
RGB Model
This produce up to 16 millions possible colors
Color Range
= 0 to 255
Aspect Ratio
In Imaging, aspect ratio is the width of image divided by it’s height.
• Aspect Ratio= 2:1 means width is twice as large as height.
• While resizing image, maintain the Aspect Ratio to avoid stretching.
Aspect Ratio = 8 /6
= 1.33
Graphics Primitives
Aspect Ratio = Width / Height
8 Inches
6 Inches
Frame Buffer
• It collects and stores pixel values for use by the display device.
• It consists of color values for every pixel on the screen.
• Color values are stored in
 1-bit : 2 colors (B &W, Binary , Monochrome)
 4-bit s: 16 colors
 8-bit s: 256 colors
 16-bits: 32 thousand colors
 24-bit s: 16 million (High color formats )
 32 bits: Latest (True color formats )
Graphics Primitives
“ An array, which contains an internal representation of the image is
called Frame Buffer.”
Frame Buffer
If color value is
Graphics Primitives
1 For more number
of color values
Black & White
Frame Buffer
Color Frame
Buffer
Total amount of
memory required to
drive frame buffer
Resolution of output signal
Color depth size
depends
on
Contents
• Display Devices
– Monochrome Display Monitor
– Color Display Monitor
– Raster Graphics Display
• Applications
Display Devices
• There are several hardware devices used to display images to locate
and display, the points & line segments.
• Two types
Monochrome Display Monitor
Color Display Monitor
• Monochrome Display Monitor
It consist a Cathode Ray Tube(CRT) along with circuits.
Display Devices (Cont…)
• The light given off by the phosphor during exposure to the electron
beam is known as fluorescence.
• The continuing glow given off after the beam is removed known as
phosphorescence.
• The duration of phosphorescence is known as the phosphors
persistence.
Display Devices (Cont…)
Vertical and Horizontal Retrace
Display Devices (Cont…)
Horizontal Plate: Controls the
beam to scan from left to right and
retrace from right to left.
Vertical Plate: Controls the beam to
go from first scan line at the top to
the last scan line at the bottom and
retrace from bottom back to top.
• Color Display Monitor
Display Devices (Cont…)
• It contains 3 electron
guns instead of one
with one electron gun
for each primary color.
• These phosphors are
capable of emitting
Red, Green and Blue
light.
Raster Graphics Display
• To store the information for each pixel in computer’s memory, a lot of
memory may be required. This is done in raster graphics display.
Each
pixel
At least one bit Further bits
Intensity Information
light or dark
If shades of different
colors are defined
• A portion of system memory which is used to hold the pixels is called
as Frame Buffer.
Raster Graphics Display
User Program Frame Buffer Raster Display
Raster Display Device
Lines / Surfaces
Color images
Display
 Business software
 T.V. Channels
 GUI and Animations
 Making charts
 Image Processing
 CAD/CAM
 Computer Games
Applications
Graphics Primitives and CG Display Devices

Weitere ähnliche Inhalte

Was ist angesagt?

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 realism
Computer graphics realismComputer graphics realism
Computer graphics realism
sathya dhineshkumar
 
Anti aliasing Computer Graphics
Anti aliasing Computer GraphicsAnti aliasing Computer Graphics
Anti aliasing Computer Graphics
University of Potsdam
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
Ankur Soni
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
A B Shinde
 
Scan line method
Scan line methodScan line method
Scan line method
Pooja Dixit
 
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
 
Quadric surfaces
Quadric surfacesQuadric surfaces
Quadric surfaces
Ankur Kumar
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
Ummiya Mohammedi
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
Punyajoy Saha
 
Input devices in computer graphics
Input devices in computer graphicsInput devices in computer graphics
Input devices in computer graphics
Anu Garg
 
Polygons - Computer Graphics - Notes
Polygons - Computer Graphics - NotesPolygons - Computer Graphics - Notes
Polygons - Computer Graphics - Notes
Omprakash Chauhan
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
University of Potsdam
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scan
KABILESH RAMAR
 
4-CONNECTED AND 8-CONNECTED NEIGHBOR SELECTION By Sintiak Haque
4-CONNECTED AND 8-CONNECTED NEIGHBOR SELECTION  By Sintiak Haque4-CONNECTED AND 8-CONNECTED NEIGHBOR SELECTION  By Sintiak Haque
4-CONNECTED AND 8-CONNECTED NEIGHBOR SELECTION By Sintiak Haque
Sintiak haque
 
Random scan displays and raster scan displays
Random scan displays and raster scan displaysRandom scan displays and raster scan displays
Random scan displays and raster scan displays
Somya Bagai
 
Raster Scan display
Raster Scan displayRaster Scan display
Raster Scan display
Lokesh Singrol
 
Random and raster scan
Random and raster scanRandom and raster scan
Random and raster scan
ankur bhalla
 
Viewing transformation
Viewing transformationViewing transformation
Viewing transformation
Udayan Gupta
 
Multimedia synchronization
Multimedia synchronizationMultimedia synchronization
Multimedia synchronization
I World Tech
 

Was ist angesagt? (20)

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 realism
Computer graphics realismComputer graphics realism
Computer graphics realism
 
Anti aliasing Computer Graphics
Anti aliasing Computer GraphicsAnti aliasing Computer Graphics
Anti aliasing Computer Graphics
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Scan line method
Scan line methodScan line method
Scan line method
 
Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)
 
Quadric surfaces
Quadric surfacesQuadric surfaces
Quadric surfaces
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
Input devices in computer graphics
Input devices in computer graphicsInput devices in computer graphics
Input devices in computer graphics
 
Polygons - Computer Graphics - Notes
Polygons - Computer Graphics - NotesPolygons - Computer Graphics - Notes
Polygons - Computer Graphics - Notes
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scan
 
4-CONNECTED AND 8-CONNECTED NEIGHBOR SELECTION By Sintiak Haque
4-CONNECTED AND 8-CONNECTED NEIGHBOR SELECTION  By Sintiak Haque4-CONNECTED AND 8-CONNECTED NEIGHBOR SELECTION  By Sintiak Haque
4-CONNECTED AND 8-CONNECTED NEIGHBOR SELECTION By Sintiak Haque
 
Random scan displays and raster scan displays
Random scan displays and raster scan displaysRandom scan displays and raster scan displays
Random scan displays and raster scan displays
 
Raster Scan display
Raster Scan displayRaster Scan display
Raster Scan display
 
Random and raster scan
Random and raster scanRandom and raster scan
Random and raster scan
 
Viewing transformation
Viewing transformationViewing transformation
Viewing transformation
 
Multimedia synchronization
Multimedia synchronizationMultimedia synchronization
Multimedia synchronization
 

Ähnlich wie Graphics Primitives and CG Display Devices

new ai techniques.pptx
new ai techniques.pptxnew ai techniques.pptx
new ai techniques.pptx
SanandMishra
 
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
 
Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.ppt
MalleshBettadapura1
 
Introduction to computer graphics
Introduction to computer graphics Introduction to computer graphics
Introduction to computer graphics
Priyodarshini Dhar
 
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
 
Prinsip gambar digital
Prinsip gambar digitalPrinsip gambar digital
Prinsip gambar digital
Ono Trader
 
Multimedia
MultimediaMultimedia
Multimedia
janani thirupathi
 
CG_Unit1_SShah.pptx
CG_Unit1_SShah.pptxCG_Unit1_SShah.pptx
CG_Unit1_SShah.pptx
Shweta Shah
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
Jay Nagar
 
Model 1 multimedia graphics and animation introduction (1)
Model 1 multimedia graphics and animation introduction (1)Model 1 multimedia graphics and animation introduction (1)
Model 1 multimedia graphics and animation introduction (1)
Rahul Borate
 
Unit 1
Unit 1Unit 1
Unit 1
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
 
Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics System
PrathimaBaliga
 
CG_ch1.pptx
CG_ch1.pptxCG_ch1.pptx
CG_ch1.pptx
NirajG3
 
MONITOR
MONITORMONITOR
MONITOR
kenilpatel65
 
Unit ii
Unit iiUnit ii
Unit ii
swapnasalil
 
N4Less05.ppt
N4Less05.pptN4Less05.ppt
N4Less05.ppt
ClaudiuIonutIlie
 
Monitors and sound systems
Monitors and sound systemsMonitors and sound systems
Monitors and sound systems
Maryam Fida
 
SESSION 1.pptx
SESSION 1.pptxSESSION 1.pptx
SESSION 1.pptx
konicha1
 
Introduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptxIntroduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptx
AhmadAbba6
 

Ähnlich wie Graphics Primitives and CG Display Devices (20)

new ai techniques.pptx
new ai techniques.pptxnew ai techniques.pptx
new ai techniques.pptx
 
Introduction to computer graphics and multimedia
Introduction to computer graphics and multimediaIntroduction to computer graphics and multimedia
Introduction to computer graphics and multimedia
 
Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.ppt
 
Introduction to computer graphics
Introduction to computer graphics Introduction to computer graphics
Introduction to computer graphics
 
Introduction to computer graphics part 2
Introduction to computer graphics part 2Introduction to computer graphics part 2
Introduction to computer graphics part 2
 
Prinsip gambar digital
Prinsip gambar digitalPrinsip gambar digital
Prinsip gambar digital
 
Multimedia
MultimediaMultimedia
Multimedia
 
CG_Unit1_SShah.pptx
CG_Unit1_SShah.pptxCG_Unit1_SShah.pptx
CG_Unit1_SShah.pptx
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
 
Model 1 multimedia graphics and animation introduction (1)
Model 1 multimedia graphics and animation introduction (1)Model 1 multimedia graphics and animation introduction (1)
Model 1 multimedia graphics and animation introduction (1)
 
Unit 1
Unit 1Unit 1
Unit 1
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1
 
Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics System
 
CG_ch1.pptx
CG_ch1.pptxCG_ch1.pptx
CG_ch1.pptx
 
MONITOR
MONITORMONITOR
MONITOR
 
Unit ii
Unit iiUnit ii
Unit ii
 
N4Less05.ppt
N4Less05.pptN4Less05.ppt
N4Less05.ppt
 
Monitors and sound systems
Monitors and sound systemsMonitors and sound systems
Monitors and sound systems
 
SESSION 1.pptx
SESSION 1.pptxSESSION 1.pptx
SESSION 1.pptx
 
Introduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptxIntroduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptx
 

Kürzlich hochgeladen

2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
SakkaravarthiShanmug
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
IJECEIAES
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
riddhimaagrawal986
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
gaafergoudaay7aga
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 

Kürzlich hochgeladen (20)

2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 

Graphics Primitives and CG Display Devices

  • 1. Computer Graphics Basic, OpenGL and Line, Circle Drawing Topic Introduction to computer Graphics and graphics primitives By, Dr. Dipika Birari
  • 2. Contents • Introduction • Graphics Primitives – Pixel – Resolution – Aspect Ratio – Frame Buffer • Display Devices – Monochrome Display Monitor – Color Display Monitor – Raster Graphics Display • Applications
  • 3. Introduction Example: Graph Any thing which is not a text on computer is treated as a Computer Graphics Computer: The computer is a data processing machine or tool which is used for storing, manipulating and displaying data Graphics: Visualization of that data. 0 20 40 60 80 100 F.E. S.E. T.E. B.E. Result Result
  • 4.  Business software  T.V. Channels  GUI and Animations  Making charts  Image Processing  CAD/CAM  Computer Games Applications
  • 5. Contents • Introduction  Graphics Primitives – Pixel – Resolution – Aspect Ratio – Frame Buffer
  • 6. Pixel Graphics Primitives The Pixel is the smallest addressable screen element. Pixel is the smallest piece of a display screen which we can control. Pixel Name Address has 1 2 3 4 5 1 2 3 4 5 Coordinates: (I,j) =(Row, Column)= (3,3) The greater the number of points, the higher is the resolution
  • 7. Resolution Resolution: Number of dots on the screen Graphics Primitives ( No. of dots on horizontal line , No of dots on vertical line) Pair of Example, 1. 640 X 480 2. 800 X 600 3. 1024 X 768 4. 1280 X 1024 R G B RGB Model This produce up to 16 millions possible colors Color Range = 0 to 255
  • 8. Aspect Ratio In Imaging, aspect ratio is the width of image divided by it’s height. • Aspect Ratio= 2:1 means width is twice as large as height. • While resizing image, maintain the Aspect Ratio to avoid stretching. Aspect Ratio = 8 /6 = 1.33 Graphics Primitives Aspect Ratio = Width / Height 8 Inches 6 Inches
  • 9. Frame Buffer • It collects and stores pixel values for use by the display device. • It consists of color values for every pixel on the screen. • Color values are stored in  1-bit : 2 colors (B &W, Binary , Monochrome)  4-bit s: 16 colors  8-bit s: 256 colors  16-bits: 32 thousand colors  24-bit s: 16 million (High color formats )  32 bits: Latest (True color formats ) Graphics Primitives “ An array, which contains an internal representation of the image is called Frame Buffer.”
  • 10. Frame Buffer If color value is Graphics Primitives 1 For more number of color values Black & White Frame Buffer Color Frame Buffer Total amount of memory required to drive frame buffer Resolution of output signal Color depth size depends on
  • 11. Contents • Display Devices – Monochrome Display Monitor – Color Display Monitor – Raster Graphics Display • Applications
  • 12. Display Devices • There are several hardware devices used to display images to locate and display, the points & line segments. • Two types Monochrome Display Monitor Color Display Monitor
  • 13. • Monochrome Display Monitor It consist a Cathode Ray Tube(CRT) along with circuits. Display Devices (Cont…)
  • 14. • The light given off by the phosphor during exposure to the electron beam is known as fluorescence. • The continuing glow given off after the beam is removed known as phosphorescence. • The duration of phosphorescence is known as the phosphors persistence. Display Devices (Cont…)
  • 15. Vertical and Horizontal Retrace Display Devices (Cont…) Horizontal Plate: Controls the beam to scan from left to right and retrace from right to left. Vertical Plate: Controls the beam to go from first scan line at the top to the last scan line at the bottom and retrace from bottom back to top.
  • 16.
  • 17. • Color Display Monitor Display Devices (Cont…) • It contains 3 electron guns instead of one with one electron gun for each primary color. • These phosphors are capable of emitting Red, Green and Blue light.
  • 18. Raster Graphics Display • To store the information for each pixel in computer’s memory, a lot of memory may be required. This is done in raster graphics display. Each pixel At least one bit Further bits Intensity Information light or dark If shades of different colors are defined
  • 19. • A portion of system memory which is used to hold the pixels is called as Frame Buffer. Raster Graphics Display User Program Frame Buffer Raster Display Raster Display Device Lines / Surfaces Color images Display
  • 20.  Business software  T.V. Channels  GUI and Animations  Making charts  Image Processing  CAD/CAM  Computer Games Applications