0% found this document useful (0 votes)
265 views

Vision Tool Manuals: Introduction To Vision Tools

Herramienta sistema de vision systech

Uploaded by

DExTER
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
265 views

Vision Tool Manuals: Introduction To Vision Tools

Herramienta sistema de vision systech

Uploaded by

DExTER
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 36

TIPS

Vision Tool Manuals

Introduction to
Vision Tools

Release Version Date

6.41.014 11/30/06
TIPS Vision Tool Manual
Introduction to Vision Tools

SYSTECH International Information


This manual and any accompanying SYSTECH software are copyrighted by SYS-TECH SOLU-
TIONS, INCORPORATED. Any reproduction and/or distribution without prior written consent
from SYSTECH are strictly prohibited. Microsoft is a registered trademark of Microsoft Corpora-
tion. Windows is a trademark of Microsoft Corporation. All other products and product names
mentioned in this publication are trademarks or registered trademarks of their respective compa-
nies. Please refer to the license agreement for details.

The following are issued or pending trademarks of SYSTECH:

TIPS® SI2M™ ATRIX™ TIPS SENTRI™ TIPS ADVISOR™

Liability Disclaimer: SYSTECH’s TIPS System Software is warranted in accordance with the
product license. System configuration, the application being performed, operator control and
other related factors will affect product performance. TIPS System Software implementation
may vary among users.

The instructions in this manual do not claim to cover all details or variations in the equipment,
procedure, or process described, or to provide directions for meeting every possible contingency
during installation, operation, or maintenance. When additional information is required to satisfy
a problem not covered sufficiently for your purpose, please contact SYSTECH’s Customer Sup-
port Help Desk at 1-800-TIPS-HELP (800-847-7435).

Need help?
Call our Customer Support Help Desk for any TIPS product or service information at:
1-800-TIPS-HELP.

How are we doing?


Send any comments to the address, FAX number, or e-mail address (Attention: Customer Sup-
port) indicated at the bottom of this page.

Want to learn more?


We offer training courses on TIPS System Software and TIPS Vision Tools. We offer these
courses at SYSTECH or at your facility. Contact our Sales Department at 1-800-TIPS-123 for
more information.

2540 Route 130, Suite 128 • Cranbury, NJ 08512


PH: (609) 395-8400 • FAX: (609) 395-0064 • www.systech-tips.com

SYSTECH Information
ii
TIPS Vision Tool Manual
Introduction To Vision Tools

Table of Contents
SYSTECH International Information ........................................................ ii

Introduction To Vision Tools .................................................................... 1


1 Introduction ..........................................................................................................1
2 Vision Tools Overview .........................................................................................1
2.1 Functionally Adaptive Application Specific (FA2ST) Tools .............................2
2.2 Core Vision Tools (CVT) .................................................................................2
2.3 Special Application Tools ................................................................................4
3 Image Quality ........................................................................................................4
3.1 Contrast ..........................................................................................................4
3.2 Print Quality ....................................................................................................4
3.3 Lighting ...........................................................................................................4
3.4 Timing .............................................................................................................5
3.5 Camera Mounting ...........................................................................................5
4 Vision Tool Configuration ...................................................................................5
5 Developing a Good Image ...................................................................................5
6 Select and Configure Tools .................................................................................6
7 Rotating Inspection Images ................................................................................7
8 Filtering Images ....................................................................................................8
8.1 Adding / Removing / Ordering Filters ............................................................ 11
8.1.1 Adding Filters .................................................................................................... 11
8.1.2 Removing Filters ............................................................................................... 15
8.1.3 Ordering Filters ................................................................................................. 16
8.2 Filter Descriptions ......................................................................................... 16
9 Tool Training ...................................................................................................... 20
10 Statistical Training Considerations ................................................................ 21
10.1 Statistical Training Multiple Images ............................................................ 21
10.2 Using Identical Images for Statistical Training ............................................ 21
10.3 Statistical Training of Unacceptable Quality Images ................................... 21
11 Tool Execution Order ....................................................................................... 22
12 Testing the Tool ............................................................................................... 22
13 Running Tools .................................................................................................. 22
14 Summary ........................................................................................................... 23

Table of Contents
iii
TIPS Vision Tool Manual
Introduction To Vision Tools

15 Index .................................................................................................................. 25

Table of Contents
iv
TIPS Vision Tool Manual
Introduction To Vision Tools

This page intentionally left blank.

Table of Contents
v
TIPS Vision Tool Manual
Introduction To Vision Tools

Table of Contents
vi
TIPS Vision Tool Manual
Introduction To Vision Tools

