Computer graphics -1
Computer graphics -1
Pixel - A pixel is the smallest unit of a digital image or graphic that can be
displayed and represented on a digital display device.
A pixel is the basic logical unit in digital graphics. Pixels are combined to form a
complete image, video, text, or any visible thing on a computer display.
Pixel ( x,y, intensity)
Where x,y is the coordinate and intensity represent colours.
Resolution -
You have probably seen that in your own computer settings, you have
monitor resolution of 800 x 600, 640 x 480 e.t.c
In pixel resolution, the term resolution refers to the total number of count
of pixels in an digital image. For example, If an image has M rows and N
columns, then its resolution can be defined as M X N.
Aspect ratio
Another important concept with the pixel resolution is aspect ratio.
Aspect ratio is the ratio between width of an image and the height of an
image. It is commonly explained as two numbers separated by a colon
(8:9). This ratio differs in different images, and in different screens.
The common aspect ratios are:
1.33:1, 1.37:1, 1.43:1, 1.50:1, 1.56:1, 1.66:1, 1.75:1, 1.78:1, 1.85:1,
2.00:1, e.t.c
Advantage
For example
If you are given an image with aspect ratio of 6:2 of an image of pixel
resolution of 480000 pixels given the image is an gray scale image.
And you are asked to calculate two things.
● Resolve pixel resolution to calculate the dimensions of image
● Calculate the size of the image
Solution:
Given:
Aspect ratio: c:r = 6:2
Pixel resolution: c * r = 480000
Bits per pixel: grayscale image = 8bpp
Find:
Number of rows = ? , Number of cols = ? Solution:-
Solving 2nd part:
Size = rows * cols * bpp
Size of image in bits = 400 * 1200 * 8 = 3840000 bits
Size of image in bytes = 480000 bytes
Size of image in kilo bytes = 48 kb (approx).
Computer Graphics
Computer Graphics is used where a set of images needs to be manipulated or the
creation of the image in the form of pixels and is drawn on the computer. Computer
Graphics can be used in digital photography, film, entertainment, electronic gadgets,
and all other core technologies which are required.
Applications
● Computer Graphics are used for an aided design for engineering and
architectural systems- These are used in electrical automobiles,
electro-mechanical, mechanical, electronic devices. For example gears and
bolts.
● Computer Art – MS Paint.
● Presentation Graphics – It is used to summarise financial statistical
scientific or economic data. For example- Bar chart, Line chart.
● Entertainment- It is used in motion pictures, music videos, television
gaming.
● Education and training- It is used to understand the operations of complex
systems. It is also used for specialised systems such as framing for
captains, pilots and so on.
● Visualisation- To study trends and patterns.For example- Analysing
satellite photos of earth.
advantages of computer graphics
One of the biggest benefits of computer graphics is the ability to visualize complex
data in a simple and easy-to-understand manner. You can use graphs, pie charts,
and other types of visuals to break down data and present it in a way that is easy to
understand by various audiences. This is especially helpful when you are
communicating information to a non-technical audience.
With computer graphics, you can create various designs without the need to hire a
designer. This is especially useful for startups or businesses on a budget. You can
create logos, posters, business cards, and other promotional materials using
computer graphics software. This is a great way to save money and create a
compelling visual brand for your company.
This is extremely helpful for businesses that want to create a high-quality visual
experience for their customers, such as the travel industry or the tourism industry.
4. Improved Communication
Another significant benefit of computer graphics is the ability to communicate
complex information in a simple and easy-to-understand manner.
You can create diagrams, flowcharts, and other types of visuals to break down
information and help your audience understand it easily. This is especially helpful in
the business world when you are presenting information to other teams or your
client.
With computer graphics, you can easily access visuals that can be helpful in various
projects. Whether you are creating a presentation or a poster, or simply need images
for your website, you can easily find or create visuals using computer graphics
software.
6. Greater Accessibility
Frame buffer is the video RAM (V-RAM) that is used to hold or map the image
displayed on the screen. The amount of memory required to hold the image
depends primary on the resolution of the screen image and also the color
depth used per pixel. The formula to calculate how much video memory is
required at a given resolution and bit depth is quite simple.
Components Of Computer graphics:
2. TV Monitor:
Monitor helps us to view the display and they make use of CRT (Cathode Ray
Tube)
3. Display Controller:
It is an interface between digital memory buffer and TV monitor. The main
function of this is to pass the contents of frame buffer to the monitor. The
display controller reads each
Successive byte of data from the frame buffer memory and converts 0’s and
1’s into corresponding video signal. This signal is then fed to the TV monitor to
produce a black and white picture on the screen. Now, display controller is
recognized as display card and one of our choice can be VGA card with a
resolution of 640 x 480.
2) 1280× 1024
3) 2560× 2048 ,What size of frame buffer is needed to store a image that
needed 8 bit ,12 bit & 16 but to store a pixel.
Display methods in computer graphics
In raster scan systems refreshing is done at a rate of 60-80 frames per second.
Refresh rates are also sometimes described in units of cycles per second /
Hertz (Hz). At the end of each scan line, electron beam begins to display next
scan line after returning to left side of screen. The return to the left of screen
after refresh of each scan line is known as horizontal retrace of electron beam.
At the end of each frame electron beam returns to top left corner and begins the
next frame.
Display processors can perform various other tasks like: creating different line
styles, displaying color areas, etc. Typically display processors are utilized to
interface input devices, such as mouse, joysticks.
ADVANTAGES:
DISADVANTAGES:
Random-Scan Display
In Random-Scan Display electron beam is directed only to the areas of screen
where a picture has to be drawn. It is also called vector display, as it draws
picture one line at time. It can draw and refresh component lines of a picture in
any specified sequence. A Pen plotter is an example of random-scan device.
The number of lines regulates refresh rate on random-scan displays. An area of
memory called refresh display files stores picture definition as a set of line
drawing commands.
The system returns back to first-line command in the list, after all the drawing
commands have been processed. High-quality vector systems can handle around
100, 00 short lines at this refresh rate. Faster refreshing can burn phosphor. To
avoid this every refresh cycle is delayed to prevent refresh rate greater than 60
frames per second. Suppose we want to display a square ABCD on the screen.
The commands will be:
ADVANTAGES:
DISADVANTAGES:
needed is easy
fill fill
this.
interlacing method.
Components of CRT:
Main Components of CRT are:
source of electrons which are focused into a narrow beam directed at the
It creates an electric or magnetic field which will bend the electron beam
beam.
The cathode ray tube (CRT) monitor displays with the help of a combination of
phosphorus, as phosphorus exists in multi-color. Beam penetration is a method for
producing color displays with CRT. The beam penetration technique uses
multilayer phosphorus and achieves color by modulating the beam’s accelerating
potential. It uses a random scan system to display color.
The arrangement of beam penetration CRT is similar to the normal CRT. The
only unusual component is the use of multilayer phosphorus inside beam
penetration. In multilayer phosphorus, a layer of red phosphorus is deposited
behind the initial layer of green phosphorus. This method produces four colors
only, red, green, orange, and yellow. The electron beam is produced by using an
electron gun.
● If a low potential electron beam strikes the face, it excites only the red
phosphor and produces red traces.
● If a high potential electron beam strikes the tube face, it excites the
green phosphor and produces green traces.
● If an electron beam of intermediate potential and velocity, then it
produces a combination of red and green i.e., orange and yellow.
However, the principle problem with this technique is the need to change the
beam accelerating potential by an adequate amount in order to switch colors.
When the accelerating potential changes, the deflection system must react to
compensate. The hardware and software design must introduce delays between
changes in color.
Advantages :
● It is a cheaper method.
● This method provides high resolution.
● It uses only one electron gun whereas the other method uses three or
more electron guns.
● Easily identifies the type of electron i.e., high, low, or medium potential.
● A reliable method for producing colors.
Disadvantages :
It has three phosphor color dots at each pixel position. The first phosphor dot emits
a red light, the second one emits a green light and the third emits a blue light. The
phosphor transforms the Kinetic Energy of the electrons into Light Energy
The Shadow Mask Technique involves the usage of three electron guns, one for
each color dot, and a shadow-mask grid just behind the phosphor-coated screen.
configuration for three electron guns is an in-line arrangement in which the three
electron guns and the corresponding red-green-blue color dots on the screen, are
aligned along a single scan line rather than in a triangular pattern. This type of
arrangement of electron guns is convenient to keep in alignment and is generally
used in high-resolution color CRTs.
We get color variations in a shadow mask CRT by varying the intensity levels of the
three electron beams. By turning off red and green guns, we get only the color
coming from the blue phosphor. Other combinations of beam intensities generate a
small light spot for each pixel position since our eyes tend to merge the three colors
into one composite. The color we see depends on the excitation of the red, green
and blue phosphorus. A white (grey) is the result of activating all three dots of equal
intensity. Yellow is generated with the green and red dots only, magenta is generated
with the blue and red dots and cyan shows up when blue and green are activated
uniformly.
Direct View Storage Tube (DVST) resembles CRT as it uses electron gun to
draw picture and phosphor coated screen to display it. The phosphor used in
this is of high persistence. DVST does not use refresh buffer or frame buffer to
store picture definition. Picture definition is stored in inside CRT in form positive
charged distribution. Because of this reason DVST is knows as Storage Type
CRT. In DVST no refreshing is required as result picture drawn on DVST will be
seen for several minutes before fading.
1. Electron guns –
Two electron guns are used in DVST : Primary Gun and Flood Gun.
Primary gun is used to store picture pattern. Flood gun is used to
maintain picture display on phosphor coated screen.
2. Phosphor Coated Screen –
In DVST the inner surface of CRT is coated with phosphor crystals is of
high persistence that emit light when beam of electrons strike them.
3. Storage Mesh –
It is thin and high quality wire that is coated with dielectric and is
located just behind phosphor coated screen. Primary gun deposits
pattern of positive charge on this grid and it is transferred to phosphor
coated screen by continuous flood of electrons produced by flood gun.
Thus Storage Mesh stores picture to be displayed in form of positive
charge distribution.
4. Collector –
This grid is located just behind storage mesh and purpose of this negatively
charged grid is to smooth out flow of flood electrons.
Since the collector has slowly down electrons, in this way they not able to produce
sharpened images. So to reduce this problem, screen itself is maintained at a high
positive potential by means of voltage applied to thin aluminium coating between
tube face and phosphor.
Figure – Direct View Storage Tube
Advantages of DVST :
Disadvantages of DVST :