JP2996285B2 - Pattern recognition method - Google Patents

Pattern recognition method

Info

Publication number
JP2996285B2
JP2996285B2 JP7187492A JP18749295A JP2996285B2 JP 2996285 B2 JP2996285 B2 JP 2996285B2 JP 7187492 A JP7187492 A JP 7187492A JP 18749295 A JP18749295 A JP 18749295A JP 2996285 B2 JP2996285 B2 JP 2996285B2
Authority
JP
Japan
Prior art keywords
calculating
pattern recognition
recognition method
pattern
ellipse
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
JP7187492A
Other languages
Japanese (ja)
Other versions
JPH0887598A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP7187492A priority Critical patent/JP2996285B2/en
Publication of JPH0887598A publication Critical patent/JPH0887598A/en
Application granted granted Critical
Publication of JP2996285B2 publication Critical patent/JP2996285B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、楕円形状曲線のパ
ターン認識に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to pattern recognition of an elliptic curve.

【0002】[0002]

【従来の技術】様々なパターン認識方式すなわち方法お
よび装置が知られている。後で更に詳細に述べるよう
に、パターン認識方式が、ストローク形状識別方式とし
て特許公開公報昭和58年第223、885号に開示さ
れている。
BACKGROUND OF THE INVENTION Various pattern recognition schemes or methods and devices are known. As will be described in more detail later, a pattern recognition method is disclosed in Japanese Patent Laid-Open Publication No. 58-223,885 as a stroke shape identification method.

【0003】ストローク形状識別方式は、予め選択され
た形状についてストロークを識別し、その形状のパラメ
ータを決定するものである。予め選択された形状は、直
線、折線、円を含む楕円、および弧である。この方式
は、座標列としてストローク上の点の座標を計算する手
段と、前記座標列と予め選択された形状のおのおのを近
似するパラメータとの間の類似度を計算する手段と、予
め定められた形状の一つのうち最大類似度を持つ選択す
る手段とを備える。
[0003] The stroke shape identification method is to identify a stroke of a preselected shape and determine parameters of the shape. The preselected shapes are straight lines, broken lines, ellipses including circles, and arcs. This method includes: means for calculating coordinates of a point on a stroke as a coordinate sequence; means for calculating a similarity between the coordinate sequence and a parameter approximating each of the preselected shapes; Means for selecting one of the shapes having the highest similarity.

【0004】[0004]

【発明が解決しようとする課題】ところで、このストロ
ーク形状識別方式により楕円の一つであるかどうかをス
トロークが識別しようとするにあたっては、楕円の長短
軸は座標軸に平行であると。従って、座標列はパラメー
タを計算しないうちにアフィン変換を施す必要がある。
これは膨大な量の計算を必要としそれ故に処理速度を遅
くしている。
When the stroke is to be identified as one of the ellipses by the stroke shape identification method, it is assumed that the major and minor axes of the ellipse are parallel to the coordinate axes. Therefore, it is necessary to apply an affine transformation to the coordinate sequence before calculating the parameters.
This requires an enormous amount of computation and therefore slows processing.

【0005】そこで、本発明の技術的課題は、楕円様の
パターンとして平面曲線の入力パターンを認識するにあ
たり膨大な量の計算を不要とするパターン認識方式を提
供することである。
It is an object of the present invention to provide a pattern recognition system which does not require an enormous amount of calculation when recognizing an input pattern of a plane curve as an elliptical pattern.

【0006】また、本発明の他の技術的課題は、この種
のパターン認識方式であって、高速動作可能なパターン
認識方式を提供することである。
Another technical object of the present invention is to provide a pattern recognition system of this type which can operate at high speed.

【0007】[0007]

【0008】[0008]

【0009】[0009]

【課題を解決するための手段】本発明によれば、平面曲
線の入力パターン上の点の座標を座標列として計算する
手段を含み前記入力パターンを楕円様のパターンとして
認識するためのパターン認識方式において、前記座標列
を使用して楕円の2つの焦点の焦点座標を含む楕円パラ
メータを計算する手段と、前記座標列と前記焦点座標と
を使用して前記点のおのおのと前記2つの焦点との間の
距離の和を計算する手段と、前記距離の和に代数計算を
施して該代数計算の結果を計算する手段と、前記結果の
ばらつきを前記入力パターンが幾何学的楕円に関係的に
持っている類似度として評価する手段とを備えることを
特徴とするパターン認識方式が得られる。
According to the present invention, there is provided a pattern recognition method for recognizing an input pattern as an elliptical pattern including means for calculating coordinates of points on a plane curve input pattern as a coordinate sequence. Means for calculating elliptic parameters including focal coordinates of two focal points of an ellipse using said coordinate sequence; and using said coordinate sequence and said focal coordinates to calculate each of said points and said two focal points. Means for calculating the sum of the distances between each other; means for performing an algebraic calculation on the sum of the distances to calculate the result of the algebraic calculation; and And a means for evaluating the degree of similarity.