Introduction To Vision Tools

1 Introduction

This chapter provides an overview of the configuring of tools and factors that effect vision tool
inspections. Proper operation of vision tools is depends upon the proper setup of the vision tools
as well as the physical inspection process. Vision tools may not operate properly if the quality of
images, or the inspection process is not controlled. The key to good vision inspections is a well-
controlled process that provides consistent quality images.

The following sections provide an overview of important topics that affect image quality and the
generic process for configuring a tool. Specific tool chapters provide details for configuring spe-
cific tools. The Vision Editing chapter of the TIPS System Software (TSS) manual provides
detailed information describing the commands to configure and control vision inspections.

2 Vision Tools Overview

The TSS runs a variety of vision tools for specific or generic imaging inspections. Functionally
Adaptive Application Specific Tools (FA2ST) were designed for very specific inspection applica-
tions. FA2ST tools are the easiest tools to configure because each tool performs only one or two
specific functions and has few configureable properties.

Core Vision Tools (CVT) were designed to meet general vision inspection requirements. Each
tool has many uses depending upon the tool configuration. The next table provides a summary
of the vision tools available for the TSS and some of their common uses.

Introduction:
1
TIPS Vision Tool Manual
Introduction To Vision Tools

2.1 Functionally Adaptive Application Specific (FA2ST) Tools

Tool Name Application

Calibration (CAL) Calibrates system enabling grading of barcodes

Optical Character Verification Verify alphanumeric print quality.


(OCV)

Optical Character Verification 2 Verify alphanumeric print quality plus rotatable ROI.
(OCV2wR)

Print Quality Verification (PQV) Verify product logos and graphics. Use the Locate and
SMS tools to establish a position for the PQV tool.

Data Matrix Verification (DMV) Read or read and verify Data Matrix Code.

Optical Character Recognition Reads or verifies printed strings of characters. Espe-


(OCR) cially good for strings printed by dot matrix printers.

2.2 Core Vision Tools (CVT)

Tool Name Application

Angle Reference (ANG) Provides an angle and its pivot point as a reference for other
tools.

BarCode Reader (BCR) Reads and verifies the presence of barcodes.

Blob Verification (BLB) Any inspection requiring the verification of component size,
shape, gray scale, placement or orientation.

Color (CLR) Verifies presence of memorized colors in desired concentrations


or determines the presence of any unwanted (foreign) colors.

Communication (COM) Sends and receives information to or from other Vision Tools
and external devices using an RS232 communications link.

Vision Tools Overview: Functionally Adaptive Application Specific (FA2ST) Tools


2
TIPS Vision Tool Manual
Introduction To Vision Tools

Component Placement Any inspection that requires finding an edge. Some uses are
Verification (CPV) label placement, cap presence, skew measurement and
straightness measurement.

Contour Verification Verifies the contour of an object.


(CON)

Corner (CNR) Locates the intersection point of two edge features.

Count (CNT) Counts objects defined as either a single pixel or a cluster of pix-
els whose gray scale values fall above a specific gray scale
value.

Gauge (GAUGE) Measures and verifies the width of an inspected feature.

Locate (LOC) Establishes the location of an image feature to position PQV and
OCV tools.

Mask (MSK) Provides a method for covering parts of the image when using
BLB or PQV tools so those portions of the image will not be
inspected.

Math (MTH) Any inspection requiring calculations, numeric conversions, or


the conditional performance of other tools.

PharmaCode Reader Reads or reads and verifies PharmaCode.


(PCR)

Radius (RAD) Measures and verifies the radius of an inspected feature.

Single Model Source Establishes a model source using the image of an object.
(SMS) Always use the SMS tool with a Locate tool.

Vision Scripting (VST) Controls and analyzes the results of other vision tools.

Vision Tools Overview: Core Vision Tools (CVT)


3
TIPS Vision Tool Manual
Introduction To Vision Tools

2.3 Special Application Tools

Color Blister Pack (CBP) Verifies existence and proper tablet in cavity of a blister pack.

Circular Color Pack (CCP) Verifies existence and proper tablet in each pocket of a circular
pack of tablets such used for birth control pills.

Case Content Verification Verifies the number of cartons in each layer of a case as it is
(CCV) packed.

3 Image Quality

3.1 Contrast

A significant contrast difference between foreground and background promotes good inspec-
tions. All tools must differentiate between the objects and background. Good contrast aids the
inspection process although most vision tools have properties that can be adjusted to overcome
contrast issues.

3.2 Print Quality

