Rockwell Automation 5370-CBPK Color CVIM BLISTER-PAK Option User Manual

Page 36

Advertising
background image

Chapter 5
Auto Setup

5–16

Learn Object Colors

When you pick

Continue

, the system automatically begins the process of

“learning” the first object color as

Color 3

.

As is the case with learning the background color, the learning process for an
object color also requires several seconds to complete. While it is under way,
its progress is reported in the help message box. As the system continues to
learn the object color, the color parameters are continually updated, and they
are displayed in the message box as follows:

Learning object Color

–26 < H < 40 6 < S < 70 94 < I < 218

The changing numbers on the bottom line reflect the hue, saturation, and
intensity values as they are automatically calculated. (Note: Negative hue
values will be converted to “outside” hue limits after the color is learned.)

A green outline appears around each object of the current color. (If the object
is a two–color capsule, only the halves of the current color will have a green
outline.) Any red appearing in the objects at this time indicates the presence
of an object of another color that fits within the HSI limits being taught, or a
“hole” within one of the taught objects, which the system will try to
eliminate.

When the object color has been learned, the message box displays this
message:

If this object color is acceptable, select
Continue. Otherwise, select Adjust Color.
Select Stop to abort auto–setup.

The object color is acceptable if all regions of the color are outlined in green.
If that is not the case at this time, pick the

Adjust Color

menu item, and use

the

Adjust Color

menu to adjust the color as required. Refer to the “

Color

menu” in Chapter 3 of the Color CVIM User’s Reference Manual for
information about the color adjustments that you can perform using the

Adjust Color

menu (the two menus provide identical color adjustment

functions).

NOTE 1: If the object color cannot be adjusted so that the tablets are
outlined in green, pick

Stop

to abort the auto setup process at this point and

adjust the lighting to more uniformly illuminate the background. Filtering
(binary morphology) may improve image quality. Refer to the Filtering
(Binary Morphology)
section on page 6–13 of Chapter 6 for details.

When the object color is acceptable, pick

Continue

to go to the next step.

NOTE 2: If two or more colors were selected by the

No. Colors

menu item

(see page 5–10), the Identify Object Colors and Learn Object Colors steps
must be repeated for each remaining color to be learned.

Advertising