JP3203791B2 - Character arrangement inspection device - Google Patents

Character arrangement inspection device

Info

Publication number
JP3203791B2
JP3203791B2 JP23065692A JP23065692A JP3203791B2 JP 3203791 B2 JP3203791 B2 JP 3203791B2 JP 23065692 A JP23065692 A JP 23065692A JP 23065692 A JP23065692 A JP 23065692A JP 3203791 B2 JP3203791 B2 JP 3203791B2
Authority
JP
Japan
Prior art keywords
circuit
video signal
character
camera
character arrangement
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.)
Expired - Fee Related
Application number
JP23065692A
Other languages
Japanese (ja)
Other versions
JPH0686287A (en
Inventor
広重 坂原
聡 桜井
二三也 西埜
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP23065692A priority Critical patent/JP3203791B2/en
Publication of JPH0686287A publication Critical patent/JPH0686287A/en
Application granted granted Critical
Publication of JP3203791B2 publication Critical patent/JP3203791B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は文字を表示した複数のキ
ートップが所定の順序で配列されてなるキーボードの製
造設備に係り、特にカメラを介して入力される映像信号
から文字配列の誤りを自動的に検出する文字配列検査装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a keyboard manufacturing facility in which a plurality of key tops displaying characters are arranged in a predetermined order, and more particularly to a method for detecting a character arrangement error from a video signal input via a camera. The present invention relates to a character arrangement inspection device that automatically detects a character arrangement.

【0002】入力装置として用いられるキーボードには
通常文字や記号を表示してなるキートップが所定の順序
で配列されており、オペレータが文字や記号を確認し該
当するキートップを押下することでコンピュータ等に情
報を入力することができる。
2. Description of the Related Art A keyboard used as an input device is usually provided with key tops for displaying characters and symbols in a predetermined order. An operator confirms the characters and symbols and presses the corresponding key tops. And the like.

【0003】かかる文字や記号の色や配列順序、背景と
なるキートップの色等はキーボードの使用目的や好みに
合わせて多様化され、キーボードの組立工程では設定さ
れた配列順序にしたがって所定のキートップがそれぞれ
キースイッチに挿入される。
The colors and arrangement order of such characters and symbols, the colors of key tops serving as backgrounds, and the like are diversified according to the purpose of use and preference of the keyboard. In a keyboard assembling process, predetermined keys are arranged in accordance with the set arrangement order. The tops are each inserted into key switches.

【0004】しかし、組立時に細心の注意を払っていて
も挿入されたキートップの文字違いや挿入方向の間違い
がしばしば発生する。そこで、組立工程における文字配
列の誤りを高速度で自動的に検出できる文字配列検査装
置の開発が要望されている。
[0004] However, even if great care is taken at the time of assembling, a wrong character or an incorrect insertion direction of the inserted key top often occurs. Therefore, there is a demand for the development of a character arrangement inspection apparatus that can automatically detect a character arrangement error in an assembly process at a high speed.

【0005】[0005]

【従来の技術】図8は被検査キーボードの一例を示す平
面図、図9は従来の文字配列検査装置を示すブロック
図、図10はカメラから出力される映像信号を示す図、図
11はオフセット補正を施した映像信号を示す図である。
2. Description of the Related Art FIG. 8 is a plan view showing an example of a keyboard to be inspected, FIG. 9 is a block diagram showing a conventional character arrangement inspection apparatus, and FIG. 10 is a diagram showing video signals output from a camera.
FIG. 11 shows a video signal subjected to offset correction.

【0006】図8において検査されるキーボード1には
異なる文字や記号11が表示されたキートップ12が所定の
順序で配列され、オペレータが文字や記号11を確認し該
当キートップ12を押下することでコンピュータ等に情報
を入力することができる。
In the keyboard 1 to be inspected in FIG. 8, key tops 12 on which different characters and symbols 11 are displayed are arranged in a predetermined order, and the operator confirms the characters and symbols 11 and presses the corresponding key tops 12. Can input information to a computer or the like.

【0007】かかるキーボード1の文字配列を検査する
従来の文字配列検査装置は図9に示す如く11のブロック
で構成されており、キーボード1の全体像はカメラ2に
よって撮像され各画素の明暗に対応する映像信号がカメ
ラ2から順次出力される。
A conventional character arrangement inspection apparatus for inspecting the character arrangement of the keyboard 1 is composed of eleven blocks as shown in FIG. 9, and the whole image of the keyboard 1 is taken by the camera 2 and corresponds to the brightness of each pixel. Are sequentially output from the camera 2.

【0008】例えば、図10(a) に示すキートップ12を撮
像する際は複数の水平ラインによって画像の上から下ま
で順次走査され、矢印で示す水平ラインにより走査され
るとその水平ラインに対応する図10(b) に示す映像信号
がカメラ2から出力される。
For example, when the key top 12 shown in FIG. 10A is imaged, the image is sequentially scanned from the top to the bottom by a plurality of horizontal lines, and when the key top 12 is scanned by a horizontal line indicated by an arrow, it corresponds to the horizontal line. The video signal shown in FIG.

【0009】即ち、表示文字の色や背景となるキートッ
プの色等がキーボードの使用目的や好みに合わせて多様
化されており、カメラ2から出力される映像信号のレベ
ルは一様でなく表示文字の色やキートップの色、コント
ラスト等によって変動する。
That is, the color of the displayed characters and the color of the key top as the background are diversified according to the purpose of use of the keyboard and the like, and the level of the video signal output from the camera 2 is not uniform. It varies depending on the color of the character, the color of the key top, the contrast, and the like.

【0010】かかる映像信号を図10(c) に示す如く同一
しきい値で2値化するとレベルの低い映像信号は全てし
きい値以下になり、2値化された映像信号に基づいて形
成された画像から図10(d) に示す如くレベルの低い部分
の画像が消失してしまう。
When such a video signal is binarized with the same threshold value as shown in FIG. 10 (c), all video signals having a low level fall below the threshold value and are formed based on the binarized video signal. As shown in FIG. 10 (d), the image of the low-level portion disappears from the resulting image.

【0011】そこで従来の文字配列検査装置は図9に示
す如くキーボード1を撮像するカメラ2の後にオフセッ
ト補正回路30を設け、カメラ2から出力される映像信号
を同一しきい値で2値化できるようにキートップ毎にレ
ベルの補正を行っている。
Therefore, in the conventional character arrangement inspection apparatus, as shown in FIG. 9, an offset correction circuit 30 is provided after the camera 2 for imaging the keyboard 1, and the video signal output from the camera 2 can be binarized with the same threshold value. As described above, the level is corrected for each keytop.

【0012】例えば、図11(a) に示すキートップ12を撮
像する際は複数の水平ラインによって画像の上から下ま
で順次走査され、矢印で示す水平ラインにより走査され
るとその水平ラインに対応する図11(b) に示す映像信号
がカメラ2から出力される。
For example, when imaging the key top 12 shown in FIG. 11 (a), a plurality of horizontal lines are sequentially scanned from the top to the bottom of the image. The video signal shown in FIG.

【0013】かかる映像信号を同一しきい値SL で2値
化すると前述の如くレベルの低い映像信号はしきい値以
下になり消滅するが、映像信号を2値化するのに最適な
しきい値は表示文字の色やキートップの色等からキート
ップ毎に設定可能である。
When the video signal is binarized by the same threshold value S L , the low-level video signal falls below the threshold value and disappears as described above. However, the optimal threshold value for binarizing the video signal is used. Can be set for each keytop from the color of the display character, the color of the keytop, and the like.

【0014】即ち、2値化するのに最適なしきい値と前
記同一しきい値SL との差SLOFFをキートップ毎に予め
設定すると共に、図11(c) に示す如くカメラ2から出力
される映像信号を同一レベルになるようキートップ毎に
LOFFによって補正する。
That is, the difference S LOFF between the optimum threshold value for binarization and the same threshold value S L is set in advance for each keytop , and is output from the camera 2 as shown in FIG. The video signals to be output are corrected by S LOFF for each key top so as to have the same level.

【0015】かかる映像信号を図11(c) に示す如く同一
しきい値SL で2値化すると全ての映像信号が最適なし
きい値で2値化され、図11(d) に示す如く2値化された
映像信号に基づいてレベルに関係なく全キートップを含
む画像が形成可能になる。
When such video signals are binarized at the same threshold value S L as shown in FIG. 11C, all the video signals are binarized at the optimum threshold value, and as shown in FIG. An image including all key tops can be formed regardless of the level based on the coded video signal.

【0016】キートップ毎にレベルの補正が行われたア
ナログ信号は図9に示す如くAD変換回路31においてデ
ジタル化され、2値化回路32において同一しきい値SL
で2値化された映像信号はその後に設けられたフレーム
メモリ33に格納される。
The analog signal level correction is performed for each key top is digitized in AD converter circuit 31 as shown in FIG. 9, the same in the binary circuit 32 threshold S L
The video signal binarized in is stored in a frame memory 33 provided thereafter.

【0017】次いで検査文字切出回路34がフレームメモ
リ33に格納された全体像から検査される文字の映像信号
を順次切り出し、該映像信号をパターン照合回路35にお
いて予めデータファイル36に格納されている基準文字パ
ターンと照合する。
Next, an inspection character extracting circuit 34 sequentially extracts video signals of the characters to be inspected from the entire image stored in the frame memory 33, and stores the video signals in a data file 36 in advance in a pattern matching circuit 35. Check with the reference character pattern.

【0018】該映像信号と基準文字パターンとの不一致
点はパターン照合回路35の後に設けられた不一致点計数
回路37が計数し、誤挿入判定回路38が不一致点計数回路
37の計数値をデータファイル39に格納された基準値と比
較して良不良を判定する。
A mismatch point between the video signal and the reference character pattern is counted by a mismatch point counting circuit 37 provided after the pattern matching circuit 35, and an erroneous insertion determination circuit 38 is provided by a mismatch point counting circuit.
The count value of 37 is compared with the reference value stored in the data file 39 to determine good or bad.

【0019】[0019]

【発明が解決しようとする課題】図12は従来の文字配列
検査装置における問題点を示す図である。表示文字の色
とキートップの色とのコントラストが小さい場合図12
(a) に示す如く適切なしきい値で2値化されると、2値
化された映像信号から形成される画像は図12(b) に示す
如くキートップに表示された文字や記号とほぼ等しくな
る。
FIG. 12 is a diagram showing a problem in a conventional character arrangement inspection apparatus. When the contrast between the displayed character color and the key top color is small Figure 12
When binarized with an appropriate threshold as shown in (a), the image formed from the binarized video signal is almost the same as the character or symbol displayed on the keytop as shown in FIG. 12 (b). Become equal.

【0020】しかし、誤差等によって図12(c) に示す如
くしきい値が若干低くなると文字の一部が図12(d) に示
す如くかすれ、図12(e) に示す如くしきい値が若干高く
なると図12(f) に示す如く線が太くなって文字が潰れる
という問題があった。
However, when the threshold value is slightly lowered as shown in FIG. 12 (c) due to an error or the like, a part of the character is blurred as shown in FIG. 12 (d), and as shown in FIG. If the height is slightly higher, the line becomes thicker as shown in FIG.

【0021】本発明の目的は2値化する際にしきい値の
誤差等の影響を受けにくい文字配列検査装置を提供する
ことにある。
An object of the present invention is to provide a character arrangement inspection apparatus which is hardly affected by a threshold error or the like when binarizing.

【0022】[0022]

【課題を解決するための手段】図1は本発明になる検査
装置の主要部を示すブロック図である。なお全図を通し
同じ対象物は同一記号で表している。
FIG. 1 is a block diagram showing a main part of an inspection apparatus according to the present invention. The same object is denoted by the same symbol throughout the drawings.

【0023】上記課題は複数のキートップが所定の順序
で配列されてなるキーボードの全体像を撮像するカメラ
を有し、カメラから順次出力される映像信号に基づいて
キーボードの文字配列を自動的に検査する装置におい
て、キートップに表示された文字の明るさと背景の明る
さとのコントラストに合わせて増幅率を補正する手段を
具え、順次出力される映像信号を増幅する増幅回路4が
カメラ2の後に設けられてなる本発明の文字配列検査装
置によって達成される。
The above problem has a camera for capturing an entire image of a keyboard in which a plurality of key tops are arranged in a predetermined order, and automatically changes the character arrangement of the keyboard based on video signals sequentially output from the camera. In the inspection device, a means for correcting the amplification factor in accordance with the contrast between the brightness of the character displayed on the keytop and the brightness of the background is provided. An amplification circuit 4 for amplifying the sequentially output video signal is provided after the camera 2. This is achieved by the character arrangement inspection apparatus of the present invention provided.

【0024】[0024]

【作用】図1において文字の明るさと背景の明るさとの
コントラストに合わせて増幅率を補正する手段を具え、
順次出力される映像信号を増幅する増幅回路をカメラと
オフセット補正回路の間に設けることで、文字と背景の
コントラストが小さいキートップにおける明暗のレベル
差拡大が可能になり、2値化する際にしきい値の誤差等
の影響を受けにくい文字配列検査装置を実現することが
できる。
In FIG. 1, there is provided means for correcting the amplification factor in accordance with the contrast between the brightness of the character and the brightness of the background.
By providing an amplifying circuit for amplifying the sequentially output video signal between the camera and the offset correction circuit, it is possible to enlarge the difference in the level of light and dark at the keytop where the contrast between the character and the background is small. It is possible to realize a character arrangement inspection apparatus which is hardly affected by a threshold error or the like.

【0025】[0025]

【実施例】以下添付図により本発明の実施例について説
明する。なお図2は増幅率補正手段を具えた増幅回路の
ブロック図、図3は増幅率補正データの設定手順を示す
フローチャート、図4は増幅率補正データの設定方法を
示す図、図5はオフセット補正データの設定手順を示す
フローチャート、図6はオフセット補正データの設定方
法を示す図、図7は雑音除去方法を説明するための図で
ある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the accompanying drawings. FIG. 2 is a block diagram of an amplifier circuit provided with amplification factor correction means, FIG. 3 is a flowchart showing a procedure for setting amplification factor correction data, FIG. 4 is a diagram showing a method for setting amplification factor correction data, and FIG. FIG. 6 is a flowchart showing a procedure for setting data, FIG. 6 is a diagram showing a method for setting offset correction data, and FIG. 7 is a diagram for explaining a noise removal method.

【0026】図1において本発明になる文字配列検査装
置の一実施例はカメラ2とオフセット補正回路30の間に
増幅回路4を有し、増幅回路4はキートップに表示され
た文字と背景との明るさのコントラストにより増幅率を
補正する手段を具えている。
Referring to FIG. 1, one embodiment of the character arrangement inspection apparatus according to the present invention has an amplifier circuit 4 between a camera 2 and an offset correction circuit 30, and the amplifier circuit 4 includes a character displayed on a keytop, a background, and the like. Means for correcting the amplification factor based on the brightness contrast.

【0027】即ち、増幅回路4は図2に示す如く映像信
号VINの最大振幅を例えば1Vにする補償回路41と増幅
率補正回路を有し、同期化回路42とデータ格納メモリ43
とDA変換回路44を具えた増幅率補正回路から増幅率の
補正データが出力される。
That is, as shown in FIG. 2, the amplifying circuit 4 has a compensating circuit 41 and a gain correcting circuit for setting the maximum amplitude of the video signal V IN to , for example, 1 V, a synchronizing circuit 42 and a data storage memory 43.
The amplification factor correction circuit having the DA conversion circuit 44 outputs amplification factor correction data.

【0028】データ格納メモリ43にはコントラストに合
わせてキートップ毎に設定された増幅率の補正データが
格納されており、検査に際してデータ格納メモリ43から
順次切り出された補正データがDA変換回路44によって
アナログ信号に変換される。
The data storage memory 43 stores the correction data of the amplification factor set for each keytop in accordance with the contrast, and the correction data sequentially cut out from the data storage memory 43 at the time of inspection is converted by the DA conversion circuit 44. It is converted to an analog signal.

【0029】DA変換回路44によってアナログ信号化さ
れた補正データは同期化回路42によって映像信号VIN
同期化されており、補償回路41によって増幅された映像
信号VINとアナログ信号化された補正データは乗算回路
45において合成される。
The correction data analog signal by the DA converting circuit 44 is synchronized to the video signal V IN by the synchronization circuit 42, the amplified video signal V IN and the analog signal of the correction by the compensation circuit 41 Data is a multiplication circuit
Synthesized at 45.

【0030】即ち、増幅回路4への入力電圧をVIN、補
償回路41の増幅率をGAIN、該当するキートップの増幅率
補正データをAとすると、次式によって算出される出力
電圧VO が増幅回路4の出力側に設けられたバッファ回
路46を経由して出力される。
That is, assuming that the input voltage to the amplifier circuit 4 is V IN , the gain of the compensation circuit 41 is GAIN, and the gain correction data of the corresponding key top is A, the output voltage V O calculated by the following equation is obtained. The signal is output via a buffer circuit 46 provided on the output side of the amplifier circuit 4.

【0031】 VO =(GAIN・VIN)×A(但し、VINは1V以下) 図1において増幅率補正データの収拾はカメラ2から出
力される映像信号を直接AD変換回路31によりデジタル
化し、2値化回路32を経由することなくキーボード1の
全体像に相当する映像信号がそのままフレームメモリ33
に格納される。
V O = (GAIN · V IN ) × A (where V IN is 1 V or less) In FIG. 1, collection of the amplification factor correction data is performed by directly digitizing the video signal output from the camera 2 by the AD conversion circuit 31. A video signal corresponding to the entire image of the keyboard 1 without passing through the binarization circuit 32;
Is stored in

【0032】増幅率補正データの設定は図3に示す如く
検査されるキートップの映像信号をフレームメモリ33か
ら順次切り出し、映像信号の上限値VUPと下限値VLOW
を収拾すると共にVUPとVLOW の差からキートップのコ
ントラストVi を算出する。
As shown in FIG. 3, the amplification factor correction data is set by sequentially cutting out the video signal of the key top to be inspected from the frame memory 33, and setting the upper limit value V UP and the lower limit value V LOW of the video signal.
To calculate the contrast V i of the key top from the difference between the V UP and the V LOW together to pick up the pieces.

【0033】Vi の大きいキートップに対する増幅率は
小さくVi の小さいキートップに対する増幅率は大きく
する必要がある。そこでAi =1/kVi なる式でコン
トラストVi から増幅率補正データAi を算出しデータ
格納メモリ43に格納する。
The gain for small keytop amplification factor is smaller V i for large keytop V i should be large. Therefore, in A i = 1 / kV i becomes equation stored in the data storage memory 43 to calculate the gain correction data A i from the contrast V i.

【0034】例えば、図4(a) に示すキートップ12の1
水平ライン(矢示)に対応する映像信号をフレームメモ
リ33から切り出すと、図4(b) に示す如く上限値VUP
よび下限値VLOW がそれぞれキートップによって異なる
映像信号が出力される。
For example, one of the key tops 12 shown in FIG.
When a video signal corresponding to a horizontal line (indicated by an arrow) is cut out from the frame memory 33, a video signal in which the upper limit value V UP and the lower limit value V LOW are different depending on the key top is output as shown in FIG.

【0035】映像信号の上限値VUPおよび下限値VLOW
から図4(c) に示すそれぞれのキートップのコントラス
トVi が算出され、かかるコントラストVi から図4
(d) に示すそれぞれのキートップに対する増幅率補正デ
ータAi が更に算出される。
The upper limit value V UP and the lower limit value V LOW of the video signal
Contrast V i of each of the key top shown in FIG. 4 (c) is calculated from FIG. 4 from such contrast V i
gain correction data A i for each of the key top shown in (d) is further calculated.

【0036】キートップ12を検査する際は増幅回路4に
図4(c) に示す映像信号が入力され補償回路41により増
幅されると共に、図4(d) に示すそれぞれのキートップ
に対する増幅率補正データAi と合成されて図4(e) に
示す信号が出力される。
When the key top 12 is inspected, the video signal shown in FIG. 4C is input to the amplifier circuit 4 and amplified by the compensating circuit 41. At the same time, the amplification factor for each key top shown in FIG. The signal shown in FIG. 4E is output after being synthesized with the correction data Ai .

【0037】一方、オフセット補正データの収拾は図1
の如く増幅回路4の出力信号を直接AD変換回路31によ
ってデジタル化し、2値化回路32を経由することなくキ
ーボード1の全体像に相当する映像信号がそのままフレ
ームメモリ33に格納される。
On the other hand, the collection of the offset correction data is shown in FIG.
Thus, the output signal of the amplifier circuit 4 is directly digitized by the AD conversion circuit 31, and the video signal corresponding to the whole image of the keyboard 1 is stored in the frame memory 33 without passing through the binarization circuit 32.

【0038】オフセット補正データの設定は図5に示す
如く検査されるキートップの映像信号をフレームメモリ
33から切り出し、キートップ毎に2値化するのに最適の
しきい値SL を収拾し最大のしきい値SL を検索して基
準しきい値SLST とする。
The setting of the offset correction data is performed by storing the video signal of the key top to be inspected as shown in FIG.
33, the optimum threshold value S L for binarizing each key top is collected, and the maximum threshold value S L is searched for as a reference threshold value S LST .

【0039】次いで各キートップの映像信号を2値化す
るのに最適のしきい値SL と基準しきい値SLST との差
LOFFを算出する。オフセット補正回路30は図示省略さ
れたデータ格納メモリを有し算出されたSLOFFはデータ
格納メモリに格納される。
Next, the difference S LOFF between the optimum threshold value S L and the reference threshold value S LST for binarizing the video signal of each keytop is calculated. The offset correction circuit 30 has a data storage memory not shown, and the calculated S LOFF is stored in the data storage memory.

【0040】即ち、オフセット補正データの設定に際し
てフレームメモリ33から切り出される映像信号は前述の
増幅回路4により、図6(a) に示すキートップ12の1水
平ライン(矢示)に対応する映像信号が既に図6(b) に
示す如く補正されている。
That is, the video signal cut out from the frame memory 33 at the time of setting the offset correction data is converted into a video signal corresponding to one horizontal line (indicated by an arrow) of the key top 12 shown in FIG. Has already been corrected as shown in FIG.

【0041】それぞれの映像信号を2値化するのに最も
適したしきい値SL は図6(c) に示す如くキートップ毎
に異なっており、全キートップについて最適のしきい値
Lを収拾すると共に最大のしきい値SL を検索して基
準しきい値SLST とする。
The threshold value S L most suitable for binarizing each video signal differs for each key top as shown in FIG. 6C, and the optimum threshold value S L for all key tops is obtained. And the maximum threshold value SL is searched to be set as a reference threshold value S LST .

【0042】かかる基準しきい値SLST と各キートップ
の最適しきい値SL との差SLOFFがデータ格納メモリに
格納されており、キートップ12の検査に際し図6(b) に
示す映像信号が図6(d) に示す如く補正されオフセット
補正回路30から出力される。
The difference S LOFF between the reference threshold value S LST and the optimum threshold value S L of each key top is stored in the data storage memory, and when the key top 12 is inspected, the image shown in FIG. The signal is corrected as shown in FIG. 6D and output from the offset correction circuit 30.

【0043】このように文字の明るさと背景の明るさと
のコントラストに合わせて増幅率を補正する手段を具
え、順次出力される映像信号を増幅する増幅回路をカメ
ラとオフセット補正回路の間に設けることで、文字と背
景のコントラストが小さいキートップにおける明暗のレ
ベル差拡大が可能になり、2値化する際にしきい値の誤
差等の影響を受けにくい文字配列検査装置を実現するこ
とができる。
Thus, means for correcting the amplification factor in accordance with the contrast between the brightness of the character and the brightness of the background is provided, and an amplification circuit for amplifying the sequentially output video signal is provided between the camera and the offset correction circuit. Thus, it is possible to enlarge the level difference between light and dark at the key top where the contrast between the character and the background is small, and it is possible to realize a character arrangement inspection apparatus which is hardly affected by a threshold error or the like when binarizing.

【0044】しかし、本発明になる文字配列検査装置は
コントラストが小さいキートップほど映像信号を大きく
増幅しているため、雑音に起因する信号まで増幅されパ
ターン照合回路35において基準文字パターンと照合する
と不一致点の数が増大する。
However, in the character arrangement inspection apparatus according to the present invention, since the video signal is greatly amplified as the key top has a smaller contrast, even if the signal is caused by noise, the signal is amplified. The number of points increases.

【0045】そこで本発明になる文字配列検査装置はデ
ジタル化された映像信号に含まれた雑音信号を除去する
雑音除去回路5が、図1に示す如く映像信号を二値化す
る二値化回路32と映像信号を格納するフレームメモリ33
との間に設けられている。
Therefore, in the character arrangement inspection apparatus according to the present invention, the noise elimination circuit 5 for eliminating the noise signal included in the digitized video signal is replaced with a binarization circuit for binarizing the video signal as shown in FIG. 32 and frame memory 33 for storing video signals
And is provided between them.

【0046】雑音除去回路5は3×3画素における周囲
の画素の状態から中心にある画素の状態を判別する雑音
除去フィルタを有し、3×3画素が図7に示す状態のい
ずれか一つに該当するときは雑音と見做して中心の画素
のレベルを反転させている。
The noise elimination circuit 5 has a noise elimination filter for discriminating the state of the central pixel from the state of the surrounding pixels in the 3 × 3 pixels, and the 3 × 3 pixels have any one of the states shown in FIG. Is satisfied, the level of the center pixel is inverted by regarding the noise.

【0047】即ち、3×3画素におけるそれぞれの画素
に対して例えば図7(a) に示す如く8ビットのビット番
号が割付られており、図7(b) に斜線で示した画素から
信号が出力されるパターンに対してビット番号に対応す
るコードが付されている。
That is, for example, an 8-bit bit number is assigned to each of the 3 × 3 pixels as shown in FIG. 7A, and a signal is output from the hatched pixel in FIG. 7B. A code corresponding to the bit number is attached to the output pattern.

【0048】キートップに表示された文字の太さに比べ
ると3×3画素におけるそれぞれの画素の大きさは極め
て微小であり、周囲の画素の状態が図7(b) に示すいず
れか一つのコードに該当するとき中央の画素の出力信号
は雑音と見做してもよい。
The size of each of the 3 × 3 pixels is extremely small as compared with the thickness of the character displayed on the key top, and the state of the surrounding pixels is one of those shown in FIG. When the code is applicable, the output signal of the central pixel may be regarded as noise.

【0049】[0049]

【発明の効果】上述の如く本発明によれば2値化する際
にしきい値の誤差等の影響を受けにくい文字配列検査装
置を提供することができる。
As described above, according to the present invention, it is possible to provide a character arrangement inspection apparatus which is hardly affected by a threshold error or the like when binarizing.

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

【図1】 本発明になる検査装置の主要部を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a main part of an inspection apparatus according to the present invention.

【図2】 増幅率補正手段を具えた増幅回路のブロック
図である。
FIG. 2 is a block diagram of an amplifier circuit including an amplification factor correction unit.

【図3】 増幅率補正データの設定手順を示すフローチ
ャートである。
FIG. 3 is a flowchart showing a procedure for setting amplification factor correction data.

【図4】 増幅率補正データの設定方法を示す図であ
る。
FIG. 4 is a diagram illustrating a method of setting amplification factor correction data.

【図5】 オフセット補正データの設定手順を示すフロ
ーチャートである。
FIG. 5 is a flowchart showing a procedure for setting offset correction data.

【図6】 オフセット補正データの設定方法を示す図で
ある。
FIG. 6 is a diagram illustrating a method of setting offset correction data.

【図7】 雑音除去方法を説明するための図である。FIG. 7 is a diagram illustrating a noise removal method.

【図8】 被検査キーボードの一例を示す平面図であ
る。
FIG. 8 is a plan view showing an example of a keyboard to be inspected.

【図9】 従来の文字配列検査装置を示すブロック図で
ある。
FIG. 9 is a block diagram showing a conventional character arrangement inspection apparatus.

【図10】 カメラから出力される映像信号を示す図であ
る。
FIG. 10 is a diagram illustrating a video signal output from a camera.

【図11】 オフセット補正を施した映像信号を示す図で
ある。
FIG. 11 is a diagram illustrating a video signal subjected to offset correction.

【図12】 従来の文字配列検査装置における問題点を示
す図である。
FIG. 12 is a diagram showing a problem in a conventional character arrangement inspection device.

【符号の説明】[Explanation of symbols]

1 キーボード 2 カメラ 4 増幅回路 5 雑音除去回路 11 文字 12 キートップ 30 オフセット補正回路 31 AD変換回路 32 2値化回路 33 フレームメモリ 34 検査文字切出回路 35 パターン照合回
路 36 データファイル 37 不一致点計数回
路 38 誤挿入判定回路 39 データファイル 41 補償回路 42 同期化回路 43 データ格納メモリ 44 DA変換回路 45 乗算回路 46 バッファ回路
DESCRIPTION OF SYMBOLS 1 Keyboard 2 Camera 4 Amplification circuit 5 Noise removal circuit 11 Character 12 Key top 30 Offset correction circuit 31 AD conversion circuit 32 Binarization circuit 33 Frame memory 34 Inspection character extraction circuit 35 Pattern collation circuit 36 Data file 37 Mismatch point counting circuit 38 Mis-insertion judgment circuit 39 Data file 41 Compensation circuit 42 Synchronization circuit 43 Data storage memory 44 DA conversion circuit 45 Multiplication circuit 46 Buffer circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−208528(JP,A) 特開 昭64−53270(JP,A) 特開 昭60−29876(JP,A) 特開 昭63−8986(JP,A) 実開 昭61−60364(JP,U) (58)調査した分野(Int.Cl.7,DB名) H04N 7/18 G06T 1/00 300 G06T 1/00 460 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-61-208528 (JP, A) JP-A-64-53270 (JP, A) JP-A-60-29876 (JP, A) JP-A 63-208 8986 (JP, A) Fully open 1986-60364 (JP, U) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 7/18 G06T 1/00 300 G06T 1/00 460

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字を表示した複数のキートップが所定
の順序で配列されてなるキーボードの全体像を撮像する
カメラを有し、該カメラから順次出力される映像信号に
基づいて該キーボードの文字配列を自動的に検査する装
置において、 キートップに表示された文字の明るさと背景の明るさと
のコントラストに合わせて増幅率を補正する手段を具
え、順次出力される映像信号を増幅する増幅回路(4) が
カメラ(2) の後に設けられてなることを特徴とする文字
配列検査装置。
1. A camera for capturing an entire image of a keyboard in which a plurality of key tops displaying characters are arranged in a predetermined order, and based on video signals sequentially output from the camera, characters on the keyboard are displayed. In an apparatus for automatically inspecting an array, an amplifier circuit for amplifying an amplification factor in accordance with a contrast between the brightness of a character displayed on a keytop and the brightness of a background, and amplifying a sequentially output video signal ( 4) A character array inspection device, wherein is provided after the camera (2).
【請求項2】 請求項1記載の文字配列検査装置におい
てデジタル化された映像信号を二値化する二値化回路(3
2)の後に、該映像信号から雑音信号を除去する雑音除去
回路(5) が設けられてなることを特徴とする文字配列検
査装置。
2. A binarizing circuit (3) for binarizing a digitized video signal in the character arrangement inspection apparatus according to claim 1.
A character arrangement inspection apparatus characterized in that a noise removing circuit (5) for removing a noise signal from the video signal is provided after 2).
JP23065692A 1992-08-31 1992-08-31 Character arrangement inspection device Expired - Fee Related JP3203791B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23065692A JP3203791B2 (en) 1992-08-31 1992-08-31 Character arrangement inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23065692A JP3203791B2 (en) 1992-08-31 1992-08-31 Character arrangement inspection device

