2-12-(7)
Detecting Binary Defects
Section 2-12
Axis Angle
The axis angle is the angle of the major axis of an ellipse that is diagrammati-
cally equivalent to the area occupied by the white pixels.
CHECK
More processing time is required to calculate the axis angle. To simply find the
area and center of gravity, use a gravity and area measurement.
Area (Var. Box)
Use an area (variable box) measurement to adjust the measurement region (a
box) for measurement objects with varying sizes or positions and find their size
and center of gravity.
The upper, lower, left, and right edges of the measurement object are found.
The measurement region will be on the inside of the edges that were found.
With the edges detected, the Controller can determine where the measure-
ment object is. Even if the size and position of the measurement object
changes, the Controller can move the measurement region appropriately.
Once the edges have been found, the image is converted to a binary image
and the area and center of gravity of the measurement region are found.
2-12-3-1
Gravity and Area
Density images taken by the Camera are converted to binary images, made
up of black and white pixels. The size (area) and position (center of gravity) of
the area occupied by the white pixels are measured. Refer to page 2-12-(6).
STEP 1: Changing Binary Level for Each Region
Perform this operation to change the binary level for each region.
Set the level for converting 256-gradation images into binary images. Mea-
surements are performed for the white pixels. Therefore, make the settings so
that the measurement object is white.
Measurement region
Upper edge
Lower edge
Left edge
Right edge
Measurement region
Measurement region
1
2
3
4
6
5
Change
binary level
for each
region.
Set mea-
surement
conditions.
Draw mea-
surement
region.
Re-register
reference
values.
Set
judgement
conditions.
Change
pixel
skipping.
(As required)
(As required)
(As required)
(As required)