Computer Graphics
Computer Graphics
Computer Graphics
1
DEFINITION
Computer graphics is an art of
drawing pictures on computer
screens with the help of
programming. It involves
computations, creation, and
manipulation of data. In other words,
we can say that computer graphics is
a rendering tool for the generation
and manipulation of images.
2
DEFINITION
Computer graphics involves display,
manipulation and storage of pictures
and experimental data for proper
visualization using a computer. It
provides methods for producing images
and animations (sequence of images).
It deals with the hardware as well as
software support for generating
images.
3
DEFINITION
Basically, there are four major operations
that we perform in computer graphics:
Imaging: refers to the representation of 2D
images.
Modeling: refers to the representation of 3D
images.
Rendering: refers to the generation of 2D
images from 3D models.
Animation: refers to the simulation of
sequence of images over time.
4
INTRODUCTION TO IMAGE AND
OBJECTS
5
INTRODUCTION TO IMAGE AND
OBJECTS
6
COMPUTER GRAPHICS: RELATED
AREAS
7
COMPUTER GRAPHICS: RELATED
AREAS
Geometric modeling deals with the
problem of describing, structuring
and transforming geometric data in
the computer.
8
COMPUTER GRAPHICS: RELATED
AREAS
Visualization interprets the data
created by geometric modeling to
generate an image that can be
viewed using a graphical output
device.
9
COMPUTER GRAPHICS: RELATED
AREAS
Image processing deals with the
problem of describing, structuring
and transforming images in the
computer.
10
COMPUTER GRAPHICS: RELATED
AREAS
Computer vision extracts from an
input image various types of
information(geometric, topological,
physical etc.) about the objects
depicted in the image.
11
INTRODUCTION TO IMAGE AND
OBJECTS
12
INTRODUCTION TO IMAGE AND
OBJECTS
An image is basically representation
of a real world object on a computer.
It can be an actual picture display, a
stored page in a video memory, or a
source code generated by a program.
Mathematically, an image is a two -
dimensional array of data with
intensity or a color value at each
element of the array.
13
INTRODUCTION TO IMAGE AND
OBJECTS
Objects are real world entities
defined in three dimensional world
coordinates. In computer graphics we
deal with both 2D and 3D
descriptions of an object. We also
study the algorithms and procedures
for generation and manipulation of
objects and images in computer
graphics.
14
IMAGE REPRESENTATION
Image representation is the
approximations of the real world
displayed in a computer. A picture in
computer graphics is represented as
a collection of discrete picture
elements termed as pixels. A pixel is
the smallest element of picture or
object that can be represented on
the screen of a device like computer.
15
IMAGE REPRESENTATION
PIXEL
16
GRAPHICS PIPELINE
In computer graphics, the graphics
pipeline refers to a series of
interconnected stages through which
data and commands related to a
scene go through during rendering
process.
It takes us from the mathematical
description of an object to its
representation on the device..
17
GRAPHICS PIPELINE
18
GRAPHICS PIPELINE
19
GRAPHICS PIPELINE
20
GRAPHICS PIPELINE
The real world objects are represented in world
coordinate system. It is then projected onto a
view plane. The projection is done from the
viewpoint of the position of a camera or eye.
There is an associated camera coordinate
system whose z axis specifies the view direction
when viewed from the viewpoint. The infinite
volume swept by the rays emerging from the
viewpoint and passing through the window is
called as view volume or view pyramid. Clipping
planes (near and far) are used to limit the
output of the object.
21
GRAPHICS PIPELINE
The mapping of an object to a graphic device
requires the transformation of view plane
coordinates to physical device coordinates. There
are two steps involved in this process.
(i) The window to a viewport transformation. The
viewport is basically a sub rectangle of a fixed
rectangle known a logical screen.
(ii) The transformation of logical screen coordinates
to physical device coordinates.
22
GRAPHICS PIPELINE
23
GRAPHICS PIPELINE
25
GRAPHICS - APPLICATION
Computer-Aided Design:
26
GRAPHICS - APPLICATION
Presentation graphics:
27
GRAPHICS - APPLICATION
Computer Art:
28
GRAPHICS - APPLICATION
Entertainment:
29
GRAPHICS - APPLICATION
Education and training:
30
GRAPHICS - APPLICATION
Visualization:
31
GRAPHICS - APPLICATION
Image processing:
33