JPS58195986A - Threshold value controller of character reader - Google Patents

Threshold value controller of character reader

Info

Publication number
JPS58195986A
JPS58195986A JP57079515A JP7951582A JPS58195986A JP S58195986 A JPS58195986 A JP S58195986A JP 57079515 A JP57079515 A JP 57079515A JP 7951582 A JP7951582 A JP 7951582A JP S58195986 A JPS58195986 A JP S58195986A
Authority
JP
Japan
Prior art keywords
value
threshold
binarization
threshold value
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP57079515A
Other languages
Japanese (ja)
Other versions
JPH0211948B2 (en
Inventor
Masaaki Ishizaka
政明 石坂
Toichi Kudo
工藤 統一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nissan Motor Co Ltd
Panasonic Mobile Communications Co Ltd
Original Assignee
Nissan Motor Co Ltd
Matsushita Communication Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd, Matsushita Communication Industrial Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP57079515A priority Critical patent/JPS58195986A/en
Publication of JPS58195986A publication Critical patent/JPS58195986A/en
Publication of JPH0211948B2 publication Critical patent/JPH0211948B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/16Image preprocessing
    • G06V30/162Quantising the image signal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Abstract

PURPOSE:To read character stably at a high speed by coding a picture signal into a binary-coded signal on the basis of a proper threshold value corresponding to the brightness of each character and processing the binary-coded signal at a processing part. CONSTITUTION:The content of a register 12 is supplied through a multiplexer 13 from a D/A converter 14 as the threshold value to be supplied to a binary coding comparator 11 for the binary coding of the picture signal of a television camera 10. The binary-coded picture signal is effective only in areas (h), (i), and (j) of gate circuits 18, 19, and 20 by area signals showing character ends at a left, a center, and a right end from area signal generators 15, 16 and 17, and counters 21, 22, and 23 count the number of picture element for logical operations of white in the areas (h), (i), and (j), frame by frame. Thus, the threshold values for such binary coding that 50% of picture elements in the areas corresponding to the left, center, and right ends are black are obtained in registers 28, 29, and 30 while the content of the register 12 increases by a specified value at every frame scan of the screen from an initial value to a final value.

Description

【発明の詳細な説明】 本発明は文字読取装置において安定に2値化を行うため
のしきい値を与えるしきい値制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a threshold control device that provides a threshold for stable binarization in a character reading device.

文字読取装置においては、テレビカメラ等の撮像装置に
よって得た文字を含む画像信号をあるしきい値と比較し
て暗に部分を11 Q I+とし、明るい部分を“1″
として得られた2値化画像に対して処理を加えて文字を
読み取ることが多く、このしきい値をどのような値に設
定するかは非常に重要である。すなわち第1図の文字を
読み取る場合、読み読りの走査線1,2.3における画
像信号は文字の濃淡に対応してそれぞれ第1図a、b、
cの値を得る。これに対する2値化のためのしきい値は
第1図a、b、cの振巾のほぼ中央値であるdの値に設
定しておけばよい。しかし一般に多数桁の文字を読み取
る場合はそれぞれの桁における画像信号が同じ出力を与
えることは少ない。特に第2図に示すように特定の一方
向からの光源4により照明された文字6をラスクスキャ
ン方式のテレビカメラ6にて読み取る場合は第3図に示
すように文字の位置にて背面の明るさ及び文字の明るさ
が光源4に近い部分が明るく、光源4に遠い方は暗くな
り、読み取りの走査線? 、8.9における画像信号は
e、r、gのごとくとなり、2値化を行うしきい値を一
律に設定することができない。
In a character reading device, an image signal containing characters obtained by an imaging device such as a television camera is compared with a certain threshold value, and the dark part is set to 11 Q I+, and the bright part is set to "1".
In many cases, characters are read by processing the binarized image obtained as a digital image, and the value to which this threshold value is set is very important. In other words, when reading the characters shown in Figure 1, the image signals in scanning lines 1, 2, and 3 for reading and reading correspond to the shading of the characters, respectively.
Obtain the value of c. The threshold value for binarization in this case may be set to the value of d, which is approximately the median value of the amplitudes of a, b, and c in FIG. 1. However, in general, when reading characters with many digits, the image signals for each digit rarely give the same output. In particular, when reading characters 6 illuminated by a light source 4 from a specific direction as shown in FIG. The brightness of the text and characters is brighter in the area closer to light source 4, and darker in areas farther from light source 4, which is the scanning line for reading. , 8.9, the image signals are e, r, g, and the threshold value for binarization cannot be uniformly set.

従来の文字読み取り装置においては、文字の明るさの変
化に対応するため読み取りの始めに2値化を行うための
しきい値を制御するのが常であり、このような文字の桁
毎に明るさが変化するものに対しては読み堆りを行うこ
とが困難であった。
In conventional character reading devices, the threshold for binarization is usually controlled at the beginning of reading in order to respond to changes in character brightness, and the brightness changes for each digit of the character. It was difficult to read and compile data whose height changes.

本発明はこのような場合にも高速にかつ安定に読み取り
を行うことを目的とするものである。
The object of the present invention is to perform high-speed and stable reading even in such cases.

本発明の一実施例を第4図に示す。なお、以下の説明は
、便宜上一連の文字位置のうち左端、中央、右端の3個
所を選びこれに対応する適切な2値化を行うしきい値を
求めるこ、ととするが、必要に応じて各文字の位置に対
応す兄2値化のしきい値を求めるように拡張することは
容易である。第4図において、1oはテレビカメラ、1
1はテレビカメラ10からの映像信号を2値化する2値
化比較器、12は2値化を行うしきい値を定めるレジス
タ、13はマルチプレクサ、14は2値化を行うしきい
値を与えるDムコンバータである。
An embodiment of the present invention is shown in FIG. For convenience, in the following explanation, we will select three positions from a series of character positions, the left end, the center, and the right end, and find the corresponding threshold values for appropriate binarization. It is easy to extend this method to find the threshold value for binarization corresponding to the position of each character. In Figure 4, 1o is a television camera, 1
1 is a binarization comparator that binarizes the video signal from the television camera 10; 12 is a register that determines a threshold for binarization; 13 is a multiplexer; and 14 provides a threshold for binarization. It is a DM converter.

15.16.17はテレビカメラ10の画面の掃引に応
じてそれぞれ左端、中央、右端の文字付近の第6図に示
すり、i、jの領域にて論理″1″の信号を与え、それ
以外の領域では論理“0”の値を与える領域信号発生器
、18,19.20はゲート回路、21,22.23は
テレビカメラ1゜の画面のフレーム内における論理゛1
”を計数するカウンタ、24!L 、24b 、240
は比較値発生器、25,26.27は比較器、2B 、
 29 。
15, 16, and 17 apply logic "1" signals in the areas i and j shown in FIG. 18, 19, 20 are gate circuits, 21, 22, 23 are logic ``1'' within the frame of the screen of the television camera 1°;
” counter, 24!L, 24b, 240
is a comparison value generator, 25, 26.27 is a comparator, 2B,
29.

3oはレジスタ、31はテレビカメラ1oの画面の掃引
に応じ第6図の左端文字と中央文字の間のに1および中
央文字と右端文字の間のlの位置で切換信号を出力する
切換信号発生器、32はマルチプレクサ、33は演算器
、34は2値化された画像信号を処理して、文字読み取
りを行う処理部である。
3o is a register; 31 is a switching signal generator that outputs switching signals at positions 1 between the leftmost character and the center character in FIG. 6 and l between the center character and the rightmost character in response to the sweep of the screen of the television camera 1o. 32 is a multiplexer, 33 is an arithmetic unit, and 34 is a processing unit that processes the binarized image signal and reads characters.

次に上記実施例の動作について説明する。本実施例の動
作は2段階に分れており、各文字の位置に対応するしき
い値を求める第1段階においては、テレビカメラ10の
画像信号を2値化するために2値化比較器11に与えら
れるしきい値は、レジスタ12の内容がマルチプレクサ
13を通してDムコンバーク14により与えられる。レ
ジスタ12はあらかじめ与えられた十分低い初期値より
画面のフレーム毎に順次一定の値づつ上昇し最終値に至
るように動作し、これに従って2値化比較器11から得
られる2値化画像信号は、白を表わす論理信号“1“が
多い状態から黒を表わす論理信号“0゛が多い状態に変
化していく。この2値化画像信号は領域信号発生器16
,16.17からの左端、中央、右端の文字位置を表わ
す領域信号によりゲート回路18,19.20にて第6
図h+ i+ ]の領域内のみ有効とされ、更にフレー
ム毎にリセットされるカウンタ21,22.23に送ら
れる。すなわち、カウンタ21,22,23は、フレー
ム毎にそれぞれ第6図h+ i+ ]の領域内にて白の
論理をとる画素の数を計数する。
Next, the operation of the above embodiment will be explained. The operation of this embodiment is divided into two stages. In the first stage, a threshold value corresponding to the position of each character is determined, in which a binarization comparator is used to binarize the image signal of the television camera The threshold value provided to 11 is provided by the Dmucon Bark 14 from the contents of register 12 through multiplexer 13 . The register 12 operates in such a way that it increases by a certain value sequentially for each frame of the screen from a sufficiently low initial value given in advance, and reaches the final value. Accordingly, the binarized image signal obtained from the binarized comparator 11 is , the state changes from a state where there are many logic signals "1" representing white to a state where there are many logic signals "0" representing black. This binary image signal is generated by the area signal generator 16.
, 16.17, the gate circuits 18, 19.20 receive the sixth
h+i+] in the figure, and is further sent to counters 21, 22, and 23, which are reset every frame. That is, the counters 21, 22, and 23 each count the number of pixels that take the white logic in the area h+ i+ ] in FIG. 6 for each frame.

