JPH0465429B2 - - Google Patents

Info

Publication number
JPH0465429B2
JPH0465429B2 JP60012570A JP1257085A JPH0465429B2 JP H0465429 B2 JPH0465429 B2 JP H0465429B2 JP 60012570 A JP60012570 A JP 60012570A JP 1257085 A JP1257085 A JP 1257085A JP H0465429 B2 JPH0465429 B2 JP H0465429B2
Authority
JP
Japan
Prior art keywords
image
area
area ratio
keyboard
level
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 - Lifetime
Application number
JP60012570A
Other languages
Japanese (ja)
Other versions
JPS61173392A (en
Inventor
Yasuo Hongo
Akio Komuro
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP60012570A priority Critical patent/JPS61173392A/en
Publication of JPS61173392A publication Critical patent/JPS61173392A/en
Publication of JPH0465429B2 publication Critical patent/JPH0465429B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、特にキーボード検査装置に用いて
好適なキートツプの切出し方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method of cutting out key tops, which is particularly suitable for use in a keyboard inspection device.

〔従来の技術〕[Conventional technology]

最近、キーボード上に配列されたキートツプの
検査を自動的に行なうキーボード検査装置(キー
ボードチエツカ)が出現し始めている。これは、
例えば複数のキートツプを所定の撮像装置にて撮
像し、その画像信号を所定の処理装置にて画像処
理することによつて、その実装状態の良否等のチ
エツクを行なうものである。この場合、撮像され
たキーボード像から個々のキートツプを切り出す
には、そのための2値化レベルを決めてやること
が必要であるが、従来はこの作業が専らマニユア
ルで行なわれている。つまり、オペレータがキー
ボードのモニタ画像を見ながら、キートツプ毎に
マニユアル操作で切出しレベルを決定するように
している。なお、このようにして決定された結果
は「設定フアイル」として保存され、その後のチ
エツクのための基準として用いられる。
Recently, keyboard inspection devices (keyboard checkers) that automatically inspect the key tops arranged on a keyboard have begun to appear. this is,
For example, a plurality of key tops are imaged by a predetermined image pickup device, and the image signals are processed by a predetermined processing device to check whether the key tops are mounted or not. In this case, in order to extract individual keytops from the captured keyboard image, it is necessary to determine the binarization level for this purpose, but conventionally this work has been done exclusively manually. In other words, the operator manually determines the cutting level for each keytop while looking at the keyboard monitor image. The results determined in this way are saved as a "settings file" and used as a reference for subsequent checks.

〔発明が解決しようとするする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記の如き作業をマニユアルで
行なうと、煩雑で時間が掛かるばかりでなく、精
度や信頼性の点においてもマニユアル特有の問題
点を有していることから、その自動化が強く望ま
れている。
However, if the above-mentioned work is performed manually, it is not only complicated and time-consuming, but also has problems inherent to manual methods in terms of accuracy and reliability, so automation is strongly desired. .

〔問題点を解決するための手段〕[Means for solving problems]

この発明は、複数のキートツプを撮像して画像
処理する場合に、その濃淡画像の面積率ヒストグ
ラムを測定し、このヒストグラムからキートツプ
面を背景から切り出すためのしきい値を決定する
ことによつてその自動化を図り、上述の如きマニ
ユアルによる欠点を除去しようとするものであ
る。
This invention measures the area ratio histogram of the grayscale image when capturing and processing a plurality of keytops, and determines a threshold value for cutting out the keytop surface from the background based on this histogram. The aim is to automate the process and eliminate the drawbacks caused by the manual process described above.

〔作用〕[Effect]

第1図はこの発明の特徴を最もよく表わす主要
図である。なお、同図イは理想的なキートツプと
その画像信号(ビデオ信号)との関係を示すもの
であり、同図ロはイに対応する面積率ヒストグラ
ムである。
FIG. 1 is a main diagram that best represents the features of this invention. Note that A in the figure shows the relationship between an ideal key top and its image signal (video signal), and B in the figure is an area ratio histogram corresponding to A.

いま、テレビカメラの如き撮像装置を介して得
られるキートツプ画像が同図イの如く、理想的で
あるものとする。すなわち、キーボードの画像が
キートツプ上面A、キートツプ側面B、キートツ
プ間の境目Cおよびキートツプ上に表示された文
字Dの4つの部分(領域)に分割され、各部分の
濃淡値(白または黒のレベル)Eは互いに略一定
で、それぞれTBK,TBS,TBB,TBPの値をとるも
のとする。つまり、ここではD,A,B,Cの順
に明るく(TBP>TBK>TBS>TBB)、したがつて文
字Dは白文字(明るい文字;明文字)である。な
お、文字Dが黒文字(暗い文字;暗文字)の場合
には、文字Dの濃淡値TBPはTBKよりも小さくな
り、これらの濃淡値Eの関係はキーボードまたは
キートツプの種類によつてそれぞれ異なるが、少
なくともTBK>TBS>TBBなる関係、すなわち、キ
ートツプ上面Aはその側面Bよりも明るく、側面
Bは境目Cよりも明るいものが殆んどであること
が数々の実験で確かめられている。
Assume now that the keytop image obtained through an imaging device such as a television camera is ideal, as shown in FIG. In other words, the image of the keyboard is divided into four parts (regions): the top surface A of the keytops, the side surface B of the keytops, the border C between keytops, and the character D displayed on the keytops, and the gray value (white or black level) of each part is )E are substantially constant and take the values of T BK , T BS , T BB , and T BP , respectively. That is, here, D, A, B, and C are bright in this order (T BP > T BK > T BS > T BB ), and therefore the character D is a white character (bright character; bright character). Furthermore, when the character D is a black character (dark character; dark character), the shading value T BP of the character D is smaller than T BK , and the relationship between these shading values E varies depending on the type of keyboard or key top. Although they are different, it has been confirmed through numerous experiments that at least the relationship T BK > T BS > T BB exists, that is, the top surface A of the key top is brighter than its side B, and the side B is brighter than its boundary C. It is being

ここで、或る幅WDと高さHDとをもつ所定の画
像観測領域(ウインドウ)を考え、この領域内に
占めるキートツプ面Aを示す面積Sの割合を面積
率PAとすると、この面積率PAは PA=100×S/WD×HD〔%〕 ……(1) で表わされ、この値は画像を2値化するための2
値化レベル(ここでは、0〜255の256のレベルが
選択可能である。)に応じて変わることがわかる。
つまり、2値化レベルが小さければ面積率PA
大きく、2値化レベルが大きくなれば面積率PA
は小さくなる。したがつて、例えば第1図イの如
く表わされる画像について、キートツプ面を示す
面積の所定領域内に占める面積率PAと、2値化
しきい値との関係を図示すると同図ロの如くな
り、以後これを面積率ヒストグラムと呼ぶことに
する。なお、同図ロに示されるPAP,PAK,PAS
PABは同図イの各部分D,A,B,Cの面積パー
セントをそれぞれ示すものである。
Now, consider a predetermined image observation area (window) with a certain width W D and height HD , and if the ratio of the area S representing the key top surface A occupying within this area is the area ratio P A , then this The area ratio P A is expressed as P A = 100 × S / W D × H D [%] ...(1), and this value is the
It can be seen that it changes depending on the value conversion level (here, 256 levels from 0 to 255 are selectable).
In other words, if the binarization level is small, the area ratio P A will be large, and if the binarization level is large, the area ratio P A
becomes smaller. Therefore, for example, for an image represented as shown in Figure 1A, the relationship between the area ratio P A occupied within a predetermined area representing the key top surface and the binarization threshold is as shown in Figure 1B. , hereinafter this will be referred to as an area ratio histogram. Note that P AP , P AK , P AS ,
P AB indicates the area percentage of each portion D, A, B, and C in A of the figure, respectively.

