Rockwell Automation 5370-CVIM2 Module User Manual

Page 302

Advertising
background image

Chapter 7

Inspection Tools

7–64

Figure 7.53 illustrates the effects on the inspected object that

Absolute

and

S.Threshold

LUTs have when using the

Sobel X

kernel.

Figure 7.53 Example: Effects of Absolute and S.Threshold LUTs With Sobel X Kernel

Inspected object using

Absolute LUT

Inspected object using

S.Threshold LUT

Sobel Y Kernel –– The coefficients in the

Sobel Y

kernel are arrayed in a

3x3 matrix, as follows:

2

1

0

–1

0

–2

1

0

–1

Figure 7.54 (page 7–65) uses the inspected object shown in Figure 7.52 (page
7–63) to illustrate the effect of the

Sobel Y

kernel.

In Figure 7.54, the

Sobel Y

kernel causes the gradient on the top side of the

inspected object to appear as a thin horizontal line of light pixels, and the
bottom gradient to appear as a line of dark pixels. The pixels surrounding the
two gradients were converted to medium gray.

Advertising