The better the print quality, the better vision tools can determine even minor imperfections. Font
and pitch (size) are especially important. If possible, avoid small (low numbers) pitch sizes and
proportionately spaced fonts. Use a high magnification lens to compensate for small sized char-
acters.

The ideal print is an ASCI OCR A or B, which provides uniformly sized and spaced characters.
Laser printers provide characters that are uniform and do not vary with time. Dot matrix and ink
jet printers provide varying quality characters that change with time and can complicate the
inspection process.

3.3 Lighting

Provide uniform, high quality lighting without hot spots, shadows or reflections. Use a ring, line or
specialized lighting such as cloudy day illuminator (CDI) to provide a uniform lighting source.
Use combinations of colored filters to pass only the desired wavelengths of light. Use a polarized
filter to filter out reflections. Use a shroud to block unwanted ambient light.

Image Quality: Special Application Tools


4
TIPS Vision Tool Manual
Introduction To Vision Tools

3.4 Timing

Integrate the timing of the strobe or electronic shutter with the speed of the line. Set the timing to
image the desired area when product is in proper position. The timing must also be fast enough
to prevent blurring of the image.

3.5 Camera Mounting

Mount the camera rigidly to prevent transfer of undesired motion from surrounding machinery to
the camera. Any motion in the camera will cause the camera to image a different area. Electri-
cally isolate all cameras to prevent ground loops that can damage computer components.

4 Vision Tool Configuration

Configure all vision tools in a similar manner. Each tool conducts an inspection by comparing a
model developed during training to images acquired during the inspection (runtime images). Dif-
ferences between the runtime and trained images are “errors”. If the errors exceed a selected
threshold, the runtime image “fails” the inspection.

5 Developing a Good Image

The first step to a good inspection is to develop a good consistent image. Click the
Live button and adjust the camera focus, lighting, f-stop and position. Center the
image in the field of view to avoid distortion caused by the edge of the lens. If possi-
ble, lock all these camera settings so they will not change over time.

After completing adjustments, click the Live button again to stop continuous image
acquisition. Then click the Image New button to take a single picture. This provides a
consistent image to apply the tools.

Vision Tool Configuration: Timing


5
TIPS Vision Tool Manual
Introduction To Vision Tools

6 Select and Configure Tools

Select a tool from the Toolbox that performs the needed inspection. Click on the tool, position
the cursor over the inspection area and then click again when the cursor is within the image.
This places a tool ROI on the screen.

The ROI defines the image area the tool will inspect. Now adjust the size and position of the tool
ROI to include the desired area of the image.

Right-click when the cursor is within the tool ROI and then click View Properties.

Alternate methods are to double click within the tool ROI, or select View then Properties.

The Tool Properties dialog box appears. The specific tool chapters provide detailed instructions
for configuring each tool. Enter the properties as directed for each tool.

Select and Configure Tools: Camera Mounting


6
TIPS Vision Tool Manual
Introduction To Vision Tools

7 Rotating Inspection Images

Note: On some Vision Tools, the ROI can be rotated to enable an inspection that would other-
wise be difficult or impossible. Typically the OCV2wR, LOC, CNT, CPV, and MSK Tools support
a rotatable ROI. Rotational capablility is indicated by a small yellow (default color) dot centered
above the ROI. This dot can be ‘grabbed’ by the mouse and used to rotate the ROI (including its
contents) manually. LOC, CPV and MSK Vision Tools are use to obtain reference locations in
conjunction with VST Tool.

The picture on the left


shows an OCV2
Tool’s ROI rotated
approximately 60
degrees counterclock-
wise.

The small dot cen-


tered above the ROI is
used to rotate the ROI
using the mouse, and
indicates the top edge
of the ROI.

Rotation is automatic
for each inspection, if
other tools are used to
determine the required
angle and location required for the appropriate inspection tool’s rotation. The reference location
for the inspection tool is supplied by a combination of reference tools. Typically the sets of refer-
ence tools used are either: 1.) Two SMS Tools, two LOC Tools and a VST Tool, 2.) An SMS
Tool, a LOC Tool, a CPV Tool and a VST Tool, or 3.) Two CPV Tools and a VST Tool. Several
short VST Tool script programs have been written and must be used for this purpose. The pro-
grams (script files) must be stored in the Vision folder in the Config directory. The script files
are titled as follows:

• Object Reference by Locate Pair.vbs Required when using a pair of Locate Tools
to locate the OCV2wR Tool.

• Object Reference by Locate CPV.vbs Required when using a Locate and a CPV
Tool to locate the OCV2wR Tool.

