9-6
Object Counting by Binary Conversion
9
INVERT B/W
Select whether to invert the display of black and white inside the measurement area.
Setting the mask details
On the "REG COND" screen, move the
cursor to the upper function menu by
pressing the TRG/BRT key. Select "DETAIL"
by pressing the left and right arrow keys and
then press the SET key. On the popup menu,
you can select "MASK REGIST.," "BINARY
PROCESS," "BINRY NOISE FILT,"
"BOUNDARY PROCESS, " and "AREA
FILTER." The items selected here will be
displayed on the "REG COND" menu.
MASK NO.
Select a mask number.
Note: This is available when "NORMAL" is
selected on the "
WINDOW" line.
MASK SHAPE
Select mask shape.
- Select "NO," "RECTANGLE," "CIRCLE," or "ELLIPSE."
- When "BINARY-IMG-MASK" is selected on the "
WINDOW" line, this line will not appear,
since this is already selected on the "MASK BINARY IMG" screen.
- When "POLYGON" is selected on the "
WINDOW" line, specify the polygonal shape of the
mask.
BINARY PROCESS
Select a binary processing method. Move the cursor to "FIXED," "THRES-ADJ (VAR-DIFF)"
{adjustable threshold value (variation difference)}, or "THRES-ADJ (VAR-RATE)" {adjustable
threshold (variation rate)}, and press the SET key to continue.
For details, see page 3-23.
BINARY NOISE FILTER
Select a binary noise filter type. Move the cursor to "NO," "EXPD.
→
CONTR." (expansion
→
contraction), or "CONTR.
→
EXPD" (contraction
→
expansion), and press the SET key to
continue.
For details, see page 3-24.
BOUNDARY PROCESS
Select whether objects crossing the boundary of the window will be "VALID" or "INVALID."
For details, see page 3-25.
AREA FILTER
This function is used to exclude an object from measurement if its area is outside of the upper or
lower limits. Specify a number from 0 to 245760.
Example of register measurement area and area mask
Measurement area
(Rectangle)
Mask area
(Rectangle)
- The inside of the measurement area
(excluding the mask area) is converted to
binary data.
RED F C1 BRT
REG COND
SCREEN COND SAVE DETAIL
SET=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
NO
RECTANGLE
CIRCLE
ELLIPSE
1
REGISTER NO.
0(0〜3)
2
MEAS SHAPE
RECTANGLE
3
MEAS AREA
SET (224,208)
〜
(287,271)
4
THRESHOLD
SET [U.LM255 L.LM100 (0~255)]
5
INVERT B/W
NO
6
MASK NO.
0(0~3)
7
MASK SHAPE
NO
8
BINARY PROCESS
FIXED
9
BINARY NOISE FILT
NO
0
BOUNDARY PROCESS
VALID
q
AREA FILTER
U.LM245760 L.LM000000(0~245760)
VALID
INVALID
NO
EXPD.
→
CONTR.
CONTR.
→
EXPD.
FIXED
THRES-ADJ (VAR-DIFF)
THRES-ADJ (VAR-RATE)
□
MASK REGIST.
□
BINARY PROCESS
□
BINRY NOISE FILT
□
BOUNDARY PROCESS
□
AREA FILTER