VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
Â
Image processing using labview
1. PRESENTATION ON
IMAGE PROCESSING &
LABVIEW
Dr. Vikram Mutneja
Associate Professor
Shaheed Bhagat Singh State University, Ferozepur
2. Key Lab-View Applications
ī¨ Design
ī¤ Signal and Image Processing
ī¤ Embedded System
Programming
īŽ (PC, DSP, FPGA, Microcontroller)
ī¤ Simulation and Prototyping
ī¨ Control
ī¤ Automatic Controls and
Dynamic Systems
ī¤ Mechatronics and Robotics
ī¨ Measurements
ī¤ Circuits and Electronics
ī¤ Measurements and
Design Prototype Deploy
A single graphical development platfo
3. LabVIEW-based Vision
ī¨ LabVIEW Vision enables to read/create image
Files and provides means for managing those
files
ī¨ Built-in functions (VIs) for analyzing image files
(select areas of interest, measure intensity,
etc.)
ī¨ Based on LabVIEW IMAQ software which enables
to acquire images from cameras
ī¨ use these software tools to develop a simple
visionbased
ī¨ measurement system, particularly for object
ī¨ motion
5. Image Analysis
ī¨ Image analysis combines techniques that
compute statistics and measurements based on
the gray-level intensities of the image pixels
ī¨ Image analysis functions are used determine
whether the image quality is good enough for your
inspection task.
ī¨ You can also analyze an image to understand its
content and to decide which type of inspection
tools to use to handle your application.
ī¨ Image analysis functions also provide
measurements you can use to perform basic
inspection tasks such as presence or absence
verification.
6. Tools for Image Analysis
ī¨ Vision Utilities â VIs for creating and
manipulating images, etc.
ī¨ Image Processing â provides âlow levelâ Vis
for analyzing images
ī¨ Machine Vision â groups many practical
Vis for performing image analysis.
ī¨ E.g. âCount and Measure Objectsâ VI is found
under this group.
7. Histogram
ī¨ A histogram counts and graphs the total number of
pixels at each gray-scale level
ī¨ Histogram is used to determine if the overall intensity in
the image is suitable for an inspection task
ī¨ To adjust your image acquisition conditions to acquire
higher quality images
ī¨ To analyze if a sensor is underexposed or saturated
ī¨ An underexposed image contains a large number of
pixels with low gray-level values
ī¨ The low gray-level values appear as a peak at the lower
end of the histogram
10. Use of Contrast
ī¨ A strategy to separate the objects from the
background relies on a difference in the
intensities of both, for example, bright particles
and a darker background.
ī¨ The analysis of the histogram of an image may
reveals how many well-separated intensity
populations it does has.
ī¨ Adjust your imaging setup until the histogram
of your acquired images has the contrast
required by your application
11. Contrast and Histogram
Analysis
ī¨ The analysis of the histogram in this image
reveals that it has two or more well-separated
intensity populations
12. Generating Intensity
Histogram
ī¨ Within the ROI, a histogram is generated of
the intensity values
ī¨ Note that most of the image is made up of
pixels with intensity greater than about 180.
White is 255.
13. Line Profile
ī¨ A line profile plots the variations of intensity
along a line
ī¨ It returns the gray-scale values of the pixels
along a line and graphs it
ī¨ Line profiles are helpful for examining
boundaries between components, quantifying
the magnitude of intensity variations, and
detecting the presence of repetitive patterns
14. A Line & its Line Profile
ī¨ A bright object with uniform intensity appears in the
profile as a plateau
ī¨ Higher the contrast between an object and its
surrounding background, the steeper the slopes of the
plateau. Noisy pixels, on the other hand, produce a
series of narrow peaks
15. Create an Image data object
ī¨ Menu: NI Measurements->Vision->Vision Utilities-
>Image Management
17. Blob Analysis
ī¨ A blob (binary large object) is an area of touching
pixels with the same logical state. All pixels in an
image that belong to a blob are in a foreground
state. All other pixels are in a background state
ī¨ In a binary image, pixels in the background have
values=0 while every nonzero pixel is part of a
binary object
ī¨ Blob analysis is used to
ī¤ Detect blobs in an image and make selected
measurements of those blobs
ī¤ Find statistical information-such as the size of blobs or
the number, location, and presence of blob regions
18. Applications of Blob Analysis
ī¨ Detecting flaws on silicon wafers
ī¨ Detecting soldering defects on electronic
boards
ī¨ Inspection applications such as finding
structural defects on wood planks or detecting
cracks on plastics sheets
ī¨ To locate objects in motion control applications
when there is significant variance in part
shape or orientation
ī¨ To define a feature set that uniquely defines
the shape of the object
19. Thresholding
ī¨ Used to select ranges of pixel values in
grayscale and color images that separate the
objects under consideration from the
background
ī¨ Converts an image into a binary image, with
pixel values of 0 or 1
ī¨ This process works by setting to 1 all pixels
whose value falls within a certain range, called
the threshold interval, and setting all other
pixel values in the image to 0