• Object Reference by CPV pair.vbs Required when using a pair of CPV Tools to
locate the OCV2wR Tool.

See the OCV2wR Vision Tool Manual and CNT Vision Tool Manual for detailed instructions.
Rotating Inspection Images: Camera Mounting
7
TIPS Vision Tool Manual
Introduction To Vision Tools

8 Filtering Images

Some of the vision tools offer an image filtering option to increase the versatility of the tool. The
vision tools that currently offer this option are listed below.

Vision Tool Filter Selection Button Button


Name Location

BCR (Barcode Reader Tool) Image Filters Edges Tab

CBP (Color Blister Pack Tool) Filters Setup Tab

CON (Contour Verification Tool) Layout Image Filters Setup Tab

CNT (Count Tool) Filters Setup Tab

Data Matrix Verification (DMV) Filters Setup Tab

OCR (Optical Character Segmentation Image Filters Setup Tab


Recognition Tool)

Runtime Image Filters Runtime Tab

OCV2wR (Optical Character Filters Setup Tab


Verification with Rotation Tool)

PQV (Print Quality Verification Image Filters Setup Tab


Tool)

Filters are used to preprocess an image (i.e. altering it to be more easily recognized and
inspected). Preprocessing of images is accomplished by using one or more filters. An example
of this is the inspection of a white capsule with a blue band around the center. The tool normally
would see two objects. Using filters the capsule can be made to appear as a single object.

There may be times when the features of an image that are of interest are not easily extracted by
simple gray scale thresholding (separating the background from the foreground). Filters manipu-
late the base image to produce an output image with easier recognized features of interest.

Test the resulting image by clicking OK on the Filter Operations dialog box to display the Vision
Edit screen. Adjust the properties visible on the tool’s Properties dialog box until the image
inspection process, as viewed on the Vision Edit screen, obtains optimum results. If the opti-
mized parameters do not produce inspections that are correct, repeatable and can be validated,
then repeat the process of adding, deleting, adjusting and reordering filters until inspection result
is acceptable.

The following is a description of the image filter option.

Use the filter option button on the appropriate tab of the tool’s dialog box to display the Filter

Filtering Images: Camera Mounting


8
TIPS Vision Tool Manual
Introduction To Vision Tools

Operations dialog box shown in the next picture.

Filters used in the Decreases mag Increases mag-


processing of the nification of view- nification of view-
image by the vision ed image. ed image.
tool used.

Display area for Viewed Images


Original image as processed by filter
shown highlighted in Operation List field
and all filters preceding highlighted filter.

Parameter
adjustments
associated with
highlighted tool
are shown in this
area.

Time for filter operation


Total time for all currently highlighted
inspection operations. in Operation List field.

The image in the camera appears in the Filtered Image field. The condition of the image, rela-
tive to filtration, is shown in the Operation List field. In the above picture <Original Image> is
shown in the Operation List field. This indicates that the image is in its original state and has
not been filtered.

Filtering Images: Camera Mounting


9
TIPS Vision Tool Manual
Introduction To Vision Tools

The four buttons to the right of the Operation List field are used to add and delete filters and to
change the order of filtering (order in which multiple filters act on the original image). They are
described as follows:

The Add Filter button displays the Add Filter dialog box; allowing the user to select
one or more filters for enhancement of the inspection. This is discussed in detail in the
Adding Filters section.

The Delete Filter button deletes any filter that is highlighted in the Operation List
field. This is discussed in detail in the Removing Filters section.

The Up-Arrow button moves a highlighted filter up one position in the Operation List
field, thus changing the order of execution. This is discussed in detail in the Ordering
Filters section.

The Down-Arrow button moves a highlighted filter down one position in the Opera-
tion List field, thus changing the order of execution. This is discussed in detail in the
Ordering Filters section.

Filtering Images: Camera Mounting


10
TIPS Vision Tool Manual
Introduction To Vision Tools

8.1 Adding / Removing / Ordering Filters

8.1.1 Adding Filters

Start by clicking the Add Filter button on the Filter Operations dialog box. This dis-
plays the Add Filter dialog box. This dialog box is displayed differently for the Bar-
code Reader (BCR) tool as compared to the other tools, which also use it as an
image enhancing device.

8.1.1.1 BCR Tool

The Add Filter dialog box displayed for the BCR tool is shown in the next picture.

Description of filter highlighted in the


Available Filter Types field.

The filters listed in the Available Filter Types field are the filters normally of use with the BCR
tool. By clicking on the Show All Filters check box in the lower left-hand corner, all filters can be
displayed as shown in the following picture.

