SlideShare a Scribd company logo
1 of 20
Introduction
to
Computer Graphics
Presented by
Education Success
Introduction
 Computer Graphics :-
• Def. :- Computer graphics (CG) is the creation,
representation, manipulation and display of
picture with the help of computer.
• Graphics is the ability for giving computer to
express its data in pictorial form.
• Computer graphics may be interactive or non-
interactive.
Components of Computer Graphics
1. Modeling
2. Storing/Representation:
3. Manipulation/Transformation
4. Rendering
5. Interaction
6. Viewing / Presentation
Components of Computer Graphics
1. Modeling :-
It deals with the definition of the object in terms of the primitives,
coordinates and characteristics. In computer graphics, an object is made up
by pixels so it deals with the object definition in terms of pixels, their
address and intensity values.
2. Storing/Representation :-
It deals with the storing scenes and images in memory and on disk. It is
used to know how the picture is internally stored in computer. Objects,
images or scenes are stored in computer in binary representation. So it deals
with binary representation of pixels to define the object, scenes and images.
3. Manipulation/Transformation :-
It deals with the changing the shape, position and characteristics of objects.
It also includes various operations such as translation, rotation, scaling and
clipping.
Components of Computer Graphics
4. Rendering :-
It deals with the applying physically based procedures to generate
(photorealistic) images from scenes (using lighting and shading)
5. Interaction :-
Interaction of the user can be achieved by hardware and software
combination. It helps user to select or pick an object with the help of
input devices such as mouse, light pen.
6. Viewing / Presentation:
It deals with the displaying images. We can display the object in
two-dimensional and three-dimensional form on two-dimensional
devices.
Applications of Computer Graphics
• CAD (Computer Aided Design):
• Presentation Graphics
• Computer Art
• Education and Training
• Entertainment
• Visualization
• Image Processing
• GUI (Graphical User Interface )
Concepts in Computer Graphics
• Pixel
• Resolution
• Aspect Ratio
• Raster Vs Vector
Pixel / Pel / Picture Element
• Graphics images on the screen are built-up from
tiny dots or points called “pixels”.
• It is also called as “pixel” or “pel” i.e. Picture
element. The pixel is smallest possible screen
elements.
• Each pixel has a name and address. This address
corresponds to the co-ordinates points on the
screen which identify points.
• Each point must have some size.
• We can also set the intensity and color of the
pixel.
Resolution
• Def. :-
a) The maximum number of points that can be display without overlap on a
CRT is called, “resolution” . or
b) The number of points per cm that can be plotted horizontally and vertically
are the, “resolution.” or
c) The number of points in each direction is called, “resolution”.
• The display resolution is define by the number of rows from top to bottom
and number of columns from left to right on each scan light.
• Higher resolution means more sharp and clear picture. Greater the number of
points, the higher resolution.
• Eg. :- Typical resolution of the screen is 1280 x 1024 , it means 1280 pixels in
each row and 1024 in each column.
• Other screen resolutions are
- 640 x 480
- 800 x 600
- 1024 x 768
- 1152 x 864
- 1280 x 1024
Aspect Ratio
It is a ratio of vertical points to the horizontal points, necessary
to produce equal length lines in both directions on screen.
In the above example, aspect ratio of 3 by 4 means that a vertical
line plotted with 3 points has same length as a horizontal line
plotted with 4 points.
Aspect ratio is a property of video monitor. If a picture has aspect
ratio of 2:1, it means width is twice as large as the height of that
picture. While resizing picture, it is important to obtain the aspect
ratio otherwise the picture may get stretched and gets distorted.
Raster Display
• In raster form, intensity values of the pixels of the
picture are stored in the memory area, called frame
buffer.
• Here, picture is stored as a rectangular array or grid with
intensity values of the all the pixels of picture part.
• It uses bitmap method of character generation.
• It requires higher refresh rate, because it refreshes all
pixels whether it is a part of not a part of picture.
• It can display the realistic and shaded scene.
Vector / Random Display
• In vector form, picture is stored with only end points and
line drawing commands in memory area called, display
file.
• It uses stroke method of character generation.
• It requires lower refresh rate than raster form, because it
refreshes only picture part and endpoints of that picture
element.
• It cannot display realistic and shaded scene.
• Here, order of refreshing is random and it has high clarity
because it retains appearance regardless of size of image.
Character Generation Methods
1. Stroke Method ( Vector Method )
2. Dot-Matrix Method ( Bit-Map Method )
3. Starbust Method
Stroke Method ( Vector Method )
This method creates characters out of a series of line segments,
like strokes of a pen, as shown in fig.
Fig. :- Stroke method for character ‘A’
We can decide which line segments needed for each character
that we want to draw. To produce a character , we give a sequence
of commands that defines the start point and end points of the
straight lines.
Dot-Matrix Method ( Bit-Map Method )
This method is called as, “Bitmap method”. In this method,
characters are represented by an array of dots, as shown in
fig. (a) and (b)
Fig. (a) - Bit map method for character ‘A’
Fig. (b) – Bitmap method for character ‘B’
• A bitmap font uses a rectangular pattern of pixels to define
each character.
• It requires more space, because each variation (size or format)
must be stored in memory.
Starbust Method
• In this method a fix pattern of line segments are used to
generate characters.
• There are 24 line segments and out of these 24 line
segments, segments required to display for particular
character are highlighted. This method of character
generation is called, “Starbust method” because of its
characteristics appearance.
• In this pattern of particular character is stored in the form
of 24 bit code. Each bit representing one line segment.
The bit is set to one to highlight the line segment.
Otherwise it is set to zero.
• Eg. :- The starbust patterns for characters A and M
• 24-bit code for Character ‘A’ is 0011 0000 0011 1100 1110
0001 and
• 24-bit code for character ‘M’ is 0000 0011 0000 1100 1111
0011
Disadvantages of starbust method
• It requires more memory.
• It requires additional code conversion
programs to display characters from the 24 bit
code.
• Requires code conversion software to display
character from its 24-bit code
• Character quality is poor. It is worst for curve
shaped characters.
• This method is not used now-a-days.
Thank You