【0010】[0010]

【発明の実施の形態】図1において、平面曲線ないしは
ストロークは、この平面曲線が幾何学的に正確な楕円で
あるか否かに関して認識されるべき閉じた楕円または楕
円形状曲線である。平面曲線は入力パターンとしてパタ
ーン認識装置に供給される。パターン認識装置は、まず
平面曲線の上またはそれに沿っているサンプル点を取
り、単に説明を簡単にするためのx・y軸の直角右手座
標系によって定義されているものとして仮定された座標
平面上にサンプル点の座標を座標列として計算する。座
標列から、パターン認識装置は、平面曲線の頂点座標
(x,y)のように特徴を引き出す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In FIG. 1, a plane curve or stroke is a closed ellipse or ellipse-shaped curve to be recognized as to whether this plane curve is a geometrically correct ellipse. The plane curve is supplied to the pattern recognition device as an input pattern. The pattern recognizer first takes the sample points on or along the plane curve, and simply on the coordinate plane assumed to be defined by the right-handed right-hand coordinate system of the x and y axes for ease of explanation. The coordinates of the sample points are calculated as a coordinate sequence. From the coordinate sequence, the pattern recognition device extracts features such as vertex coordinates (x, y) of a plane curve.

【0011】図2に移って図1を続けて参照すると、従
来のパターン認識装置について、本発明の理解を容易に
するために述べる。このパターン認識装置は、上述した
ようにストローク形状識別装置として特許公開公報昭和
58年第223、885号に開示され、直線、折線、楕
円(円)等についてストロークを識別するものである。
ストローク識別装置の動作は特許公報では明らかでない
部分があることに注意すべきである。
Turning to FIG . 2 and continuing reference to FIG.
Easy to understand the present invention for conventional pattern recognition devices
I will tell you. This pattern recognition device is described above.
Patent Publication Showa as stroke shape identification device
No. 223,885, 1983;
The stroke is identified for a circle (circle) or the like.
Operation of stroke identification device is not clear in patent gazette
It should be noted that there are parts.

【0012】ストローク識別装置に供給するためストロ
ークは、直交xy軸の右手座標系の上に表わされたスト
ロークからサンプル点として取られた点のサンプル座標
(xn、yn)の予め定められた数Nの入力列INで予
め表わされる。ここでnは1とNとを含んでこれらの間
で変化する。入力列は、以後単に参照番号11で集合的
に示された第1〜第Mのパラメータ計算回路11
(1)、11(2)、…、および11(M)に送られ
る。同様の参照番号および符号についてはこの後で使用
される。まもなく述べるように、第1〜第Mのパラメー
タ計算回路11は、第1〜第Mの形状パラメータP
(1)、P(2)、…、およびP(M)すなわちPを生
成する。
In order to supply a stroke identification device,
Stroke is represented on the right-handed coordinate system of the orthogonal xy axes.
The sample coordinates of the point taken as the sample point from the roke
(Xn, yn) of a predetermined number N of input columns IN
Is represented. Where n is between 1 and N, inclusive
To change. The input sequence is hereafter simply referred to by the reference number 11
1 to M-th parameter calculation circuit 11 shown in FIG.
(1), 11 (2), ..., and 11 (M)
You. Similar reference numbers and signs will be used later
Is done. As mentioned shortly, the first to M-th parameters
The data calculation circuit 11 calculates the first to M-th shape parameters P
(1), P (2), ..., and P (M), that is, P
To achieve.

【0013】入力列および形状パラメータに基づき、第
1〜第Mの類似度計算回路13(1)、13(2)、
…、および13(M)すなわち13は、第1〜第Mの類
似度S(1)、S(2)、…、およびS(M)すなわち
Sを生成する。形状判定回路15は、第1〜第Mの類似
度のうちの最大を選択し予め選択された形状のストロー
クに形状が最も類似する一つを表わす装置出力信号OU
Tを生成する。ついでながら、パラメータ決定回路17
は、第1〜第Mの形状パラメータおよび装置出力信号に
応答しストロークの実際のパラメータを決定する。
Based on the input sequence and the shape parameters,
1st to M-th similarity calculation circuits 13 (1), 13 (2),
... and 13 (M), that is, 13 is the first to Mth
Similarities S (1), S (2),... And S (M)
Generate S. The shape determination circuit 15 includes first to Mth similarities.
Select the maximum of the degrees and the straw of the preselected shape
Output signal OU representing one of the shapes most similar to
Generate T. Incidentally, the parameter determination circuit 17
Are the first to M-th shape parameters and the device output signal.
Respond to determine the actual parameters of the stroke.