Filtering Images: Adding / Removing / Ordering Filters


11
TIPS Vision Tool Manual
Introduction To Vision Tools

Note: These filters are also the same filters that are listed in the Available Filter Types field on
the Add Filters dialog box for all other tools besides the BCR that use image filtering. This dia-
log box is shown next.

Filtering Images: Adding / Removing / Ordering Filters


12
TIPS Vision Tool Manual
Introduction To Vision Tools

8.1.1.2 CBP, CON, CNT, DMV, OCR, and PQV Tools

The Add Filter dialog box displayed for the CBP, CON, CNT, DMV, OCR, and PQV tools is
shown in the next picture.

Filtering Images: Adding / Removing / Ordering Filters


13
TIPS Vision Tool Manual
Introduction To Vision Tools

8.1.1.3 Selecting Filters

Click on a filter name in the Available Filter Types field, highlighting it, read the description, look
at the effect on the image in the Filtered Image field and then click OK if the change in the image
appears to be beneficial. In the preceding picture the Open filter was highlighted and the
description of the filter was directly below the filter list.

Clicking OK returns the user to the Filter Operations dialog box showing the selected filter in the
Operations List field as shown in the next picture. This example shows a Filtered Image from
an OCR tool application.

If the filter allows adjustment, adjust the parameter(s) until the desired picture of the image is
obtained in the Filtered Image field. In this example, the Open filter has an Iterations parame-
ter, which is adjustable by the user to obtain optimum results. The user can see the effects in the
Filtered Image field while adjusting the Iterations slider (or typing changes into the Iterations
field). Not all filters have adjustments but those that do have the adjustment visible (and usable)
directly below the Operation List field when the filter is highlighted.

Filtering Images: Adding / Removing / Ordering Filters


14
TIPS Vision Tool Manual
Introduction To Vision Tools

Highlight the <Original Image> or any other previously chosen filter in the Operation List field
to see the image (in the Filtered Image field) before it is processed by the filters below the high-
lighted filter or original state. An example is shown in the following picture.

Original image as processed by


first the Close filter and then the
Filters used in processing Erode filter (last highlighted
of the original image. filter).

The picture of the Filter Operations dialog box shown in the preceding picture was taken from
an OCR tool inspection. The image shown in the Filtered Image field represents the original
image processed by first the Close filter and then the Erode filter (the highlighted filter). The
Laplacian 5x5 filter had been highlighted then the Filtered Image field would have shown the
image as also filtered by that filter.

8.1.2 Removing Filters

Remove a filter by highlighting it in the Operation List field and clicking the Delete Fil-
ter button.

Filtering Images: Adding / Removing / Ordering Filters


15
TIPS Vision Tool Manual
Introduction To Vision Tools

8.1.3 Ordering Filters

Change the order of the filters in the Operation List field by highlighting a
filter and using the Up-Arrow and Down-Arrow buttons to move the
highlighted filter up or down respectively in the list. Changing the order of
the filters changes the order of the processing and thus affects the image.
A different order of the same filters will produce a different final image.
The user can observe the effects of the change on the image in the Fil-
tered Image field.

8.2 Filter Descriptions

The table below lists all the filters that are available for image filtering. It should be noted that the
default filters shown for a specific tool are usually the only ones required but clicking on the Dis-
play all filter check box will display all the filters listed below and allow you to use any combina-
tion of these filters.

Filter Type Description Adjustment Parameters

Open Increases size of bright areas Iterations


Range: 1 to 32
Default: 2

Close Decreases size of bright areas Iterations


Range: 1 to 32
Default: 2

Dilate Makes bright areas larger Iterations


Range: 1 to 32
Default: 2

Erode Makes dark areas larger Iterations


Range: 1 to 32
Default: 2

Min Filter Min of area (decreases size of Columns, Rows


bright areas) Range: 1 to 32
Default: 2

Max Filter Max of area (increases size of Columns, Rows


bright areas) Range: 1 to 50
Default: 3

Median Filter Medial of area (smooths edges) Columns, Rows


Range: 1 to 50
Default: 3

Filtering Images: Filter Descriptions


16
TIPS Vision Tool Manual
Introduction To Vision Tools

Filter Type Description Adjustment Parameters

Blur Blurs image (de focuses) Columns, Rows


Range: 1 to 50
Default: 3

Sharpen 3x3 Enhances edges None

Threshold Threshold image Iterations


Range: 0 to 255

Edges - Vertical Highlights all vertical edges None

Edges - Highlights all horizontal edges None


Horizontal