More Related Content

What's hot

Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan systemshalinikarunakaran1
 
sutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingsutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingArvind Kumar
 
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 displaysSomya Bagai
 
Introduction to computer graphics
Introduction to computer graphics Introduction to computer graphics
Introduction to computer graphics Priyodarshini Dhar
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphicsKamal Acharya
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformationSelvakumar Gna
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.Mohd Arif
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformationAnkit Garg
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphicsSHIVANI SONI
 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphicsSafayet Hossain
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1Ankit Garg
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clippingMani Kanth
 
The sutherland hodgeman polygon clipping algorithm
The sutherland hodgeman polygon clipping algorithmThe sutherland hodgeman polygon clipping algorithm
The sutherland hodgeman polygon clipping algorithmMani Kanth
 

What's hot (20)

Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
 
sutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingsutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clipping
 
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
 
Clipping
ClippingClipping
Clipping
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Introduction to computer graphics
Introduction to computer graphics Introduction to computer graphics
Introduction to computer graphics
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
 
Color Models
Color ModelsColor Models
Color Models
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphics
 
Shading
ShadingShading
Shading
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
 
Character attributes
Character attributesCharacter attributes
Character attributes
 
The sutherland hodgeman polygon clipping algorithm
The sutherland hodgeman polygon clipping algorithmThe sutherland hodgeman polygon clipping algorithm
The sutherland hodgeman polygon clipping algorithm
 

Similar to Introduction to Computer Graphics Fundamentals

Higher - Storing graphics
Higher - Storing graphicsHigher - Storing graphics
Higher - Storing graphicsmissstevenson01
 
new ai techniques.pptx
new ai techniques.pptxnew ai techniques.pptx
new ai techniques.pptxSanandMishra
 
Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.pptMalleshBettadapura1
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGEazira96
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptxNishkaSharma5
 
Game development terminologies
Game development terminologiesGame development terminologies
Game development terminologiesAhmed Badr
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systemsJay Nagar
 
Basic of computer graphic - Computer Graphic - Notes
Basic of computer graphic - Computer Graphic - NotesBasic of computer graphic - Computer Graphic - Notes
Basic of computer graphic - Computer Graphic - NotesOmprakash Chauhan
 
GJU MM Unit 3.pdf
GJU MM Unit 3.pdfGJU MM Unit 3.pdf
GJU MM Unit 3.pdfdiljots78
 
Introduction to computer graphics and multimedia
Introduction to computer graphics and multimediaIntroduction to computer graphics and multimedia
Introduction to computer graphics and multimediaShweta Shah
 