【0014】図1および図2を参照して、ストローク識
別装置の動作を第mのパラメータ計算回路11(m)お
よび第mの類似計算回路13(m)に関して更に詳細に
述べる。ただし、mは1とMとを含んでこれらの間のあ
る一つを表わす。第mのパラメータ計算回路11(m)
は、次の式(1) (x(t)−x(0)) /a +(y(t)−y(0)) /b =1 で表わされた楕円である第mの予め定められた形状であ
る。ただし、形状組み合わせ(x(t)、y(t))は
楕円上の点を表わし、中央組み合わせ(x(0)、y
(0))は図1で示された楕円中心を表わし、aおよび
bは楕円の長半径および短半径を表わす。更に説明の便
宜のため、Nは3の整数倍であるとする。このようにし
て、幾つかの点を選択された点としてサンプル点から選
択する。
Referring to FIG . 1 and FIG.
The operation of another device is described by the m-th parameter calculation circuit 11 (m) and
And the m-th similarity calculation circuit 13 (m) in more detail.
State. However, m includes 1 and M, and
One. M-th parameter calculation circuit 11 (m)
Is first an ellipse represented by the following formula (1) (x (t) -x (0)) 2 / a 2 + (y (t) -y (0)) 2 / b 2 = 1 m with a predetermined shape
You. However, the shape combination (x (t), y (t))
Represents a point on the ellipse, and the central combination (x (0), y
(0)) represents the center of the ellipse shown in FIG.
b represents the major axis and the minor axis of the ellipse. Further explanation
For convenience, it is assumed that N is an integer multiple of 3. Like this
Select some points from the sample points as selected points.
Select.

【0015】第mのパラメータ計算回路11(m)は、
入力列から選択された組み合わせ(xi、yi)を選択
し、形状組み合わせに選択された組み合わせを代入し、
第mの形状パラメータP(m)として代入された式を計
算する。この代入された式は、式(1)における形状組
み合わせとしてサンプル座標を使用することにより与え
られ、楕円中央および長短半径と共働して第mの概略形
状を表わす。
The m-th parameter calculation circuit 11 (m)
Select the combination (xi, yi) selected from the input column
Then, substitute the selected combination for the shape combination,
The equation substituted for the m-th shape parameter P (m) is calculated.
Calculate. The substituted expression is the shape set in Expression (1).
Given by using sample coordinates as registration
M-th schematic shape in cooperation with the center of the ellipse and the major and minor radii
Indicates the shape.

【0016】第mの類似計算回路13(m)は、代入さ
れた式とサンプル点との間の第nの計算距離dnを計算
する。
The m-th similarity calculation circuit 13 (m)
The nth calculation distance dn between the given equation and the sample point
I do.

【0017】従って、第mの類似計算回路13(m)
は、距離を計算した第nの計算距離の最大距離diを選
択し最大距離で割ってこの割り算の商により第mの類似
度S(m)を決定する。第mの補正定数C(m)をどう
にか決定して、形状判定回路15は、このような補正定
数の積および同様の楕円に使用される類似度計算回路1
1のいくつかのものによって生成された類似度を計算す
る。最大の積を見出しながら、形状判定回路15は、最
大の積に使用された類似度を持つ予め選択された形状の
一つを候補楕円として装置出力信号を表示する。パラメ
ータ決定回路17の説明はここでは省略する。
Therefore, the m-th similarity calculation circuit 13 (m)
Selects the maximum distance di of the n-th calculated distance for which the distance has been calculated.
Divided by the maximum distance and the quotient of this division gives the m-th similarity
Degree S (m) is determined. What is the m-th correction constant C (m)
The shape determination circuit 15 determines such a correction value.
Similarity calculation circuit 1 used for product of numbers and similar ellipses
Calculate the similarity generated by some of the ones
You. While finding the maximum product, the shape determination circuit 15
Of a pre-selected shape with similarity used for the product of large
The device output signal is displayed as one candidate ellipse. parameter
The description of the data determination circuit 17 is omitted here.

【0018】上述したように、楕円の長短半径は、x軸
およびy軸に平行である。従って、楕円形状を表わす座
標列をアフィン変換に施すことは必須である。
As described above, the major and minor radii of the ellipse are defined by the x-axis.
And parallel to the y-axis. Therefore, a seat representing an elliptical shape
It is essential to apply the canon to the affine transformation.

【0019】さて図3を参照すると、楕円様のパターン
は、本発明によるパターン認識装置によって幾何学的楕
円として認められるべき平面曲線として図示されてい
る。この幾何学的楕円は、第1および第2の焦点F
(1)およびF(2)を持っている。図1におけるよう
に、複数の点は、サンプル点としての楕円パターンの上
またはそれに沿って取られサンプル座標(x,y)で表
わされ座標列によって楕円パターンを表わしている。サ
ンプル点は上述したタイプの予め定められた数に等しく
すべきことはここでは不要である。
Referring now to FIG. 3, the elliptical-like pattern is illustrated as a planar curve to be recognized as a geometric ellipse by the pattern recognition device according to the present invention. This geometric ellipse has first and second focal points F
(1) and F (2). As in FIG. 1, the plurality of points are taken on or along the elliptical pattern as sample points, are represented by sample coordinates (x, y), and represent the elliptical pattern by a coordinate sequence. It is not necessary here that the sample points be equal to a predetermined number of the type described above.

【0020】図4に移って続けて図3を参照すると、パ
ターン認識装置は、本発明の第1の実施例に従い、入力
パターンが幾何学的楕円に類似するか否かを認識するた
めのものである。上述した座標列を生成するために、入
力パターンは、ペン入力またはマウスである入力ユニッ
ト21によってトレースされる。
4, continuing with reference to FIG. 3, a pattern recognition device for recognizing whether an input pattern resembles a geometric ellipse according to a first embodiment of the present invention. It is. The input pattern is traced by the input unit 21, which is a pen input or a mouse, to generate the above-mentioned coordinate sequence.

【0021】次に述べるように、プロセッサユニット2
3は、座標列を処理の最終結果までに処理する。最終結
果を使用しながら、認識ユニット25は、候補パターン
として処理列を特定する。
As described below, the processor unit 2
No. 3 processes the coordinate sequence until the final result of the process. Using the final result, the recognition unit 25 specifies the processing sequence as a candidate pattern.

【0022】プロセッサユニット23は、座標列と計算
の中間結果とをメモリ27に格納してプロセッサユニッ
ト23によって使用できるように更に作用する。出力ユ
ニット29は、プロセッサユニット23および認識ユニ
ット25の協力により入力パターンの認識結果を表示す
るためのものである。認識結果は、予め定められた表示
により候補パターンと入力パターンが幾何学的楕円に類
似しない事実とを表わす。
The processor unit 23 further stores the coordinate sequence and the intermediate result of the calculation in the memory 27 so as to be usable by the processor unit 23. The output unit 29 is for displaying the recognition result of the input pattern in cooperation with the processor unit 23 and the recognition unit 25. The recognition result indicates the candidate pattern and the fact that the input pattern does not resemble a geometric ellipse by a predetermined display.

【0023】更に図5に移って図3および図4を続けて
参照すると、プロセッサユニット23の動作を述べる。
この動作は、座標列がプロセッサユニット23に供給さ
れるときに、始まる。
Still referring to FIG. 5, referring to FIGS. 3 and 4, the operation of the processor unit 23 will be described.
This operation starts when the coordinate sequence is supplied to the processor unit 23.

【0024】第1ステップS1では、内接長方形を、座
標列の使用により計算する。この内接長方形は、長短軸
に平行な内接辺を持つ。内接長方形は、入力パターンま
たは幾何学的楕円のいずれかに丁度内接することは不要
である。最大x・y座標すなわちx(MAX)およびy
(MAN)を計算するだけで最初は十分である。次いで
座標列とx(MAX)およびy(MAN)とを使用する
ことにより、内接長方形の4つの頂点のうちx座標とし
て最大・最小x座標を持っている2頂点のy座標を計算
する。座標列と最大・最小y座標とを使用することによ
り、4つの頂点のうちy座標として最大・最小y座標を
持っている他の2つの頂点のx座標を計算する。そして
最大および最小のx座標と最大および最小のy座標との
算術平均値は、図1および図2に関して述べた楕円中心
を表わす中心組み合わせ(x(0)、y(0))を与え
る。従って、4つの頂点のxy座標の次の計算にすぐ続
いて、楕円中央を通る直交線を計算する。
In the first step S1, the inscribed rectangle is
Calculated by using the mark. This inscribed rectangle is the major and minor axes
Has an inscribed side parallel to. The inscribed rectangle is
Or just inscribed in one of the geometric ellipses
It is. Maximum xy coordinates, ie x (MAX) and y
It is initially sufficient to calculate (MAN). Then
Use coordinate sequence and x (MAX) and y (MAN)
Thus, the x coordinate of the four vertices of the inscribed rectangle
The y-coordinate of two vertices with maximum and minimum x-coordinates
I do. By using the coordinate sequence and the maximum and minimum y coordinates
The maximum and minimum y coordinates of the four vertices
Calculate the x coordinate of the other two vertices. And
Between the maximum and minimum x coordinate and the maximum and minimum y coordinate
The arithmetic mean is the center of the ellipse described with respect to FIGS.
Given by (x (0), y (0))
You. Therefore, immediately following the next calculation of the xy coordinates of the four vertices
Then, an orthogonal line passing through the center of the ellipse is calculated.