Edges - All Highlights all edges None

Prewitt 3x3 Highlights or embosses vertical None


Vertical edges

Prewitt 3x3 Highlights or embosses horizontal None


Horizontal edges

Sobel 3x3 Embosses vertical edges None


Vertical

Sobel 3x3 Embosses horizontal edges None


Horizontal

Gaussian 3x3 Gaussian 3x3 blur None

Gaussian 5x5 Gaussian 5x5 blur None

Hipass 3x3 Highlights edge areas None

Hipass 5x5 Highlights edge areas None

Laplacian 3x3 Edge strength None

Laplacian 5x5 Edge strength None

Fill Vertical Gaps Fills vertical gaps Run Length


Range: 1 to 32
Default: 3
Threshold
Range: -225 to +225
Default: 0

Filtering Images: Filter Descriptions


17
TIPS Vision Tool Manual
Introduction To Vision Tools

Filter Type Description Adjustment Parameters

Fill Horizontal Fills horizontal gaps Run Length


Gaps Range: 1 to 32
Default: 3
Threshold
Range: -225 to +225
Default: 0

Pixel Map Maps pixels to different brightness Low Threshold


levels Range: 0 to 255
Default: 64
Low Mapped Value
Range: 1 to 254
Default: 1
High Threshold
Range: 0 to 255
Default: 200
High Mapped Value
Range: 1 to 254
Default: 254

Filtering Images: Filter Descriptions


18
TIPS Vision Tool Manual
Introduction To Vision Tools

Filter Type Description Adjustment Parameters

Circle Highlights circular areas Dark Radius


Range: 0 to 250
Default: 10
Bright Radius
Range: 0 to 250
Default: 15
Circle Points
Range: 3 to 100
Default: 15
Skip
Range: 1 to 16
Default: 4

Filtering Images: Filter Descriptions


19
TIPS Vision Tool Manual
Introduction To Vision Tools

9 Tool Training

Training a tool builds a model image for comparison to the runtime images. Two types of image
models exist – a single image (Train) or a summed image (Train Stat) derived from several
images.

The Train button takes a single image and makes it the image to compare all runtime
images. Use Train in situations where the runtime images change little in structure or
gray scale. Each time you click Train, it replaces the model image with a new image.

The example below shows how statistical training (Train Stat) builds a model based
on the sum of the images.

Ist Image Ist Stat 2nd Stat Composite


Trained Trained Image Trained Image Model

The gray circles are different in each of the images. When statistically training images, a single
model image includes the circles from all the images. Using this model, a runtime image with 0,
1, 2, 3 or 4 circles in the positions shown on the composite model would pass an inspection when
compared to the composite model.

Use statistical training to provide a model for runtime images that show some changes in each
image, and these changes are within acceptable quality standards. This is a powerful tool for
passing acceptable quality images that would otherwise fail.

When using statistical training, select several images that are acceptable quality and show typi-
cal variations. As a rule, stat train a maximum of two to four images.

Tool Training: Filter Descriptions


20
TIPS Vision Tool Manual
Introduction To Vision Tools

10 Statistical Training Considerations

Exercise care when statistically training images. Incorrect statistical training can result in passing
poor quality images or failing good quality images.

10.1 Statistical Training Multiple Images

Using more than 3 or 4 images for statistical training may build a model that provides undesirable
results. If more than 3-4 widely varying images are statistically trained, then runtime images of
marginal or poor quality will pass.

10.2 Using Identical Images for Statistical Training

This case builds a model that will pass only perfect images. The images used should display the
variation anticipated during the inspection.

10.3 Statistical Training of Unacceptable Quality Images

This case builds a model that will pass runtime images of unacceptable quality. The images
used for statistical training should display only the variation that is within acceptable quality limits.

Many tools allow the user to view the model resulting from statistical training. Green (default
color) indicates Regions of Depressed Weighting and represents the differences in all the sta-
tistically trained images. These green areas should not be allowed to grow larger than the
acceptable variation in the images. As a rule, if more than 10-15% of the model is green, train in
a new image and statistically train in several images with acceptable variations to develop a good
model.

Statistical Training Considerations: Statistical Training Multiple Images


21
TIPS Vision Tool Manual
Introduction To Vision Tools

11 Tool Execution Order

Check the order the tools conduct the inspection when using multiple tools. The initial tool order
is the same order the tools are placed on the screen. Some tools need other tools to run prop-
erly. For example, a Locate tool is needed for the OCV tool to perform correctly and must run
before the OCV tool. Select Edit and Execution Order to check for proper order before starting
inspections. Arrange the order of the tools by selecting a tool on the list and using the up and
down buttons to position the tool.