CG_Unit1_SShah.pptx
CG_Unit1_SShah.pptxCG_Unit1_SShah.pptx
CG_Unit1_SShah.pptxShweta Shah
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics NotesGurpreet singh
 
Presentation1.pptx qalid.pptx
Presentation1.pptx qalid.pptxPresentation1.pptx qalid.pptx
Presentation1.pptx qalid.pptxssuserd565841
 
basics-of-computer-graphics-ppt.pdf
basics-of-computer-graphics-ppt.pdfbasics-of-computer-graphics-ppt.pdf
basics-of-computer-graphics-ppt.pdfHarshitTyagi91
 

Similar to Introduction to Computer Graphics Fundamentals (20)

Higher - Storing graphics
Higher - Storing graphicsHigher - Storing graphics
Higher - Storing graphics
 
new ai techniques.pptx
new ai techniques.pptxnew ai techniques.pptx
new ai techniques.pptx
 
Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.ppt
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGE
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptx
 
Game development terminologies
Game development terminologiesGame development terminologies
Game development terminologies
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
 
Basic of computer graphic - Computer Graphic - Notes
Basic of computer graphic - Computer Graphic - NotesBasic of computer graphic - Computer Graphic - Notes
Basic of computer graphic - Computer Graphic - Notes
 
GJU MM Unit 3.pdf
GJU MM Unit 3.pdfGJU MM Unit 3.pdf
GJU MM Unit 3.pdf
 
graphics
graphicsgraphics
graphics
 
Introduction to computer graphics and multimedia
Introduction to computer graphics and multimediaIntroduction to computer graphics and multimedia
Introduction to computer graphics and multimedia
 
CG_Unit1_SShah.pptx
CG_Unit1_SShah.pptxCG_Unit1_SShah.pptx
CG_Unit1_SShah.pptx
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
 
Chap9 10
Chap9 10Chap9 10
Chap9 10
 
Presentation1.pptx qalid.pptx
Presentation1.pptx qalid.pptxPresentation1.pptx qalid.pptx
Presentation1.pptx qalid.pptx
 
basics-of-computer-graphics-ppt.pdf
basics-of-computer-graphics-ppt.pdfbasics-of-computer-graphics-ppt.pdf
basics-of-computer-graphics-ppt.pdf
 
Bitmap and vector
Bitmap and vectorBitmap and vector
Bitmap and vector
 
Vector and bitmap
Vector and bitmapVector and bitmap
Vector and bitmap
 
Vector and bitmap
Vector and bitmapVector and bitmap
Vector and bitmap
 

Recently uploaded

Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 

Recently uploaded (20)

Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 

Introduction to Computer Graphics Fundamentals

  • 2. Introduction  Computer Graphics :- • Def. :- Computer graphics (CG) is the creation, representation, manipulation and display of picture with the help of computer. • Graphics is the ability for giving computer to express its data in pictorial form. • Computer graphics may be interactive or non- interactive.
  • 3. Components of Computer Graphics 1. Modeling 2. Storing/Representation: 3. Manipulation/Transformation 4. Rendering 5. Interaction 6. Viewing / Presentation
  • 4. Components of Computer Graphics 1. Modeling :- It deals with the definition of the object in terms of the primitives, coordinates and characteristics. In computer graphics, an object is made up by pixels so it deals with the object definition in terms of pixels, their address and intensity values. 2. Storing/Representation :- It deals with the storing scenes and images in memory and on disk. It is used to know how the picture is internally stored in computer. Objects, images or scenes are stored in computer in binary representation. So it deals with binary representation of pixels to define the object, scenes and images. 3. Manipulation/Transformation :- It deals with the changing the shape, position and characteristics of objects. It also includes various operations such as translation, rotation, scaling and clipping.
  • 5. Components of Computer Graphics 4. Rendering :- It deals with the applying physically based procedures to generate (photorealistic) images from scenes (using lighting and shading) 5. Interaction :- Interaction of the user can be achieved by hardware and software combination. It helps user to select or pick an object with the help of input devices such as mouse, light pen. 6. Viewing / Presentation: It deals with the displaying images. We can display the object in two-dimensional and three-dimensional form on two-dimensional devices.
  • 6. Applications of Computer Graphics • CAD (Computer Aided Design): • Presentation Graphics • Computer Art • Education and Training • Entertainment • Visualization • Image Processing • GUI (Graphical User Interface )
  • 7. Concepts in Computer Graphics • Pixel • Resolution • Aspect Ratio • Raster Vs Vector
  • 8. Pixel / Pel / Picture Element • Graphics images on the screen are built-up from tiny dots or points called “pixels”. • It is also called as “pixel” or “pel” i.e. Picture element. The pixel is smallest possible screen elements. • Each pixel has a name and address. This address corresponds to the co-ordinates points on the screen which identify points. • Each point must have some size. • We can also set the intensity and color of the pixel.
  • 9. Resolution • Def. :- a) The maximum number of points that can be display without overlap on a CRT is called, “resolution” . or b) The number of points per cm that can be plotted horizontally and vertically are the, “resolution.” or c) The number of points in each direction is called, “resolution”. • The display resolution is define by the number of rows from top to bottom and number of columns from left to right on each scan light. • Higher resolution means more sharp and clear picture. Greater the number of points, the higher resolution. • Eg. :- Typical resolution of the screen is 1280 x 1024 , it means 1280 pixels in each row and 1024 in each column. • Other screen resolutions are - 640 x 480 - 800 x 600 - 1024 x 768 - 1152 x 864 - 1280 x 1024
  • 10. Aspect Ratio It is a ratio of vertical points to the horizontal points, necessary to produce equal length lines in both directions on screen. In the above example, aspect ratio of 3 by 4 means that a vertical line plotted with 3 points has same length as a horizontal line plotted with 4 points. Aspect ratio is a property of video monitor. If a picture has aspect ratio of 2:1, it means width is twice as large as the height of that picture. While resizing picture, it is important to obtain the aspect ratio otherwise the picture may get stretched and gets distorted.
  • 11. Raster Display • In raster form, intensity values of the pixels of the picture are stored in the memory area, called frame buffer. • Here, picture is stored as a rectangular array or grid with intensity values of the all the pixels of picture part. • It uses bitmap method of character generation. • It requires higher refresh rate, because it refreshes all pixels whether it is a part of not a part of picture. • It can display the realistic and shaded scene.
  • 12. Vector / Random Display • In vector form, picture is stored with only end points and line drawing commands in memory area called, display file. • It uses stroke method of character generation. • It requires lower refresh rate than raster form, because it refreshes only picture part and endpoints of that picture element. • It cannot display realistic and shaded scene. • Here, order of refreshing is random and it has high clarity because it retains appearance regardless of size of image.
  • 13. Character Generation Methods 1. Stroke Method ( Vector Method ) 2. Dot-Matrix Method ( Bit-Map Method ) 3. Starbust Method
  • 14. Stroke Method ( Vector Method ) This method creates characters out of a series of line segments, like strokes of a pen, as shown in fig. Fig. :- Stroke method for character ‘A’ We can decide which line segments needed for each character that we want to draw. To produce a character , we give a sequence of commands that defines the start point and end points of the straight lines.
  • 15. Dot-Matrix Method ( Bit-Map Method ) This method is called as, “Bitmap method”. In this method, characters are represented by an array of dots, as shown in fig. (a) and (b) Fig. (a) - Bit map method for character ‘A’
  • 16. Fig. (b) – Bitmap method for character ‘B’ • A bitmap font uses a rectangular pattern of pixels to define each character. • It requires more space, because each variation (size or format) must be stored in memory.
  • 17. Starbust Method • In this method a fix pattern of line segments are used to generate characters. • There are 24 line segments and out of these 24 line segments, segments required to display for particular character are highlighted. This method of character generation is called, “Starbust method” because of its characteristics appearance. • In this pattern of particular character is stored in the form of 24 bit code. Each bit representing one line segment. The bit is set to one to highlight the line segment. Otherwise it is set to zero.
  • 18. • Eg. :- The starbust patterns for characters A and M • 24-bit code for Character ‘A’ is 0011 0000 0011 1100 1110 0001 and • 24-bit code for character ‘M’ is 0000 0011 0000 1100 1111 0011
  • 19. Disadvantages of starbust method • It requires more memory. • It requires additional code conversion programs to display characters from the 24 bit code. • Requires code conversion software to display character from its 24-bit code • Character quality is poor. It is worst for curve shaped characters. • This method is not used now-a-days.