SlideShare a Scribd company logo
Rajarambapu Institute of Technology, Rajaramnagar
Department of Mechanical Engineering
Machine Vision
Unit V
Machine Vision
The systems are used to perform tasks which
include:
• selecting parts that are randomly oriented from a
bin or conveyer,
• Parts identification, and
• limited inspection.
Machine Vision
Machine vision is concerned with the sensing of vision data and its
interpretation by a computer. The typical vision system consists of:
• Camera and digitizing hardware,
• Digital computer and hardware and software necessary to
interface them.
This interface hardware and software is often referred to as a
preprocessor. The operation of the vision system consists of three
functions:
• Sensing and digitizing image data
• Image processing and analysis
• Application
Machine Vision
The Sensing and Digitizing Function
Image sensing requires some type of image
formation device such as a camera and a digitizer
which stores a video frame in the computer
memory.
We divide the sensing and digitizing functions into
several steps.:
• Capturing the image of the scene
• Digitizing
The Sensing and Digitizing Function
Fig. 5.2 Cross section of a Vidicon tube
The Sensing and Digitizing Function
Basic principle of charge-coupled device: (a) Accumulation of an
electron charge in a pixel element: (b) Movement of accumulated
charge through the silicon by changing the voltages on the
electrodes A, B, and C.
The Sensing and Digitizing Function
Fig. 5.4 One type of charge-coupled device imager. Register A accumulates the pixel
charges produced by photoconductivity generated by the light image. The B register
stores the lines of pixel charges and transfers each line in turn into register C. Register
C reads out the charges laterally as shown into the amplifier.
Lighting Techniques
1. Diffuse surface
2. Condenser projectors
3. Flood or spot projectors
4. Collimators
5. Imagers
Lighting Techniques
Technique Function/use
A Front light source
1 Front illumination Area flooded such that surface is
defining feature of image.
2 Specular illumination
(dark field)
Used for surface defect recognition
(background dark).
3 Specular illumination
(light field)
Used for surface defect recognition;
camera in-line with reflected rays
(background light).
4 Front imager Structured light application; imaged
light superimposed on object surface-
light beam displaced as function of
thickness.
Lighting Techniques
Technique Function/use
B. Back light source
1 Rear illumination
(lighted field)
Uses surface diffuser to silhouette
features; used in parts inspection and
basic measurements.
2 Rear illumination
(condenser)
Produces high-contrast images;
useful for high magnification
application.
3 Rear illumination
(collimator)
Produces parallel light ray source
such that the features of object do
not lie in same plane.
4 Rear offset
illumination
Useful to produce feature highlights
when feature is in transparent
medium.
Lighting Techniques
Technique Function/use
C Other miscellaneous devices
1 Beam splitter Transmits light along same optical axis as
sensor; advantage is that it can illuminate
difficult-to-view objects.
2 Split mirror Similar to beam splitter but more efficient
with lower intensity requirements.
3 Non selective redirectors Light source is redirected to provide proper
illumination
4 Retroreflector A device that redirects incident rays back to
sensor; incident angel capable of being
varied; provides high contrast for object
between source and reflector.
5 Double density A technique used to increase illumination
intensity at sensor, used with transparent
Lighting Techniques
Technique Function/use
C Other miscellaneous devices
1 Beam splitter Transmits light along same optical axis as
sensor; advantage is that it can illuminate
difficult-to-view objects.
2 Split mirror Similar to beam splitter but more efficient
with lower intensity requirements.
3 Non selective redirectors Light source is redirected to provide proper
illumination
4 Retroreflector A device that redirects incident rays back to
sensor; incident angel capable of being
varied; provides high contrast for object
between source and reflector.
5 Double density A technique used to increase illumination
intensity at sensor, used with transparent
Analog-to-Digital Signal Conversion
1. Sampling
2. Quantization
3. Encoding
Analog-to-Digital Signal Conversion
Example 5.1 Consider a vision system using a vidicon tube. An analog video signal is
generated for each line of the 512 lines comprising the faceplate. The sampling capability of
the A/D converter is 100 nanoseconds (100 x 109 s).This is the cycle time required to
complete the A/D conversion process for one pixel. Using the American standard of 33.33
milliseconds ( s)to scan the entire faceplate consisting of 512 lines, determine the sampling
rate and the number of pixels that can be processed per line.
The cycle time per pixel is limited by the A/D conversion process to 100 x 10-9 s
= 0.1 x 10-6 s/pixel
The scanning rate for the 512 lines in the faceplate is s = 33.33 x 10-3 s
Accordingly, the scanning rate for each line is = (33.33 x 10-3 s)/512 lines
= 65.1 x 106 s/line
The number of pixels that can be processed per line is therefore
Quantization
Each sampled discrete time voltage level is assigned to a finite number of defined
amplitude levels. These amplitude levels correspond to the gray scale used in the
system. The predefined amplitude levels are characteristic to a particular A/D
converter and consist of a set of discrete values of voltage levels.
The number of quantization levels is defined by
Number of quantization levels = 2n
where n is the number of bits of the A/D converter. A large number of bits enables
a signal to be represented more precisely. For example, an 8 bit converter would
allow us to quantize at 28 = 256 different values whereas 4 bits would allow only
24 = 16 different quantization levels.
Encoding
The amplitude levels that are quantized must be changed into digital code. This
process, termed encoding, involves representing an amplitude level by binary
digit sequence. The ability of the encoding process to distinguish between various
amplitude levels is a function of the spacing of each quantization level. Given the
full-scale range of an analog video signal, the spacing of each level would be
defined by
Quantization level spacing =
The quantization error resulting from the quantization process can be defined as
Quantization error = 1/2 (quantization level spacing)
Encoding
Example 5.2 A continuous video voltage signal is to be converted into a discrete
signal. The range of the signal after amplification is 0 to 5 V. The A/D converter
has an 8 bit capacity. Determine the number of quantization levels, the
quantization level spacing, the resolution, and the quantization
For an 8 bit capacity, the number of quantization levels is 28 = 256.
The A/D Converter resolution = = 0.0039 or 0.39 per cent.
For the 5 V range, Quantization level spacing = V
Quantization error = (0.0195 V) = 0.00975 V
To represent the voltage signal in binary form involves the process of encoding.
This is accomplished by assigning the sequence of binary digits to represent
increasing quantization levels.
Encoding
Example 5.3 For the A/D converter of Example 5.2, indicate how the voltage
signal might be indicated in binary form. Of the eight bits available, we can use
these bits to represent increasing quantization levels as follows:
Voltage range, V Binary number Gray scale
0-0.0195 0000 0000 0 (black)
0.0195-0.0390 0000 0001 1 (dark gray)
0.0390-0.0585 0000 0010 2
.
.
.
.
.
.
.
.
.
4.9610-4.9805 1111 1110 254 (light gray)
4.9805-5.0 1111 1111 255 (white)
If we had a voltage signal which, for example, varied over a + 5 V range, we
could then assign the first bit to indicate polarity and use the succeeding 7 bits
to identify specific voltage ranges. The number of quantization levels would be
27= 128 and the quantization level spacing would be 5 V divided by 128 or 0.039
V.
Image Storage
• Image is stored in computer memory, typically called a frame buffer. This
buffer may be part of the frame grabber or in the computer itself.
• The frame grabber is one example of a video data acquisition device that will
store a digitized picture and acquire it in = s.
• Digital frames are typically quantized to 8 bits per pixel. However, a 6 bit
buffer is adequate since the average camera system cannot produce 8 bits
of noise-free data. Thus the lower-order bits are dropped as a means of
noise cleaning. In addition, the human eye can only resolve about 26 = 64
grabber levels
• A combination of row and column counters are used in the frame grabber
which are synchronized with the scanning of the electron beam in the
camera. Thus, each position on the screen can be uniquely addressed.
• To read the information stored in the frame buffer, the data is 'grabbed' via a
signal sent from the computer to the address corresponding to a row-column
combination.
Image Processing And Analysis
1. Image data reduction
i. Digital conversion
ii. Windowing
2. Segmentation
i. Thresholding
ii. Region growing
iii. Edge detection
3. Feature extraction
4. Object recognition
Image Data Reduction
In image data reduction, the objective is to reduce the volume of data. As a preliminary
step in the data analysis, the following two schemes have found common usage for data
reduction:
• Digital conversion
• Windowing
The function of both schemes is to eliminate the bottleneck that can occur from the large
volume of data in image processing.
Digital conversion reduces the number of gray levels used by the machine vision system.
For example, an 8-bit register used for each pixel would have 28 = 256 gray levels.
Depending on the requirements of the application, digital conversion can be used to
reduce the number of gray levels by using fewer bits to represent the pixel light intensity.
Four bits would reduce the number of gray levels to 16. This kind of conversion would
significantly reduce the magnitude of the image-processing problem.
Image Data Reduction
Example 5.4 For an image digitized at 128 points per line and 128 lines. Determine:
a. the total number of bits to represent the gray level values required if an 8-bit A/D
converter is used to indicate various shades of gray, and
b. the reduction in data volume if only black and white values are digitized.
a. For gray scale imaging with 28 = 256 levels of gray
Number of bits = 128 x 128 x 256 = 41,94,304 bits.
b. For black and white (binary bit conversion)
Number of bits = 128 x 128 x 2 = 16,384 bits
Reduction in data volume = 41,94,304 - 16,384
= 4,177,920 bits.
Windowing involves using only a portion of the total image stored in the frame buffer for
image processing and analysis. This portion is called the window. For example, for
inspection of printed circuit boards, one may wish to inspect and analyze only one
component on the board. A rectangular window is selected to surround the component of
interest and only pixels within the window are analyzed. The rationale for windowing is
that proper recognition of an object requires only certain portions of the total scene.
Image Data Reduction
Windowing
Windowing involves using only a portion of the total image stored in the frame
buffer for image processing and analysis. This portion is called the window. For
example, for inspection of printed circuit boards, one may wish to inspect and
analyze only one component on the board. A rectangular window is selected to
surround the component of interest and only pixels within the window are
analyzed. The rationale for windowing is that proper recognition of an object
requires only certain portions of the total scene.
Segmentation
In segmentation, the objective is to group areas of an image having similar characteristics
or features into distinct entities representing parts of the image. For example, boundaries
(edges) or regions (areas) represent two natural segments of an image.
Three important techniques that we will discuss are:
1. Thresholding
2. Region growing
3. Edge detection
In its simplest form, thresholding is a binary conversion technique in which each pixel is
converted into a binary value, either black or white. This is accomplished by utilizing a
frequency histogram of the image and establishing what intensity (gray level) is to be the
border between black and white. This is illustrated for an image of an object as shown in
Fig. 5.6. Fig. 5.6(a) shows a regular image with each pixel having a specific gray tone out
of 256 possible gray levels. The histogram of Fig. 5.6(b) plots the frequency (number of
pixels) versus the gray level for the image. For histograms that are bimodal in shape,
each peak of the histogram represents either the object itself or the background upon
which the object rests. Since we are trying to differentiate between the object and
background, the procedure is to establish a threshold (typically between the two peaks)
and assign, for example, a binary bit 1 for the object and 0 for the background. The
outcome of this Thresholding technique is illustrated in the binary-digitized image of Fig,
5.6(c).
Thresholding
Fig. 5.6 Obtaining a binary image by thresholding: (a) Image of object with all gray-Ievel present, (b)
Histogram of image, (c) Binary image of object after thresholding
Region Growing
Region growing is a collection of segmentation techniques in which pixels are
grouped in regions called grid elements based on attribute similarities. Defined
regions can then be examined as to whether they are independent or can be
merged to other regions by means of an analysis of the difference in their average
properties and spatial connectiveness.
Edge Detection
Edge detection considers the intensity
change that occurs in the pixels at the
boundary or edges of a part. Given that a
region of similar attributes has been
found but the boundary shape is
unknown, the boundary can be
determined by a simple edge following
procedure. This can be illustrated by the
schematic of a binary image as shown
below. For the binary image, the
procedure is to scan the image until a
pixel within the region is encountered.
For a pixel within the region, turn left
and step, otherwise, turn right and step.
The procedure is stopped when the
boundary is traversed and the path has
returned to the starting pixel. The
contour-following procedure described
can be extended to gray level images.
Feature Extraction
Gray level (maximum, average, or minimum)
Area
Perimeter length
Diameter
Minimum enclosing rectangle
Center of gravity—For all pixels (n) in a region where each pixel is specified by (x, y)
coordinates, the x and / coordinates of the center of gravity are defined as
Eccentricity: A measure of 'elongation' Several measures exist of which the simplest is
Eccentricity =
where maximum chord length B is chosen perpendicular to A.
Aspect ratio—The length-to-width ratio of a boundary rectangle which encloses the
object
Image Processing And Analysis
One objective is to find the rectangle which gives the minimum aspect ratio.
Thinness—This is a measure of how thin an object is. Two definitions are in use
(a) Thinness =
This is also referred to as compactness.
Diameter (b) Thinness =
The diameter of an object, regardless of its shape, is the maximum distance obtainable
for two points on the boundary of an object.
Holes—Number of holes in the object.
Moments—Given a region, R, and coordinates of the points (x, y) in or on the
boundary of the region, the pgth order moment of the image of the region is given as
Image Processing And Analysis
Example 5.5 Consider the schematic of the image in Fig. 5.9. Determine
the area, the minimum aspect ratio, the diameter, the centroid, and the
thinness measures of the image.
Minimum aspect ratio =
Image Processing And Analysis
Example 5.5 Consider the schematic of the image in Fig. 5.9. Determine
the area, the minimum aspect ratio, the diameter, the centroid, and the
thinness measures of the image.
Image Processing And Analysis
Object Recognition
1. Template-matching techniques
2. Structural techniques
Robotic Applications
The three levels of difficulty used to categorize machine vision
applications in an industrial setting are:
1. The object can be controlled in both position and appearance.
2. Either position or appearance of the object can be controlled but not
both.
3. Neither position nor appearance of the object can be controlled.
Robotic applications of machine vision fall into the three broad
categories listed below:
1. Inspection
2. Identification
3. Visual servoing and navigation
Problems
Consider a vision system which provides one frame of 256
lines every 1/2 s. The system is a raster scan system.
Assume that the time for the electron beam to move from
one line to the next takes 15 per cent of the time to scan a
single line. Determine the sampling rate for the system if it
is specified that there will be 320 pixels on each line.
Robotic Applications
A video voltage signal is to be digitized by an A/D
converter. The maximum voltage range is +15 V. The
A/D converter has a 6-bit capacity. Determine the
number of quantizing levels, the quantization level
spacing, and the quantization error.
For the A/D converter of Prob. 5.2, indicate how the
voltage signal might be expressed in binary form.
Compare the answer with one obtained for an A/D
converter of only 4-bit capacity.
Robotic Applications
Consider the image shown in fig. Determine the area,
the minimum aspect ratio, the diameter, the centroid and
the thinness measures of the image.
Robotic Applications
For the image in the accompanying sketch in which
white pixels are designated as Is on a black background
of Os, determine (a) the area, (b) the minimum aspect
ratio, (c) the eccentricity, and (d) the centroid of the
image. Choose the coordinates of the frame in the lower
left-hand corner as indicated.
Robotic Applications
Consider the image representation of an object as given in
the figure. White pixels are designated as 1s on a black
background of 0s. Determine the boundary of the object by
using the edge following procedure as discussed in the text.
Start in the upper left-hand comer. Discuss any limitations of
the technique.
Aiar. unit v. machine vision 1462642546237

