Image tool operations: warning messages – Rockwell Automation 5370-CVIM2 Module User Manual
Page 322
Chapter 7
Inspection Tools
7–84
In an image addition operation, the image tool adds an AOI in the secondary
image designated by
S2
or
S1’
(or a “template” designated as T) to an AOI
in the primary image designated by
S1
, and places the resulting unsigned
image in the designated destination buffer. More specifically, the value of
each pixel in the
S2
,
S1’
, or
T
image is added to the value of each
corresponding pixel in the
S1
image, and the sum is divided by two. The
resulting average of the two values is then placed the destination buffer.
If S1 and S2 (or S
Ȁ or T) are binary images, a logic AND function will be
performed on the two images, as shown by the following table:
S1
S2, S
Ȁ, or T
Pn or Bn
Black
Black
Black
Black
White
Black
White
Black
Black
White
White
White
The basic configuration details that apply to the image subtraction operations
apply also the image addition operations. Refer to the corresponding section
under the Image Subtraction heading, immediately preceding this section, for
details.
As you configure an image tool, under some circumstances you will see two
related warning messages on the display. These messages (which appear
sequentially) are intended to alert you to certain adjustments that the CVIM2
system makes automatically during the image tool configuration.
The two messages are these:
•
The tool is outside of the image.
•
The tool was modified to fit.
This section explains these two messages and the circumstances under which
they occur.
Whenever you add a new image tool to the toolset edit panel, by default it
will enter the lowest numbered camera (such as “
C1
”) in the “
S1
” source
column. If you then change
S1
source to an image buffer (such as “
P1
”)
containing an image from an earlier image processing tool, that image will
typically be significantly smaller than a full–size camera image and will
always be positioned, by default, in the upper–left “corner” of the image
buffer.
Image Tool Operations:
Warning Messages