Mod 5 Robotic Vision
Mod 5 Robotic Vision
O.itiuuAc.
Up• o
tOutce I
Dedllo•
end
I aaloon,
\ I
\ I
,..,,.\
\ : ,'
\ I/
I
-t>b O~O Q -
App,c,Mion
tLY ,
{i) Image Acquisition (l,mage Formation}
• ligh1ing for camera: Dacie lighting is suiled when a image is required 10 obiain
maximum image contrast. Front lighting is used when
certain key fcalUrcs on the surface of the object arc to be
inspocllc..~ .
l l • t -ces
Back lighting Front liahtina
• An imase sensor like ,•idicon camera. CCO or CID camera is used 10 generate the
electronic signal representing the image.
• The image sensor collects light from the scene through a lens and using a photosensitive
target. convens it into electronic signal.
• Most image sensors generate signals representing two-dimensional arrays (scans of the
entire image).
Vidicon camera
-----c1l1 ------
OU~
vldeolignal -- oc po.er -,.,ply
~ 2002 £ncyclo,-di1 S-rit1nnlt1, ku,,
----------------
I Advwnaaes DIAdvanQp5
• Is more reliable. • Doesn't break the image in Pixel as CCD camera.
• Low cost. • Analog output
• More flexible. • Imposes constraints on System designer
I• Grid and pixel shape can be Varied.
"·"''
• Used in closed circuit television systems, can be used for machine
vision systems.
• In it, an image is formed by focusing the incoming light through a
series of lenses on a transparent conductor coated with a photo
resistive material.
• Photo resistive material is composed of a large number of tiny
photo resistive elements.
• The resistance of elements decreases with increasing illumination.
• Once the image forms on the photo conductor, a charge is
accumulated which is the function of intensity of the impinging light
over a specified time.
• The charge built up is read by scanning the photo sensitive layer by
focused electron beam by electron gun, creating a video signal that
represents the varying amounts of light in the image.
• It provides a great deal of information of a scene at very fast
speeds. However they tend to distort their image due to their
construction and are subject to image burn-in on the photo
conductive surface.
• These are also susceptible to damage
... ' by shock and vibration
~
* . .a.~--
Ught deeecb o n oocun uu"':'6"•
the __ ,,....,ion of lqJhl on • pbolO
- r
conductive s ubsttate (e .g . $lhcon).
* Charges accumuJ--
_.... under nndtivc control electrode& in •solaCCd wellt
r - --
due to vo ltases applied to the central e lc:c:trodea.
* cl
Each isolated well rcpre!COO one p1'L w
hid, can he u-anslerrcd to
ADVANTAGES DISADVANTAGES
• More sensitive at low light. • Since Scilicon processing is still new
• Prod1Kes better image even in extreme variation in science, so there seem5 to be variation
brightness In light sen5itivity from pixel to pixel.
• Small size
• Longer life
• les.s power consumption
6A.l. Cbarp lnJection Devka (CID)
,
•V
90 . -
\G,@(!) I
0
! \ _ _ ,,__
Ieea
0
r~
ltM•c~- • - -
£ De«--••
----
l<I
1,dHl ••---....t - - clt"'iid
-
, t.... wtt._,, c,o1 _..·1w,#
"-d to flo¥1
I•
CID camera
I
(ll) Image Processing:
• An image is an array or a matrix of square pixels(picture elements)
arranged in columns and rows.
• Images are obtained using various image acquisition devices like
cameras.
• The series of voltage levels available on detectors representing light
intensities over the area of the image.
• An analog to digital converter is used to convert analog voltage of
each detector into digital value.
• After acquiring the images they arc stored in computer memory as
digitized image.
,,.,.,
• If voltage level for each pixel is given either O or 1 value depending
on some threshold value, it is called Binary System.
• On the other hand Gray scale system assigns up to 256 different
values depending, on intensity to each pixel. Thus in addition to black
and white (binary system), many different shades of gray can be
distinguished. This thus permits comparison of objects on the basis
of surface characteristics like texture, color, orientation, etc., all of
which produce subtle variations in light intensity distributions.
• Gray scale systems are used in applications requiring higher degree
of image refinement.
• For simple inspection tasks, binary system may serve the purpose.
• It may be appreciated that gray-scale system requires huge storage
processing capability It is, therefore, essential that some means be
used to reduce the amount of data to be processed.
I'
i)Histogram equalization:
Histogram equalization is n technique for adjusting i1nage
intensities to enhance contrast by equalizing all the pixd values
of an i1nage.it results a high contrast image.
ILli
Histogram Equalization
Example
6 - --
2 3 3 2 5 - --
4 2 4 3 4 - --
3 2 3 5 3 - --
2 _,_
2 4 2 4
◄x4 1mage
1 ---
I
I , , ~~Y leve
I
' ' ' ' '
0 1 2 3 4 5 6 7 8 9
Gray scale = (0, 9]
histogram
...... ••
Example
Gray
0 1 2 3 4 5 6 7 8 9
LevelU)
No. of 0 0 6 5 4 1 0 0 0 0
pixels
'
L", 0 0 6 11 15 16 16 16 16 16
,~1
6 11 15 16 16 16 16 16
.r-r-
' n
,
/ JJ •
0 0 I I I I I I I I
16 16 16 16 16 16 16 16
3.3 6.1 8.4
sx9 0 0 9 9 9 9 9
~3 ~6 ~s
ii) Contrast Stretching or Histogram stretching
• Contrast stretching aims to increase (expand) the dynamic
range of an image. It transfonns the gray levels in the range
(0, 1... L-1) by a piecewise linear function.
'
<
c-
(q _-
. ,~
_ c,oar,.....,.
_
iv)Histogram sliding:
• In histogram sliding, we just simply shift a complete
histogram rightwards or leftwards. Due to shifting
or sliding of histogram towards right or left, a clear
change can be seen in the image.
• We can Increase brightness using histogram sliding
• Histogram of this image has been shown below.
• In order to bright it, we will slide its histogram
towards right, or towards whiter portion.
• By applying desired sliding transformation in order
to change the bri~htness, the histogram of the image
shifted towards nght or left
• The imllgc and its histogram is shown below.
• Lets compare these two images and their histograms to sec that what change have
to got
f1pn6.l:H....,._Slidiaa
iii)Histogram Thresholding:
• It is a type of Image Segmentation
• Segmentation divides an image into its constituent regions or
objects.
• The goal of segmentation is to simplify and/or change the
representation of an image into something that is more
meaningful and easier to analyze.
• Image thresholding is a simple, yet effective, way of
partitioning an image into a foreground and background
• Thresholding is a limited case of contrast stretching, it
produces a two-level (binary) image.
• Thresholding is a non-linear operation that converts a gray-
scale image into a binary image where the two levels are
assigned to pixels that are below or above the specified
threshold value.
• Thresholding creates binary Images from grey-level ones by turning all pixels
below some threshold to zero and all pixels above that threshold to one.
• The drawback of this algorithm is that it will always segment the image in to
two categories.
o Edge detect ion is an Image processing technique for finding the boundaries of
point.
lL"f'