【0025】第2ステップS2では、外接長方形は、座
標列に関して計算され長短軸に平行な外接辺を持つ。直
交線から入力パターン(座標列)による切片が計算され
る。長短の切片は、長短軸を与える。切片の4つの端点
は、直交線に平行な外接長方形の4辺の中点で、外接辺
が座標列に接線である点である。長短の切片から、第1
および第2の焦点組み合わせと長短軸2aおよび2bと
が、楕円パラメータとして第3ステップS3で計算され
る。外接長方形に内接する楕円は候補楕円になる。
In the second step S2, the circumscribed rectangle is
It has a circumscribing edge calculated on the canon and parallel to the major and minor axes. straight
From the intersection line, the intercept of the input pattern (coordinate sequence) is calculated.
You. Long and short sections give the long and short axes. Four endpoints of the intercept
Is the midpoint of the four sides of the circumscribed rectangle parallel to the orthogonal line,
Is a point tangent to the coordinate sequence. First from long and short sections
And a second focus combination, major and minor axes 2a and 2b
Is calculated in the third step S3 as an ellipse parameter
You. An ellipse inscribed in the circumscribed rectangle is a candidate ellipse.

【0026】様々の他の方法で内外接長方形を計算する
ことが可能である。例えば、第2ステップS2では次の
ように実行される。未だ処理されていない内接長方形左
の4辺の少なくとも一つがあるか否かをチェックする。
もし一辺があれば(YES),サンプル点からこの一辺
への法線が計算される。このような法線の最大を与える
サンプル点の一つは長短軸のいずれかの終点を与える。
繰り返されたチェックの後で内接長方形の辺がない(N
O)とき、4つの終点が得られる。4つの外接辺の計算
は外接長方形を与える。
Compute the bounding rectangle in various other ways
It is possible. For example, in the second step S2, the following
Is performed as follows. Inscribed rectangle left not yet processed
Check if there is at least one of the four sides.
If there is one side (YES), this one side from the sample point
The normal to is calculated. Give the maximum of such a normal
One of the sample points gives either end of the major or minor axis.
No edges of inscribed rectangle after repeated checks (N
O) At this point, four endpoints are obtained. Calculation of four circumscribed edges
Gives the bounding rectangle.

【0027】第4ステップS4では、次のような処理が
施されないサンプル点の少なくとも一つあるか否かに関
して座標列を使用することによりチェックされる。サン
プル点左の一つがある(Y)ならば、この一つは第5ス
テップS5で第1および第2の焦点への距離の和の計算
に使用される。第6ステップS6では、和の長軸に対す
る比が計算される。第6ステップS6は、サンプル点が
なくなる(N)まで第4ステップに戻る。代数計算が第
5および第6ステップS5およびS6に使用されるか
ら、代数計算の結果としての複数の比を求めることは可
能である。もし入力パターンが幾何学的に丁度楕円であ
るならば、それら結果は共通値を持つ。
In the fourth step S4, it is checked whether or not there is at least one sample point not subjected to the following processing by using a coordinate sequence. If there is one left of the sample point (Y), this one is used in the fifth step S5 to calculate the sum of the distances to the first and second focal points. In a sixth step S6, the ratio of the sum to the major axis is calculated. The sixth step S6 returns to the fourth step until there are no more sample points (N). Since algebraic calculations are used in the fifth and sixth steps S5 and S6, it is possible to determine a plurality of ratios as a result of the algebraic calculations. If the input pattern is geometrically just an ellipse, the results will have a common value.

【0028】第7ステップでは、それら結果の分散が計
算される。入力パターンが幾何学的楕円に関係的に持っ
ている類似度であるとこの分散を理解することが可能で
ある。第8ステップS8では、楕円パラメータと分散と
を認識ユニット23に送る。
In a seventh step, the variance of the results is calculated. This variance can be understood as the similarity that the input pattern has in relation to the geometric ellipse. In an eighth step S8, the ellipse parameters and the variance are sent to the recognition unit 23.

【0029】図4に戻って、本発明の第2の好ましい実
施例によるパターン認識装置を説明する。このパターン
認識装置は図4に移って説明したものと構造的に異なる
ものではない。
Referring back to FIG. 4, a pattern recognition apparatus according to a second preferred embodiment of the present invention will be described. This pattern recognition device is not structurally different from that described with reference to FIG.

【0030】更に図6を参照し図3〜図5を再び参照す
ると、説明中の例に関して動作を述べる。同様のステッ
プは、同様の参照符号によって示される。
Referring again to FIG. 6 and again to FIGS. 3-5, the operation will be described with respect to the example being described. Similar steps are denoted by similar reference numerals.

【0031】第1〜第8ステップは、図5に関して述べ
たものとは異なるものではない。図5の第4ステップに
関して述べた処理中に、図6においては付加的ステップ
が次のように加えられている。
The first to eighth steps are not different from those described with reference to FIG. During the process described with respect to the fourth step of FIG. 5, additional steps have been added in FIG. 6 as follows.

