Computer Graphics
Computer Graphics
Computer Graphics
GRAPHICS
Graphics Areas
• Graphics is defined as any sketch or a drawing or a special
network that pictorially represents some meaningful
information.
• Computer Graphics is used where a set of image needs to be
manipulated or the creation of the image in the form of pixels
and is drawn on the computer.
• The graphics area is the part of the application where you
create and modify drawing entities.
TYPES OF COMPUTER GRAPHICS
• Raster Graphics: In raster graphics pixels are used for an
image to be drawn. It is also known as a bitmap image in which
a sequence of image is into smaller pixels. Basically a bitmap
indicates a large number of pixels together.
• Vector Graphics: In vector graphics, mathematical formulae
are used to draw different types of shapes, lines, objects and
so on.
Raster Graphics vs VectorGraphics
Application of Computer Graphics
• Education and Training: Computer-generated model of
the physical, financial and economic system is often used
as educational aids. Model of physical systems,
physiological system, population trends or equipment can
help trainees to understand the operation of the system.
• For some training applications, particular systems are
designed. For example Flight Simulator.
• Use in Biology: Molecular biologist can display a picture
of molecules and gain insight into their structure with the
help of computer graphics.
INPUT DEVICES
• Physical: Keyboard, mouse, tablet, touch pad, touch screen, data
glove, camera, light pen, wand, joystick, joyswitch, trackball,
spaceball, microphone, speech recognizer, etc.
• Logical: String, locator, pick, choice, valuator, stroke.
OUTPUT DEVICES
• Examples: CRT display, LED display, LCD display, Plasma display,
printer, plotter, e-paper, hologram generator, film recorder, sound
recorder, speaker, robot arm, etc.
• 2-D output devices are either vector devices, which physically draw
line segments (like a plotter), or raster devices, which display a grid
of colored pixels (picture elements). The resolution of a raster
display is written as width × height.
Graphics Primitives
• Graphics Primitive is a basic object that is essential for
the creation or construction of complex images.
• Pixel is a point of light. It is just one tiny dot on the raster
displays. Though it has no structure, it is definitely a
building block and hence it can be considered as the
graphics primitive. The resolution of CRT is related to the
dot size, the diameter of a single dot.
• Line, especially straight lines, constitute the basic building
block of Line graphs, bar and pie charts, two and three-
dimensional graphs of mathematical functions,
engineering drawings and architectural plans. In computer
graphics, straight line is so basic in creating images that
we call it a graphics primitive.
• Polygon is a closed area of image bounded by straight or
curved lines and filled with one solid color. Since images
are two dimensional, a polygon is a closed planar figure. A
polygon, is an important graphics primitive.
• Display file is a set of uncorrelated data, such as a
histogram array or bivariate array. The arrays are filled
event by event from a list data in order to create a display.
The saved arrays usually take up far less disk space, but
can the data can no longer be gated.
• Frame buffer The video output device which drives a
video display from the memory buffer containing a
complete set of data is known as frame buffer. The image
is stored in terms of pixel by pixel. The memory can be
discs, Integrated circuits etc.,
• Display control - This controls the view of the image so
that the user can view the mage from desired angle and
desired magnification.
• The display processor read the data from the frame
buffer and convert it into corresponding 1's and 0's
according to there pixels and then put it on to a monitor
screen. The display processor do this work 30 times per
second to maintain a steady picture on the screen, and if
we want to change the picture on the screen then we
have to change the contents of frame buffer.
• Line generation - In mathematics and computer science
an algorithm is a step by step procedure for making
calculations. Algorithms are made for calculation, data
processing and automated reasoning.
• Graphics software is a program or set of programs that
enables us to manipulate the visual images on computer
system.
• Points are used throughout graphics as building blocks
for more complicated shapes.
• Polygons are used in computer graphics to compose
images that are three-dimensional in appearance.
• Text primitive - With the Text graphics primitive, we can
insert text at any position in two- or three
dimensional Mathematical graphics. The text will be given
in the graphic's base style.
• Windowing and clipping - In computer graphics any
object that is larger than the computer screen cannot be
seen through the monitor i.e., window.
• A viewport is a rectangular viewing region in computer
graphics, or a term used for optical components.
What is Graphic Communication?
• Graphic communications is an umbrella term that
encompasses the entire creative and production process
for creating any kind of visual communication. This can
range from a billboard or magazine, to a t-shirt, catalog,
packaging, website or video.
Major Applications of Computer Graphics
• Computer Art - Using computer graphics we can create
fine and commercial art which include animation
packages, paint packages. These packages provide
facilities for designing object shapes and specifying object
motion. Cartoon drawing, paintings, logo design can also
be done.
• Computer Aided Drawing - Designing of buildings,
automobile, aircraft is done with the help of computer
aided drawing, this helps in providing minute details to the
drawing and producing more accurate and sharp
drawings with better specifications.
• Presentation Graphics - For the preparation of reports or
summarizing the financial, statistical, mathematical, scientific,
economic data for research reports, managerial reports,
moreover creation of bar graphs, pie charts, time chart, can be
done using the tools present in computer graphics.