JPH0226267B2 - - Google Patents

Info

Publication number
JPH0226267B2
JPH0226267B2 JP56154524A JP15452481A JPH0226267B2 JP H0226267 B2 JPH0226267 B2 JP H0226267B2 JP 56154524 A JP56154524 A JP 56154524A JP 15452481 A JP15452481 A JP 15452481A JP H0226267 B2 JPH0226267 B2 JP H0226267B2
Authority
JP
Japan
Prior art keywords
coordinate
stroke
substroke
coordinate point
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.)
Expired - Lifetime
Application number
JP56154524A
Other languages
Japanese (ja)
Other versions
JPS5856082A (en
Inventor
Masumi Yoshida
Osamu Kato
Shinichi Shimizu
Hiromichi Iwase
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 JP56154524A priority Critical patent/JPS5856082A/en
Publication of JPS5856082A publication Critical patent/JPS5856082A/en
Publication of JPH0226267B2 publication Critical patent/JPH0226267B2/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/18Extraction of features or characteristics of the image
    • G06V30/182Extraction of features or characteristics of the image by coding the contour of the pattern
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Discrimination (AREA)

Description

【発明の詳細な説明】 本発明は文字又は図形の認識方式に関し、特に
タブレツト上に手書きされた1ストロークからな
る文字又は図形の認識方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for recognizing characters or graphics, and more particularly to a method for recognizing characters or graphics consisting of one stroke handwritten on a tablet.

タブレツト上に例えばスタイラスペンにより手
書きされた文字や図形処理は実時間処理又はオ
ン・ライン処理と呼ばれ、種々のデータ入力やデ
ータ編集に使用されているが、文字や図形の処理
と認識機能を備えた装置はいまだ実用化の誠に達
していないのが実情である。
The processing of characters and graphics handwritten on a tablet with a stylus pen, for example, is called real-time processing or online processing, and is used for various data input and data editing. The reality is that the equipment provided has not yet reached the point of practical application.

その要因は、オン・ライン入力時における(1)文
字又は図形を順次サンプリングして得られる座標
点系列への逐次入力の利用、(2)座標点系列の集合
(ストローク)の記述などが充分に利用しきれて
いないことにあると考えられる。例えば現在のオ
ン・ライン形漢字認識装置の開発状態は、(1)の点
に関しては、スタイラスペンの上下運動に依存し
たストロークの分割程度、(2)の点に関してはスト
ローク間の位置変化程度に着目したものが大半で
あり、必らずしも文字又は図形全体を表現した構
成になつていない。そのため、人間の目には比較
的単純に見える1ストロークの文字又は図形等の
認識は非常に困難な状態にある。
The reason for this is that during online input, (1) the use of sequential input to a coordinate point series obtained by sequentially sampling characters or figures, and (2) the sufficient description of a set (stroke) of a coordinate point series, etc. This is probably due to the fact that it is not fully utilized. For example, regarding point (1), the current state of development of online kanji recognition devices is limited to the extent to which strokes are divided depending on the vertical movement of the stylus, and regarding point (2), to the degree of position change between strokes. Most of them are focused, and the composition does not necessarily represent the entire character or figure. Therefore, it is extremely difficult to recognize one-stroke characters, figures, etc., which appear relatively simple to the human eye.

従来の文字認識は、ストロークを構成する座標
点をサンプリングし、そのサンプリング点間の位
置関係の相違を検出する手法が主であり、サンプ
リング位置がよければ認識できるが、さもなけれ
ば認識できないという欠点を有していた。
Conventional character recognition mainly involves sampling the coordinate points that make up a stroke and detecting differences in the positional relationship between the sampling points.If the sampling position is good, it can be recognized, but if it is not, it cannot be recognized. It had

したがつて本発明はこの欠点を改善してサンプ
リング位置にかかわりなく認識できるようにし
た、前記の2点、すなわち(1)座標点系列の逐次入
力の利用、(2)座標点系列の集合(ストローク)の
記述を基本とする1ストロークからなる文字又は
図形の認識方式を提供することを目的とする。そ
してこのために本発明の文字又は図形の認識方式
では1ストロークからなる文字又は図形の座標点
列を抽出する座標点列抽出手段と、1つの座標方
向における座標点列の座標の変化点からサブスト
ロークを形成するサブストローク形成手段と、前
記変化点の差分によりその変化点に隣接する一対
のサブストロークから、当該一対のサブストロー
クが当該座標方向に関していずれの方向に開放し
た状態となつているかを示す面構造ラベルを得る
面構造ラベル形成手段と、サブストロークを構成
する座標点列が直線か曲線かを判定する第1判定
手段と、サブストロークと座標点列間の距離ヒス
トグラムから異常座標点を排除する第2の判定手
段と、前記座標点列の各座標の差分から座標点列
が直線群か曲線かを判定する第3の判定手段を具
備することによりサブストロークに、当該サブス
トロークが直線性を有するかまたは曲線性を有す
るかを示す局部構造ラベルを付与し、これらのラ
ベルにもとづき認識を行なうようにしたことを特
徴とする。
Therefore, the present invention improves this drawback and enables recognition regardless of the sampling position by addressing the above two points, namely (1) use of sequential input of coordinate point series, and (2) collection of coordinate point series ( The object of the present invention is to provide a method for recognizing characters or figures consisting of one stroke, which is based on the description of strokes. For this purpose, the character or figure recognition method of the present invention includes a coordinate point sequence extracting means for extracting a coordinate point sequence of a character or figure consisting of one stroke, and a A sub-stroke forming means that forms a stroke and a pair of sub-strokes adjacent to the change point based on the difference between the change points, determine in which direction the pair of sub-strokes are open with respect to the coordinate direction. a surface structure label forming means for obtaining a surface structure label shown in the figure; a first determining means for determining whether a coordinate point sequence constituting a substroke is a straight line or a curved line; By providing a second determining means for excluding the coordinate points and a third determining means for determining whether the coordinate point sequence is a straight line group or a curved line based on the difference between the coordinates of the coordinate point sequence, the sub-stroke is determined whether the sub-stroke is a straight line or not. A feature of the present invention is that local structure labels indicating whether the object has a characteristic or a curve are provided, and recognition is performed based on these labels.

次に本発明の原理について詳述する。 Next, the principle of the present invention will be explained in detail.

本発明は、1ストロークからなる文字又は図形
を認識する手法として、認識対象となる文字又は
図形が大まかにどんな形状をしているかという記
述すなわち大域的処理と、それがどんな構成成分
から組合されているかという記述、すなわち局所
的処理の2つの処理を行なうようにしたものであ
り、大域的処理は前述の(2)の点を具体化し、局所
的処理は(1)の点を具体化したものである。例えば
文字認識において、平仮名の「ろ」と「と」は大
域的処理で判別できるが、「ら」と「ろ」はさら
に局所的処理を加えないと判別できない。
As a method for recognizing a character or figure consisting of one stroke, the present invention involves a description of the rough shape of the character or figure to be recognized, that is, global processing, and a combination of what components it is made of. In other words, two types of processing are performed: local processing; global processing embodies point (2) above, and local processing embodies point (1). It is. For example, in character recognition, ``ro'' and ``to'' in hiragana can be distinguished through global processing, but ``ra'' and ``ro'' cannot be distinguished without further local processing.

以下、大域的処理と局所的処理によるこの発明
の1ストロークからなる文字又は図形の認識方式
を図面にもとづき詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A method for recognizing characters or figures consisting of one stroke according to the present invention using global processing and local processing will be described in detail below with reference to the drawings.

〔〕 大域的処理について 大域的処理とは、タブレツト上から入力される
座標点列をもとにしてストロークをサブストロー
クの集合として表現し、かつ隣接したサブストロ
ークから推定できる大域的な図形構造を抽出する
ことで、次にこの大域的処理について詳細に説明
する。
[] About global processing Global processing is the expression of a stroke as a set of substrokes based on a sequence of coordinate points input from a tablet, and the global graphical structure that can be estimated from adjacent substrokes. Next, this global processing will be explained in detail.

(1) サブストロークの抽出 サブストロークとは、ここではタブレツト上か
ら入力された座標点系列が一次元的すなわち横
(X軸)方向又は縦(Y軸)方向に単調増加、又
は単調減少する点間を無視し、増加から減少、又
は減少から増加に変化する座標点を順次捉えて、
各座標点間を1つのサブストロークとして定義す
る。
(1) Extraction of substrokes A substroke is a point where the coordinate point series input from the tablet monotonically increases or decreases in the horizontal (X-axis) direction or vertical (Y-axis) direction. Ignoring the interval, sequentially capture the coordinate points that change from increasing to decreasing, or from decreasing to increasing,
Define the space between each coordinate point as one substroke.

第1図はサブストロークの抽出方法の具体例を
示したものである。いま第1図aに示される平仮
名の「そ」のサンブリングされた座標点を、1,
2,3……10,11,12(実際はもつと多いが、説
明簡略化のため12個とした)とすると、各1〜12
の点のX,Y座標からなる座標系列(X1,Y1),
(X2,Y2)……(X12,Y12)が得られる。座標
点1〜3間はX座標は単調増加であるが、座標点
3と4の間で単調増加から減少に変化し、3〜5
間は単調減少する。座標点5と6の間で単調減少
から増加に変化し、座標点5〜7の間は単調増加
する。以下同様にして結局X座標方向では、第1
図bに示す如く、座標点1―3,5―7,10―
12間が単調増加、座標点3―5,7―10間が
単調減少となる。そしてX座標が単調増加から減
少に又は単調減少から増加に変化する座標点は、
3,5,7―10となる。したがつてX座標方向
のサブストロークは座標点1―3,3―5,5―
7,7―10,10―12を結んだ5個となる。
FIG. 1 shows a specific example of a substroke extraction method. Let the sampled coordinate points of the hiragana “so” shown in Figure 1a be 1,
2, 3...10, 11, 12 (Actually, there are many, but I chose 12 to simplify the explanation), each of 1 to 12
A coordinate series (X 1 , Y 1 ) consisting of the X and Y coordinates of the point,
(X 2 , Y 2 )...(X 12 , Y 12 ) is obtained. The X coordinate increases monotonically between coordinate points 1 and 3, but changes from a monotonous increase to decrease between coordinate points 3 and 4, and
The interval decreases monotonically. It changes from a monotonous decrease to an increase between coordinate points 5 and 6, and monotonically increases between coordinate points 5 to 7. Similarly, in the X coordinate direction, the first
As shown in Figure b, coordinate points 1-3, 5-7, 10-
Between coordinate points 12 and 12, there is a monotonous increase, and between coordinate points 3 and 5 and between 7 and 10, there is a monotonous decrease. And the coordinate points where the X coordinate changes from monotonically increasing to decreasing or from monotonically decreasing to increasing are:
3, 5, 7-10. Therefore, the substroke in the X coordinate direction is the coordinate point 1-3, 3-5, 5-
There are 5 pieces that connect 7, 7-10, and 10-12.

同様にしてY座標方向のサブストロークは、第
1図cに示すように、座標点1―11,11―1
2間を結んだ2個となる。
Similarly, the sub-strokes in the Y coordinate direction are as shown in FIG.
There are two pieces connecting the two.

(2) サブストロークの意味づけ 前述の方法で抽出されたサブストロークは文字
又は図形を大域的な観点からみた直線群として表
現されたものである。この発明は、入力ストロー
クすなわち第1図aにおける各座標点間を結ぶ直
線群1―2,2―3,3―4……10―11,1
1―12の形状を大まかに記述する手段として、
前述の方法で抽出されたサブストロークによつて
構成される面構造を凹で表現する手法をとつたも
のである。
(2) Meaning of substrokes The substrokes extracted by the method described above are expressed as a group of straight lines from a global perspective of characters or figures. This invention utilizes an input stroke, that is, a group of straight lines 1-2, 2-3, 3-4...10-11, 1 connecting each coordinate point in FIG.
As a means of roughly describing the shape of 1-12,
This method uses a method to express the surface structure formed by the sub-strokes extracted by the method described above as a concave shape.

まず各サブストロークに入力方向に沿つて同一
であれば「+」、逆であれば「−」を意味するラ
ベルを付与する。これにより各サブストロークは
その方向性をもつことになる。
First, each substroke is given a label meaning "+" if it is the same along the input direction, and "-" if it is opposite. This gives each substroke its directionality.

第1図dはX座標の正方向に単調増加を「+」、
負方向に単調増加を「−」として各サブストロー
クに方向性を付与したもので、サブストローク
Sx1,Sx3,Sx5が「+」,Sx2,Sx4が「−」となる。
またY座標は負方向に単調増加を「+」、正方向
に単調増加を「−」としたもので、第1図eに示
すように、サブストロークSy1が「+」,Sy2
「−」となる。
Figure 1 d shows a monotonous increase in the positive direction of the X coordinate,
Directionality is given to each substroke by setting "-" to indicate a monotonous increase in the negative direction.
S x1 , S x3 , and S x5 are "+", and S x2 and S x4 are "-".
In addition, the Y coordinate is "+" for a monotonous increase in the negative direction and "-" for a monotonous increase in the positive direction, and as shown in Figure 1e, the substroke S y1 is "+" and the substroke S y2 is " −”.

次にストローク全体の面構造の表現方法を第2
図により説明する。隣接し合うサブストロークを
考えその方向性が「+」から「−」に変化すると
きは、単調増加から単調減少に変化することか
ら、〓の如き形状が抽出され、また「−」から
「+」に変化するときは〓状の形状が抽出される。
そこで第2図aに示すように、X座標方向で隣接
するサブストロークの方向性が「+」→「−」の
ときは〓状をしていることが抽出されるがこれを
ラベル「Dl」で表わす。また「−」→「+」の
ときは〓状をしていることが抽出され、これに
「Dr」というラベルを付ける。同様に第2図bに
示すように、Y座標方向において隣接するサブス
トロークの方向性が「+」→「−」のときは凹状
で、「Du」なるラベルを付与し、「−」→「+」
のときは〓状で「Dd」なるラベルが付与される。
このようにして得られた記号を面構造ラベルと呼
び、この面構造ラベルのうちDlとDrをX面ラベ
ル、DuとDdをY面ラベルと呼ぶ。
Next, we will introduce the second method of expressing the surface structure of the entire stroke.
This will be explained using figures. Considering adjacent substrokes, when the direction changes from "+" to "-", it changes from monotonous increase to monotonous decrease, so a shape like 〓 is extracted, and from "-" to "+". ”, a 〓-shaped shape is extracted.
Therefore, as shown in Figure 2a, when the directionality of adjacent substrokes in the It is expressed as Also, when "-" → "+", it is extracted that the shape is 〓, and this is labeled as "Dr". Similarly, as shown in Fig. 2b, when the directionality of adjacent substrokes in the Y coordinate direction is "+" → "-", it is concave and is labeled "Du", and "-" → " +”
In this case, the label "Dd" is given in the shape of 〓.
The symbols obtained in this way are called surface structure labels, and among these surface structure labels, Dl and Dr are called X-plane labels, and Du and Dd are called Y-plane labels.

(3) 大域的処理によるストロークの表現とグルー
ピング 前記(1),(2)の各処理により座標点列として入力
されたストロークが、面構造を有した大まかな形
状として表現される。その表現方法は、その文字
又は図形に関するX面ラベルをY座標方向の正か
ら負方向の順、すなわち上より下の順に配列し、
Y面ラベルをX座標方向の正から負方向の順すな
わち左から右の順に配列することにより行なう。
(3) Representation and grouping of strokes by global processing Through each of the processes (1) and (2) above, a stroke input as a sequence of coordinate points is represented as a rough shape with a surface structure. The expression method is to arrange the X-plane labels related to the characters or figures in order from the positive to the negative direction of the Y coordinate direction, that is, from the top to the bottom,
This is done by arranging the Y-plane labels from positive to negative in the X-coordinate direction, that is, from left to right.

第3図は、第1図aに示した平仮名の「そ」に
ついて大域的処理による表現法を示したものであ
る。第3図aは第1図aに示した「そ」を再掲し
たもので、第3図bにおいてX座標方向のサブス
トロークはSx1,Sx2,Sx3,Sx4およびSx5で、それ
らを方向付けとすると、それぞれ+,−,+,−,+
となる。次に隣接するサブストローク(Sx1
Sx2),(Sx2,Sx3),(Sx3,Sx4),(Sx4,Sx5)に

いてX面ラベルを上から下の順に付すると第3
図々示のようにDl,Dr,Dl,Drとなる。同様に
Y座標方向のサブストロークは、第3図cに示す
ように、Sy1,Sy2の2個となり、そのY面ラベル
はDuとなる。したがつて平仮名の「そ」の大域
的処理による表現は第3図dのようになる。以下
この大域処理によるストローク表現を大域的表示
と呼ぶことにする。
FIG. 3 shows how to express the hiragana "so" shown in FIG. 1a by global processing. Figure 3a is a reproduction of "so" shown in Figure 1a, and in Figure 3b, the substrokes in the X coordinate direction are S x1 , S x2 , S x3 , S x4 and S x5 . If the directions are +, -, +, -, +, respectively,
becomes. Next adjacent substroke (S x1 ,
S x2 ), (S x2 , S x3 ), (S x3 , S x4 ), and (S x4 , S x5 ) are labeled on the X side in order from top to bottom.
As shown in the figure, Dl, Dr, Dl, Dr. Similarly, there are two substrokes in the Y coordinate direction, S y1 and S y2 , as shown in FIG. 3c, and their Y plane label is Du. Therefore, the representation of ``so'' in hiragana through global processing is as shown in Figure 3d. Hereinafter, stroke expression by this global processing will be referred to as global display.

また、これらの面構造ラベルを2進符号で表示
する場合は、例えば、X面ラベルであることを
「1」,Y面ラベルであることを「0」で示し、
Dlを「11」,Drを「10」,Duを「01」,Ddを「00」
で表示すれば、この4個の記号の配列により大域
的表示を2進符号でコード化することができる。
例えば第3図の「そ」の大域的表示(Dl,Dr,
Dl,Dr:Du)をコード化すれば(11,10,11,
10:01)になる。なお「11」の次は必らず「10」,
「10」の次は必らず「11」,「01」の次は必らず
「00」,「00」は次の必らず「01」となるわけであ
るので、これを利用してエラーチエツクを行なう
ことができる。
In addition, when displaying these surface structure labels in binary code, for example, "1" indicates an X-plane label, "0" indicates a Y-plane label, and so on.
Dl is "11", Dr is "10", Du is "01", Dd is "00"
The global representation can be encoded in binary code by this arrangement of four symbols.
For example, the global representation of “so” in Figure 3 (Dl, Dr,
If Dl, Dr: Du) is encoded as (11, 10, 11,
10:01). Note that after "11" there is always "10",
The next ``10'' is always ``11'', the next ``01'' is always ``00'', and the next ``00'' is always ``01'', so use this. Error checking can be performed.

さらに大域的表示を用いれば、文字や図形認識
において、微細な特徴を使用することなく大きな
区分けすなわちグルーピングに利用することがで
きる。
Furthermore, if a global display is used, it can be used for large classifications or groupings in character and graphic recognition without using minute features.

第4図は文字又は図形認識のグルーピングの例
を示したものである。いま同図イ〜リに示した9
個の文字又は図形(第4図d)を面構造ラベルに
より大域的表示を行なうと、X面ラベルは第4図
b、Y面ラベルは第4図cのように表わされる。
この第4図を観察すれば、図示の9個の文字、図
形においては、イの「そ」はX面ラベルだけで判
別されるが、その他のものはX面ラベルだけでは
判別されず、同じX面ラベルを有するグループが
4個存在することがわかる(ロとハ,ニとト,ホ
とヘ,チとリ)。さらにY面ラベルを加えると、
同図イ,ロ,ハの3個の文字はX面ラベル、Y面
ラベルで判別されるが、同じX面ラベル、Y面ラ
ベルを有するグループが3個存在することがわか
る(ニとト,ホとヘ,チとリ)。これらの各グル
ープ内の文字又は図形を判別することは大域的表
示によつてはできず、さらに次の局所的処理を行
なうことが必要となる。
FIG. 4 shows an example of grouping for character or figure recognition. 9 shown in I to I of the same figure
When characters or figures (FIG. 4 d) are globally displayed using surface structure labels, the X surface label is represented as shown in FIG. 4 b, and the Y surface label is represented as shown in FIG. 4 c.
If you look at this Figure 4, in the nine characters and figures shown, the "so" in A can be identified only by the X-side label, but the others cannot be determined only by the X-side label, and are the same. It can be seen that there are four groups with X-plane labels (Ro and Ha, Ni and To, Ho and He, Chi and Li). Furthermore, if you add a Y-plane label,
The three characters A, B, and C in the figure are distinguished by the X- and Y-plane labels, and it can be seen that there are three groups with the same X- and Y-plane labels (Ni, T, C). ho and he, chi and ri). Distinguishing the characters or figures within each of these groups cannot be done by global display, and requires the following local processing.

次に局所的処理について説明する。 Next, local processing will be explained.

〔〕 局所的処理について (1) 局所的処理(その1) 局所的処理(その1)においては、大域的処理
によつて求めた各形状を、直線の構成成分ごとに
分離し、それが直線か、曲線かあるいは直曲線な
のかを抽出する。
[] Regarding local processing (1) Local processing (Part 1) In local processing (Part 1), each shape obtained by global processing is separated into constituent components of a straight line, and Extract whether it is a curve, a straight curve, or a straight curve.

第5図は〓形状、すなわちX面ラベルがDlな
るサブストロークの例であつて、aは直線+直
線、bは直線+曲線、cは曲線+曲線の例をそれ
ぞれ示したものである。第5図で黒丸と黒丸の間
を結ぶ直線がサブストロークを形成する。なおd
に示される図形を考えることもできるが、このよ
うな図形が有意味な文字又は図形として表われる
ことは実際上はないと考えられるので対象外とし
てよい。
FIG. 5 is an example of a sub-stroke whose X-plane label is Dl, where a is straight line + straight line, b is straight line + curved line, and c is curved line + curved line. In FIG. 5, straight lines connecting black circles form substrokes. Furthermore, d
Although it is possible to consider the figures shown in , it is considered that such figures are unlikely to appear as meaningful characters or figures, so they may be excluded from the scope.

第5図a〜cは同じX面ラベルDlのグループ
に属するので、大域的表示のみでは個々に判別で
きない。局所的処理(その1)は、まず各サブス
トロークの距離SCLを算出する。次にそのサブス
トロークを構成する座標点列間の距離の和S′CL
算出する。そしてSCL≒S′CLならば直線であり、
そうでないときは曲線と判定する(以下判定基準
という)。ここでSCL=S′CLの代りにSCL≒S′CL
したのはタブレツトにスタイラスペンで入力する
とき、手で入力するため直線を書いても多少曲が
ることが多いことを考慮したもので、どの範囲を
もつて直線とするのかは個人差を考慮して統計的
に決めることが必要でる。また曲線の中には第5
図に示されるもの以外のものも含まれることは勿
論である。したがつてSCL≒S′CLでないものは正
確には直線でないものと表現すべきであるが、簡
単にするため曲線と呼ぶことにする。
Since the images a to c in FIG. 5 belong to the group with the same X-plane label Dl, they cannot be individually distinguished from each other only by the global display. Local processing (part 1) first calculates the distance S CL of each substroke. Next, the sum S′ CL of the distances between the coordinate point sequences forming the sub-stroke is calculated. And if S CL ≒ S′ CL , it is a straight line,
If this is not the case, it is determined that it is a curve (hereinafter referred to as the determination criterion). The reason for setting S CL ≒ S' CL here instead of S CL = S' CL is to take into account that when inputting on a tablet with a stylus pen, even if a straight line is drawn, it often curves a little because the input is done by hand. Therefore, it is necessary to statistically decide which range should be considered a straight line, taking into account individual differences. Also, there is a fifth line in the curve.
Of course, things other than those shown in the figures are also included. Therefore, anything that is not S CL ≒ S′ CL should be accurately expressed as not being a straight line, but for simplicity, it will be called a curve.

前述の判定基準で曲線と判断される要因とし
て、 完全に曲線であるとき, 入力時における「ぶれ」で異常な座標点が検
出されるとき、 サブストロークが2方向に傾いた直線を有し
ているとき、 大域的な形状抽出による「ずれ」があると
き、 等があげられる。
The factors that can be judged as a curve based on the above criteria are: when it is completely curved, when an abnormal coordinate point is detected due to "shaking" during input, and when the substroke has a straight line tilted in two directions. When there is a "discrepancy" due to global shape extraction, etc.

第6図はこれらの具体例を示したもので、下に
示した〜と上記〜がそれぞれ対応してい
る。そして黒丸と黒丸の間がサブストローク、白
丸は各座標点の部分が曲線と判断されたサブスト
ロークであることを示す。ここで第6図のeにお
いてB0―B1及びB1―B2がサブストロークを形成
し、B0―W,W―B1はW―B1間でX座標が変化
しないことからサブストロークを形成しない点に
注意する必要がある。
FIG. 6 shows these specific examples, and ~ shown below and ~ above correspond to each other. The area between the black circles indicates a substroke, and the white circle indicates that the portion of each coordinate point is a substroke determined to be a curve. Here, in e of Fig. 6, B 0 - B 1 and B 1 - B 2 form a substroke, and B 0 - W, W - B 1 are substrokes because the X coordinate does not change between W - B 1 . Care must be taken not to form a stroke.

次に各サブストロークにおいてそのサブストロ
ークを構成する座標点列からサブストロークの直
線に垂直線をおろしその距離ヒストグラムを作成
する。そして距離ヒストグラムがほぼ一様である
部分のみが異常値を示したときには、そのサブス
トロークを構成する座標点列は直線であると判定
する(以下、判定基準という)。
Next, for each sub-stroke, a line perpendicular to the sub-stroke straight line is drawn from the coordinate point sequence composing that sub-stroke to create a distance histogram. When only a portion where the distance histogram is substantially uniform shows an abnormal value, it is determined that the coordinate point sequence forming the sub-stroke is a straight line (hereinafter referred to as the determination criterion).

第7図は判定基準の例を示したものである。
同図aに示した1つのサブストロークP1―P2
それを構成する座標点列Q1,Q2,……Q5……を
示したもので、座標Q5が他から大きくずれてい
る。同図bは各座標点の距離ヒストグラムを示し
たもので、座標点Q5だけが異常点であることを
示している。したがつて判定基準からサブスト
ロークP1―P2を構成する座標点列は直線である
と判定され、座標点Q5は排除される。かくして
第6図fの各サブストロークを構成する座標点列
はいずれも直線と判定されることになる。
FIG. 7 shows an example of the determination criteria.
This figure shows one sub-stroke P 1 - P 2 shown in figure a and the coordinate point sequence Q 1 , Q 2 , ...Q 5 ... that constitutes it, and the coordinate Q 5 is greatly deviated from the others. There is. Figure b shows a distance histogram of each coordinate point, showing that only coordinate point Q5 is an abnormal point. Therefore, based on the determination criteria, it is determined that the coordinate point sequence forming the sub-strokes P 1 to P 2 is a straight line, and the coordinate point Q 5 is excluded. In this way, the coordinate point sequences forming each sub-stroke in FIG. 6f are determined to be straight lines.

なお判定基準における異常値のレベルは統計
的に決められ、また異常値の個数も座標点列の間
隔により決められる。サンプリング間隔が狭いと
きは1つの異常部分を数個サンプリングすること
があるからである。
Note that the level of abnormal values in the determination criteria is determined statistically, and the number of abnormal values is also determined by the interval between coordinate point sequences. This is because when the sampling interval is narrow, several abnormal parts may be sampled.

判定基準及びにより直線と判定されたもの
にラベル「S」を付与し、曲線と判定されたもの
にラベル「C」を付与することにより、文字又は
図形から抽出された各サブストロークは更に意味
づけられることになる。以下このラベルを局部構
造ラベルと呼び、局部構造ラベルSを直線ラベ
ル、局部構造ラベルCを曲線ラベルと呼ぶことに
する。この局部構造ラベルと前述の面構造ラベル
を組み合わせると、文字又は図形の形状をコード
情報として表現することができる。
Each sub-stroke extracted from a character or figure is further given meaning by assigning a label "S" to those determined to be straight lines and "C" to those determined to be curved lines according to the determination criteria. It will be done. Hereinafter, this label will be called a local structure label, the local structure label S will be called a straight line label, and the local structure label C will be called a curved label. By combining this local structure label with the above-mentioned surface structure label, the shape of a character or figure can be expressed as code information.

第8図は面構造ラベルと局部構造ラベルを使用
して、文字又は図形を判別する例を示したもので
ある。第8図においてaはイ〜ホの5個の文字又
は図形を示し、bは大域的表示、cは各サブスト
ロークの形状、dはX面ラベル、eは局部構造ラ
ベルを示す。
FIG. 8 shows an example of identifying characters or figures using surface structure labels and local structure labels. In FIG. 8, a indicates five characters or figures A to E, b indicates a global display, c indicates the shape of each substroke, d indicates an X-plane label, and e indicates a local structure label.

この判定基準を加えることにより、判定基準
で曲線と判断された要因のうち、実際の形状は
直線であるのに曲線であると判定されたは正し
く直線と判断されることになる。またのケース
(第5図a及び第6図)は実際上生じることは
極めて少ないので対象外とした。そして残るの
ケースは次の局所的処理(その2)により判定さ
れる。
By adding this criterion, among the factors that are determined to be curved according to the criterion, those determined to be curved even though the actual shape is straight are correctly determined to be straight. The other cases (Fig. 5a and Fig. 6) are excluded from the scope of the present invention because they rarely occur in practice. The remaining cases are determined by the following local processing (Part 2).

(2) 局所的処理(その2) 局所的処理(その2)は、判定基準によつて
曲線と判断されたサブストロークに対し、そのサ
ブストロークを構成する座標点列の座標値の差分
リストを作成し、その差分=大値となるとき、す
なわち各座標点列のX座標又はY座標の差分が設
定された閾値を越えるときは、直線群と判定し、
その差分が大値となることがないときは曲線と判
断する(以下、判定基準という)。この判定基
準によれば第6図のは直線群と判定されること
になる。
(2) Local processing (Part 2) Local processing (Part 2) generates a list of differences in the coordinate values of the coordinate point sequences that make up the sub-stroke, for a sub-stroke that is determined to be a curve according to the criteria. When the difference is a large value, that is, when the difference in the X or Y coordinate of each coordinate point sequence exceeds the set threshold, it is determined that it is a straight line group,
If the difference does not become a large value, it is determined that it is a curve (hereinafter referred to as the determination criterion). According to this criterion, the line in FIG. 6 is determined to be a straight line group.

なお差分が大値が否かを判別する閾値はタプレ
ツトに記入する文字や図形の大きさに応じて決め
られる。
Note that the threshold value for determining whether the difference is a large value is determined depending on the size of the characters or figures to be written in the tuplet.

また1ストロークからなる図形の種類は多数考
えられるが、この発明が識別の対象とする1スト
ロークからなる日常使用される文字又は図形の識
別を行なうためには前述の判定基準〜を加え
ることで実用上充分である。
In addition, there are many types of figures that consist of one stroke, but in order to identify characters or figures that are used in daily life and consist of one stroke, which this invention targets for identification, it is practical to add the above-mentioned criteria ~. The above is sufficient.

面構造ラベル及び局部構造ラベルを2進符号に
よるコード情報として表示する場合には4ビツト
の符号の系列として表示することができることは
容易に理解される。
It is easily understood that when displaying the surface structure label and the local structure label as code information using binary codes, they can be displayed as a series of 4-bit codes.

第9図は本発明にもとづき大域的処理及び局所
的処理の一つの実施例を示したものである。
FIG. 9 shows one embodiment of global processing and local processing according to the present invention.

同図において、10はタブレツト、11は文字
又は図形を記入するスタイラスペン、12は一文
字又は一図形の座標点列のX座標、Y座標を記憶
する座標点列格納メモリ、13はX座標及びY座
標方向の変化点を検出する変化点検出回路、14
はこの変化点の座標を記憶する変化点格納メモリ
である。ここで変化点格納メモリ14にはその変
化点に関係した隣接せる2個のサブストロークの
座標(例えば第1図bに変化点3に対し1,3,
5の各座標点の座標)が記憶される。15は変化
点間の差分を求める変化点間差分回路、16は比
較回路、17は面構造ラベルに変換する変換回
路、18は大域的表示を行なう記述バツフア、1
9は各サブストロークを構成する座標点列間の距
離を積算する距離抽出回路、20は距離ヒストグ
ラムを作成して記憶するヒストグラム格納メモ
リ、21は各サブストロークが直線か曲線かを判
定する判定回路、22は各サブストロークに直
線、曲線の局部構造ラベルを付与する記述バツフ
ア、23は各座標点列の座標差分を抽出する差分
抽出回路、24は判定基準に従つて直線群か曲
線かを判定する判定回路、25は、記述バツフア
22と判定回路24の結果を比較する比較回路、
26はサブストロークに局部構造ラベルを付与す
る記述バツフアである。
In the figure, 10 is a tablet, 11 is a stylus pen for writing characters or figures, 12 is a coordinate point string storage memory that stores the X and Y coordinates of the coordinate point string of one character or one figure, and 13 is the X coordinate and Y coordinate point string. A change point detection circuit for detecting a change point in a coordinate direction, 14
is a change point storage memory that stores the coordinates of this change point. Here, the change point storage memory 14 stores the coordinates of two adjacent sub-strokes related to the change point (for example, 1, 3,
5 coordinates of each coordinate point) are stored. 15 is an inter-change point difference circuit that calculates the difference between change points; 16 is a comparison circuit; 17 is a conversion circuit that converts into surface structure labels; 18 is a description buffer that performs global display;
Reference numeral 9 denotes a distance extraction circuit that integrates the distance between coordinate point sequences forming each sub-stroke, 20 a histogram storage memory that creates and stores a distance histogram, and 21 a determination circuit that determines whether each sub-stroke is a straight line or a curved line. , 22 is a description buffer that gives local structure labels of straight lines and curves to each sub-stroke, 23 is a difference extraction circuit that extracts the coordinate difference of each coordinate point sequence, and 24 determines whether it is a group of straight lines or a curve according to the determination criteria. 25 is a comparison circuit that compares the results of the description buffer 22 and the determination circuit 24;
26 is a description buffer that adds a local structure label to a substroke.

いま第9図においてタブレツト10にスタイラ
スペン11により1ストロークからなる1文字又
は図形が入力されると、サンブリングされた文字
又は図形の座標点列の座標が座標点列格納メモリ
12に記憶される。変化点検出回路13は座標点
列のX座標、Y座標の増加点の極性が変わる変化
点すなわち各サブストロークの座標点を検出す
る。そして変化点格納メモリ14は、各変化点に
隣接するサブストロークを対にしてそれらの座標
点を記憶する。変化点間差分回路15は、各変化
点の座標の差分を求め比較回路16に伝達する。
比較回路16はこの差分と、正又は負の基準電圧
との値を比較して各サブストロークに方向性を付
与する。変換回路17はこの方向づけられたサブ
ストロークから各隣接するサブストローク対毎に
面構造ラベルを付与する。そして記述バツフア1
8は面構造ラベルをコード情報として出力し、大
域的表示を行なう。
Now, in FIG. 9, when one character or figure consisting of one stroke is input to the tablet 10 with the stylus pen 11, the coordinates of the coordinate point sequence of the sampled character or figure are stored in the coordinate point sequence storage memory 12. . The change point detection circuit 13 detects a change point where the polarity of the increasing point of the X coordinate and Y coordinate of the coordinate point sequence changes, that is, the coordinate point of each substroke. Then, the change point storage memory 14 stores the coordinate points of substrokes adjacent to each change point in pairs. The inter-changing point difference circuit 15 calculates the difference in the coordinates of each changing point and transmits it to the comparing circuit 16.
The comparison circuit 16 compares this difference with a positive or negative reference voltage to give directionality to each sub-stroke. The conversion circuit 17 applies a surface structure label to each adjacent pair of substrokes from the oriented substrokes. And description battle 1
8 outputs surface structure labels as code information for global display.

距離抽出回路19は変換点格納メモリ14から
各サブストロークの座標出力が供給される毎に、
座標点列格納メモリ12から伝達される座標点列
の座標にもとづき、サブストロークを構成する座
標点列間の距離とサブストロークまでの距離を計
算する。ヒストグラム格納メモリ20はサブスト
ロークまでの距離から距離ヒストグラムを作成
し、判定基準により異常点を排除する。判定回
路21は判定基準により各サブストロークを構
成する座標列が直線か曲線かを判定する。そして
この判定結果が記述バツフア22に保持される。
Each time the distance extraction circuit 19 is supplied with the coordinate output of each sub-stroke from the conversion point storage memory 14,
Based on the coordinates of the coordinate point sequence transmitted from the coordinate point sequence storage memory 12, the distance between the coordinate point sequence forming the substroke and the distance to the substroke are calculated. The histogram storage memory 20 creates a distance histogram from the distance to the sub-stroke, and eliminates abnormal points based on the determination criteria. The determination circuit 21 determines whether the coordinate string constituting each sub-stroke is a straight line or a curved line based on the determination criteria. This determination result is then held in the description buffer 22.

一方、差分抽出回路23は変化点格納メモリ1
4からサブストロークの座標入力が供給される毎
にそのサブストロークを構成する座標点列の各座
標の差分を抽出し、これを判定回路24に伝達す
る。判定回路24は判定基準にしたがつてその
サブストロークを構成する座標点列が直線群か曲
線かを判定して、これを比較回路25に伝達す
る。これにより比較回路25は記述バツフア22
に保持された曲線のうちから直線群に当るものを
直線群と訂正し、記述バツフア26に伝達する。
記述バツフア26は各サブストロークに直線ラベ
ルS,曲線ラベルCを付与する。このようにして
記述バツフア26から出力される局部構造ラベル
と、前記記述バツフア18から出力される面構造
ラベルにより1ストロークからなる文字又は図形
の識別を行なうことができる。
On the other hand, the difference extraction circuit 23 uses the change point storage memory 1
4, each time a sub-stroke coordinate input is supplied, a difference between each coordinate of a sequence of coordinate points constituting the sub-stroke is extracted, and this is transmitted to the determination circuit 24. The determination circuit 24 determines whether the coordinate point sequence constituting the sub-stroke is a straight line group or a curved line according to the determination criteria, and transmits this to the comparison circuit 25. As a result, the comparison circuit 25 converts the description buffer 22
Among the curves held in , those that correspond to a group of straight lines are corrected as a group of straight lines and are transmitted to the description buffer 26 .
The description buffer 26 gives a straight line label S and a curved line label C to each substroke. In this way, a character or figure consisting of one stroke can be identified by the local structure label output from the description buffer 26 and the surface structure label output from the description buffer 18.

以上説明の如く、結局本発明によれば、大域的
処理及び局所的処理を組み合せることにより文字
又は図形の処理と認識をオン・ラインで行なうこ
とができるとともに、しかも文字や図形のサンプ
リング位置により識別結果に差の生じない、正確
な識別を行なうことができる。
As explained above, according to the present invention, it is possible to process and recognize characters or figures online by combining global processing and local processing, and also by changing the sampling position of characters or figures. Accurate identification can be performed without causing any difference in identification results.

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

第1図はサブストロークの抽出と方向付けの説
明図、第2図は面構造ラベルの説明図、第3図は
大域的処理の説明図、第4図は文字又は図形認識
のグルーピングの説明図、第5図〜第7図は局所
的処理の説明図、第8図は局部構造ラベルの説明
図、第9図は本発明の一実施例構成図である。 図中、10はタブレツト、11はスタイラスペ
ン、12は座標点列格納メモリ、13は変化点検
出回路、14は変化点格納メモリ、15は変化点
間差分回路、16は比較回路、17は面構造ラベ
ル用の変換回路、18は記述バツフア、19は距
離抽出回路、20はヒストグラム格納メモリ、2
1は判定回路、22は記述バツフア、23は差分
抽出回路、24は判定回路、25は比較回路、2
6は記述バツフアをそれぞれ示す。
Figure 1 is an illustration of substroke extraction and orientation, Figure 2 is an illustration of surface structure labels, Figure 3 is an illustration of global processing, and Figure 4 is an illustration of grouping for character or figure recognition. , FIG. 5 to FIG. 7 are explanatory diagrams of local processing, FIG. 8 is an explanatory diagram of local structure labels, and FIG. 9 is a configuration diagram of an embodiment of the present invention. In the figure, 10 is a tablet, 11 is a stylus pen, 12 is a coordinate point sequence storage memory, 13 is a change point detection circuit, 14 is a change point storage memory, 15 is a difference circuit between change points, 16 is a comparison circuit, and 17 is a screen. 18 is a description buffer; 19 is a distance extraction circuit; 20 is a histogram storage memory; 2
1 is a judgment circuit, 22 is a description buffer, 23 is a difference extraction circuit, 24 is a judgment circuit, 25 is a comparison circuit, 2
6 indicates the description buffer.

Claims (1)

【特許請求の範囲】[Claims] 1 ストロークからなる文字又は図形の座標点列
を抽出する座標点列抽出手段と、1つの座標方向
における座標点列の座標の変化点からサブストロ
ークを形成するサブストローク形成手段と、前記
変化点の差分によりその変化点に隣接する一対の
サブストロークから、当該一対のサブストローク
が当該座標方向に関していずれの方向に開放した
状態となつているかを示す面構造ラベルを得る面
構造ラベル形成手段と、サブストロークを構成す
る座標点列が直線か曲線かを判定する第1判定手
段と、サブストロークと座標点列間の距離ヒスト
グラムから異常座標点を排除する第2の判定手段
と、前記座標点列の各座標の差分から座標点列が
直線群か曲線かを判定する第3の判定手段を具備
することによりサブストロークに、当該サブスト
ロークが直線性を有するかまたは曲線性を有する
かを示す局部構造ラベルを付与し、これらのラベ
ルにもとづき認識を行うようにしたことを特徴と
する文字又は図形の認識方式。
1. Coordinate point sequence extraction means for extracting a coordinate point sequence of a character or figure consisting of a stroke; substroke forming means for forming a substroke from a change point in the coordinates of the coordinate point sequence in one coordinate direction; A surface structure label forming means for obtaining a surface structure label indicating in which direction the pair of substrokes is open with respect to the coordinate direction from the pair of substrokes adjacent to the change point by the difference; a first determining means for determining whether a coordinate point sequence constituting a stroke is a straight line or a curve; a second determining means for excluding abnormal coordinate points from a distance histogram between a sub-stroke and a coordinate point sequence; By providing a third determining means for determining whether a coordinate point sequence is a straight line group or a curved line based on the difference in each coordinate, a substroke has a local structure that indicates whether the substroke has linearity or curvedness. A character or figure recognition method characterized by assigning labels and performing recognition based on these labels.
JP56154524A 1981-09-29 1981-09-29 Recognition system for character or graph Granted JPS5856082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56154524A JPS5856082A (en) 1981-09-29 1981-09-29 Recognition system for character or graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56154524A JPS5856082A (en) 1981-09-29 1981-09-29 Recognition system for character or graph

Publications (2)

Publication Number Publication Date
JPS5856082A JPS5856082A (en) 1983-04-02
JPH0226267B2 true JPH0226267B2 (en) 1990-06-08

Family

ID=15586136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56154524A Granted JPS5856082A (en) 1981-09-29 1981-09-29 Recognition system for character or graph

Country Status (1)

Country Link
JP (1) JPS5856082A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2623016B1 (en) * 1987-11-06 1991-06-14 Thomson Semiconducteurs DEVICE FOR FUSING A FUSE INTO AN INTEGRATED CMOS CIRCUIT

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57130187A (en) * 1981-02-04 1982-08-12 Matsushita Electric Ind Co Ltd On-line recognizing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57130187A (en) * 1981-02-04 1982-08-12 Matsushita Electric Ind Co Ltd On-line recognizing device

Also Published As

Publication number Publication date
JPS5856082A (en) 1983-04-02

Similar Documents

Publication Publication Date Title
Panwar Hand gesture recognition based on shape parameters
EP0739521B1 (en) Method of splitting handwritten input
Boulahia et al. Dynamic hand gesture recognition based on 3D pattern assembled trajectories
US10127199B2 (en) Automatic measure of visual similarity between fonts
US5737443A (en) Method of joining handwritten input
US20040096105A1 (en) Method, device and computer program for recognition of a handwritten character
US11837001B2 (en) Stroke attribute matrices
Panwar Hand gesture based interface for aiding visually impaired
CN108052955B (en) High-precision Braille identification method and system
JP4958236B2 (en) Method and apparatus for recognizing handwritten patterns
Chowdhury et al. Bengali Sign language to text conversion using artificial neural network and support vector machine
Bains et al. Dynamic features based stroke recognition system for signboard images of Gurmukhi text
JPH0226267B2 (en)
Caglar et al. Open hand detection in a cluttered single image using finger primitives
CN114241486A (en) Method for improving accuracy rate of identifying student information of test paper
CN106648171A (en) Interactive system and method based on writing pens
CN107886808B (en) Braille square auxiliary labeling method and system
CN106774974B (en) The method and apparatus of output information
Ramya et al. Air-Writing Recognition System
AU2021104831A4 (en) A Novel Deep Convolutional Neural Network for Tattoo Text Detection in Images
Subha Rajam et al. Design and development of tamil sign alphabets using image processing with right hand palm to aid deaf-dumb people
EP4086744A1 (en) Gesture stroke recognition in touch-based user interface input
Gedam et al. Challenges and opportunities in finger spelling recognition in air
JPH0656625B2 (en) Feature extraction method
Watanabe et al. Recognition of sign language alphabet using colored gloves