Unit 1 - Part - I
Unit 1 - Part - I
Unit 1 - Part - I
Multimedia Systems
SCS1302
Unit 1
Syllabus
Syllabus
Course Objective(CO)
CO1: Construct lines and circles for the given input.
CO2: Apply 2D transformation techniques to transform the
shapes to fit them as per the picture definition.
CO3: Construct splines, curves and perform 3D
transformations
CO4: Apply colour and transformation techniques for
various applications.
CO5: Analyse the fundamentals of animation, virtual
reality, and underlying technologies.
CO6: Develop photo shop applications
Computer Graphics
• Graphics - Plot some Points on graph
• Computer Graphics - plot some pixels/points on computer
screen to make image.
• Algorithms & Data structures are used to draw images.
• Computer Graphics involves creation, display, manipulation
and storage of pictures and experimental data/models or
images for proper visualization using a computer.
• Such models come from diverse and expanding set of fields
including physical, biological, mathematical, artistic, and
conceptual/abstract structures.
Computer Graphics
• Made up of 4 components:
1. Image – combinations of pixels, visual representation
2. Models – 3D representation
3. Rendering – generate image from 2D/3D model using
Computer Programs
4. Animation – Illusive movements
• Graphics is an art of drawing using computer
programs.
• What we will draw?
– Lines, Circles, curves, etc
Applications of CG
• Computer-Aided Design(CAD)
– Designing of buildings (Interior), automobiles, aircraft, computer..etc (Car ->
sample/Prototype models )
• Presentation Graphics
– Commonly used to summarize financial, statistical, mathematical and economic data
for research. (charts, business presentations)
• Computer Art
– Cartoons, Animated movies
• Entertainment – Games, Cinema
• Education and Training – Medical, Engg,Animation, Simulation
• Visualization – Scientific, Medical(MRI), Gene Modeling
• Image Processing
• Virtual Reality
• Graphical User Interface - Buttons, Mobile Apps, Menus
• Architecture – Building design, lightening effects, maps, sewage design plans.
MORPH A PERSON’S FACE
Adobe Photoshop
• Open the image you want to modify
• Use the Liquify ( Filter Liquify or press Shift + Ctrl + X )
• Use various tools on the Liquify window to alter the person’s
face. The various available tools are
Warp Tool
Wave Tool
Swirl Tool
Shrink Tool
Expand Tool
Move Left Tool
Mirror Tool
Undo Tool
Fundamental Terminologies
Image - From a geometry point of view, you can consider
the image as a set of points on 2-d or 3-d space. Each
point at every (x,y) is called amplitude or intensity of an
image
Pixel - a pixel is the smallest , controllable element of a
picture represented on the screen.
Resolution – Number of pixels in a computer screen.
Aspect Ratio- The aspect ratio of an image is the ratio of
its width to its height necessary to produce equal-
length lines in both directions on the screen. For an x:
y aspect ratio, the image is x units wide and y units high.
Components of a computer
graphics system
• Typical graphics system comprises of a host computer
with support of fast processor, large memory, frame
buffer
• Display devices (color monitors)
• Input devices (mouse, keyboard, joystick, touch screen,
trackball)
• Output devices (CRT,LED,LCD panels, raster scan
display, laser printers, color printers. Plotters etc.)
• Interfacing devices such as, video I/O, TV interface etc.
Video Display devices
• Cathode Ray Tube (CRT)
– The primary output device in a graphical system is the
video monitor. The main element of a video monitor is
the Cathode Ray Tube
– The CRT is a vacuum tube containing an electron gun(a
source of electron) and fluorescent screen, with internal
or external means to accelerate and deflect the electron
beam, used to create images in the form of light emitted
from the fluorescent screen. The image may be electrical
waveforms, pictures (television , computer
monitor),radar target and others.
Video Display devices
Main Parts of CRT:
• Electron Gun assembly
• Deflection plate assembly
• Fluorescent screen
• Glass envelope
• Base through connection are made to various
parts
The operation of CRT
• The electron gun emits a beam of electrons (cathode rays),
when the filament is heated.
• Intensity of the electron beam is controlled by setting
voltage levels on the control grid.
• The focusing system is needed to force he electron beam to
converge into a small spot as it strikes the phosphor screen,
else the beam would spread out as it approaches the screen.
• The electron beam passes through focusing and deflection
systems that directs it towards specified positions on the
phosphor-coated screen.
The operation of CRT
• When the beam hits the screen, the phosphor emits a
small spot of light at each position contacted by the
electron beam.
• It redraws the picture by directing the electron beam
back over the same screen points quickly. This is
called refreshing, hence the CRT is called as Refresh
CRT.
• The difference between the kinds of phosphors is
their persistence- how long they continue to emit
light after the CRT beam is removed.
Raster Scan
• In a raster scan system, the electron beam is swept across the
screen, one row at a time from top to bottom.
• As the electron beam moves across each row, the beam intensity
is turned on and off to create a pattern of illuminated spots.
• Picture definition is stored in memory area called the Refresh
Buffer or Frame Buffer.
• Each screen point is referred to as a pixel (picture element) or
pel.
• At the end of each scan line,
• the electron beam returns to the left side of the screen to begin
displaying the next scan line.
Raster Scan
Random Scan
(Vector Scan)
• In this technique, the electron beam is directed
only to the part of the screen where the picture
is to be drawn rather than scanning from left to
right and top to bottom as in raster scan.
• It is also called vector display, stroke-writing
display, or calligraphic display.
Random Scan
(Vector Scan)
• Picture definition is stored as a set of line-drawing
commands in an area of memory referred to as the
refresh display file.
• To display a specified picture, the system cycles through
the set of commands in the display file, drawing each
component line in turn.
• After all the line-drawing commands are processed, the
system cycles back to the first line command in the list.
• Random-scan displays are designed to draw all the
component lines of a picture 30 to 60 times each second.
Random Scan
(Vector Scan)
Pros and Cons
• Raster Systems
• Pros
– It is well suited for realistic display of scenes
containing colors and shaded patterns.
Cons
– It produces jagged lines that are plotted as
discrete point sets.
Pros and Cons
• Random System(Vector)
• Pros
– They produce smooth line drawing because the CRT beam
directly follows the line path
– Used by both analog and digital computer.
– It will have higher resolution rather than raster.
Cons
Expensive
Designed for line drawing applications
and cannot display realistic
shaded scenes.
Color CRT Monitor
• A CRT monitor displays color picture by using
a combination of phosphor that emit different-
colored light.
• By combining the emitted light from the
different phosphor, a range of colors can be
generated.
Color CRT Monitor
Two basic techniques – Beam Penetration and
Shadow Masking
• Beam-penetration method
- The beam-penetration method for displaying color
pictures has been used with random-scan monitors.
- Two layers of phosphor, usually red and green, are
coated onto the inside of the CRT screen, and the
displayed color depends on how far the electron beam
penetrates into the phosphor layers.
Color CRT Monitor
Polarized light passing through the material is twisted so that it will pass through
the opposite polarizer. The light is then reflected back to the viewer
‘OFF’ state of liquid crystals
To turn off off the pixel we apply a voltage to the two intersecting
conductors to align the molecules so that the light is not .twisted
Emissive-Plasma panels
Plasma panels- also called gas-discharge displays, are
constructed by filling the region between two glass
plates with a mixture of gases that usually includes
neon .
• A series of vertical conducting ribbons is placed on
one glass panel, and a set of horizontal ribbons in
other glass panel . Firing voltages applied to a pair of
horizontal and vertical conductors cause the gas at the
intersection of the two conductors to break down into
a glowing plasma of electrons and ions.
Plasma panels
Plasma panels
Thin-film electroluminescent displays
• They are similar to plasma panels except the
region between glass panel is filled with phosphor
• When a sufficiently high voltage is applied to a
pair of crossing electrodes phosphor become a
conductor in that area of intersection of electrodes
• Electrical energy is absorbed by the atoms which
then release this energy as a spot of light
• Electroluminescent display requires more power
than plasma panels
Thin-film electroluminescent displays
INPUT DEVICES
• Keyboards, Button Boxes, and Dials
• Mouse Devices
• Trackball, Space ball
• Joystick
• Data Gloves
• Digitizers
• Image Scanners
• Touch Panels
• Light Pens
• Voice Systems
OUTPUT DEVICES
• Printers
• Plotters