こうして得られる面積率ヒストグラムは、各キ
ートツプ画像毎に若干の差異はあるが、概ね同図
イの如き傾向をもつことが知られていることか
ら、かかる面積率ヒストグラムを得ることができ
れば、これを用いてキートツプ面をその背景から
切り出すための2値化レベルを求めることができ
る、というのがこの発明の基本概念である。
The area ratio histogram obtained in this way has a slight difference for each keytop image, but it is known that it generally has the same tendency as shown in Figure A. Therefore, if such an area ratio histogram can be obtained, it is possible to The basic concept of the present invention is that the binarization level for cutting out the keytop surface from the background can be determined using the method.

〔実施例〕〔Example〕

第2図はこの発明が適用されるキーボード検査
装置を示すブロツク図である。同図において、1
は処理装置、2はテレビカメラの如き撮像装置、
3はモニタ用テレビ、4は被検査用キーボード、
5やXYテーブル、6はXYテーブルコントロー
ラである。処理装置1はマスタプロセツサユニツ
ト7、CRTデイスプレイ9、キーボード10か
らなるマンマシンインタフエイス8、フロツピー
デイスク11、プリンタインタフエイス12、画
像入力制御プロセツサ13、画像処理プロセツサ
14,15、XYテーブル制御インタフエイス1
6、2値化しきい値発生回路17、2値化部1
8、白黒制御部19、ウインドウ発生部20、特
徴抽出部21および画像メモリ22,23等より
構成される。ここに、マスタプロセツサ7は、ス
レーブプロセツサである画像入力制御プロセツサ
13および画像処理プロセツサ14,15に所定
の指令を与えて、全体のシーケンス制御を行な
う。画像処理プロセツサは処理スピード向上のた
めに2台使用されているが、場合によつては一方
を省略することができる。
FIG. 2 is a block diagram showing a keyboard inspection device to which the present invention is applied. In the same figure, 1
is a processing device, 2 is an imaging device such as a television camera,
3 is a TV monitor, 4 is a keyboard to be inspected,
5 is an XY table, and 6 is an XY table controller. The processing device 1 includes a master processor unit 7, a CRT display 9, a man-machine interface 8 consisting of a keyboard 10, a floppy disk 11, a printer interface 12, an image input control processor 13, image processing processors 14 and 15, and an XY table control. Interface 1
6, binarization threshold generation circuit 17, binarization section 1
8, a monochrome control section 19, a window generation section 20, a feature extraction section 21, image memories 22, 23, and the like. Here, the master processor 7 gives predetermined commands to the image input control processor 13 and image processing processors 14 and 15, which are slave processors, to perform overall sequence control. Two image processing processors are used to improve processing speed, but one can be omitted in some cases.

以下、動作を概略的に説明する。 The operation will be briefly explained below.

