Rockwell Automation 5370-CVIM2 Module User Manual

Page 311

Advertising
background image

5

Chapter

Chapter 7

Inspection Tools

7–73

Figure 7.61 Example: Effect of Average 3x3 Kernel on Inspected Object

Image

tool

Inspected

object

Average 5x5 Kernel –– The coefficients values in the

Average 5x5

kernel

are all equal to 1, as follows:

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

The operation of the

Average 5x5

kernel is the same as the operation of the

Average 3x3

kernel illustrated in Figure 7.60 (page 7–72). The difference is

that the

Average 5x5

kernel multiplies each of the 25 gray scale values by

1/25.

Figure 7.62 (page 7–74) illustrates the effect of the

Average 5x5

kernel on

the grid shown in Figure 7.61. Notice that the grid lines within the image tool
are somewhat more blurred when compared to the grid in Figure 7.61. This
demonstrates that the

Average 5x5

kernel has a somewhat greater

“smoothing” effect than the

Average 3x3

kernel.

Advertising