Publications (2)

Publication Number Publication Date
JPH0686287A JPH0686287A (en) 1994-03-25
JP3203791B2 true JP3203791B2 (en) 2001-08-27

Family

ID=16911228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23065692A Expired - Fee Related JP3203791B2 (en) 1992-08-31 1992-08-31 Character arrangement inspection device

Country Status (1)

Country Link
JP (1) JP3203791B2 (en)

Also Published As

Publication number Publication date
JPH0686287A (en) 1994-03-25

Similar Documents

Publication Publication Date Title
US5694228A (en) Document image processor with defect detection
EP0513612A2 (en) Fingerprint data registering method
US4746789A (en) Reading device for bar codes
US6058225A (en) Information reproduction system which feedback controls a pulse width of light source pulses during manual scanning of an optically readable dot code
JP3758266B2 (en) Code reader
JP3203791B2 (en) Character arrangement inspection device
EP0505729A2 (en) Image binarization system
JPH08249412A (en) Digital information decoding method
KR20010044743A (en) A method for recognizing 2D barcode information
JP4128307B2 (en) Code image reader
EP0504576A2 (en) Document scanner
JP3239447B2 (en) Isolated point judgment circuit
JPH06150059A (en) Image area separator
JP3303990B2 (en) Image signal processing device
JPH0334112B2 (en)
JPH0468824B2 (en)
JP3020293B2 (en) Attribute determination method
JPS5994180A (en) Picture inputting device
JP2936766B2 (en) Image input device
JP2666707B2 (en) Screen inspection device
JPH0429109B2 (en)
JP2000155800A (en) Optical information reader and storage medium
JPH07325045A (en) Inspection and recognition apparatus for black print on color background
JPH0341869B2 (en)
JPH09167227A (en) Image processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010529

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090629

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees