Unit 1 Notes
Unit 1 Notes
COMPUTER GRAPHICS
FACULTY : Dr. Reshu Agarwal
Chapter 1
OUTLINE
Chapter 1
What is Computer Graphics?
• One of the most effective and commonly used
way to communicate the processed
information to the user.
• Displays the information in the form of
graphics object such as pictures, charts,
graphs & diagrams.
• It is field of computer science in which we are
interested in generating objects and images
such as pictures, charts, graphs and
diagrams using pixels. Chapter 1
• Graphics means creation and Manipulation of the images. The term
manipulation includes changing the position of the image, changing the
orientation of the image, changing the shape and size of the image etc.
• Computer Graphics means performing the above task with the aid of a
computer.
Chapter 1
Manual Drafting Versus Computer Graphics
Manual Drafting Computer Graphics
• It starts right away. • It needs considerable time.
• Corrections are time consuming • Corrections are fast and the result
& the results are not neat. is another original.
• Special effects such as color & • All such enhancements are given
shading requires specialists. as a function of the s/w & h/w.
• Enormous amount of time is • It require very little additional time
required.
& effort.
• Each different view needs to be
redrawn as if it is a fresh • All modifications are done through
drawing. a few commands.
• It involves relatively low • Enormous amount of money is
investment. required.
Chapter 1
How pictures or graphics objects are
presented in computer graphics?
Chapter 1
How pictures are presented in computer
graphics(Contd…)?
• Individual pixels in an image can be referred by their
coordinates.
• Each pixel on the graphics display does not represent
mathematical point. Rather, it represents a region
which theoretically can contain an infinite number of
points.
• For e.g if we want to display point P1 whose coordinates are
(4.2, 3.8) and point P2 whose coordinates are (4.8, 3.1) then P1
& P2 are represented by only one pixel(4,3).
Chapter 1
Terminologies Related to Computer Graphics
RESOLUTION
Chapter 1
ASPECT RATIO
Chapter 1
Numerical
Chapter 1
CLASSIFICATION OF COMPUTER
GRAPHICS
Chapter 1
CLASSIFICATION OF COMPUTER
GRAPHICS(Contd…)
Passive computer graphics
• This is called offline graphics.
• Once the graphic program is developed the user
has no control over it even if he wants to change the
display.
• Development takes place independently.
• The displays are generally by line printers,
plotters etc.
Chapter 1
• In non interactive or passive CG, the user has no control over the
image. He just sits back and observes what has been shown.
There is no facility to manipulate the sequence i.e we have to
view it from the starting till end we have no control over the
sequence and we cannot randomly process to view a particular
clip from the sequence. Example of this form include the titles
shown on TV and other forms of computer art.
Chapter 1
CLASSIFICATION OF COMPUTER
GRAPHICS(Contd…)
Interactive computer graphics
• This is also called online graphics.
• Users can dynamically control the display.
• Displays are controlled by mouse, joystick etc.
This is termed as ICG because the user can interact
with the machine.
• Video games and websites are all making use of
ICG.
Chapter 1
In contrast in interactive computer graphics we give the
observer some control over the image by providing him
with an input device such as the lever of the ping pong
game, so that he can signal his requests to the
computer. Interactive CG involves two way
communication between computer and user. The
computer, upon receiving signals from the input device
can modify the displayed picture appropriately.
Interactive Computer Graphics require two-way
communication between the computer and the user. A
User can see the image and make any change by
sending his command with an input device.
Chapter 1
APPLICATION AREAS OF COMPUTER
GRAPHICS
1.User Interfaces
• The graphical interfaces provide an attractive and easy
interaction between users and computers.
• The built-in graphics provided with user interfaces use
visual control items such as buttons, menus, icons,
scroll bar etc. which allows user to interact with
computer only by mouse – click.
• Typing is necessary only to input text to be stored and
manipulated.
• Word Processing, Spreadsheets etc. also take
advantage of user interface techniques
Chapter 1
APPLICATIONS OF COMPUTER
GRAPHICS(Contd…)
Chapter 1
APPLICATIONS OF COMPUTER
GRAPHICS(Contd…)
Chapter 1
APPLICATIONS OF COMPUTER
GRAPHICS(Contd…)
4.Computer-aided Drafting and Design
Chapter 1
APPLICATIONS OF COMPUTER
GRAPHICS(Contd…)
5.Simulation and Animation
Chapter 1
APPLICATIONS OF COMPUTER
GRAPHICS(Contd…)
6.Cartography:
Chapter 1
APPLICATIONS OF COMPUTER
GRAPHICS(Contd…)
6.Image Processing:
Chapter 1
Advantages of computer graphics
Chapter 1
Disadvantages of computer graphics
Chapter 1
THANK YOU
Chapter 1
Solution
• 480/x = ¾
• X=480 * 4/3 = 620
• Total Points = 480 * 620 pixels
• Capacity of frame buffer = 480 * 620 * 2 bits
Chapter 1
Solution
Chapter 1