12 Testing the Tool

After setting up tools and insuring they are in the correct order, test the tools with both
good and unacceptable images to ensure the tools are operating properly.

13 Running Tools

Once configured and tested, the tools are ready to run. Monitor the tools periodically
to insure the maintenance of quality inspections. Perform all changes required to
maintain inspection quality the Vision Edit mode.

Tool Execution Order: Statistical Training of Unacceptable Quality Images


22
TIPS Vision Tool Manual
Introduction To Vision Tools

14 Summary

Vision inspections work best when conditions and presentation of the image are uniform. The
general process for setting up a tool is:

1. Enter Vision Edit mode.


2. Adjust the camera and lighting to obtain good images.
3. Select and place the tool over the inspection area.
4. Set up the tool using the Properties box.
5. Train the tool using Train or Train Stat.
6. Check the execution order of the tool.
7. Test the tool.

Summary: Statistical Training of Unacceptable Quality Images


23
TIPS Vision Tool Manual
Introduction To Vision Tools

This page intentionally left blank.

Summary: Statistical Training of Unacceptable Quality Images


24
TIPS Vision Tool Manual
Introduction To Vision Tools

15 Index

Symbols
.......................................................................................................................................................9
(CAL) ..............................................................................................................................................2

A
Add Filter Button
1 .............................................................................................................................................10
2 .............................................................................................................................................11
Add Filter Dialog Box
1 .............................................................................................................................................10
2 .............................................................................................................................................11
Adding Filters ...............................................................................................................................11
ANG ................................................................................................................................................2
Available Filter Types Field
1 .............................................................................................................................................11
2 .............................................................................................................................................14

B
BCR ................................................................................................................................................2
BLB .................................................................................................................................................2
Blur ...............................................................................................................................................17
Button
Add Filter ................................................................................................................................10
Delete Filter ............................................................................................................................10
Down-Arrow ...........................................................................................................................10
Image New ...............................................................................................................................5
Live ...........................................................................................................................................5
Location ....................................................................................................................................8
Up-Arrow ................................................................................................................................10

C
Calibration ......................................................................................................................................2
Camera Mounting ..........................................................................................................................5
CBP ................................................................................................................................................4
CCP ................................................................................................................................................4
CCV ................................................................................................................................................4
Circle ............................................................................................................................................19
Circular Color Pack Tool ................................................................................................................4
Close ............................................................................................................................................16
CLR ................................................................................................................................................2
CNR ................................................................................................................................................3
CNT ................................................................................................................................................3
Color Blister Pack Tool ..................................................................................................................4
Color Tool .......................................................................................................................................2

Index:
25
TIPS Vision Tool Manual
Introduction To Vision Tools

COM ...............................................................................................................................................2
Component Placement Verification Tool .......................................................................................3
CON ...............................................................................................................................................3
Contour Verificaiton Tool ...............................................................................................................3
Contrast ..........................................................................................................................................4
Core Vision Tools ...........................................................................................................................1
Corner ............................................................................................................................................3
CPV ................................................................................................................................................3
CVT ................................................................................................................................................1
CVT Tools ......................................................................................................................................2

D
Data Matrix Verification Tool
1 ...............................................................................................................................................2
2 ...............................................................................................................................................8
Delete Filter Button
1 .............................................................................................................................................10
2 .............................................................................................................................................15
Dialog Box
Properties .................................................................................................................................8
Tool Properties .........................................................................................................................6
Dilate ............................................................................................................................................16
DMV
1 ...............................................................................................................................................2
2 ...............................................................................................................................................8
Down-Arrow .................................................................................................................................16
Down-Arrow Button ......................................................................................................................10

E
Edges - All ....................................................................................................................................17
Edges - Horizontal .......................................................................................................................17
Edges - Vertical ............................................................................................................................17
Erode ............................................................................................................................................16
Execution Order ...........................................................................................................................22

F
FA2ST ............................................................................................................................................1
FA2ST Tools ..................................................................................................................................2
Field
Operation List .........................................................................................................................10
Fill Horizontal Gaps ......................................................................................................................18
Fill Vertical Gaps ..........................................................................................................................17
Filter Descriptions ........................................................................................................................16
Filter Operations Dialog Box
1 ...............................................................................................................................................8
2 ...............................................................................................................................................9
3 .............................................................................................................................................14
Filtered Image Field .....................................................................................................................14

Index:
26
TIPS Vision Tool Manual
Introduction To Vision Tools

