21
Se
tti
ng
S
e
gm
e
nt
at
io
n
Co
n
di
tio
n f
or
C
ha
ra
ct
er
s
2ch
.
Dynamic
It is helpful when the brightness of the background in the area is
uneven. For example, use it when the brightness of the left side and
the right side of the area is different like the example on the right.
Example)
Behavior of Dynamic Thresholding
1. Divide the inspection area by the specified size, and
calculate the average of the brightness in each divided
area.
In the right figure, the area where a letter "B" is located is
segmented into 4.
2. Extract pixels over "A Offset value" (when the
background is dark and characters are light) or pixels
below "Average - Offset value" (when the background is
light and characters are dark) as the pixels which comprise
characters in each area.
In case of the dark figure on the left, if the offset value has been
set to "15", the threshold of each area is calculated as follows
because the character is darker than the background.
-
Threshold of lower left area: 110 - 15 = 95
-
Threshold of upper left area: 120 - 15 = 105
-
Threshold of upper right area: 130 - 15 = 115
-
Threshold of lower left area: 125 - 15 = 110
3. Execute “2" in all the divided areas.
Calculating the average of the brightness in each inspection area
that has been divided makes extracting only the target characters
easier even when the thresholds for the brightness of the extracted
pixels differ in each area and the brightness is uneven.
Summary of Contents for IMAGECHECKER PV230
Page 9: ...7 Preset menu 1ch Chapter 1 Preset Menu ...
Page 15: ...13 OCR Checker 2ch Chapter 2 OCR Checker ...
Page 61: ...59 Code Reader Checker 3ch Chapter 3 Code Reader Checker ...
Page 86: ......
Page 90: ...88 List of Output to Numerical Calculation Judgement and Data R W 3ch MEMO ...
Page 91: ...89 Communication Commands 4ch Chapter 4 Communication Commands ...
Page 109: ...107 Other Functions 5ch Chapter 5 Other Functions ...