JPH07200741A - Graphic recognition device - Google Patents
Graphic recognition deviceInfo
- Publication number
- JPH07200741A JPH07200741A JP5334562A JP33456293A JPH07200741A JP H07200741 A JPH07200741 A JP H07200741A JP 5334562 A JP5334562 A JP 5334562A JP 33456293 A JP33456293 A JP 33456293A JP H07200741 A JPH07200741 A JP H07200741A
- Authority
- JP
- Japan
- Prior art keywords
- angle change
- thinning
- change
- angle
- point sequence
- 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
Links
- 238000004364 calculation method Methods 0.000 claims description 22
- 238000000034 method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 239000000284 extract Substances 0.000 description 2
- 238000003909 pattern recognition Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 1
Landscapes
- Character Input (AREA)
- Character Discrimination (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、図形認識装置に関し、
特に、特徴抽出の再に角度変化の大きさによる間引き処
理を用いて、図形の特徴を抽出している図形認識装置に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern recognition device,
In particular, the present invention relates to a figure recognition device that extracts the characteristics of a figure by using thinning processing based on the magnitude of the angle change for feature extraction again.
【0002】[0002]
【従来の技術】従来、この種の図形認識装置は、手ぶれ
などのノイズの影響を受けない条件のもとで、図形の頂
点などの特徴点の抽出をおこない、求められた特徴点に
適した図形の認識をおこなうことを目的としている。た
とえば、特開昭62−72087号公報に示されるよう
に、まず、入力された手書きの図形から、頂点を抽出す
る。次に入力された図形と辞書図形を比較して、最も適
した図形を候補図形として認識する。2. Description of the Related Art Conventionally, this type of figure recognition apparatus extracts characteristic points such as vertices of a figure under conditions not affected by noise such as camera shake, and is suitable for the obtained characteristic points. The purpose is to recognize figures. For example, as shown in Japanese Patent Laid-Open No. 62-72087, first, vertices are extracted from the input handwritten figure. Next, the input figure and the dictionary figure are compared to recognize the most suitable figure as a candidate figure.
【0003】[0003]
【発明が解決しようとする課題】この従来の図形認識装
置では、手ぶれなどのノイズによって頂点の正確な認識
が困難であり、そのため、図形の誤認識をするという課
題がある。In this conventional pattern recognition apparatus, it is difficult to accurately recognize the vertices due to noise such as camera shake, and therefore, there is a problem of erroneous recognition of a pattern.
【0004】[0004]
【課題を解決するための手段】上述した問題点を解決す
るため、本発明の図形認識装置は、入力装置と、出力装
置と、入力装置から座標点列を読み込む手段と、座標点
列を一定の距離で間引く距離間引き手段と、残った座標
点列の角度変化を求める第1の角度変化算出手段と、そ
の角度変化が微小なときにその点を間引く微小角度変化
間引き手段と、残った座標点列の角度変化を求める第2
の角度変化算出手段と、角度変化の偏差値を求める偏差
値算出手段と、座標点列を記憶する記憶装置と、前記偏
差値算出手段によって求められた特徴量などを用いて図
形を認識する認識装置を備えている。In order to solve the above-mentioned problems, the graphic recognition apparatus of the present invention has an input device, an output device, a means for reading a coordinate point sequence from the input device, and a fixed coordinate point sequence. Distance thinning means for thinning out, a first angle change calculating means for obtaining an angle change of the remaining coordinate point sequence, a minute angle change thinning means for thinning out the points when the angle change is small, and the remaining coordinates. The second to obtain the angle change of the point sequence
Recognition means for recognizing a figure by using the angle change calculation means, the deviation value calculation means for calculating the deviation value of the angle change, the storage device for storing the coordinate point sequence, and the feature amount calculated by the deviation value calculation means. It is equipped with a device.
【0005】[0005]
【実施例】次に、本発明について図面を参照して説明す
る。図1は、本発明の第1の実施例を示すブロック図で
ある。図1を参照すると、本発明の第1の実施例は、ペ
ン入力によるタブレット等の入力装置1と、プログラム
制御により動作する処理装置2と、入力装置1から読み
取った点列を記憶する記憶装置3と、出力装置4と、認
識装置5から構成される。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a first embodiment of the present invention. Referring to FIG. 1, a first embodiment of the present invention is directed to an input device 1 such as a tablet that is input by a pen, a processing device 2 that operates by program control, and a storage device that stores a point sequence read from the input device 1. 3, an output device 4, and a recognition device 5.
【0006】処理装置2は、入力装置1から入力された
座標点列を読み込む点列読込手段21と、点列を一定の
距離で間引く距離間引き手段22と、点列を入力順に結
んだときにできる角度変化を求める第1の角度変化算出
手段23と、前記第1の角度変化算出手段23で求めら
れた角度変化が微小なときにその点を間引く角度変化間
引き手段24と、前記角度変化間引き手段24から入力
された点列を結んでできる角度変化を求める第2の角度
変化算出手段25と、前記第2の角度変化算出手段25
で求められた角度変化の偏差値を求める偏差値算出手段
26からなる。When the processing device 2 connects the point sequence reading means 21 for reading the coordinate point sequence input from the input device 1, the distance thinning means 22 for thinning the point sequence at a constant distance, and the point sequence connected in the order of input. A first angle change calculating means 23 for obtaining a possible angle change, an angle change thinning means 24 for thinning out the point when the angle change obtained by the first angle change calculating means 23 is minute, and the angle change thinning A second angle change calculation means 25 for obtaining an angle change made by connecting the point sequences input from the means 24, and the second angle change calculation means 25.
It comprises a deviation value calculating means 26 for calculating the deviation value of the angle change obtained in (1).
【0007】次に、図1ないし図7を参照して、本実施
例の動作について説明する。図2は、本発明の一実施例
の処理手順を示すフローチャートである。図3(a)は
手書きされた入力図形の一例である。図3(b)は、入
力された図形の実際の座標点列を示す一例である。図3
(b)に示すように、実際の座標点列は、ばらついた点
列となっている。図4は、連続3点のなす仰角を示す図
である。図5は、本発明の角度間引き処理によって、入
力された座標点の処理結果を示す一例である。図6は、
本発明の角度間引き処理をおこなわないときの、角度変
化の偏差値を示すグラフの一例である。図7は、本発明
の角度間引き処理をおこなったときの、角度変化の偏差
値を示すグラフの一例である。おな、図6、図7ともに
縦軸が偏差値を示し、偏差値が高いと角度変化が大きい
ことを意味している。Next, the operation of this embodiment will be described with reference to FIGS. FIG. 2 is a flowchart showing the processing procedure of the embodiment of the present invention. FIG. 3A is an example of a handwritten input figure. FIG. 3B is an example showing an actual sequence of coordinate points of the input graphic. Figure 3
As shown in (b), the actual coordinate point sequence is a scattered point sequence. FIG. 4 is a diagram showing elevation angles formed by three consecutive points. FIG. 5 is an example showing the processing result of the input coordinate points by the angle thinning processing of the present invention. Figure 6
It is an example of a graph showing a deviation value of an angle change when the angle thinning process of the present invention is not performed. FIG. 7 is an example of a graph showing the deviation value of the angle change when the angle thinning process of the present invention is performed. In each of FIGS. 6 and 7, the vertical axis represents the deviation value, and a high deviation value means that the angle change is large.
【0008】入力装置1から、点列読込手段21に与え
られた座標点列は、距離間引き手段22に入力される。
距離間引き手段22は、連続する2つの座標点き距離が
ある一定の値(たとえば、座標点列の外接矩形の大きさ
から決まる値)より短い場合、2点のうち後ろの1点を
間引く。この処理を全ての座標点に対して、入力順にお
こなう。このとき、実際に間引き処理がおこなわれた場
合は、残った1点と間引いた点の次の1点が次の処理対
象点となる。一方、実際に間引かれなかった場合は、後
の1点とその次の点が次の処理対象点となる(ステップ
A1)。The coordinate point sequence given to the point sequence reading means 21 from the input device 1 is inputted to the distance thinning means 22.
When the distance between two consecutive coordinate points is shorter than a certain value (for example, a value determined by the size of the circumscribing rectangle of the coordinate point sequence), the distance thinning-out means 22 thins out the last one of the two points. This process is performed in the input order for all coordinate points. At this time, when the thinning-out process is actually performed, the remaining one point and the one next to the thinned-out point are the next processing target points. On the other hand, if it is not actually thinned out, the subsequent one point and the next point become the next processing target points (step A1).
【0009】ステップA1の処理後、残った点列は、第
1の角度変化算出手段23に入力される。第1の角度変
化算出手段23は、入力された連続する3点の座標点列
から仰角を求める(ステップA2)。ここで、仰角と
は、図4で示すように、連続する3点を2つの直線で結
び、1点目と2点目を結ぶ直線を延長した直線と2点目
と3点目を結ぶ直線のなす角のことである。次に、角度
変化間引き手段24は、求められた仰角をそれまでに求
めていた仰角の和に加える(ステップA3)。求められ
た和がある一定の値以上であった場合、角度変化間引き
手段24は、3点の内の2番目の点を記憶装置3に残
す。このとき、仰角の和を初期化する(ステップA4、
ステップA5)。仰角を求めていない点が残っていると
きは、2番目の点、3番目の点とその次の1点を用いて
再び、第1の角度変化算出手段23で仰角を求める(ス
テップA6)。After the processing of step A1, the remaining point sequence is input to the first angle change calculation means 23. The first angle change calculation means 23 obtains the elevation angle from the input sequence of three coordinate points (step A2). Here, the elevation angle, as shown in FIG. 4, connects three consecutive points with two straight lines and extends a straight line connecting the first and second points and a straight line connecting the second and third points. It is the angle formed by. Next, the angle change thinning-out means 24 adds the obtained elevation angle to the sum of the elevation angles obtained up to that point (step A3). When the calculated sum is equal to or larger than a certain value, the angle change thinning-out means 24 leaves the second point among the three points in the storage device 3. At this time, the sum of elevation angles is initialized (step A4,
Step A5). When there are remaining points for which the elevation angle has not been obtained, the elevation angle is obtained again by the first angle change calculation means 23 using the second point, the third point and the next one point (step A6).
【0010】全ての座標点列がステップA2からA6で
処理されることによって、残った点列は、図5に示すよ
うに、ノイズが除去された状態となる。そして、第2の
角度変化算出手段25に入力される。第2の角度変化算
出手段25は第1の角度変化算出手段23と同様に入力
された連続する3点の座標を用いて角度変化を算出する
(ステップA7)。By processing all the coordinate point sequences in steps A2 to A6, the remaining point sequence is in a state in which noise is removed, as shown in FIG. Then, it is input to the second angle change calculation means 25. The second angle change calculation means 25 calculates the angle change using the coordinates of the three consecutive input points similarly to the first angle change calculation means 23 (step A7).
【0011】全ての座標点列がステップA7で処理され
ると、偏差値算出手段26はステップA7で求められた
角度変化の値を入力として、それぞれの角度変化につい
て偏差値が求められる。(ステップA8)。When all the coordinate point sequences have been processed in step A7, the deviation value calculation means 26 receives the value of the angle change obtained in step A7 as an input and obtains the deviation value for each angle change. (Step A8).
【0012】求められた偏差値の内、ある一定以上の値
を持つ極大値を頂点候補の座標点とする(ステップA
9)。特に、図6、図7に示すように、角度間引き処理
によるノイズ除去によって、特徴点とそれ以外の点との
偏差値の値の差が明確にすることができる。Among the calculated deviation values, the maximum value having a certain value or more is set as the coordinate point of the vertex candidate (step A).
9). In particular, as shown in FIGS. 6 and 7, the difference in the deviation value between the feature point and the other points can be clarified by the noise removal by the angle thinning processing.
【0013】以上の処理によって求められた特徴量を用
いて、認識装置5で候補図形を認識する。The recognition device 5 recognizes the candidate figure using the feature amount obtained by the above processing.
【0014】次に、本発明の第2の実施例について説明
する。Next, a second embodiment of the present invention will be described.
【0015】図8を参照すると、本発明の第2の実施例
は、処理装置6が、図1に示した第1の実施例における
処理装置2の構成に加え、角度変化の変化算出手段27
と、角度変化の変化が微小なときに入力座標点を間引く
角度変化の変化間引き手段28を有する点で異なる。Referring to FIG. 8, in the second embodiment of the present invention, in addition to the configuration of the processing device 2 in the first embodiment shown in FIG.
The difference is that the angle change change thinning means 28 for thinning the input coordinate points is provided when the change in the angle change is minute.
【0016】図8および図9を参照して、本実施例の動
作を説明する。The operation of this embodiment will be described with reference to FIGS.
【0017】図9のステップA1ないしA6の動作は第
1の実施例と同一なため、説明は省略する。ステップA
6の処理の後、残った点列は角度変化の変化算出手段2
7に入力される。角度変化の変化算出手段27は連続す
る2つの角度変化の比を求める。角度変化の変化算出手
段27で求められた比の値が一定以下であるとき、微小
角度変化の変化間引き手段28は、連続する2つの角度
変化の2つめの3点のうち最後の点を間引く(ステップ
B1)。ステップB1の処理の後、残った点列は、ステ
ップA7に入力されて、以後第1の実施例と同じ動作を
する(ステップA7〜A9)。ステップB1の処理によ
って、なだらかな曲線部分を削除できる。Since the operation of steps A1 to A6 of FIG. 9 is the same as that of the first embodiment, the description thereof will be omitted. Step A
After the processing of 6, the remaining point sequence is the change calculation means 2 of the angle change.
Input to 7. The angle change change calculation means 27 calculates the ratio of two consecutive angle changes. When the value of the ratio obtained by the change calculation means 27 for angle change is less than a certain value, the change thinning means 28 for minute angle change thins out the last point of the second three points of two consecutive angle changes. (Step B1). After the process of step B1, the remaining point sequence is input to step A7, and the same operation as that of the first embodiment is performed thereafter (steps A7 to A9). By the process of step B1, a smooth curved portion can be deleted.
【0018】よって、特徴点とそれ以外の点との偏差値
の差が、より明確にすることができる。Therefore, the difference in deviation value between the feature point and the other points can be made clearer.
【0019】[0019]
【発明の効果】以上説明したように、本発明による図形
認識装置は、手ぶれなどのノイズに強い。また、微小角
度変化を一定にすることにより、平坦な部分の分散が低
下して、頂点部分の偏差値が大きな値を示すため、図形
の頂点や特異点の認識精度が向上するという効果を有す
る。As described above, the graphic recognition apparatus according to the present invention is resistant to noise such as camera shake. Further, by making the minute angle change constant, the variance of the flat portion is reduced and the deviation value of the apex portion shows a large value, which has the effect of improving the recognition accuracy of the apex and singular point of the figure. .
【図1】本発明の第1の実施例を示すブロック図。FIG. 1 is a block diagram showing a first embodiment of the present invention.
【図2】本発明の第1の実施例の処理手順を示すフロー
チャートである。FIG. 2 is a flowchart showing a processing procedure of the first embodiment of the present invention.
【図3】入力装置1から得られた座標点列の一例を示す
図である。FIG. 3 is a diagram showing an example of a sequence of coordinate points obtained from the input device 1.
【図4】3点の座標点を結んでできる仰角を示す図であ
る。FIG. 4 is a diagram showing an elevation angle formed by connecting three coordinate points.
【図5】角度変化間引き処理後の座標点列を示す図であ
る。FIG. 5 is a diagram showing a coordinate point sequence after an angle change thinning process.
【図6】角度変化間引き処理を行わないときの偏差値の
値を示すグラフである。FIG. 6 is a graph showing a deviation value when an angle change thinning process is not performed.
【図7】角度変化間引き処理後の偏差値の値を示すグラ
フである。FIG. 7 is a graph showing a deviation value after the angle change thinning process.
【図8】本発明の第2の実施例を示すブロック図であ
る。FIG. 8 is a block diagram showing a second embodiment of the present invention.
【図9】本発明の第2の実施例の処理手順を示すフロー
チャートである。FIG. 9 is a flowchart showing a processing procedure of a second embodiment of the present invention.
1 入力装置 2,6 処理装置 3 記憶装置 4 出力装置 5 認識装置 21 点列読込手段 22 距離間引き手段 23 第1の角度変化算出手段 24 角度変化間引き手段 25 第2の角度変化算出手段 26 偏差値算出手段 27 角度変化の変化算出手段 28 角度変化の変化間引き手段 1 Input Device 2, 6 Processing Device 3 Storage Device 4 Output Device 5 Recognition Device 21 Point Sequence Reading Means 22 Distance Thinning Means 23 First Angle Change Calculating Means 24 Angle Change Thinning Means 25 Second Angle Change Calculating Means 26 Deviation Value Calculating means 27 Change in angle change calculating means 28 Change in thinning angle change means
Claims (3)
を求める第1の角度変化算出手段と、 前記第1の角度変化算出手段で求められた角度変化が微
小なときに、その点を間引く角度変化算出手段と、 前記角度変化間引き手段によって残った座標点列の角度
変化を求める第2の角度変化算出手段と、 前記第2の角度変化算出手段によって求められた角度変
化の偏差値を求める手段と、 前記偏差値を求める手段によって求められた特徴量を用
いて図形を認識する認識装置とを備えたことを特徴とす
る図形認識装置。1. An input device for inputting a handwritten figure, an output device, a unit for reading a coordinate point sequence from the input device, a storage device for storing the coordinate point sequence, and a distance for thinning the coordinate point sequence at a constant distance. Decimation means, first angle change calculation means for obtaining an angle change of the sequence of coordinate points left by the distance thinning means, and a point when the angle change obtained by the first angle change calculation means is minute, Angle change calculation means for thinning out, a second angle change calculation means for calculating the angle change of the coordinate point sequence remaining by the angle change thinning means, and a deviation value of the angle change calculated by the second angle change calculation means. And a recognition device for recognizing a graphic by using the feature quantity obtained by the means for obtaining the deviation value.
を求める第1の角度変化算出手段と、 前記第1の角度変化算出手段で求められた角度変化が微
小なときに、その点を間引く角度変化間引き手段と、 前記角度変化間引き手段によって残った座標点列の角度
変化の変化を求める角度変化の変化算出手段と、 前記角度変化の変化算出手段によって求められた角度変
化の変化の大きさが微小なときに、その点を間引く微小
角度変化の変化間引き手段と、 前記微小角度変化の変化間引き手段によって残った座標
点列の角度変化を求める第2の角度変化算出手段と、 前記第2の角度変化算出手段によって求められた角度変
化の偏差値を求める手段と、 前記偏差値を求める手段によって求められた特徴量を用
いて図形を認識する認識装置とを備えたことを特徴とす
る図形認識装置。2. An input device for inputting handwritten figures, a means for reading a coordinate point sequence from the input device, an output device, a storage device for storing the coordinate point sequence, and a distance thinning for thinning the coordinate point sequence at a constant distance. Means, first angle change calculation means for obtaining an angle change of the coordinate point sequence remaining by the distance thinning means, and when the angle change obtained by the first angle change calculation means is small, Thinning-out angle change thinning-out means, angle-change change calculating means for obtaining a change in angle change of the coordinate point sequence remaining by the angle-change thinning-out means, and magnitude of change in angle change found by the angle-change change calculating means When the distance is very small, a small angle change change thinning means for thinning the point, and a second angle change means for obtaining the angle change of the coordinate point sequence remaining by the minute angle change change thinning means. And a recognition device for recognizing a graphic by using the feature amount obtained by the deviation value obtaining means. A graphic recognition device characterized by being provided.
めの距離は、入力された座標点列の外接矩形の大きさに
よって決定することを特徴とする請求項1,2に記載の
図形認識装置。3. The graphic recognition apparatus according to claim 1, wherein the distance thinning means determines the distance for thinning out according to the size of the circumscribed rectangle of the input coordinate point sequence.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5334562A JP2935331B2 (en) | 1993-12-28 | 1993-12-28 | Figure recognition device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5334562A JP2935331B2 (en) | 1993-12-28 | 1993-12-28 | Figure recognition device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07200741A true JPH07200741A (en) | 1995-08-04 |
| JP2935331B2 JP2935331B2 (en) | 1999-08-16 |
Family
ID=18278794
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5334562A Expired - Fee Related JP2935331B2 (en) | 1993-12-28 | 1993-12-28 | Figure recognition device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2935331B2 (en) |
-
1993
- 1993-12-28 JP JP5334562A patent/JP2935331B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2935331B2 (en) | 1999-08-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5638462A (en) | Method and apparatus for recognizing graphic forms on the basis of elevation angle data associated with sequence of points constituting the graphic form | |
| JPH06274619A (en) | Image processor | |
| JPH07220026A (en) | Image processing apparatus and method | |
| JPH07200735A (en) | Figure recognition device | |
| JP2865528B2 (en) | Fingerprint collation device | |
| JPH07200741A (en) | Graphic recognition device | |
| JPH07146944A (en) | Graphic recognition device | |
| JPH11134509A (en) | Drawing recognition processing method and architectural drawing recognition processing method | |
| JP2859315B2 (en) | Head rotation direction detection method | |
| JPS61201385A (en) | Extracting method for body contour | |
| JP2682416B2 (en) | Figure recognition device | |
| JPS6324473A (en) | Graphic recognizing device | |
| JP2865529B2 (en) | Fingerprint collation device | |
| JP2778439B2 (en) | Figure recognition device | |
| JPS62108382A (en) | Approximating system for polygonal line graphic | |
| JP2512800B2 (en) | Linear approximation method of line figure input device | |
| JPH043274A (en) | Vector piece number reduction processing system | |
| JP2587812B2 (en) | Figure extraction method | |
| JPS62282379A (en) | Graphic recognition device | |
| JPS61147382A (en) | System for approximating linear pattern to polygonal line | |
| JPH10228538A (en) | Image endpoint extracting method | |
| JP2863530B2 (en) | Line image recognition device | |
| JPS5822479A (en) | Character recognition device | |
| JPH07160820A (en) | Character recognition method | |
| JPH07210630A (en) | Hand-written symbol recognition system |
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: 19990506 |
|
| LAPS | Cancellation because of no payment of annual fees |