More Related Content

What's hot

sensors in robotics
sensors in roboticssensors in robotics
sensors in robotics
Omkar Lokhande
 
Unit 3 machine vision
Unit 3 machine vision Unit 3 machine vision
Unit 3 machine vision
Dr.G.Saravanan
 
Machine vision systems ppt
Machine vision systems pptMachine vision systems ppt
Machine vision systems ppt
Akash Maurya
 
Robotics and machine vision system
Robotics and machine vision systemRobotics and machine vision system
Robotics and machine vision system
Gowsick Subramaniam
 
Robo unit4- Robot Programming.pptx
Robo unit4- Robot Programming.pptxRobo unit4- Robot Programming.pptx
Robo unit4- Robot Programming.pptx
Priya429658
 
Robotics - unit-2-- Drive Systems
Robotics - unit-2-- Drive SystemsRobotics - unit-2-- Drive Systems
Robotics - unit-2-- Drive Systems
Dr.G.Saravanan
 
Machine Vision Systems And Applications
Machine Vision Systems And ApplicationsMachine Vision Systems And Applications
Machine Vision Systems And Applications
Francy Abraham, MSEE, MBA
 
Robotics - unit-2 - end effector
Robotics - unit-2 - end effectorRobotics - unit-2 - end effector
Robotics - unit-2 - end effector
rknatarajan
 
