CG unit 1
CG unit 1
CG unit 1
UNIT- 1
Computer Graphics:
Computer Graphics is the creation of pictures with the help of a computer. The
end product of the computer graphics is a picture it may be a business graph,
drawing, and engineering.
In computer graphics, two or three-dimensional pictures can be created that are
used for research. Many hardware devices algorithm has been developing for
improving the speed of picture generation with the passes of time. It includes the
creation storage of models and image of objects. These models for various fields
like engineering, mathematical and so on.
Characteristics of GUI:
They are much easier to use for beginners.
Good user interfaces
be attractive and pleasing to the eye.
allow the user to try out different options easily.
be easy to use.
use suitable colours for key areas.
use words that are easy to understand aimed at the type of user.
have help documentation.
Advantages:
1. A CRT has the electron beam directed only to the parts of the screen where an
image is to be drawn.
2. Produce smooth line drawings.
3. High Resolution
Disadvantages:
Random-Scan monitors cannot display realistic shades scenes.
Advantages:
1. Realistic image
2. Million Different colors to be generated
3. Shadow Scenes are possible.
Disadvantages:
1. Low Resolution
2. Expensive
2. Shadow-Mask Method:
Shadow Mask Method is commonly used in Raster-Scan System because they
produce a much wider range of colors than the beam-penetration method.
It is used in the majority of color TV sets and monitors.
Construction: A shadow mask CRT has 3 phosphor color dots at each pixel
position.
One phosphor dot emits: red light
Another emits: green light
Third emits: blue light
This type of CRT has 3 electron guns, one for each color dot and a shadow mask
grid just behind the phosphor coated screen.
Shadow mask grid is pierced with small round holes in a triangular pattern.
Working: Triad arrangement of red, green, and blue guns.
The deflection system of the CRT operates on all 3 electron beams
simultaneously; the 3 electron beams are deflected and focused as a group onto
the shadow mask, which contains a sequence of holes aligned with the phosphor-
dot patterns.
When the three beams pass through a hole in the shadow mask, they activate a
dotted triangle, which occurs as a small color spot on the screen.
The phosphor dots in the triangles are organized so that each electron beam can
activate only its corresponding color dot when it passes through the shadow
mask.
Inline arrangement: Another configuration for the 3 electron guns is an Inline
arrangement in which the 3 electron guns and the corresponding red-green-blue
color dots on the screen, are aligned along one scan line rather of in a triangular
pattern.
This inline arrangement of electron guns in easier to keep in alignment and is
commonly used in high-resolution color CRT's.
Advantage:
1. Realistic image
2. Million different colors to be generated
3. Shadow scenes are possible
Disadvantage:
1. Relatively expensive compared with the monochrome CRT.
2. Relatively poor resolution
3. Convergence Problem
Flat Panel Display:
The Flat-Panel display refers to a class of video devices that have reduced volume,
weight and power requirement compare to CRT.
Example: Small T.V. monitor, calculator, pocket video games, laptop computers,
an advertisement board in elevator.
1. Emissive Display: The emissive displays are devices that convert electrical
energy into light. Examples are Plasma Panel, thin film electroluminescent display
and LED (Light Emitting Diodes).
2. Non-Emissive Display: The Non-Emissive displays use optical effects to convert
sunlight or light from some other source into graphics patterns. Examples are LCD
(Liquid Crystal Device).
Advantage:
1. High Resolution
2. Large screen size is also possible.
3. Less Volume
4. Less weight
5. Flicker Free Display
Disadvantage:
1. Poor Resolution
2. Wiring requirement anode and the cathode is complex.
3. Its addressing is also complex.
Advantage:
1. Low power consumption.
2. Small Size
3. Low Cost
Disadvantage:
1. LCDs are temperature-dependent (0-70°C)
2. LCDs do not emit light; as a result, the image has very little contrast.
3. LCDs have no color capability.
4. The resolution is not as good as that of a CRT.
Electroluminescent display:
The electroluminescent display or EL display is the most widely used flat type
display technology. Most popular display technologies like laser phosphor & LED
works on the principle of electroluminescence.
When the display is supplied with electrical energy, then semiconductor
generates quantum of energy as well as photons. The result of this display comes
from the recombination of the radioactive of holes and electrons with the electric
charge influence.
Graphics Software:
Graphics software is a type of computer program that is used to create and edit
images.
Common features of graphics software programs include the ability to create,
edit, and save images in a variety of formats.
Some graphics software programs also offer features such as the ability to create
animations or 3D models.
Some of the most popular graphics software programs include Adobe Photoshop,
Corel Painter, and Autodesk Maya.
Advantages:
1. Graphics software provides users with a wide range of tools to create, edit and
manipulate images.
2. It is often easy to use and can be used by people with little or no experience in
image editing.
3. It can be used to create images for a wide range of purposes, including web
design, advertising, and printing.
4. It often provides a wide range of features, making it possible to create
complex images with ease.
5. It is often able to create images in a range of different formats, making it easy
to share images with others.
6. It provides users with a wide range of tools to create, edit, and manipulate
images.
7. It can be used to create both vector and bitmap images.
8. It offers a variety of features and options that allow users to create images
that are both creative and professional.
9. It is often used in conjunction with other software programs, such as word
processors and spreadsheets, to create comprehensive documents and
presentations.
Disadvantages:
1. Many graphics software programs are expensive, and the cost can be a barrier
for some people who want to use them.
2. It requires a lot of memory to store huge files.
3. Some graphics software programs can be complex and difficult to use, which
can be complicated for some users.
4. It requires a powerful computer to work with the project smoothly.
5. It can be time-consuming to create graphics.
6. It can be expensive to purchase the software, and then you also have to pay
for the subscription regularly.
7. It can be difficult to learn how to use the software, especially if you are not
familiar with graphic design.
8. Some graphics software programs only offer limited functionality, which can
be frustrating for users who want to do more with their images.
PHIGS:
(Programmer's Hierarchical Interactive Graphics Standard)
A graphics system and language used to create 2D and 3D images. Like the GKS
standard, PHIGS is a device-independent interface between the application
program and the graphics subsystem.
It manages graphics objects in a hierarchical manner so that a complete assembly
can be specified with all of its subassemblies. It is a very comprehensive standard
requiring high-performance workstations and host processing.
Color Models:
Color model is a 3D color coordinate system to produce all range of color through
the primary color set.
There are millions of colors used in computer graphics. The light displays the
color. A Color model is a hierarchical system in which we can create every color by
using RGB (Red, Green, Blue) and CMYK (Cyan, Magenta, Yellow, Black) models.
We can use different colors for various purposes.
The total number of colors displayed by the monitor depends on the storage
capacity of the video controller card.
4. Look-Up Table:
Image representation is essentially the description of pixel colors. There are three
primary colors: R (red), G (green) and B (blue). Each primary color can take on
intensity levels produces a variety of colors.
Using direct coding, we may allocate 3 bits for each pixel, with one bit for each
primary color. The 3-bit representation allows each primary to vary independently
between two intensity levels: 0 (off) or 1 (on). Hence each pixel can take on one
of the eight colors.
Bit 1:r Bit 2:g Bit 3:b Color name
0 0 0 Black
0 0 1 Blue
0 1 0 Green
0 1 1 Cyan
1 0 0 Red
1 0 1 Magenta
1 1 0 Yellow
1 1 1 White
Lookup Table approach reduces the storage requirement. In this approach pixel
values do not code colors directly. Alternatively, they are addresses or indices into
a table of color values. The color of a particular pixel is determined by the color
value in the table entry that the value of the pixel references.