【0032】第1付加的ステップAS1では、比が予め
定められた範囲の間にあるか否かに関してチェックが行
われる。その範囲は好ましくは0.85と1.15との
間である。もし比が予め定められた範囲の間にない
(N)ならば、プロセッサユニット23は、第2付加的
ステップAS2で入力パターンが楕円に類似していない
と判定する。プロセッサユニット23の動作は、終わり
になる。その判定は認識ユニット25によって実行され
る。もし比が予め定められた範囲の間にある(Y)なら
ば、第1付加的ステップAS1は第4ステップに戻る。
In a first additional step AS1, a check is made as to whether the ratio is between a predetermined range. The range is preferably between 0.85 and 1.15. If the ratio is not between the predetermined ranges (N), the processor unit 23 determines in a second additional step AS2 that the input pattern does not resemble an ellipse. The operation of the processor unit 23 ends. The determination is performed by the recognition unit 25. If the ratio is between the predetermined ranges (Y), the first additional step AS1 returns to the fourth step.

【0033】図6において、第1および第2付加的ステ
ップAS1およびAS2を処理するのにあまり時間がか
かっていないことが指摘されるべきである。入力パター
ンが楕円に類似していないならば、第7および第8ステ
ップは必要でない。これは、動作のより高いスピードを
パターン認識装置に与える。
In FIG. 6, it should be pointed out that it does not take much time to process the first and second additional steps AS1 and AS2. If the input pattern does not resemble an ellipse, the seventh and eighth steps are not necessary. This gives the pattern recognizer a higher speed of operation.

【0034】図3〜図8を再び参照すると、マイクロプ
ロセッサによるプロセッサユニット23を実現すること
が可能である。認識ユニット25は、マイクロプロセッ
サ内に含ませることが可能である。図5および図6にお
いて、第6ステップにおける比を計算せず距離の和を入
力パターン上の点について複数個求めて直接第7ステッ
プで分散を計算することが可能である。更に、一般に、
第7ステップで算術計算の結果のばらつきの程度を評価
することは可能である。
Referring again to FIGS. 3 to 8, it is possible to implement the processor unit 23 by a microprocessor. The recognition unit 25 can be included in a microprocessor. 5 and 6, it is possible to directly calculate the variance in the seventh step by calculating a plurality of sums of distances for points on the input pattern without calculating the ratio in the sixth step. Further, in general,
In the seventh step, it is possible to evaluate the degree of variation in the result of the arithmetic calculation.

【0035】この発明について2つだけの好ましい実施
例に関して詳しく述べたが、本発明を当業者は様々な他
の方法で直ぐに実施することも可能である。例えば、合
計の分散を計算する代わりに距離の和の算術平均値を使
用することができる。幾何学的楕円は円または、楕円の
2つの焦点は計算されるかまたはこのような2つの焦点
の計算のために外挿できるように十分な長さを持つ楕円
の弧であってもよい。
Although the invention has been described in detail with respect to only two preferred embodiments, those skilled in the art can readily implement the invention in various other ways. For example, instead of calculating the total variance, the arithmetic mean of the sum of the distances can be used. The geometric ellipse may be a circle or an arc of an ellipse of sufficient length such that the two foci of the ellipse are calculated or extrapolated for the calculation of such two foci.

【0036】[0036]

【発明の効果】以上説明したように、本発明のパターン
認識方式によれば、膨大な量の計算を不要とする、楕円
様のパターンとして平面曲線の入力パターンを認識する
高速動作可能なパターン認識方式を提供できるという効
果を奏する。
As described above, according to the pattern recognition method of the present invention, an input pattern of a plane curve is recognized as an elliptical pattern which does not require an enormous amount of calculation.
That Sosu an effect of providing a high-speed operable pattern recognition method.

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

【図1】本発明が適用できるパターン認識方式により楕
円として識別するための平面曲線を示す図である。
FIG. 1 is a diagram showing a plane curve for identifying an ellipse by a pattern recognition method to which the present invention can be applied.

【図2】従来のパーターン認識方式のブロック図であ
る。
FIG. 2 is a block diagram of a conventional pattern recognition method.

【図3】本発明によるパターン認識方式を述べるのに使
用する楕円入力パターンを示す図である。
FIG. 3 shows an ellipse input pattern used to describe the pattern recognition scheme according to the present invention.

【図4】本発明の第1の実施例によるパターン認識方式
のブロック図である。
FIG. 4 is a block diagram of a pattern recognition system according to the first embodiment of the present invention.

【図5】図4に図示された装置の動作を説明するのに使
用するフローチャートである。
FIG. 5 is a flowchart used to explain the operation of the apparatus shown in FIG. 4;

【図6】本発明の第2の実施例によるパターン認識方式
の動作を述べる際に使用するフローチャートである。
FIG. 6 is a flowchart used when describing the operation of the pattern recognition system according to the second embodiment of the present invention.