1 ...............................................................................................................................................9
2 .............................................................................................................................................14
Filtering Images .............................................................................................................................8
Filters ..............................................................................................................................................8
Adding ....................................................................................................................................11
Ordering .................................................................................................................................16
Filters Button ..................................................................................................................................8
FiltersRemoving ...........................................................................................................................15
Font ................................................................................................................................................4
Functionally Adaptive Application Specific Tools ..........................................................................1

G
GAUGE ..........................................................................................................................................3
Gauge Tool ....................................................................................................................................3
Gaussian 3x3 ...............................................................................................................................17
Gaussian 5x5 ...............................................................................................................................17

H
Hipass 3x3 ...................................................................................................................................17
Hipass 5x5 ...................................................................................................................................17

I
Image .............................................................................................................................................5
Image Contrast ..............................................................................................................................4
Image New Button .........................................................................................................................5
Image Quality .................................................................................................................................4
Images, Filtering ............................................................................................................................8
Iterations Parameter ....................................................................................................................14
Iterations Slider ............................................................................................................................14

L
Laplacian 3x3 ...............................................................................................................................17
Laplacian 5x5 ...............................................................................................................................17
Lighting ...........................................................................................................................................4
Live Button .....................................................................................................................................5
LOC ................................................................................................................................................3
Locate
1 ...............................................................................................................................................2
2 .............................................................................................................................................22
Locate Tool ....................................................................................................................................3

M
Mask Tool .......................................................................................................................................3
Math Tool .......................................................................................................................................3
Max Filter .....................................................................................................................................16
Median Filter ................................................................................................................................16

Index:
27
TIPS Vision Tool Manual
Introduction To Vision Tools

Min Filter ......................................................................................................................................16


MSK ................................................................................................................................................3
MTH ................................................................................................................................................3
Multiple Images ............................................................................................................................21

O
OCR ...............................................................................................................................................2
OCV ................................................................................................................................................2
Open .............................................................................................................................................16
Operation List ...............................................................................................................................10
Operation List Field
1 ...............................................................................................................................................9
2 .............................................................................................................................................10
Operations List Field ....................................................................................................................14
Optical Character Recognition Tool ..............................................................................................2
Optical Character Verification Tool ................................................................................................2
Ordering Filters ............................................................................................................................16
Original Image ..............................................................................................................................15

P
PCR ................................................................................................................................................3
Pixel Map .....................................................................................................................................18
PQV ................................................................................................................................................2
Prewitt 3x3 Horizontal ..................................................................................................................17
Prewitt 3x3 Vertical ......................................................................................................................17
Print Quality ....................................................................................................................................4
Print Quality Verification Tool ........................................................................................................2
Properties Dialog Box ....................................................................................................................8

Q
Quality, Image ................................................................................................................................4

R
Radius Tool ....................................................................................................................................3
Regions of Depressed Weighting ................................................................................................21
Removing Filters ..........................................................................................................................15
ROI .................................................................................................................................................6
Run Tools .....................................................................................................................................22

S
Sharpen 3x3 .................................................................................................................................17
Show All Filters Check Box ..........................................................................................................11
Single Model Source Tool ..............................................................................................................3
SMS
1 ...............................................................................................................................................2
2 ...............................................................................................................................................3

Index:
28
TIPS Vision Tool Manual
Introduction To Vision Tools

Sobel 3x3 Horizontal ....................................................................................................................17


Sobel 3x3 Vertical ........................................................................................................................17
Statistical Training ........................................................................................................................21

T
Test the Tool ................................................................................................................................22
Threshold .....................................................................................................................................17
Timing ............................................................................................................................................5
Tool Execution Order ...................................................................................................................22
Tool Properties Dialog Box ............................................................................................................6
Toolbox ..........................................................................................................................................6
Tools, Run ....................................................................................................................................22
Tools, Testing ..............................................................................................................................22
Train .............................................................................................................................................20
Train Stat ......................................................................................................................................20
Training
Statistical ................................................................................................................................21

U
Up-Arrow ......................................................................................................................................16
Up-Arrow Button ..........................................................................................................................10

V
View Properties ..............................................................................................................................6
Vision Edit ....................................................................................................................................22
Vision Edit Screen ..........................................................................................................................8
Vision Scripting Tool ......................................................................................................................3
VST ................................................................................................................................................3

End of document.

Index:
29
SYSTECH International, Inc.
2540 Route 130, Suite 128
Cranbury, NJ 08512
Phone: (609) 395-8400 FAX: (609) 395-0064
www.systech-tips.com

You might also like