Selecting Binary Or Gray Scale Mode - Allen-Bradley Bulletin 5370 CVIM User Manual

Configurable vision input module
Table of Contents

Advertisement

Chapter
6
Reference Tools: Lines and Windows
6-15
Selecting
Define Ref.Line
Popup Menus and
Parameters
(continued)
Your Action
Pick the Active Ref menu
box, if appropriate.
Selecting Active Reference Line
(continued)
Comments
When you pick the Active Ref box, it will either toggle
between X-Axis and Y-Axis or change from X-Axis to Y-Axis to
X/Y-Axis, according to the type that you selected.
Select the axis that you want to configure at this time.
Your Action
Look at the Mode menu box
in the Define Ref.Line
popup menu.
Pick the Mode menu box,
if appropriate.
Selecting Binary or Gray Scale Mode
Select the appropriate mode for each reference line.
NOTE:
The mode that you select will apply to X-axis and
Y-axis reference lines.
The Binary mode changes pixels in the screen image to two
states, white and black. The only pixels changed are those
that directly surround the reference line in a box called the
"area of interest." The CVIM system examines only these
pixels when processing a reference line
The binary mode is most appropriate when the workpiece
has a sharp black-and-white
contrast with its background,
such as when it is backlighted.
The Gray Scale mode does not affect the pixels surrounding
the reference line - they remain in their ori inal state, in
which they can have any one of 64 shades o B gray.
The gray scale mode is most appropriate when the workpiece
has less contrast with its background,
such as when it is
frontlighted.
In this case, features on the workpiece may
appear in the screen image as varying shades of gray, and
the binary mode may not enable you to identify a stable edge
location on these features.
Use the following steps to select the Binary or Gray Scale
mode.
Comments
The Mode menu box indicates the currently selected mode:
Binary, or Gray Scale.
When you pick the Mode menu box, the mode will toggle
to the other mode. Thus, Binary will change to Gray Scale, or
vice versa.

Advertisement

Table of Contents
loading

Table of Contents