Rockwell Automation 5370-CVIM2 Module User Manual

Page 177

Advertising
background image

Chapter 6

Reference Tools

6–18

Figure 6.16 uses both the binary gaging mode and the gray scale gaging
mode to identify the potential maximum foreground object reference points.

Figure 6.16 Example: Maximum Foreground Objects (Binary and Gray Scale)

Adjacent

pixels

Adjacent

pixels

Midpoint

Leading

edge

Maximum foreground object

Midpoint

Leading

edge

A

B

Binary gaging mode:

Gray scale gaging mode:

Maximum foreground object

Note in Figure 6.16 that the term “foreground object” has a different
meaning for binary and gray scale gaging modes, as follows:

Binary gaging mode –– The maximum foreground object is the one with the
greatest number of consecutive white pixels between the first and last
detected edges on the axis. In example (A), above, the center object has the
greatest number of consecutive white pixels.

Gray scale gaging mode –– The maximum foreground object is the one with
greatest number of consecutive pixels (between the first and last detected
edges) that are lighter than the adjacent pixels –– the pixels on both sides of
the object. In example (B), above, the center object has the greatest number
of consecutive pixels that are, in this case, lighter than the adjacent pixels.

Advertising