Sensors
SensorsSensors
Introduction to robotics
Introduction to roboticsIntroduction to robotics
Introduction to robotics
shalet kochumuttath Shaji
 
ROBOTICS – SENSORS AND MACHINE VISION
ROBOTICS – SENSORS AND MACHINE VISIONROBOTICS – SENSORS AND MACHINE VISION
ROBOTICS – SENSORS AND MACHINE VISION
TAMILMECHKIT
 
Robot Configuration - 1
Robot Configuration - 1Robot Configuration - 1
Industrial robot
Industrial robotIndustrial robot
Industrial robot
Jatin Garg
 
selection of robot
selection of robotselection of robot
selection of robot
nabil130290
 
Robot applications
Robot applicationsRobot applications
Robot applications
shalet kochumuttath Shaji
 
Robot programming
Robot programmingRobot programming
Robot programming
Gopal Saini
 
Introduction to mechatronics
Introduction to mechatronicsIntroduction to mechatronics
Introduction to mechatronics
Thulasikanth Vaddi
 
ROBOTICS- IMPLEMENTATION AND ROBOT ECONOMICS
ROBOTICS- IMPLEMENTATION AND ROBOT ECONOMICSROBOTICS- IMPLEMENTATION AND ROBOT ECONOMICS
ROBOTICS- IMPLEMENTATION AND ROBOT ECONOMICS
TAMILMECHKIT
 