【符号の説明】 21 入力ユニット(座標列を計算する手段) 23 プロセッサユニット 25 認識ユニット 27 メモリ S1−S3 楕円パラメータを計算する手段 S1 内接長方形を計算する手段 S2 外接長方形を計算する手段 S3 焦点座標・長軸の長さを計算する手段 S4−5 2つの焦点との間の距離の和を計算する手
段 S6 代数計算の結果を計算する手段 S7 ばらつきを評価する手段
[Description of Signs] 21 Input unit (means for calculating a coordinate sequence) 23 Processor unit 25 Recognition unit 27 Memory S1-S3 Means for calculating ellipse parameters S1 Means for calculating inscribed rectangle S2 Means for calculating circumscribed rectangle S3 Focus Means for calculating coordinates and length of major axis S4-5 Means for calculating the sum of distances between two focal points S6 Means for calculating the result of algebraic calculation S7 Means for evaluating variation

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 平面曲線の入力パターン上の点の座標を
座標列として計算する手段を含み前記入力パターンを楕
円様のパターンとして認識するためのパターン認識方式
において、前記座標列を使用して楕円の2つの焦点の焦
点座標を含む楕円パラメータを計算する手段と、前記座
標列と前記焦点座標とを使用して前記点のおのおのと前
記2つの焦点との間の距離の和を計算する手段と、前記
距離の和に代数計算を施して該代数計算の結果を計算す
る手段と、前記結果のばらつきを前記入力パターンが幾
何学的楕円に関係的に持っている類似度として評価する
手段とを備えることを特徴とするパターン認識方式。
1. A pattern recognition method for recognizing an input pattern as an ellipse-like pattern, comprising means for calculating coordinates of a point on an input pattern of a plane curve as a coordinate sequence. Means for calculating an ellipse parameter including the focal coordinates of the two focal points; and means for calculating the sum of the distances between each of the points and the two focal points using the coordinate sequence and the focal coordinates. Means for performing an algebraic calculation on the sum of the distances to calculate a result of the algebraic calculation, and means for evaluating a variation in the result as a similarity having the input pattern related to a geometric ellipse. A pattern recognition method comprising:
【請求項2】 請求項1に記載のパターン認識方式にお
いて、前記ばらつきを評価する手段は、前記結果の分散
を計算する手段であることを特徴とするパターン認識方
式。
2. The pattern recognition method according to claim 1, wherein the means for evaluating the variation is a means for calculating a variance of the result.
【請求項3】 請求項1に記載のパターン認識方式にお
いて、前記ばらつきを評価する手段においては、前記結
果の算術平均値を計算することを特徴とするパターン認
識方式。
3. The pattern recognition method according to claim 1, wherein the means for evaluating the variation calculates an arithmetic average of the result.
【請求項4】 請求項2に記載のパターン認識方式にお
いて、前記楕円パラメータ計算手段においては、前記焦
点座標と前記2つの焦点とを持つ楕円の長軸の長さを計
算し、前記代数計算の結果を計算する手段は、代数計算
の前記結果としての複数個の比を計算するためのもの
で、各比が前記距離の和の前記長軸の長さへに対するも
のであることを特徴とするパターン認識方式。
4. The pattern recognition method according to claim 2, wherein the ellipse parameter calculating means calculates a length of a major axis of the ellipse having the focal coordinates and the two focal points, and calculates the length of the algebra. The means for calculating the result is for calculating a plurality of ratios as the result of the algebraic calculation, wherein each ratio is to the sum of the distances to the length of the major axis. Pattern recognition method.
【請求項5】 請求項4に記載のパターン認識方式にお
いて、前記距離の和に代数計算を施して該代数計算の結
果を計算する手段は、距離の前記和の長軸の前記長さに
対する比を計算する手段と、前記比が前記複数個計算さ
れるまで前記比を計算する手段を繰り返し動作させる手
段とを備え、前記パターン認識方式は、前記比を計算す
る手段と前記分散を計算する手段との間に、前記複数個
の比のおのおのが予め定められた範囲にあるか否かをチ
ェックする手段と、前記複数個の比のおのおのが予め定
められた範囲にないとき前記距離の和に代数計算を施し
て該代数計算の結果を計算する手段と前記評価する手段
との動作を停止する手段と、前記複数個の比のおのおの
が予め定められた範囲にあるとき前記距離の和に代数計
算を施して該代数計算の結果を計算する手段と前記評価
する手段との動作を継続する手段とを更に備えることを
特徴とするパターン認識方式。
5. The pattern recognition method according to claim 4, wherein the means for performing an algebraic calculation on the sum of the distances and calculating a result of the algebraic calculation includes a ratio of a major axis of the distance to the length of the sum. Means for calculating the ratio, and means for repeatedly operating the means for calculating the ratio until the plurality of ratios are calculated, wherein the pattern recognition method comprises means for calculating the ratio and means for calculating the variance. Means for checking whether or not each of the plurality of ratios is within a predetermined range; and, when each of the plurality of ratios is not within a predetermined range, the sum of the distances is determined. Means for performing algebraic calculation to calculate the result of the algebraic calculation, means for stopping the operation of the means for evaluating, and, when each of the plurality of ratios is within a predetermined range, the sum of the distances is algebraically calculated. Perform the calculation and calculate the algebra A pattern recognition method further comprising: means for calculating the result of the calculation; and means for continuing the operation of the means for evaluating.
【請求項6】 請求項5に記載のパターン認識方式にお
いて、前記予め定められた範囲は、0.85と1.15
との間にあることを特徴とするパターン認識方式。
6. The pattern recognition method according to claim 5, wherein the predetermined range is between 0.85 and 1.15.
And a pattern recognition method.
【請求項7】 請求項1から6のいずれかに記載のパタ
ーン認識方式において、前記楕円パラメータ計算手段
は、前記座標列を使用して前記入力パターンに内接する
内接長方形を計算する手段と、前記座標列および前記内
接長方形を使用して前記入力パターンに外接する外接長
方形を計算する手段と、前記座標列および前記外接長方
形を使用して前記焦点座標および長軸の前記長さを計算
する手段とを備えることを特徴とするパターン認識方
式。
7. The pattern recognition method according to claim 1, wherein the ellipse parameter calculating means calculates an inscribed rectangle inscribed in the input pattern using the coordinate sequence. Means for calculating a circumscribed rectangle circumscribing the input pattern using the coordinate sequence and the inscribed rectangle, and calculating the focal coordinates and the length of the long axis using the coordinate sequence and the circumscribed rectangle And a pattern recognition method.
【請求項8】 請求項2に記載のパターン認識方式にお
いて、ばらつきを評価する手段においては、前記和を前
記パターン上の点すべてについて複数個の和として計算
することを特徴とするパターン認識方式。
8. The pattern recognition method according to claim 2, wherein the means for evaluating the variation calculates the sum as a plurality of sums for all points on the pattern.
JP7187492A 1994-07-22 1995-07-24 Pattern recognition method Expired - Fee Related JP2996285B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7187492A JP2996285B2 (en) 1994-07-22 1995-07-24 Pattern recognition method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP17101594 1994-07-22
JP6-171015 1994-07-22
JP7187492A JP2996285B2 (en) 1994-07-22 1995-07-24 Pattern recognition method

