A Few Questions And Answers About Windows; Using Rectangular Windows - Allen-Bradley Bulletin 5370 CVIM User Manual

Configurable vision input module
Table of Contents

Advertisement

8-2
Chapter
8
hspection
TOO/S: Windows
-
A Few Questions and
Answers About
How many windows are available?
Windows
(continued)
The CVIM system provides 24 windows for each of the two
tool sets, for a total of 48. Each window can be rectangular,
elliptical, or polygonal.
What functions can a window perform?
A window's function during each inspection cycle is one of
these:
l
Count the number of black or white pixels within the
window.
l
Count the number of black or white objects within the
window.
l
Compare a specific workpiece feature with a "template"
of
that feature taken from an ideal workpiece and stored in the
CVIM system's memory.
l
Calculate the average luminence, or light intensity, of a
part of a workpiece.
Windows
Using Rectangular Windows
This part of the chapter provides you with the details of
using and configuring
windows of all shapes.
Under the Using Rectanglar Windows, Using Eliptical
Windows, Using Masks with Windows, and Using Polygonal
-
Windows headings, you will see simple application examples
of the three window shapes.
Under the Configuring
Windows heading, you will find out
how to use the "user interface" - the light pen and the popup
menus on the video monitor screen - to configure windows
for inspection tasks.
This section describes how you can use rectanguzar windows
to inspect a workpiece or parts of a workpiece. (Note that the
term "rectangular"
includes square windows.)
The following examples use rectangular windows to
determine whether holes have been punched in a metal
plate. The assumptions are as follows:
l
The metal plate is backlighted.
l
Rectangular
windows will be used for these operations:
l
Count black pixels, which represent the opaque metal
in the plate.
l
Count the white pixels that represent just the holes in
the plate.
l
Count the white objects that represent just the holes in
-
the plate.

Advertisement

Table of Contents
loading

Table of Contents