まず、検査対象であるキーボード4がXYテー
ブル5の上に載せられると、マスタプロセツサ7
はXYテーブル制御インタフエイス16を通して
コントローラ6に移動指令を与える。これによ
り、XYテーブル5が動作してキーボード4が所
定の位置へ動かされ、テレビカメラ2によるキー
トツプ面の撮像が行なわれる。なお、この場合、
キーボード4を動かすかわりにテレビカメラ2を
動かすようにしてもよいことは云う迄もない。次
に、マスタプロセツサ7は、画像入力制御プロセ
ツサ13に対して2値化しきい値を指定するの
で、プロセツサ13はこれを2値化しきい値発生
回路(256階調のしきい値を発生することができ
る。)17に与えて指示どおりの2値化しきい値
を発生させる。2値化部18は、テレビカメラ2
からの画像信号をこの2値化しきい値にもとづい
て2値化する。ここで、画像の明部分(白部分)
を取り込むか、暗部分(黒部分)を取り込むかの
指令はマスタプロセツサ7から発せられ、これが
プロセツサ13を介して白黒制御部19に与えら
れて反転等の所定の操作が行なわれる。ウインド
ウ発生部20では、2値画像の取り込むべき領域
(ウインドウ)を決定し、特徴抽出部21では指
定された領域内の2値画像データを圧縮する等し
て、画像メモリ22,23へDMA(ダイレクト
メモリアクセス)モードで書き込む。なお、かか
る画像入力制御はプロセツサ13にて行われる
が、そのための指令はマスタプロセツサ7から与
えられる。また、マスタプロセツサ7は、画像処
理プロセツサ14、15に対してはパターン演算
処理指令を発する。これにより、プロセツサ14
または15は上述の如き面積率ヒストグラムを作
成するとともに、これを用いてキートツプ切出し
のためのしきい値を決定する。なお、このヒスト
グラムを作成するためには、2値化レベル毎に面
積率を求めておくことが必要であることは云う迄
もない。さらに、CRTデイスプレイ9およびキ
ーボード10等からなるマンマシンインタフエイ
ス8は、オペレータがキーボード検査装置との対
話を行なうために設けられ、入出力機器としてフ
ロツピーデイスク11、プリンタインタフエイス
12等が設けられている。
First, when the keyboard 4 to be inspected is placed on the XY table 5, the master processor 7
gives a movement command to the controller 6 through the XY table control interface 16. As a result, the XY table 5 operates, the keyboard 4 is moved to a predetermined position, and the television camera 2 images the key top surface. In this case,
It goes without saying that the television camera 2 may be moved instead of the keyboard 4. Next, the master processor 7 specifies a binarization threshold value for the image input control processor 13, so the processor 13 transfers this to a binarization threshold generation circuit (which generates a 256-level threshold value). ) 17 to generate the binarization threshold as instructed. The binarization unit 18 includes a television camera 2
The image signal from is binarized based on this binarization threshold. Here, the bright part (white part) of the image
A command as to whether to import the image or the dark part (black part) is issued from the master processor 7, and is applied to the monochrome control section 19 via the processor 13, where a predetermined operation such as inversion is performed. The window generation unit 20 determines the area (window) in which the binary image should be captured, and the feature extraction unit 21 compresses the binary image data within the specified area and transfers it to the image memories 22 and 23 via DMA ( Write in direct memory access) mode. Incidentally, such image input control is performed by the processor 13, and commands for this purpose are given from the master processor 7. Further, the master processor 7 issues pattern calculation processing commands to the image processing processors 14 and 15. As a result, the processor 14
Alternatively, step 15 creates an area ratio histogram as described above, and uses this to determine a threshold for keytop extraction. It goes without saying that in order to create this histogram, it is necessary to obtain the area ratio for each binarization level. Further, a man-machine interface 8 consisting of a CRT display 9, a keyboard 10, etc. is provided for the operator to interact with the keyboard inspection device, and a floppy disk 11, printer interface 12, etc. are provided as input/output devices. ing.

次に、この発明によるキートツプの切出し方法
について、以下に説明する。
Next, a method for cutting out key tops according to the present invention will be explained below.

いま、画像処理プロセツサ14または15によ
つて求められる面積率ヒストグラムが、第3図の
如く表わされるものとすると、第1図ロのヒスト
グラムから類推して、その階段状になつている凹
みの点、すなわちしきい値T1,T2点がそれぞれ
先のTBS,TBBに対応するものと考えることがで
きる。ここでは、キートツプの上面部分だけを切
り出したいので、求めるべき点は第1図ロのTBK
に相当する点である。そこで、キートツプ上面の
面積率PAKは、通常はPAKL(20〜40%)以上である
と考えられるから、まず、PAKL(例えば30%)以
上となるしきい値の最小点T0をヒストグラムか
ら決定する。
Now, assuming that the area ratio histogram obtained by the image processing processor 14 or 15 is expressed as shown in FIG. 3, by analogy with the histogram in FIG. In other words, the threshold values T 1 and T 2 points can be considered to correspond to the previous T BS and T BB , respectively. Here, we only want to cut out the top part of the key top, so the point we need to find is T BK in Figure 1 (b).
This point corresponds to . Therefore, since the area ratio P AK of the top surface of the key top is usually considered to be greater than P AKL (20 to 40%), first, find the minimum point T 0 of the threshold value that is greater than P AKL (for example, 30%). Determine from the histogram.