Robotics and automation _ power sources and sensors
Robotics and automation _  power sources and sensorsRobotics and automation _  power sources and sensors
Robotics and automation _ power sources and sensors
JAIGANESH SEKAR
 
Robotics Endeffectors
Robotics EndeffectorsRobotics Endeffectors
Robotics Endeffectors
anand hd
 

What's hot (20)

sensors in robotics
sensors in roboticssensors in robotics
sensors in robotics
 
Unit 3 machine vision
Unit 3 machine vision Unit 3 machine vision
Unit 3 machine vision
 
Machine vision systems ppt
Machine vision systems pptMachine vision systems ppt
Machine vision systems ppt
 
Robotics and machine vision system
Robotics and machine vision systemRobotics and machine vision system
Robotics and machine vision system
 
Robo unit4- Robot Programming.pptx
Robo unit4- Robot Programming.pptxRobo unit4- Robot Programming.pptx
Robo unit4- Robot Programming.pptx
 
Robotics - unit-2-- Drive Systems
Robotics - unit-2-- Drive SystemsRobotics - unit-2-- Drive Systems
Robotics - unit-2-- Drive Systems
 
Machine Vision Systems And Applications
Machine Vision Systems And ApplicationsMachine Vision Systems And Applications
Machine Vision Systems And Applications
 
Robotics - unit-2 - end effector
Robotics - unit-2 - end effectorRobotics - unit-2 - end effector
Robotics - unit-2 - end effector
 
Sensors
SensorsSensors
Sensors
 
Introduction to robotics
Introduction to roboticsIntroduction to robotics
Introduction to robotics
 
ROBOTICS – SENSORS AND MACHINE VISION
ROBOTICS – SENSORS AND MACHINE VISIONROBOTICS – SENSORS AND MACHINE VISION
ROBOTICS – SENSORS AND MACHINE VISION
 
Robot Configuration - 1
Robot Configuration - 1Robot Configuration - 1
Robot Configuration - 1
 
Industrial robot
Industrial robotIndustrial robot
Industrial robot
 
selection of robot
selection of robotselection of robot
selection of robot
 
Robot applications
Robot applicationsRobot applications
Robot applications
 
Robot programming
Robot programmingRobot programming
Robot programming
 
Introduction to mechatronics
Introduction to mechatronicsIntroduction to mechatronics
Introduction to mechatronics
 
ROBOTICS- IMPLEMENTATION AND ROBOT ECONOMICS
ROBOTICS- IMPLEMENTATION AND ROBOT ECONOMICSROBOTICS- IMPLEMENTATION AND ROBOT ECONOMICS
ROBOTICS- IMPLEMENTATION AND ROBOT ECONOMICS
 
Robotics and automation _ power sources and sensors
Robotics and automation _  power sources and sensorsRobotics and automation _  power sources and sensors
Robotics and automation _ power sources and sensors
 
Robotics Endeffectors
Robotics EndeffectorsRobotics Endeffectors
Robotics Endeffectors
 

Similar to Aiar. unit v. machine vision 1462642546237

Iaetsd vlsi implementation of efficient convolutional
Iaetsd vlsi implementation of efficient convolutionalIaetsd vlsi implementation of efficient convolutional
Iaetsd vlsi implementation of efficient convolutional
Iaetsd Iaetsd
 
