Rockwell Automation 5370-CVIM2 Module User Manual

Page 321

Advertising
background image

5

Chapter

Chapter 7

Inspection Tools

7–83

the subtraction is assigned to one of the image buffers (

P1

,

P2

, or

P3

) in the

destination (“

Dest

”) column of the toolset edit panel.

S1 – T

The

S1 – T

operation subtracts a stored template (T) from an AOI within the

S1

image.

S1

represents the image source that is supplied to the current image tool and

designated in the “

S1

” column. The image source can be either a camera

(

C1

,

C2

, and so on) or an image buffer (

P1

,

P2

, or

P3

) containing an image

processed by another image tool or a rotation finder tool. (Any source that
may appear in the “

S2

” column will have no effect on the

S1 – T

subtraction operation.)

When the

S1 – T

subtraction operation is selected, the

Template

field

becomes active and displays “

No Template

” initially.

When the

Template

field is picked, the

Image Manager

panel appears.

This panel must be used to select an appropriate template image from the
current image, or from another image, whichever is appropriate for the
inspection application. For detail information about the

Image Manager

panel, refer to Chapter 4, Inspection Configuration, under the Image
Manager Panel
heading on page 4–40.

When the appropriate template image is selected, its name appears in the

Template

field. At the same time, the template image contents are

automatically subtracted from the contents of the AOI #1 window, and the
resulting image appears in the window (assuming that a destination buffer,
such as

P1

, has been selected in the toolset edit panel). Also at the same

time, the AOI #1 window is forced to adopt the size of the template image.

The AOI #1 window can then be positioned over the appropriate part of the
image, using the

button to select its pick and place function. Note,

however, that since the AOI#1 window always adopts the size of the
template image, only its position can be altered once the template image has
been selected.

Image Addition: S1 + S2, S1 + S1’, S1 + T

Image addition operations (

S1 + S2

,

S1 + S1’

, and

S1 + T

) can be used to

emphasize features that are common to two images, or add different features
on each image in order to create a composite image that contains all desired
features. The abbreviations

S1

,

S2

,

S1’

, and

T

represent the specific image

sources to be used in the image addition operation.

Advertising