JPS6357829B2 - - Google Patents
Info
- Publication number
- JPS6357829B2 JPS6357829B2 JP56097598A JP9759881A JPS6357829B2 JP S6357829 B2 JPS6357829 B2 JP S6357829B2 JP 56097598 A JP56097598 A JP 56097598A JP 9759881 A JP9759881 A JP 9759881A JP S6357829 B2 JPS6357829 B2 JP S6357829B2
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- increase
- state
- flag
- inclination angle
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
- G06V10/17—Image acquisition using hand-held instruments
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Character Discrimination (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】
本発明は、形状識別装置、特に任意の線分上の
点の座標値が時系列の形で入力されてくる点座標
値列にもとづいて、隣接する点を結ぶ直線の傾斜
角θiを調べ、上記線分の形状の変化点を検出して
当該線分の形状を形状分離する形状識別装置に関
するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a shape identification device, in particular a straight line connecting adjacent points based on a point coordinate value string in which coordinate values of points on arbitrary line segments are inputted in time series. The present invention relates to a shape identification device that examines the inclination angle θi of the line segment, detects a change point in the shape of the line segment, and separates the shape of the line segment.
従来から、図形の形状を識別するに当つて、一
般に大局的な特徴を用いる方式と局所的な特徴を
用いる方式とが存在する。例えば図形上の点の座
標値が順次供給されてくる如き図形認識などに当
つて、前者の方式では、例えば線分の形状全体を
効果的に表現する方向をもつものであり、当該線
分を構成する直線区間や曲線区間を形状分離して
識別することが困難である。また上記後者の方式
の場合には、例えば隣接する点相互間での情報を
利用する方式であるために、例えば直線区間が局
部的にジグザグなものとなつている如き場合にそ
のままの形で抽出されてしまう難点がある。 Conventionally, in identifying the shape of a figure, there are generally two methods: one using global features and the other using local features. For example, in figure recognition where the coordinate values of points on a figure are supplied sequentially, the former method has a direction that effectively represents the entire shape of a line segment, and the line segment is It is difficult to separate and identify the constituent straight sections and curved sections by shape. In addition, in the case of the latter method, since it is a method that uses information between adjacent points, for example, if a straight line section has a local zigzag pattern, it will be extracted as is. There is a drawback that it can be done.
本発明は、上記の点を解決することを目的とし
ており、隣接する点相互間の情報を利用しつつ所
定範囲内での局所的な変形を無視できるように
し、上述の形状分離を行なう形状識別装置を提供
することを目的としている。そしてそのため、本
発明の形状識別装置は、時系列をもつて入力され
る点座標値列にもとづいて隣接する点を結ぶ直線
の傾斜角の増減を検出し、上記点を結ぶ直線を連
結して形成される線分を当該線分の形状にしたが
つて形状分離する形状識別装置において、上記傾
斜角がセツトされる増加バツフアと減少バツフア
とをそなえると共に上記傾斜角の増減を指示する
増加フラグと減少フラグとをそなえ、第i番目の
点と第(i+1)番目の点とを結ぶ直線の傾斜角
θiが上記増加バツフアの内容と比較されて、増加
している第1の状態と予め定めた閾値を超えて減
少している第2の状態と当該閾値以下で減少して
いる第3の状態とを検出すると共に、上記傾斜角
θiが上記減少バツフアの内容と比較されて、減少
している第4の状態と予め定めた閾値を超えて増
加している第5の状態と当該閾値以下で増加して
いる第6の状態とを検出するバツフア更新部をそ
なえ、上記第1の状態において上記増加バツフア
に上記傾斜角θiをセツトすると共に上記増加フラ
グをセツトし、上記第2の状態において上記増加
バツフアに上記傾斜角θiをセツトすると共に上記
増加フラグをリセツトし、上記第3の状態におい
て上記増加バツフアの内容と上記増加フラグの内
容とをそのまま保持させ、上記第4の状態におい
て上記減少バツフアに上記傾斜角θiをセツトする
と共に上記減少フラグをセツトし、上記第5の状
態において上記減少バツフアに上記傾斜角θiをセ
ツトすると共に上記減少フラグをリセツトし、上
記第6の状態において上記減少バツフアの内容と
上記減少フラグの内容とをそのまま保持させるよ
う構成し、上記増加フラグの内容と上記減少フラ
グの内容とが予め定めた回数を超えて同一パター
ンをとる状態を判定し、当該パターンの変化点を
上記線分の形状の変化点として当該線分を形状分
離するようにしたことを特徴としている。以下図
面を参照しつつ説明する。 The present invention aims to solve the above-mentioned problems, and uses information between adjacent points to ignore local deformation within a predetermined range, and performs shape recognition for the above-mentioned shape separation. The purpose is to provide equipment. Therefore, the shape identification device of the present invention detects an increase or decrease in the slope angle of a straight line connecting adjacent points based on a sequence of point coordinate values inputted in time series, and connects the straight lines connecting the points. A shape recognition device that separates formed line segments into shapes according to the shape of the line segment, comprising an increase buffer and a decrease buffer to which the above-mentioned inclination angle is set, and an increase flag that instructs to increase or decrease the above-mentioned inclination angle. The inclination angle θi of the straight line connecting the i-th point and the (i+1)-th point is compared with the contents of the increase buffer, and is predetermined to be in the first state of increasing. A second state in which the decrease exceeds a threshold value and a third state in which the decrease occurs below the threshold value are detected, and the inclination angle θi is compared with the contents of the decrease buffer to determine whether the inclination angle θi is decreased. a buffer update unit that detects a fourth state, a fifth state in which the increase exceeds a predetermined threshold, and a sixth state in which the increase is below the threshold; The inclination angle θi is set in the increase buffer and the increase flag is set, the inclination angle θi is set in the increase buffer and the increase flag is reset in the second state, and the increase flag is reset in the third state. The content of the increase buffer and the content of the increase flag are maintained as they are, the inclination angle θi is set for the decrease buffer in the fourth state, and the decrease flag is set, and the decrease buffer is set in the fifth state. The inclination angle θi is set at the same time as the decrease flag is reset, and the contents of the decrease buffer and the decrease flag are maintained as they are in the sixth state, and the contents of the increase flag and the decrease flag are maintained as they are. The present invention is characterized in that a state in which the content of the flag takes the same pattern more than a predetermined number of times is determined, and the line segment is separated in shape by using the change point of the pattern as the change point of the shape of the line segment. There is. This will be explained below with reference to the drawings.
第1図A,Bは本発明による形状識別処理の概
念を説明する説明図、第2図は本発明の一実施例
構成を示す。 1A and 1B are explanatory views for explaining the concept of shape identification processing according to the present invention, and FIG. 2 shows the configuration of an embodiment of the present invention.
本発明の場合、例えば第1図A図示の如き任意
所望の線分1上の点#1、#2、…の各座標値が
順次供給されてくるとき、図示の直線区間2、時
計廻り区間3、反時計廻り区間4、…を正しく識
別して形状分離を行なうようにする。そのため
に、第2図を参照して詳述されるように、第1図
Bに示す「増加バツフア」、「減少バツフア」、「増
加フラグ」、「減少フラグ」を用意する。そして次
のように各バツフアやフラグをセツトするように
する。第1図A図示の線分1の場合を例に挙げて
説明する。 In the case of the present invention, for example, when the coordinate values of points #1, #2, etc. on any desired line segment 1 as shown in FIG. 3. Correctly identify counterclockwise sections 4, . . . to perform shape separation. For this purpose, as will be described in detail with reference to FIG. 2, the "increase buffer", "decrease buffer", "increase flag", and "decrease flag" shown in FIG. 1B are prepared. Then, set each buffer and flag as follows. The case of line segment 1 shown in FIG. 1A will be explained as an example.
(1) 最初、上記各バツフアやフラグはクリヤされ
ている。しかし、第1図A図示の点#1に達す
る直前には、上記増加バツフアと減少バツフア
との夫々の内容がθαとなつており、各フラグ
には共に論理「1」がセツトされていたとす
る。(1) Initially, each of the buffers and flags mentioned above are cleared. However, just before reaching point #1 shown in FIG. 1A, the contents of each of the increase buffer and decrease buffer are θα, and each flag is set to logic “1”. .
(2) この状態で点#1から点#2に向う方向の直
線の傾斜角θ1は、点#1に至る直線の傾斜角に
くらべて僅かであるが増加している。このた
め、増加バツフアには、傾斜角が増加したこと
から、当該傾斜角θ1をセツトする。また増加フ
ラグには増加を指示すべく論理「1」がセツト
される。一方減少バツフアには、上記増加分が
閾値以下であることから元の値θαがそのまま
保持され、一方減少フラグには上記増加分が閾
値以下となつていたことから判定不能であつて
元の論理「1」をそのまま保持する。(2) In this state, the inclination angle θ 1 of the straight line in the direction from point #1 to point #2 is slightly increased compared to the inclination angle of the straight line leading to point #1. Therefore, since the inclination angle has increased, the inclination angle θ 1 is set for the increased buffer. Further, the increase flag is set to logic "1" to indicate an increase. On the other hand, the decrease buffer retains the original value θα because the increase is less than the threshold, while the decrease flag cannot be determined because the increase is less than the threshold and the original logic is correct. Keep "1" as is.
(3) 次に点#2から点#3に向うとき、点#2と
点#3とを結ぶ直線の傾斜角θ2が増加バツフア
の内容θ1や増加バツフアθαの内容と比較され
る。この場合、
−TH≦θ2−θ1≦0
(但しTHは閾値)
であることから、増加フラグは判定不能として
元の論理「1」をそのまま保持し、かつ増加バ
ツフアは元の値θ1をそのまま保持する。一方減
少フラグには傾斜角の減少が検出されたことか
ら減少を指示すべく論理「1」がセツトされ、
かつ減少バツフアには同じ減少が検出されたこ
とから上記傾斜角θ2がセツトされる。(3) Next, when moving from point #2 to point #3, the inclination angle θ 2 of the straight line connecting points #2 and #3 is compared with the contents of the increasing buffer θ 1 and the contents of the increasing buffer θα. In this case, since −TH≦θ 2 −θ 1 ≦0 (however, TH is a threshold value), the increase flag is considered undeterminable and the original logic “1” is maintained as it is, and the increase buffer is set to the original value θ 1 remain as is. On the other hand, since a decrease in the inclination angle has been detected, the decrease flag is set to logic "1" to instruct a decrease.
Since the same decrease is detected in the decrease buffer, the above-mentioned inclination angle θ 2 is set.
(4) 点#3と点#4とを結ぶ直線の傾斜角θ3につ
いては、
0<θ3−θ2≦+TH
である。このため、増加フラグには増加を指示
すべく論理「1」がセツトされ、かつ増加バツ
フアには角θ3がセツトされる。一方減少フラグ
は閾値TH以下の増加であることから判定不能
として元の論理「1」をそのまま保持し、かつ
減少バツフアには元の値θ2がそのまま保持され
る。(4) Regarding the inclination angle θ 3 of the straight line connecting point #3 and point #4, 0<θ 3 −θ 2 ≦+TH. Therefore, the increase flag is set to logic "1" to indicate an increase, and the increase buffer is set to an angle .theta.3 . On the other hand, since the increase is less than or equal to the threshold value TH, the decrease flag is determined to be undeterminable and is kept at its original logic "1", and the decrease buffer is kept at its original value θ 2 .
(5) 同様にして点#5から点#6に向うとき、
+TH<θ5−θ4
である。このため増加フラグには増加を指示す
べく論理「1」がセツトされ、かつ増加バツフ
アには上記値θ5がセツトされる。一方上記増加
が閾値THを超えた増加であることから、減少
フラグには減少でないことを指示すべく論理
「0」がセツトされ、かつ減少バツフアには上
記値θ5がセツトされる。(5) Similarly, when going from point #5 to point #6, +TH<θ 5 −θ 4 . For this reason, the increase flag is set to logic "1" to instruct an increase, and the increase buffer is set to the above value θ 5 . On the other hand, since the above increase exceeds the threshold TH, the decrease flag is set to logic "0" to indicate that there is no decrease, and the decrease buffer is set to the value θ 5 .
(6) 点#6から点#7に向うとき、
θ6−θ5<−TH
である。このため、該減少が閾値THを超えた
減少であることから、増加フラグには増加でな
いことを指示すべく論理「0」がセツトされ、
かつ増加バツフアには上記値θ6がセツトされ
る。一方減少フラグには減少を指示すべく論理
「1」がセツトされ、かつ減少バツフアには上
記値θ6がセツトされる。(6) When going from point #6 to point #7, θ 6 −θ 5 <−TH. Therefore, since the decrease exceeds the threshold TH, logic "0" is set in the increase flag to indicate that there is no increase.
And the above value θ 6 is set to the increasing buffer. On the other hand, the decrease flag is set to logic "1" to instruct a decrease, and the decrease buffer is set to the value .theta.6 .
以下同様な処理が順次行なわれてゆくが、第1
図Bはこの結果を示している。 Similar processing is performed sequentially below, but the first
Figure B shows this result.
上記処理(1)、(2)……の動作をまとめると、
(A) −TH≦θi+1−θi≦0 ―(1)
のとき、(i)増加フラグは元のまま、(ii)増加バ
ツフアは元のまま、(iii)減少フラグは論理「1」、
(iv)減少バツフアはθi+1とされ、
(B) 0<θi+1−θi≦+TH ―(2)
のとき、(i)増加フラグは論理「1」、(ii)増加
バツフアはθi+1、(iii)減少フラグは元のまま、(iv)
減少バツフアは元のままとされ、
(C) +TH<θi+1−θi ―(3)
のとき、(i)増加フラグは論理「1」、(ii)増加
バツフアはθi+1、(iii)減少フラグは論理「0」、
(iv)減少バツフアはθi+1とされ、
(D) θi+1−θi<−TH ―(4)
のとき、(i)増加フラグは論理「0」、(ii)増加
バツフアはθi+1、(iii)減少フラグは論理「1」、
(iv)減少バツフアはθi+1とされる。 To summarize the operations of the above processes (1), (2)..., when (A) −TH≦θ i+1 −θi≦0 −(1), (i) the increase flag remains as it was, (ii ) increase buffer remains the same, (iii) decrease flag is logical "1",
(iv) The decreasing buffer is set to θ i+1 , and (B) when 0<θ i+1 −θi≦+TH −(2), (i) the increasing flag is logic “1”, and (ii) the increasing buffer is θ i+1 , (iii) Decrease flag remains unchanged, (iv)
The decreasing buffer is left as it was, and (C) +TH<θ i+1 −θi −(3), (i) the increasing flag is logic “1”, (ii) the increasing buffer is θ i+1 , ( iii) Decrease flag is logic "0",
(iv) The decreasing buffer is set to θ i+1 , (D) When θ i+1 −θi<−TH −(4), (i) the increasing flag is logic “0”, (ii) the increasing buffer is set to θ i+1 , (iii) Decrease flag is logic "1",
(iv) The decreasing buffer is assumed to be θ i+1 .
このようにすることによつて、増加フラグと減
少フラグとの内容にもとづいて、直線区間と時計
廻り区間と反時計廻り区間とを識別することが可
能となる。即ち、
(1、1)パターンのとき直線区間、
(1、0)パターンのとき反時計廻り区間、
(0、1)パターンのとき時計廻り区間、
として識別することが可能となる。勿論、第1図
B矢印Aに示す如き箇所において所定個数以下の
局部的に前後と異なるパターンを生じたときに
は、局部的な測定上の問題として、当該パターン
を例えば(1、0)パターンに修正するようにさ
れる。また図示矢印Bに示す如き箇所において
は、このパターン(1、0)は明確に判定された
ものであることから、直線区間の終点とみるよう
に修正される。更に図示矢印Cに示す如き箇所に
おいては、前後のパターンからみて変曲点とみる
ように修正される。 By doing this, it becomes possible to identify the straight section, the clockwise section, and the counterclockwise section based on the contents of the increase flag and the decrease flag. That is, it is possible to identify the (1, 1) pattern as a straight line section, the (1, 0) pattern as a counterclockwise section, and the (0, 1) pattern as a clockwise section. Of course, if a locally different pattern of less than a predetermined number occurs at a location as shown by arrow A in FIG. be made to do. Furthermore, since this pattern (1, 0) has been clearly determined at a location as indicated by arrow B in the figure, it is corrected so that it is regarded as the end point of a straight line section. Furthermore, the location shown by arrow C in the figure is corrected so that it can be seen as an inflection point when viewed from the previous and subsequent patterns.
そして、第1図B図示の如く、上記パターン
(1、1)や(1、0)や(0、1)の連続区間
をもつて1つ1つの区間とされる。 Then, as shown in FIG. 1B, continuous sections of the pattern (1, 1), (1, 0), and (0, 1) are defined as one section.
なお、上記動作のまとめに示した所の動作(A)、
(B)において、バツフアやフラグを元のままに保持
するようにしたのは、第1図図示直線区間2の如
くジグザグ状態が存在していてもこれを無視する
ためと考えてよい。 In addition, the operation (A) shown in the above operation summary,
In (B), the reason why the buffer and flag are kept as they were can be considered to be to ignore the presence of a zigzag state as shown in the straight section 2 of FIG. 1.
第2図は本発明の一実施例構成を示す。図中の
符号5は、角度検出部であつて、点#iから点
#(i+1)に至る直線の傾斜角θiを検出するも
のである。これは、
θi=tan-1yi+1−yi/xi+1−xi
によつて容易に求まり、実用的には、θiとして、
yi+1−yi/xi+1−xi
をもつて代表せしめてもよい。6は増加バツフ
ア、7は減少バツフア、8は増加フラグ、9は減
少フラグを示す。また10は、バツフア更新処理
部であつて、比較回路11,12やアンド回路1
3,14やオア回路15,16を含み、上記動作
(A)、(B)、(C)、(D)に対応して、各バツフア6,7や
フラグ8,9をセツトする。 FIG. 2 shows the configuration of an embodiment of the present invention. Reference numeral 5 in the figure is an angle detection unit that detects the inclination angle θi of a straight line from point #i to point #(i+1). This can be easily determined by θi=tan -1 y i+1 −yi/x i+1 −xi, and in practical terms, y i+1 −yi/x i+1 −xi is used as θi. You may also have them represent you. 6 indicates an increase buffer, 7 indicates a decrease buffer, 8 indicates an increase flag, and 9 indicates a decrease flag. Further, 10 is a buffer update processing section, which includes comparison circuits 11 and 12 and an AND circuit 1.
3, 14 and OR circuits 15, 16, and the above operation
Buffers 6 and 7 and flags 8 and 9 are set corresponding to (A), (B), (C), and (D).
17は、状態検出部であつて、第1図B図示の
如きパターン(1、0)、(1、1)、(0、1)が
順次セツトされるシフト・レジスタ18,19,
20やアンド回路21,22,23や微小範囲内
パターン抽出部24,25,26を含み、第1図
B図示矢印A,B,Cなどの修正を行なう。そし
て状態検出部17において行なわれた修正の結果
は図示しないデータ処理装置CPUへ転送され、
第1図図示の如き線分1が夫々の区間2,3,4
に形状分離される。 Reference numeral 17 denotes a state detection section, which includes shift registers 18, 19, in which patterns (1, 0), (1, 1), (0, 1) as shown in FIG. 1B are sequentially set.
20, AND circuits 21, 22, and 23, and minute range pattern extraction sections 24, 25, and 26, and performs corrections such as arrows A, B, and C shown in FIG. 1B. The results of the corrections made in the state detection unit 17 are then transferred to the data processing device CPU (not shown),
Line segment 1 as shown in Figure 1 corresponds to each section 2, 3, 4.
The shape is separated into
なお、上記比較回路11や12は、入力aとb
とにもとづいて、
a−b>0
のとき論理「1」を発し、
a−b<−TH
のとき論理「0」を発し、
0≧a−b≧−TH
のとき判定不能「*」を発するよう構成されてい
る。 Note that the comparison circuits 11 and 12 have inputs a and b.
Based on this, when a-b>0, a logic “1” is emitted, when a-b<-TH, a logic “0” is emitted, and when 0≧a-b≧-TH, an undeterminable “*” is emitted. configured to emit.
またアンド回路21はパターン(1、0)を検
出し、アンド回路22はパターン(1、1)を検
出し、アンド回路23はパターン(0、1)を検
出し、クロツクに同期させて夫々をシフト・レジ
スタ18,19,20にセツトしてゆく。この間
に、微小範囲内にパターン抽出部24,25,2
6が入力されてくるパターンを調べて、第1図B
図示矢印A,B,Cなどの箇所に対応するパター
ンを抽出する。そして、予め定められた態様が現
われたとき、パターン抽出部24ないし26の内
容によつて索引される例えば変換ROMからの出
力にもとづいて修正される。 Also, the AND circuit 21 detects the pattern (1, 0), the AND circuit 22 detects the pattern (1, 1), and the AND circuit 23 detects the pattern (0, 1), and synchronizes them with the clock. It is set in shift registers 18, 19, and 20. During this time, the pattern extraction units 24, 25, 2
Examine the pattern in which 6 is input, and use Figure 1 B.
Patterns corresponding to locations such as arrows A, B, and C in the figure are extracted. When a predetermined pattern appears, it is corrected based on the output from, for example, a conversion ROM indexed by the contents of the pattern extractors 24 to 26.
以上説明した如く、本発明によれば、局部的な
変動を抑制しつつ図形線分を複数の区間に形状分
離することが可能となる。 As described above, according to the present invention, it is possible to separate a graphic line segment into a plurality of sections while suppressing local fluctuations.
第1図A,Bは本発明による形状識別処理の概
念を説明する説明図、第2図は本発明の一実施例
構成を示す。
図中、1は線分、2,3,4は夫々区間、5は
角度検出部、6は増加バツフア、7は減少バツフ
ア、8は増加フラグ、9は減少フラグ、10はバ
ツフア更新処理部、11,12は夫々比較回路、
17は状態検出部を表わす。
1A and 1B are explanatory views for explaining the concept of shape identification processing according to the present invention, and FIG. 2 shows the configuration of an embodiment of the present invention. In the figure, 1 is a line segment, 2, 3, and 4 are sections, 5 is an angle detection unit, 6 is an increase buffer, 7 is a decrease buffer, 8 is an increase flag, 9 is a decrease flag, 10 is a buffer update processing unit, 11 and 12 are comparison circuits, respectively;
17 represents a state detection section.
Claims (1)
づいて隣接する点を結ぶ直線の傾斜角の増減を検
出し、上記点を結ぶ直線を連結して形成される線
分を当該線分の形状にしたがつて形状分離する形
状識別装置において、上記傾斜角がセツトされる
増加バツフアと減少バツフアとをそなえると共に
上記傾斜角の増減を指示する増加フラグと減少フ
ラグとをそなえ、第i番目の点と第(i+1)番
目の点とを結ぶ直線の傾斜角θiが上記増加バツフ
アの内容と比較されて、増加している第1の状態
と予め定めた閾値を超えて減少している第2の状
態と当該閾値以下で減少している第3の状態とを
検出すると共に、上記傾斜角θiが上記減少バツフ
アの内容と比較されて、減少している第4の状態
と予め定めた閾値を超えて増加している第5の状
態と当該閾値以下で増加している第6の状態とを
検出するバツフア更新部をそなえ、上記第1の状
態において上記増加バツフアに上記傾斜角θiをセ
ツトすると共に上記増加フラグをセツトし、上記
第2の状態において上記増加バツフアに上記傾斜
角θiをセツトすると共に上記増加フラグをリセツ
トし、上記第3の状態において上記増加バツフア
の内容と上記増加フラグの内容とをそのまま保持
させ、上記第4の状態において上記減少バツフア
に上記傾斜角θiをセツトすると共に上記減少フラ
グをセツトし、上記第5の状態において上記減少
バツフアに上記傾斜角θiをセツトすると共に上記
減少フラグをリセツトし、上記第6の状態におい
て上記減少バツフアの内容と上記減少フラグの内
容とをそのまま保持させるよう構成し、上記増加
フラグの内容と上記減少フラグの内容とが予め定
めた回数を超えて同一パターンをとる状態を判定
し、当該パターンの変化点を上記線分の形状の変
化点として当該線分を形状分離するようにしたこ
とを特徴とする形状識別装置。1 Detect increases and decreases in the inclination angle of straight lines connecting adjacent points based on a sequence of point coordinate values input in time series, and calculate the line segment formed by connecting the straight lines connecting the points. A shape recognition device that performs shape separation according to the shape is provided with an increase buffer and a decrease buffer for setting the above-mentioned inclination angle, an increase flag and a decrease flag for instructing an increase or decrease in the above-mentioned inclination angle, and an i-th The inclination angle θi of the straight line connecting the point and the (i+1)th point is compared with the contents of the increase buffer, and the first state is increasing, and the second state is decreasing beyond a predetermined threshold. and a third state decreasing below the threshold, and the inclination angle θi is compared with the contents of the decreasing buffer to determine the fourth condition decreasing and a predetermined threshold. A buffer updating unit is provided for detecting a fifth state in which the buffer is increasing above the threshold and a sixth state in which the buffer is increasing below the threshold, and the inclination angle θi is set for the buffer increasing in the first state. At the same time, the increase flag is set, and in the second state, the inclination angle θi is set to the increase buffer, and the increase flag is reset, and in the third state, the contents of the increase buffer and the contents of the increase flag are set. In the fourth state, the inclination angle θi is set to the reduction buffer and the reduction flag is set, and in the fifth state, the inclination angle θi is set to the reduction buffer and the inclination angle θi is set to the reduction buffer. The decrease flag is reset, and the contents of the decrease buffer and the decrease flag are maintained as they are in the sixth state, and the contents of the increase flag and the contents of the decrease flag exceed a predetermined number of times. A shape identification device characterized in that the line segment is separated into shapes by determining a state in which the same pattern is taken over the line, and using a change point in the pattern as a change point in the shape of the line segment.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56097598A JPS57212585A (en) | 1981-06-25 | 1981-06-25 | Shape discriminating device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56097598A JPS57212585A (en) | 1981-06-25 | 1981-06-25 | Shape discriminating device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57212585A JPS57212585A (en) | 1982-12-27 |
| JPS6357829B2 true JPS6357829B2 (en) | 1988-11-14 |
Family
ID=14196668
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56097598A Granted JPS57212585A (en) | 1981-06-25 | 1981-06-25 | Shape discriminating device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57212585A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2633553B2 (en) * | 1987-03-20 | 1997-07-23 | キヤノン株式会社 | Image processing method |
| JPS644878A (en) * | 1987-06-27 | 1989-01-10 | Fuji Electric Co Ltd | Image processing method |
| JP2801194B2 (en) * | 1987-10-09 | 1998-09-21 | キヤノン株式会社 | Linear component extraction method |
-
1981
- 1981-06-25 JP JP56097598A patent/JPS57212585A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57212585A (en) | 1982-12-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH01292486A (en) | Device for recognizing character | |
| JPS6043751A (en) | Information processor | |
| JPS6357829B2 (en) | ||
| EP0525318A2 (en) | Moving object tracking method | |
| JPH0634233B2 (en) | Hierarchical structural template matching method | |
| US20260038282A1 (en) | Lane detection apparatus and method thereof | |
| US7227558B1 (en) | Apparatus and method for sorting line break numbers for line break locations within series of figures | |
| JPH0418685A (en) | Picture processing system | |
| JP2727975B2 (en) | Handwritten symbol recognition system | |
| JPS6029079B2 (en) | Primary/secondary radar pattern identification device | |
| JP2804347B2 (en) | Image thinning method | |
| JPH0668202A (en) | Closed figure extraction method | |
| US20020010900A1 (en) | Delay analysis method and design assist apparatus of semiconductor circuit | |
| JPH10124685A (en) | Image processing method, storage medium and image processing device | |
| JPH11237450A (en) | Circuit division atg partial circuit processing system, circuit division atg partial circuit processing method, and storage medium where circuit division atg partial circuit processing method is written | |
| JPS62257583A (en) | Character recognizing system | |
| JPH04289989A (en) | Roman letter recognizing device | |
| JPH0713997A (en) | Character and graphic recognition processing method | |
| JPH0311469A (en) | Circuit diagram generating system | |
| JPH04260980A (en) | Device for recognizing graphic | |
| JPH11184684A (en) | State transition table automatic generation method and recording medium | |
| JPH06309503A (en) | English character recognition device | |
| JPH03116851A (en) | Wiring of semiconductor integrated circuit device | |
| JPH06282678A (en) | Character recognizing post-processor | |
| JPH06131466A (en) | Method and device for recognizing pattern |