Mid Project Presentation
Mid Project PresentationMid Project Presentation
Mid Project Presentation
adeLangford
 
Iaetsd designing of cmos image sensor test-chip and its characterization
Iaetsd designing of cmos image sensor test-chip and its characterizationIaetsd designing of cmos image sensor test-chip and its characterization
Iaetsd designing of cmos image sensor test-chip and its characterization
Iaetsd Iaetsd
 
Broadcast Camera Technology, Part 3
Broadcast Camera Technology, Part 3Broadcast Camera Technology, Part 3
Broadcast Camera Technology, Part 3
Dr. Mohieddin Moradi
 
Machine vision.pptx
Machine vision.pptxMachine vision.pptx
Machine vision.pptx
WorkCit
 
Digital.cc
Digital.ccDigital.cc
Digital.cc
N.CH Karthik
 
CG.pptx
CG.pptxCG.pptx
CG.pptx
AdityaBisht34
 
Real time-image-processing-applied-to-traffic-queue-detection-algorithm
Real time-image-processing-applied-to-traffic-queue-detection-algorithmReal time-image-processing-applied-to-traffic-queue-detection-algorithm
Real time-image-processing-applied-to-traffic-queue-detection-algorithm
ajayrampelli
 
Hard Decision Viterbi Decoder: Implementation on FPGA and Comparison of Resou...
Hard Decision Viterbi Decoder: Implementation on FPGA and Comparison of Resou...Hard Decision Viterbi Decoder: Implementation on FPGA and Comparison of Resou...
Hard Decision Viterbi Decoder: Implementation on FPGA and Comparison of Resou...
IJERA Editor
 
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
VLSICS Design
 
Unit i
Unit  iUnit  i
Unit i
poshika
 
project ppt on anti counterfeiting technique for credit card transaction system
project ppt on anti counterfeiting technique for credit card transaction systemproject ppt on anti counterfeiting technique for credit card transaction system
project ppt on anti counterfeiting technique for credit card transaction system
Rekha dudiya
 
Sinan Sami.docx
Sinan Sami.docxSinan Sami.docx
Sinan Sami.docx
raaed5
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
SanthiNivas
 
Automatic Real Time Auditorium Power Supply Control using Image Processing
Automatic Real Time Auditorium Power Supply Control using Image ProcessingAutomatic Real Time Auditorium Power Supply Control using Image Processing
Automatic Real Time Auditorium Power Supply Control using Image Processing
idescitation
 
Audio Watermarking using Empirical Mode Decomposition
Audio Watermarking using Empirical Mode DecompositionAudio Watermarking using Empirical Mode Decomposition
Audio Watermarking using Empirical Mode Decomposition
IRJET Journal
 
H04011 04 5361
H04011 04 5361H04011 04 5361
H04011 04 5361
IJMER
 
Camera pdf
Camera pdfCamera pdf
Camera pdf
Avinash Chandra
 
高解析度面板瑕疵檢測
高解析度面板瑕疵檢測高解析度面板瑕疵檢測
高解析度面板瑕疵檢測
CHENHuiMei
 
Computergraphics2marks
Computergraphics2marksComputergraphics2marks
Computergraphics2marks
punga rajan
 

Similar to Aiar. unit v. machine vision 1462642546237 (20)

Iaetsd vlsi implementation of efficient convolutional
Iaetsd vlsi implementation of efficient convolutionalIaetsd vlsi implementation of efficient convolutional
Iaetsd vlsi implementation of efficient convolutional
 
Mid Project Presentation
Mid Project PresentationMid Project Presentation
Mid Project Presentation
 
Iaetsd designing of cmos image sensor test-chip and its characterization
Iaetsd designing of cmos image sensor test-chip and its characterizationIaetsd designing of cmos image sensor test-chip and its characterization
Iaetsd designing of cmos image sensor test-chip and its characterization
 
Broadcast Camera Technology, Part 3
Broadcast Camera Technology, Part 3Broadcast Camera Technology, Part 3
Broadcast Camera Technology, Part 3
 
Machine vision.pptx
Machine vision.pptxMachine vision.pptx
Machine vision.pptx
 
Digital.cc
Digital.ccDigital.cc
Digital.cc
 
CG.pptx
CG.pptxCG.pptx
CG.pptx
 
Real time-image-processing-applied-to-traffic-queue-detection-algorithm
Real time-image-processing-applied-to-traffic-queue-detection-algorithmReal time-image-processing-applied-to-traffic-queue-detection-algorithm
Real time-image-processing-applied-to-traffic-queue-detection-algorithm
 
Hard Decision Viterbi Decoder: Implementation on FPGA and Comparison of Resou...
Hard Decision Viterbi Decoder: Implementation on FPGA and Comparison of Resou...Hard Decision Viterbi Decoder: Implementation on FPGA and Comparison of Resou...
Hard Decision Viterbi Decoder: Implementation on FPGA and Comparison of Resou...
 
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
 
Unit i
Unit  iUnit  i
Unit i
 
project ppt on anti counterfeiting technique for credit card transaction system
project ppt on anti counterfeiting technique for credit card transaction systemproject ppt on anti counterfeiting technique for credit card transaction system
project ppt on anti counterfeiting technique for credit card transaction system
 
Sinan Sami.docx
Sinan Sami.docxSinan Sami.docx
Sinan Sami.docx
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Automatic Real Time Auditorium Power Supply Control using Image Processing
Automatic Real Time Auditorium Power Supply Control using Image ProcessingAutomatic Real Time Auditorium Power Supply Control using Image Processing
Automatic Real Time Auditorium Power Supply Control using Image Processing
 