一方、しきい値T1は、次式で示されるLA(Ti
なる値、つまり2次微分係数を差分化したものが
所定値LAL(≒0.1〜1.0%)以上となる点として考
え、これをヒストグラムから試行錯誤的に決定す
る。
On the other hand, the threshold T 1 is expressed by the following equation: L A (T i )
This value is considered as the point at which the difference of the second-order differential coefficient is greater than or equal to a predetermined value L AL (≈0.1 to 1.0%), and this is determined by trial and error from the histogram.

LA(Ti)=PA(Ti+ΔTo) −2PA(Ti)+PA(Ti−ΔTo) ……(2) ここに、Tiはしきい値(=0〜255)であり、
ΔToはしきい値間隔(≒5〜20)を表わしてい
る。
L A (T i )=P A (T i +ΔT o ) −2P A (T i )+P A (T i −ΔT o ) ……(2) Here, T i is the threshold value (=0 to 255 ) and
ΔT o represents the threshold interval (≈5 to 20).

そして、上記TBKに相当する点はこれらT0
T1点の間にあると考えられるので、これらの点
の間を所定の比nK1:nK2に内分する値TBKEを次式
の如く求める。
The points corresponding to T BK above are these T 0 ,
Since it is considered to be between T1 points, a value T BKE that internally divides the distance between these points into a predetermined ratio n K1 :n K2 is determined as shown in the following equation.

TBKE=nK2・T0+nK1・T1/nK1+nK2 ……(3) この(3)式にて示されるしきい値TBKEが、キー
トツプ面を背景から分離するための切出しレベル
ということになる。
T BKE =n K2・T 0 +n K1・T 1 /n K1 +n K2 ...(3) The threshold value T BKE shown in equation (3) is the cutting level for separating the keytop surface from the background. It turns out that.

したがつて、第4図の如くキーボード画像例が
得られたものとすると、これをTBKEなる2値化
レベルで切り出したパターンは例えば第5図の如
く表わされる。ここで、第5図に示される如き各
パターンに外接する外接枠の左点、右点、頂点、
底点の各座標をXWL,XWR,YWT,YWBとし、パ
ターンの幅、高さをそれぞれWW,HWとすると、
これらの間には次式の如き関係が成立する。
Therefore, assuming that an example keyboard image is obtained as shown in FIG. 4, a pattern cut out from this at a binarization level of T BKE is expressed as shown in FIG. 5, for example. Here, the left point, right point, apex of the circumscribing frame circumscribing each pattern as shown in FIG.
Let the coordinates of the bottom point be X WL , X WR , Y WT , Y WB , and the width and height of the pattern be W W and H W , respectively.
A relationship as shown in the following equation is established between these.

WW=XWR−XWL+1 ……(4) HW=YWB−YWT+1 ……(5) なお、ここで+1しているのは、左点、右点座
標が互いに等しいと(4),(5)式で表わされるパター
ンの幅、高さが零となつてしまうので、これを避
けるためである。ここで、キートツプ外形の最小
値をWWL,HWLとし、次式を満たすものをキート
ツプパターンと考えることにする。
W W =X WR −X WL +1 …(4) H W =Y WB −Y WT +1 …(5) The reason for adding +1 here is that if the left point and right point coordinates are equal to each other ( This is to avoid the width and height of the pattern expressed by equations 4) and (5) becoming zero. Here, let W WL and H WL be the minimum values of the key top outline, and consider the key top pattern to be one that satisfies the following equation.

WW≧WWL,HW≧HWL ……(6) つまり、この(6)式の関係を満たさないパターン
はキートツプでないものとして無視することとす
る。こうして、第5図で半分しか見えないもの
は、この(6)式によつて排除されるので、結局、第
4図については第5図の如く4個のキートツプの
切出しが行なわれることになる。
W W ≧W WL , H W ≧H WL (6) In other words, patterns that do not satisfy the relationship of equation (6) are ignored as not key tops. In this way, those that are only half visible in Figure 5 are eliminated by this equation (6), so in the end, 4 keytops will be cut out for Figure 4 as shown in Figure 5. .

なお、この発明は、互いに色の異なるキートツ
プが一画面内に複数個存在する場合にも、上記の
方法を繰り返すことにより、キートツプを切り出
すことが可能である。また、上記ではキートツプ
の切出しに当たつて矩形のウインドウを用いるよ
うにしたが、切出ししきい値で得られたパターン
の最外郭を埋めるようなウインドウとすることに
より、第1回目で見つけたキートツプ以外のもの
について再度面積率ヒストグラムを作成し、これ
にもとづいてキートツプ切り出ししきい値を求め
て第2回目のキートツプのウインドウを決定する
ことができる。そして、このような操作を繰り返
すことにより、一画面内に濃淡値の異なるキート
ツプが混在していても、その切り出しを行なうこ
とが可能となる。また、以上では点T0,T1によ
つてキートツプ面を切り出るようにしたが、第3
図の点T2(第1図ロではTBBに相当する)を点T1
の場合と同様にして求め、点T1とT2との間を所
定の割合で内分することにより、キートツプの側
面(第1図イまたは第4図のBの部分参照)を切
り出すことができる。
In addition, according to the present invention, even when a plurality of keytops of different colors exist in one screen, the keytops can be extracted by repeating the above method. In addition, in the above, a rectangular window was used to extract the keytops, but by using a window that fills the outermost part of the pattern obtained with the extraction threshold, the keytops found in the first The area ratio histogram is created again for the other items, and the keytop extraction threshold is determined based on this to determine the second keytop window. By repeating such operations, it is possible to extract keytops even if there are keytops with different gradation values in one screen. In addition, in the above, the key top surface was cut out using the points T 0 and T 1 , but the third
Point T 2 in the figure (corresponding to T BB in Figure 1 B) is connected to point T 1
By calculating in the same way as in the case of , and internally dividing the area between points T 1 and T 2 at a predetermined ratio, it is possible to cut out the side surface of the key top (see part A in Figure 1 or part B in Figure 4). can.

〔効果〕〔effect〕

この発明によれば、面積率ヒストグラムを作成
することにより、キートツプ切出しのための2値
化レベルを自動的に決定することができるので、
人手による作業が著しく少なくなり、信頼性が向
上する利点がもたらされるものである。これによ
り、精度の高い「設定フアイル」を短時間に作成
することができる。
According to this invention, by creating an area ratio histogram, the binarization level for keytop extraction can be automatically determined.
This has the advantage of significantly reducing manual work and improving reliability. As a result, a highly accurate "configuration file" can be created in a short time.

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

第1図はこの発明の特徴を最もよく表わす主要
図、第2図はこの発明が適用されるキーボード検
査装置を示すブロツク図、第3図はこの発明の実
施例を説明するための面積率ヒストグラム、第4
図はキーボード画像例を示す参照図、第5図はキ
ートツプの切出しパターンを説明するための参照
図である。 符号説明、1……処理装置、2……撮像装置
(テレビカメラ)、3……モニタテレビ、4……被
検査用キーボード、5……XYテーブル、6……
XYテーブルコントローラ、7……マスタプロセ
ツサユニツト、8……マンマシンインタフエイ
ス、9……CRTデイスプレイ、10……キーボ
ード、11……フロツピーデイスク、12……プ
リンタインタフエイス、13……画像入力制御プ
ロセツサ、14,15……画像処理プロセツサ、
16……XYテーブル制御インタフエイス、17
……2値化しきい値発生回路、18……2値化
部、19……白黒制御部、20……ウイントウ発
生部、21……特徴抽出部、22,23……画像
メモリ、A……キートツプ上面、B……キートツ
プ側面、C……キートツプ間の境目、D……キー
トツプ面に表示された文字、E……濃淡値。
Fig. 1 is a main diagram that best represents the features of this invention, Fig. 2 is a block diagram showing a keyboard inspection device to which this invention is applied, and Fig. 3 is an area ratio histogram for explaining an embodiment of this invention. , 4th
The figure is a reference diagram showing an example of a keyboard image, and FIG. 5 is a reference diagram for explaining a key top cutting pattern. Description of symbols, 1...Processing device, 2...Imaging device (television camera), 3...Monitor TV, 4...Keyboard for inspection, 5...XY table, 6...
XY table controller, 7... Master processor unit, 8... Man-machine interface, 9... CRT display, 10... Keyboard, 11... Floppy disk, 12... Printer interface, 13... Image input Control processor, 14, 15... Image processing processor,
16...XY table control interface, 17
... Binarization threshold generation circuit, 18 ... Binarization section, 19 ... Monochrome control section, 20 ... Window generation section, 21 ... Feature extraction section, 22, 23 ... Image memory, A ... Keytop top surface, B...keytop side, C...border between keytops, D...letter displayed on keytop surface, E...shading value.

Claims (1)

【特許請求の範囲】[Claims] 1 キーボード上の複数のキートツプを撮像装置
にて撮像しその画像信号を処理装置により画像処
理してキートツプ面を背景から切り出す切出し方
法であつて、所定の画像観測領域を設定して2値
化レベル毎に画像信号を取り込み、該レベルに応
じて2値化された各画像毎にそれぞれキートツプ
面を表わす面積値の前記観測領域内に占める面積
率を求めて面積率ヒストグラムを作成し、該ヒス
トグラムからこの面積率が所定値以上となる第1
の点とその変化の割合が所定値以上となる第2の
点とを求めた後、これら2つの点を所定の割合で
内分する点から2値化レベルを決定し、該決定さ
れた2値化レベルにもとづいて各キートツプの切
出しを行なうことを特徴とするキートツプの切出
し方法。
1 A cutting method in which multiple keytops on a keyboard are imaged with an imaging device, and the image signals are processed by a processing device to cut out the keytop surface from the background, and a predetermined image observation area is set and the binarization level is For each image binarized according to the level, the area ratio of the area value representing the key top surface to the observation area is calculated to create an area ratio histogram. The first area where this area ratio is greater than or equal to a predetermined value
After determining the point and the second point at which the rate of change is greater than or equal to a predetermined value, the binarization level is determined from the point that internally divides these two points at a predetermined rate, and the determined 2 points are determined. A method for cutting out key tops, characterized in that each key top is cut out based on the digitization level.
JP60012570A 1985-01-28 1985-01-28 Method for incising of key top Granted JPS61173392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60012570A JPS61173392A (en) 1985-01-28 1985-01-28 Method for incising of key top

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60012570A JPS61173392A (en) 1985-01-28 1985-01-28 Method for incising of key top

Publications (2)

Publication Number Publication Date
JPS61173392A JPS61173392A (en) 1986-08-05
JPH0465429B2 true JPH0465429B2 (en) 1992-10-20

Family

ID=11809013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60012570A Granted JPS61173392A (en) 1985-01-28 1985-01-28 Method for incising of key top

Country Status (1)

Country Link
JP (1) JPS61173392A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07120418B2 (en) * 1986-08-14 1995-12-20 東芝精機株式会社 Pattern recognition method

Also Published As

Publication number Publication date
JPS61173392A (en) 1986-08-05

Similar Documents

Publication Publication Date Title
JP2000207489A (en) Character extracting method and device and record medium
JPH0465429B2 (en)
JPH0353668B2 (en)
JPH0624014B2 (en) Gray image processing method
JP2993007B2 (en) Image area identification device
JP3126462B2 (en) Boundary extraction method and apparatus
JPH05225336A (en) Method for extracting boundary and device therefor
JP2841942B2 (en) Image input device
JP7436752B2 (en) Detection device and detection method
JP2001043312A (en) Document picture processor
EP0441497A2 (en) Electronic image processing system
JPH1115955A (en) Mask preparing device, and recording medium recorded with mask preparing program
US5311333A (en) Image processing apparatus
JP3052728B2 (en) Image trimming device
JPH1185976A (en) Picture noise analysis method and recording medium
JPH064665A (en) Method and device for extracting boundary
JP3667648B2 (en) Image processing apparatus and image processing method
JP2864524B2 (en) Image processing device
CN115830151A (en) Morphological anti-aliasing processing method, equipment and storage medium
EP0441498A2 (en) Generating control data array
JPH10200755A (en) Image noise analysis method
JPS6383881A (en) Image processor
JPH11232469A (en) Picture data processor and storage medium recorded with picture data processing program
JPH11328424A (en) Method and circuit for edge detection
JPS6346875B2 (en)