Publications (2)

Publication Number Publication Date
JPH0887598A JPH0887598A (en) 1996-04-02
JP2996285B2 true JP2996285B2 (en) 1999-12-27

Family

ID=26493852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7187492A Expired - Fee Related JP2996285B2 (en) 1994-07-22 1995-07-24 Pattern recognition method

Country Status (1)

Country Link
JP (1) JP2996285B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4533563B2 (en) * 2001-07-13 2010-09-01 株式会社東芝 Pattern evaluation method, alignment method, inspection device inspection method, semiconductor manufacturing process management method
FR3069353B1 (en) * 2017-07-21 2020-07-17 Jean-Jacques Florent OPTICAL AUTHENTICATION METHOD AND ASSOCIATED IDENTIFIER

Also Published As

Publication number Publication date
JPH0887598A (en) 1996-04-02

Similar Documents

Publication Publication Date Title
US6504541B1 (en) Warping geometric objects
US6532304B1 (en) Matching geometric objects
US6876766B2 (en) Reshaping freehand drawn lines and shapes in an electronic document
JPS6282486A (en) Recognizing device for online handwritten graphic form
US5734751A (en) Ellipse-like curve recognition by calculation of distances of points on the curve from FOCI
CN113689436B (en) Image semantic segmentation method, device, equipment and storage medium
JPH09319880A (en) Linearly symmetrical figure shaping device
US6266444B1 (en) Character processing apparatus and method therefor
JP2996285B2 (en) Pattern recognition method
US8548259B2 (en) Classifier combination for optical character recognition systems utilizing normalized weights and samples of characters
CN107480710B (en) Feature point matching result processing method and device
JPH06290270A (en) Method and data processor for outlining closed contour image in convex polygon
JPH08227457A (en) Axially symmetric figure shaping device
CN113240774A (en) Pattern recognition processing method, device, storage medium and electronic equipment
JPS61147374A (en) Method and device for detecting similar data
JP2684609B2 (en) Graphic display method in graphic data processing device
JP2001222272A (en) Method and device for generating deformed character pattern, and recording medium with deformed character pattern generating program recorded thereon
JPH0683540A (en) Cursor position designating method
JPH0721380A (en) Method for judging model shape error by picture processing
JPH06274308A (en) Uniform modeling generation processing method for bezier curve
JP2740506B2 (en) Image recognition method
Liang et al. A Novel And Fast Shape Description Method Using Non-Uniform Rational B-Spline (NURBS)
CN111753720A (en) Fingerprint matching method and device
JPS63241679A (en) Pattern recognizing system
JPH1125279A (en) Method for detecting end point in converting line graphic into skeleton line

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: 19990929

LAPS Cancellation because of no payment of annual fees