Audio Watermarking using Empirical Mode Decomposition
Audio Watermarking using Empirical Mode DecompositionAudio Watermarking using Empirical Mode Decomposition
Audio Watermarking using Empirical Mode Decomposition
 
H04011 04 5361
H04011 04 5361H04011 04 5361
H04011 04 5361
 
Camera pdf
Camera pdfCamera pdf
Camera pdf
 
高解析度面板瑕疵檢測
高解析度面板瑕疵檢測高解析度面板瑕疵檢測
高解析度面板瑕疵檢測
 
Computergraphics2marks
Computergraphics2marksComputergraphics2marks
Computergraphics2marks
 

Recently uploaded

The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 

Recently uploaded (20)

The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 

Aiar. unit v. machine vision 1462642546237

  • 1. Rajarambapu Institute of Technology, Rajaramnagar Department of Mechanical Engineering Machine Vision Unit V
  • 2. Machine Vision The systems are used to perform tasks which include: • selecting parts that are randomly oriented from a bin or conveyer, • Parts identification, and • limited inspection.
  • 3. Machine Vision Machine vision is concerned with the sensing of vision data and its interpretation by a computer. The typical vision system consists of: • Camera and digitizing hardware, • Digital computer and hardware and software necessary to interface them. This interface hardware and software is often referred to as a preprocessor. The operation of the vision system consists of three functions: • Sensing and digitizing image data • Image processing and analysis • Application
  • 5. The Sensing and Digitizing Function Image sensing requires some type of image formation device such as a camera and a digitizer which stores a video frame in the computer memory. We divide the sensing and digitizing functions into several steps.: • Capturing the image of the scene • Digitizing
  • 6. The Sensing and Digitizing Function Fig. 5.2 Cross section of a Vidicon tube
  • 7. The Sensing and Digitizing Function Basic principle of charge-coupled device: (a) Accumulation of an electron charge in a pixel element: (b) Movement of accumulated charge through the silicon by changing the voltages on the electrodes A, B, and C.
  • 8. The Sensing and Digitizing Function Fig. 5.4 One type of charge-coupled device imager. Register A accumulates the pixel charges produced by photoconductivity generated by the light image. The B register stores the lines of pixel charges and transfers each line in turn into register C. Register C reads out the charges laterally as shown into the amplifier.
  • 9. Lighting Techniques 1. Diffuse surface 2. Condenser projectors 3. Flood or spot projectors 4. Collimators 5. Imagers
  • 10. Lighting Techniques Technique Function/use A Front light source 1 Front illumination Area flooded such that surface is defining feature of image. 2 Specular illumination (dark field) Used for surface defect recognition (background dark). 3 Specular illumination (light field) Used for surface defect recognition; camera in-line with reflected rays (background light). 4 Front imager Structured light application; imaged light superimposed on object surface- light beam displaced as function of thickness.
  • 11. Lighting Techniques Technique Function/use B. Back light source 1 Rear illumination (lighted field) Uses surface diffuser to silhouette features; used in parts inspection and basic measurements. 2 Rear illumination (condenser) Produces high-contrast images; useful for high magnification application. 3 Rear illumination (collimator) Produces parallel light ray source such that the features of object do not lie in same plane. 4 Rear offset illumination Useful to produce feature highlights when feature is in transparent medium.
  • 12. Lighting Techniques Technique Function/use C Other miscellaneous devices 1 Beam splitter Transmits light along same optical axis as sensor; advantage is that it can illuminate difficult-to-view objects. 2 Split mirror Similar to beam splitter but more efficient with lower intensity requirements. 3 Non selective redirectors Light source is redirected to provide proper illumination 4 Retroreflector A device that redirects incident rays back to sensor; incident angel capable of being varied; provides high contrast for object between source and reflector. 5 Double density A technique used to increase illumination intensity at sensor, used with transparent
  • 13. Lighting Techniques Technique Function/use C Other miscellaneous devices 1 Beam splitter Transmits light along same optical axis as sensor; advantage is that it can illuminate difficult-to-view objects. 2 Split mirror Similar to beam splitter but more efficient with lower intensity requirements. 3 Non selective redirectors Light source is redirected to provide proper illumination 4 Retroreflector A device that redirects incident rays back to sensor; incident angel capable of being varied; provides high contrast for object between source and reflector. 5 Double density A technique used to increase illumination intensity at sensor, used with transparent
  • 14. Analog-to-Digital Signal Conversion 1. Sampling 2. Quantization 3. Encoding
  • 15. Analog-to-Digital Signal Conversion Example 5.1 Consider a vision system using a vidicon tube. An analog video signal is generated for each line of the 512 lines comprising the faceplate. The sampling capability of the A/D converter is 100 nanoseconds (100 x 109 s).This is the cycle time required to complete the A/D conversion process for one pixel. Using the American standard of 33.33 milliseconds ( s)to scan the entire faceplate consisting of 512 lines, determine the sampling rate and the number of pixels that can be processed per line. The cycle time per pixel is limited by the A/D conversion process to 100 x 10-9 s = 0.1 x 10-6 s/pixel The scanning rate for the 512 lines in the faceplate is s = 33.33 x 10-3 s Accordingly, the scanning rate for each line is = (33.33 x 10-3 s)/512 lines = 65.1 x 106 s/line The number of pixels that can be processed per line is therefore
  • 16. Quantization Each sampled discrete time voltage level is assigned to a finite number of defined amplitude levels. These amplitude levels correspond to the gray scale used in the system. The predefined amplitude levels are characteristic to a particular A/D converter and consist of a set of discrete values of voltage levels. The number of quantization levels is defined by Number of quantization levels = 2n where n is the number of bits of the A/D converter. A large number of bits enables a signal to be represented more precisely. For example, an 8 bit converter would allow us to quantize at 28 = 256 different values whereas 4 bits would allow only 24 = 16 different quantization levels.
  • 17. Encoding The amplitude levels that are quantized must be changed into digital code. This process, termed encoding, involves representing an amplitude level by binary digit sequence. The ability of the encoding process to distinguish between various amplitude levels is a function of the spacing of each quantization level. Given the full-scale range of an analog video signal, the spacing of each level would be defined by Quantization level spacing = The quantization error resulting from the quantization process can be defined as Quantization error = 1/2 (quantization level spacing)
  • 18. Encoding Example 5.2 A continuous video voltage signal is to be converted into a discrete signal. The range of the signal after amplification is 0 to 5 V. The A/D converter has an 8 bit capacity. Determine the number of quantization levels, the quantization level spacing, the resolution, and the quantization For an 8 bit capacity, the number of quantization levels is 28 = 256. The A/D Converter resolution = = 0.0039 or 0.39 per cent. For the 5 V range, Quantization level spacing = V Quantization error = (0.0195 V) = 0.00975 V To represent the voltage signal in binary form involves the process of encoding. This is accomplished by assigning the sequence of binary digits to represent increasing quantization levels.
  • 19. Encoding Example 5.3 For the A/D converter of Example 5.2, indicate how the voltage signal might be indicated in binary form. Of the eight bits available, we can use these bits to represent increasing quantization levels as follows: Voltage range, V Binary number Gray scale 0-0.0195 0000 0000 0 (black) 0.0195-0.0390 0000 0001 1 (dark gray) 0.0390-0.0585 0000 0010 2 . . . . . . . . . 4.9610-4.9805 1111 1110 254 (light gray) 4.9805-5.0 1111 1111 255 (white) If we had a voltage signal which, for example, varied over a + 5 V range, we could then assign the first bit to indicate polarity and use the succeeding 7 bits to identify specific voltage ranges. The number of quantization levels would be 27= 128 and the quantization level spacing would be 5 V divided by 128 or 0.039 V.
  • 20. Image Storage • Image is stored in computer memory, typically called a frame buffer. This buffer may be part of the frame grabber or in the computer itself. • The frame grabber is one example of a video data acquisition device that will store a digitized picture and acquire it in = s. • Digital frames are typically quantized to 8 bits per pixel. However, a 6 bit buffer is adequate since the average camera system cannot produce 8 bits of noise-free data. Thus the lower-order bits are dropped as a means of noise cleaning. In addition, the human eye can only resolve about 26 = 64 grabber levels • A combination of row and column counters are used in the frame grabber which are synchronized with the scanning of the electron beam in the camera. Thus, each position on the screen can be uniquely addressed. • To read the information stored in the frame buffer, the data is 'grabbed' via a signal sent from the computer to the address corresponding to a row-column combination.
  • 21. Image Processing And Analysis 1. Image data reduction i. Digital conversion ii. Windowing 2. Segmentation i. Thresholding ii. Region growing iii. Edge detection 3. Feature extraction 4. Object recognition
  • 22. Image Data Reduction In image data reduction, the objective is to reduce the volume of data. As a preliminary step in the data analysis, the following two schemes have found common usage for data reduction: • Digital conversion • Windowing The function of both schemes is to eliminate the bottleneck that can occur from the large volume of data in image processing. Digital conversion reduces the number of gray levels used by the machine vision system. For example, an 8-bit register used for each pixel would have 28 = 256 gray levels. Depending on the requirements of the application, digital conversion can be used to reduce the number of gray levels by using fewer bits to represent the pixel light intensity. Four bits would reduce the number of gray levels to 16. This kind of conversion would significantly reduce the magnitude of the image-processing problem.
  • 23. Image Data Reduction Example 5.4 For an image digitized at 128 points per line and 128 lines. Determine: a. the total number of bits to represent the gray level values required if an 8-bit A/D converter is used to indicate various shades of gray, and b. the reduction in data volume if only black and white values are digitized. a. For gray scale imaging with 28 = 256 levels of gray Number of bits = 128 x 128 x 256 = 41,94,304 bits. b. For black and white (binary bit conversion) Number of bits = 128 x 128 x 2 = 16,384 bits Reduction in data volume = 41,94,304 - 16,384 = 4,177,920 bits. Windowing involves using only a portion of the total image stored in the frame buffer for image processing and analysis. This portion is called the window. For example, for inspection of printed circuit boards, one may wish to inspect and analyze only one component on the board. A rectangular window is selected to surround the component of interest and only pixels within the window are analyzed. The rationale for windowing is that proper recognition of an object requires only certain portions of the total scene.
  • 24. Image Data Reduction Windowing Windowing involves using only a portion of the total image stored in the frame buffer for image processing and analysis. This portion is called the window. For example, for inspection of printed circuit boards, one may wish to inspect and analyze only one component on the board. A rectangular window is selected to surround the component of interest and only pixels within the window are analyzed. The rationale for windowing is that proper recognition of an object requires only certain portions of the total scene.
  • 25. Segmentation In segmentation, the objective is to group areas of an image having similar characteristics or features into distinct entities representing parts of the image. For example, boundaries (edges) or regions (areas) represent two natural segments of an image. Three important techniques that we will discuss are: 1. Thresholding 2. Region growing 3. Edge detection In its simplest form, thresholding is a binary conversion technique in which each pixel is converted into a binary value, either black or white. This is accomplished by utilizing a frequency histogram of the image and establishing what intensity (gray level) is to be the border between black and white. This is illustrated for an image of an object as shown in Fig. 5.6. Fig. 5.6(a) shows a regular image with each pixel having a specific gray tone out of 256 possible gray levels. The histogram of Fig. 5.6(b) plots the frequency (number of pixels) versus the gray level for the image. For histograms that are bimodal in shape, each peak of the histogram represents either the object itself or the background upon which the object rests. Since we are trying to differentiate between the object and background, the procedure is to establish a threshold (typically between the two peaks) and assign, for example, a binary bit 1 for the object and 0 for the background. The outcome of this Thresholding technique is illustrated in the binary-digitized image of Fig, 5.6(c).
  • 26. Thresholding Fig. 5.6 Obtaining a binary image by thresholding: (a) Image of object with all gray-Ievel present, (b) Histogram of image, (c) Binary image of object after thresholding
  • 27. Region Growing Region growing is a collection of segmentation techniques in which pixels are grouped in regions called grid elements based on attribute similarities. Defined regions can then be examined as to whether they are independent or can be merged to other regions by means of an analysis of the difference in their average properties and spatial connectiveness.
  • 28. Edge Detection Edge detection considers the intensity change that occurs in the pixels at the boundary or edges of a part. Given that a region of similar attributes has been found but the boundary shape is unknown, the boundary can be determined by a simple edge following procedure. This can be illustrated by the schematic of a binary image as shown below. For the binary image, the procedure is to scan the image until a pixel within the region is encountered. For a pixel within the region, turn left and step, otherwise, turn right and step. The procedure is stopped when the boundary is traversed and the path has returned to the starting pixel. The contour-following procedure described can be extended to gray level images.
  • 29. Feature Extraction Gray level (maximum, average, or minimum) Area Perimeter length Diameter Minimum enclosing rectangle Center of gravity—For all pixels (n) in a region where each pixel is specified by (x, y) coordinates, the x and / coordinates of the center of gravity are defined as Eccentricity: A measure of 'elongation' Several measures exist of which the simplest is Eccentricity = where maximum chord length B is chosen perpendicular to A. Aspect ratio—The length-to-width ratio of a boundary rectangle which encloses the object
  • 30. Image Processing And Analysis One objective is to find the rectangle which gives the minimum aspect ratio. Thinness—This is a measure of how thin an object is. Two definitions are in use (a) Thinness = This is also referred to as compactness. Diameter (b) Thinness = The diameter of an object, regardless of its shape, is the maximum distance obtainable for two points on the boundary of an object. Holes—Number of holes in the object. Moments—Given a region, R, and coordinates of the points (x, y) in or on the boundary of the region, the pgth order moment of the image of the region is given as
  • 31. Image Processing And Analysis Example 5.5 Consider the schematic of the image in Fig. 5.9. Determine the area, the minimum aspect ratio, the diameter, the centroid, and the thinness measures of the image. Minimum aspect ratio =
  • 32. Image Processing And Analysis Example 5.5 Consider the schematic of the image in Fig. 5.9. Determine the area, the minimum aspect ratio, the diameter, the centroid, and the thinness measures of the image.
  • 33. Image Processing And Analysis Object Recognition 1. Template-matching techniques 2. Structural techniques
  • 34. Robotic Applications The three levels of difficulty used to categorize machine vision applications in an industrial setting are: 1. The object can be controlled in both position and appearance. 2. Either position or appearance of the object can be controlled but not both. 3. Neither position nor appearance of the object can be controlled. Robotic applications of machine vision fall into the three broad categories listed below: 1. Inspection 2. Identification 3. Visual servoing and navigation
  • 35. Problems Consider a vision system which provides one frame of 256 lines every 1/2 s. The system is a raster scan system. Assume that the time for the electron beam to move from one line to the next takes 15 per cent of the time to scan a single line. Determine the sampling rate for the system if it is specified that there will be 320 pixels on each line.
  • 36. Robotic Applications A video voltage signal is to be digitized by an A/D converter. The maximum voltage range is +15 V. The A/D converter has a 6-bit capacity. Determine the number of quantizing levels, the quantization level spacing, and the quantization error. For the A/D converter of Prob. 5.2, indicate how the voltage signal might be expressed in binary form. Compare the answer with one obtained for an A/D converter of only 4-bit capacity.
  • 37. Robotic Applications Consider the image shown in fig. Determine the area, the minimum aspect ratio, the diameter, the centroid and the thinness measures of the image.
  • 38. Robotic Applications For the image in the accompanying sketch in which white pixels are designated as Is on a black background of Os, determine (a) the area, (b) the minimum aspect ratio, (c) the eccentricity, and (d) the centroid of the image. Choose the coordinates of the frame in the lower left-hand corner as indicated.
  • 39. Robotic Applications Consider the image representation of an object as given in the figure. White pixels are designated as 1s on a black background of 0s. Determine the boundary of the object by using the edge following procedure as discussed in the text. Start in the upper left-hand comer. Discuss any limitations of the technique.