Rockwell Automation 5370-CVIM2 Module User Manual

Page 271

Advertising
background image

5

Chapter

Chapter 7

Inspection Tools

7–33

Figure 7.29 Example: Using the White Pixel Counting Operation

Note in Figure 7.29 that the “

Nominal

” value shows a total of 14142 white

pixels –– the sum of the white pixels in the 15 circular features.

NOTE: When counting black pixels, the image will be inverted so that the
black pixels are displayed as white pixels on the screen, and vice versa.

Figure 7.30 is an example that illustrates using a rectangular window and the
black pixel–counting operation to measure the total area of 15 black circular
features on a white workpiece. In this example, the workpiece and its features
are the same size as the workpiece and features in Figure 7.29.

Figure 7.30 Example: Using the Black Pixel Counting Operation

Note in Figure 7.30 that the “

Nominal

” value shows a total of 15201 black

pixels –– the sum of the black pixels in the 15 circular features (even though
the “black” features appear white on the screen).

Advertising