カウンタ21,22.23の内容はフレーム走査の終了
時点にて各々比較器25.26.27において比較値発
生器24L、24b、240の出力する一定の値(通常
第5図り、’ + jの計数領域のそれぞれにおいて画
素の数の50%に対応する値を出力する)と比較され、
小さい場合は各々レジスタ12の内容を記憶すべく用意
されているレジスタ2B、29.30へ書き換えのパル
スが送出される。以上の方法によりレジスタ12の内容
が初期値より画面のフレーム走査毎に順次一定の値づつ
上昇し最終値に至るまでの間に左端の文字。
The contents of the counters 21, 22, 23 are determined by the constant values output by the comparison value generators 24L, 24b, 240 (usually the fifth figure, ' output a value corresponding to 50% of the number of pixels in each of the counting regions),
If it is smaller, a rewrite pulse is sent to the registers 2B and 29 and 30, which are prepared to store the contents of the register 12, respectively. By the above method, the contents of the register 12 increase from the initial value by a constant value every time the screen is scanned, until reaching the final value.

中央の文字、右端の文字に対応する領域の画素の60%
が黒となる2値化を行うしきい値をそれぞれレジスタ2
8,29.30に得ることができる。
60% of the pixels in the area corresponding to the center character and the rightmost character
The threshold value for binarization at which the color becomes black is set in register 2.
You can get it on 8, 29.30.

次に各文字を読み取る段階においては、マルチプレクサ
13が切換わり、切換信号発生器31から発生する切換
信号に従ってマルチプレクサ32が画面走査に従ってレ
ジスタ28.29.30の内容を順次読み出し、これに
対し演算器33において一定の値を加えるかもしくは一
定の値を掛けることによって得られるしきい値をダイナ
ミックにDムコンメータ14を通して2値化比較器11
に与える。このように演算器33において一定の値を加
え、又は一定の値を掛けることにより、各領域において
文字を確実に判別できるしきい値を与えることができる
ものである。
Next, at the stage of reading each character, the multiplexer 13 is switched, and according to the switching signal generated from the switching signal generator 31, the multiplexer 32 sequentially reads out the contents of the registers 28, 29, 30 according to screen scanning, and 33, the threshold value obtained by adding a certain value or multiplying by a certain value is dynamically passed through the D mukon meter 14 to the binarization comparator 11.
give to In this way, by adding or multiplying by a certain value in the arithmetic unit 33, it is possible to provide a threshold value that allows characters to be reliably discriminated in each area.

以上のように、本発明によれば、2値化比較器より得ら
れる2値化画像信号は各文字の明るさに対応した適切な
しきい値により2値化されたものとなっており、これを
処理部により処理することにより高速かつ安定に文字の
読み堆りを行うことができる利点を有するものである。
As described above, according to the present invention, the binarized image signal obtained from the binarization comparator is binarized using an appropriate threshold value corresponding to the brightness of each character. This has the advantage that characters can be read and recorded at high speed and stably by being processed by the processing section.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は均一な明るさを持つ複数桁の文字を走査して2
値化信号を得る過程を示す図、第2図は斜め一方向から
の光源により照明された複数桁の文字をテレビカメラに
より読み取る場合の概略を示す斜視図、第3図は第2図
における文字を走査して得られる信号を示す図、第4図
は本発明の一実施例のブロック図、第6図は同実施例の
複数桁の計数領域を示す図である。 10−・・・・・テレビカメラ、11・・・・・・2値
化比較器、12・・・・・・レジスタ、13・川・・マ
ルチプレクサ、14・・・・・・Dムコンバータ、15
,16.17・・・・・・領域信号発生器、18,19
.20・・・・・・ゲート回路、21 、22 、23
−−・−カウンタ、24&、24b。 240・・・・・・比較値発生器、25,26.27・
・・・・・比較器、28,29.30・・・・・・レジ
スタ、31・・・・・・切換信号発生器、32・・・・
・・マルチプレクサ、33演算器、34・・・・・処理
部。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 fIi2図 第3図
Figure 1 shows how to scan a multi-digit character with uniform brightness.
Figure 2 is a diagram showing the process of obtaining a digitized signal. Figure 2 is a perspective view schematically showing the case where a television camera reads a multi-digit character illuminated by a light source from one diagonal direction. Figure 3 is the character in Figure 2. FIG. 4 is a block diagram of an embodiment of the present invention, and FIG. 6 is a diagram showing a multi-digit counting area of the same embodiment. 10-... TV camera, 11... Binarization comparator, 12... Register, 13... Multiplexer, 14... DM converter, 15
, 16.17... Area signal generator, 18, 19
.. 20...Gate circuit, 21, 22, 23
---Counter, 24&, 24b. 240... Comparison value generator, 25, 26.27.
...Comparator, 28, 29.30...Register, 31...Switching signal generator, 32...
...Multiplexer, 33 arithmetic unit, 34...processing unit. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Figure fIi2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 複数の桁より々る文字、記号が付された被読取部を撮像
するラスクスキャン方式の撮像装置と、予め与えられた
初期値より画面のフレーム走査毎に順次変化するしきい
値を発生するしきい値発生手順と、上記撮像装置からの
画像信号を上記しきい値発生手段からのしきい値と比較
して2値化化号を発生する2値化比較器と、上記被読取
部の複数の桁位置に対応する一定領域において2値化化
号の画素が0又は1の論理値をとる数を計数しこの計数
値が一定値となった時の2値化のしきい値を記憶する複
数の記憶手段と、この記憶手段に記憶されたしきい値を
複数の各桁位置に対応して読み出しこの読み出し結果に
基いて上記2値化比較器にしきい値を与える手段とを具
備してなる文字読取装置のしきい値制御装置。
A rusk scan type imaging device that images a part to be read with characters and symbols consisting of multiple digits, and a threshold value that sequentially changes every frame scan of the screen from a pre-given initial value. a threshold value generation procedure; a binarization comparator for generating a binarization signal by comparing an image signal from the imaging device with a threshold value from the threshold generation means; and a plurality of the read parts. Count the number of pixels of the binarization code that take a logical value of 0 or 1 in a certain area corresponding to the digit position, and store the threshold for binarization when this count becomes a constant value. It comprises a plurality of storage means, and means for reading the threshold values stored in the storage means corresponding to each of the plurality of digit positions and applying the threshold values to the binarization comparator based on the reading results. Threshold control device for character reading device.
JP57079515A 1982-05-11 1982-05-11 Threshold value controller of character reader Granted JPS58195986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57079515A JPS58195986A (en) 1982-05-11 1982-05-11 Threshold value controller of character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57079515A JPS58195986A (en) 1982-05-11 1982-05-11 Threshold value controller of character reader

Publications (2)

Publication Number Publication Date
JPS58195986A true JPS58195986A (en) 1983-11-15
JPH0211948B2 JPH0211948B2 (en) 1990-03-16

Family

ID=13692101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57079515A Granted JPS58195986A (en) 1982-05-11 1982-05-11 Threshold value controller of character reader

Country Status (1)

Country Link
JP (1) JPS58195986A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6184967A (en) * 1984-10-03 1986-04-30 Oki Electric Ind Co Ltd Slice level determining circuit
JPS6469163A (en) * 1987-09-10 1989-03-15 Minolta Camera Kk Picture reader

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6184967A (en) * 1984-10-03 1986-04-30 Oki Electric Ind Co Ltd Slice level determining circuit
JPS6469163A (en) * 1987-09-10 1989-03-15 Minolta Camera Kk Picture reader

Also Published As

Publication number Publication date
JPH0211948B2 (en) 1990-03-16

Similar Documents

Publication Publication Date Title
JP2716755B2 (en) Image processing device based on address token
GB1349303A (en) Stored reference code character reader method and system
JP2967014B2 (en) Image processing device
JPH04275772A (en) Picture reader
JPS59178077A (en) Method for compressing data of binary picture
JPS58195986A (en) Threshold value controller of character reader
JPH0470057A (en) Halftone processing circuit
JPH01303578A (en) Picture converting device
JPH04369173A (en) Document reader
RU2173880C2 (en) Method and device for separating attributes to identify images of objects
JPH04295980A (en) Image reader
JP3976436B2 (en) Median extraction circuit and image processing apparatus using the same
JPS6331825B2 (en)
JPS58169681A (en) Picture processing circuit
JPH02216974A (en) Binarizing signal processor
JPH10240856A (en) Code reader
JP3061830B2 (en) Image processing device
SU1195344A1 (en) Device for displaying graphic information on televison receiver screen
JPS6393080A (en) Binarization method for image
JPH0685186B2 (en) Photo area identification device
JPH0378885A (en) Picture reduction processing system
JPH01218166A (en) Optical image reader
JPH0546746A (en) One-dimensional image processor
JPS62281678A (en) Picture processor
JPS62245485A (en) Multilevel image logical arithmetic circuit