VI User Manual.pdf - 第169页
Tools library Vision 2007 4.10 User Manua l Rev 01 7 - 7 TYPE 3 component (with circle) Specify the Background color in gray levels (between 1 and 25 5). Specify the Circle and Bo rder di- mensions and Color in gray leve…

Tools library
7 - 6 Vision 2007 4.10 User Manual Rev 01
TYPE 2 component (with leads)
Specify the Background color in
gray levels (between 1 and 255).
Specify the dimensions and color in
gray levels of the component body
(between 1 and 255).
Specify the lead characteristics:
number, dimensions (width, length),
color, distance for each side.
Use this button to propagate a value
to the whole line. Click on the box
you want to propagate and then on
the arrow.
Specify the Scale of the component
you want to create (1 by default).
Press ReDrawing button at any time
to view the changes in the creation of
your component after modifications.
Customize Pin
Use More parameters to customize
your component and see each pin char-
acteristics. The opposite screen ap-
pears.
You can have a different number of pins
on each side of the component. Each
pin can be different and at any position.
Use the cursor to have the following pin
parameters.
Leads properties
Double-click on leads or right-click to see the leads properties. You can remove some leads
using Cut option.
Select several leads, keeping pressing Shift or Ctrl.
Right-click and select properties to see only the common properties of these leads.
Component library

Tools library
Vision 2007 4.10 User Manual Rev 01 7 - 7
TYPE 3 component (with circle)
Specify the Background color in
gray levels (between 1 and 255).
Specify the Circle and Border di-
mensions and Color in gray levels
(between 1 and 255).
Specify the Offset between the circle
and the center of the component in
mm.
Specify the Component and Border
dimensions and color in gray levels
(between 1 and 255).
Specify the Scale of the component
you want to create (1 by default).
Press ReDrawing button at any time
to view the changes in the creation of
your component after modifications.
Gray levels
Black = 30: component or support (board).
White = 226: leads, pads or the support (board).
Gray = 128: component or support (board).
Note that the average difference between the colors is the same.
Only 3 gray levels are to be used in the creation of a synthetic
model.
Examples
Chip Capacitor
C3216 (C1206)
Component
image
Synthetic
image
Real
image
Chip Resistor
R3216 (R1206)
Component library

Tools library
7 - 8 Vision 2007 4.10 User Manual Rev 01
7.1.4 Creating synthetic models with Image Edit
7.1.4.1 Image Edit description
Images created by
Image Edit
are real images from the Full
board library, but modified to
extract, highlight or enhance
their features.
This allows to emphasise
what the inspection tools
should look for, and ignore
features that are not or less
important. This also results in
increased inspection perfor-
mance.
Select a representative pattern with consistent features. Reduce needless features and
image noise. Train only important features. Consider editing bitmaps to create a repre-
sentative pattern. Larger patterns will provide greater accuracy. High frequency features
are more significant at outer edges of patterns.
7.1.4.2 Image Edit using
1. Select ImgEdit in the Edit menu.
2. The Cognex Image and Mask Editor window appears (see below). A tool box to mod-
ify the image is presented: enhance the lines that you want to keep for the inspection,
or delete those that seem to be unimportant.
3. To display a component image, go
into the File menu and click Open
(Ctrl+O). The Open Files window
appears. Click this button (A) to
choose the real image of the model
that you want to modify and remove
the tick from Mask file (B).
4. The Image Edit window is activated,
with the selected image (lighting lev-
el) of the model.
5. Click on the Save icon in the tool bar
to save the modified image of the
model or select Save (Ctrl+S) in the
File menu then Exit in the same
menu to return to Vision 2007 main
screen.
6. Select Create model from current
series from the Models menu to en-
able the newly modified image to be
listed in the component library.
Image Edit is used to convert real images into synthetic images.
A library must be opened to access the Edit menu.
Original real image
Lines that are not important
to the inspection are deleted.
Synthetic image from Image Edit
A
B
Component library