JPS5939072B2 - End point detection method - Google Patents
End point detection methodInfo
- Publication number
- JPS5939072B2 JPS5939072B2 JP52130556A JP13055677A JPS5939072B2 JP S5939072 B2 JPS5939072 B2 JP S5939072B2 JP 52130556 A JP52130556 A JP 52130556A JP 13055677 A JP13055677 A JP 13055677A JP S5939072 B2 JPS5939072 B2 JP S5939072B2
- Authority
- JP
- Japan
- Prior art keywords
- end point
- points
- scanning
- line segment
- point candidate
- 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
Landscapes
- Character Discrimination (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】
本発明は、端点検出方式、特に認識対象図形に対して細
線化処理をほどこすことなく、認識対象図形を走査して
得た原図形情報にもとずいて適確に端点を検出するよう
にした端点検出方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention provides an end point detection method, in particular, an accurate detection method based on the original figure information obtained by scanning the figure to be recognized, without applying thinning processing to the figure to be recognized. The present invention relates to an end point detection method that detects end points at the same time.
図形認識装置、特に手書き文字の認識に当つては、文字
ストロークの端点が1つの重要な特徴として抽出される
。In graphic recognition devices, particularly in recognizing handwritten characters, the end points of character strokes are extracted as one important feature.
このような端点の抽出に当つては、従来から認識対象図
形の骨格部を抽出する所謂細線化処理を行い、該細線化
された認識対象図形(細線化図形)を例えばnXmメッ
シュの観測窓によつて走査し、端点を抽出するようにし
ていた。しかし、認識対象図形(文字)のストロークの
幅即ち文字線幅が太い場合、上記細線化処理によつて得
られた細線化図形が必らずしも原図形の骨格部を忠実に
表現したものとならず、いわゆるヒゲを生じてしまい思
いがけない箇所に非所望な端点が生じたりすることがあ
る。In order to extract such end points, a so-called thinning process is conventionally performed to extract the skeleton of the recognition target figure, and the thinned recognition target figure (thinned figure) is placed in an observation window of, for example, an nXm mesh. Then, the end points were extracted. However, if the stroke width, that is, the character line width, of the figure to be recognized (character) is thick, the thinned figure obtained by the above thinning process does not necessarily faithfully represent the skeleton of the original figure. Otherwise, so-called whiskers may occur, and undesired end points may occur at unexpected locations.
本発明は、上記の点を考慮して、細線化処理をほどこす
ことなく原図形情報をそのまま用いて端点を、上記ヒゲ
を生じるなどの誤りの生じ易い手段を採用することなく
、正しく検出して、図形認識を行なうに当つて従来から
重要な1つの特徴として把握されている端点の検出を行
なわせることを目的としている。In consideration of the above points, the present invention correctly detects end points by using the original figure information as is without performing line thinning processing, without employing error-prone means such as creating whiskers. The object of the present invention is to detect end points, which have been conventionally recognized as one of the important features in figure recognition.
そしてそのため本発明の端点検出方式は認識対象図形を
走査して得た走査情報にもとずいて特徴抽出を行い上記
認識対象図形の認識処理を行うパターン認識装置におい
て、上記認識対象図形を水平方向に走査したとき、水平
走査線と交差する2つの図形ストロークの夫々につ(・
て当該各図形ストロークの幅の中間位置の点を決定して
水平走査時特異線分を抽出する特異線分抽出部、上記水
平走査線と交差する2つの図形ストロークで囲まれた第
1の領域を検出して上記水平走査時特異線分の両端点を
端点候補点として抽出する端点候補点抽出設定部、上記
認識対象図形を垂直方向に走査したとき、垂直走査線と
交差する2つの図形ストロークの夫々につ(・て当該各
図形ストロークの幅の中間位置の点を決定して垂直走査
時特異線分を抽出する特異線分抽出部、上記垂直走査線
と交差する2つの図形ストロークで囲まれた第2の領域
を検出して上記垂直走査時特異線分の両端点を端点候補
点として抽出する端点候補点抽出設定部をそなえ、上記
抽出設定された端点候補点のうち、上記第1の領域と上
記第2の領域とが重なるオーバラツプ領域に対応する端
点候補点を端点としてはみなさず残りの端点候補点を端
点として検出せしめるようにしたことを特徴としている
。以下図面を参照しつつ説明する。第1図A,B,Cは
本発明による端点検出方式の態様を説明する説明図、第
2図A,B,A″,B′,Cは本発明による一実施例端
点検出方式を説明する説明図、第3図は第2図図示の一
実施例端点検出方式を実現するための本発明の要部の一
実施例構成、第4図A,B,Cは端点候補点から延長す
る図形ストロークの傾斜角を調べる処理を説明するため
の説明図を夫々示している。第1図A,B,Cにおいて
、1は認識対象図形(文字)、2は図形(文字)枠、3
は水平走査線、4および5は夫々水平走査方向と交差す
る2つの図形ストロークで囲まれた第1の領域、6およ
び7は夫々第1の領域4および5の開口部、8および9
は夫々開口部6および7を含む走査線、10,11,1
2,13は夫々端点候補点、14は垂直走査線、15は
垂直走査方向と交差する2つの図形ストロークで囲まれ
た第2の領域、16は該第2の領域15の開口部、17
は該開口部16を含む走査線、18,19は夫々端点候
補点、20,21は夫々上記第1の領域4,5と上記第
2の領域15とが重なるオーバラツプ領域を夫々表わし
ている。Therefore, the end point detection method of the present invention extracts features based on the scanning information obtained by scanning the recognition target figure, and in a pattern recognition device that performs recognition processing of the recognition target figure, the recognition target figure is horizontally When scanning, each of the two figure strokes that intersect the horizontal scanning line (・
a singular line segment extraction unit that extracts a singular line segment during horizontal scanning by determining a point at an intermediate position of the width of each graphic stroke; a first area surrounded by two graphic strokes that intersect with the horizontal scanning line; An end point candidate point extraction setting unit that detects both end points of the singular line segment during horizontal scanning and extracts them as end point candidate points, and when the recognition target figure is scanned in the vertical direction, two figure strokes intersect with the vertical scanning line. A singular line segment extraction unit that determines a point at the middle position of the width of each figure stroke and extracts a singular line segment during vertical scanning; an end point candidate point extraction setting section that detects the second region of the vertical scanning singular line segment and extracts both end points of the singular line segment as end point candidate points; The present invention is characterized in that the endpoint candidate points corresponding to the overlap region where the region overlaps with the second region are not regarded as endpoints, but the remaining endpoint candidate points are detected as endpoints.With reference to the drawings below, Fig. 1 A, B, and C are explanatory views for explaining aspects of the end point detection method according to the present invention, and Fig. 2 A, B, A'', B', and C are explanatory diagrams illustrating an embodiment of the end point detection method according to the present invention. FIG. 3 is an embodiment of the configuration of the main part of the present invention for realizing the end point detection method of the embodiment shown in FIG. 2, and FIG. Explanatory diagrams are shown to explain the process of checking the inclination angle of the extending graphic stroke.In FIGS. 1A, B, and C, 1 indicates the figure (character) to be recognized, 2 indicates the figure (character) frame, 3
are horizontal scanning lines, 4 and 5 are first regions surrounded by two figure strokes intersecting the horizontal scanning direction, 6 and 7 are openings of first regions 4 and 5, respectively, 8 and 9
are scan lines 10, 11, 1 containing apertures 6 and 7, respectively.
2 and 13 are end point candidate points, 14 is a vertical scanning line, 15 is a second region surrounded by two graphic strokes intersecting the vertical scanning direction, 16 is an opening of the second region 15, and 17
denotes a scanning line including the opening 16, 18 and 19 represent end point candidate points, and 20 and 21 represent overlapping regions where the first regions 4 and 5 overlap with the second region 15, respectively.
本発明の場合、(;)第1図Aに図示する如く、認識対
象図形1を例えば水平方向に走査して、水平走査線8,
9土の2つの図形ストロークの夫々の幅の中間位置に端
点候補点10,11,12,13を設定せしめ、(4)
次に第1図Bに図示する如く、認識対象図形1を垂直方
向に走査して、垂直走査線17上の2つの図形ストロー
クの夫々の幅の中間位置に端点候補点18,19を設定
せしめる。In the case of the present invention, as shown in FIG. 1A, the recognition target figure 1 is scanned, for example, in the horizontal direction, and
9. Set end point candidate points 10, 11, 12, and 13 at the intermediate positions of the respective widths of the two figure strokes of 9 soil, (4)
Next, as shown in FIG. 1B, the target figure 1 to be recognized is scanned in the vertical direction, and end point candidate points 18 and 19 are set at positions midway between the respective widths of the two figure strokes on the vertical scanning line 17. .
(111)そして、上記設定された端点候補点10,1
1,12,13,18,19のうち、第1図Cに図示す
る如く、オーバラツプ領域20,21に対応する端点候
補点11,12,13,18を端点とはみなさず、残り
の端点候補点10,19を端点として検出する。0V)
この場合、第4図において後述する如く、必要に応じて
、上記端点候補点10,19から延長する図形ストロー
クの傾斜角を調べる処理を行つた土で端点候補点10,
19を端点として検出する。(111) Then, the set end point candidate point 10,1
Among the candidate points 1, 12, 13, 18, and 19, as shown in FIG. Points 10 and 19 are detected as end points. 0V)
In this case, as will be described later in FIG. 4, if necessary, the end point candidate point 10,
19 is detected as an end point.
第2図A,B,N,仔,Cは本発明による一実施例端点
検出方式を説明する説明図を示している。FIGS. 2A, 2B, 2C, and 2C show explanatory diagrams illustrating an embodiment of the end point detection method according to the present invention.
図中、1,2,3,4,5,8,9,10,11,12
,13,14,15,17,18,19,20,21は
夫々第1図の符号に対応したものを表わし、22,23
,24,25は夫々水平走査により抽出される特異線分
、26,27,28,29は夫々特異線分22,23,
24,25の1端である点、30は第1の領域4と上方
側で接する走査線、31は第1の領域5と下方側で接す
る走査線、32,33は夫々垂直走査により抽出される
特異線分、34,35は夫々特異線分32,33の1端
である点、36は第2の領域15と右側で接する走査線
、37は水平走査線30から1走査分だけ後の走査線、
38は水平走査線8から1走査分だけ前の走査線を夫々
表わしている。本実施例の場合、後述する如く、(1)
認識対象図形1を水平方向に走査して、第1の領域4を
囲む2つの図形ストロークにおいて各図形ストロークの
中間位置を連結せしめた特異線分22,23を抽出する
と共に他の第1の領域5を囲む2つの図形ストロークに
おいて各図形ストロークの中間位置を連結せしめた特異
線分24,25を抽出する。(4)そして上記抽出され
た各特異線分22,23,24,25の両端に位置する
点10,26,11,27,12,28,13,29の
うちから端点候補点10,11,12,13を設定する
。(111)一方認識対象図形1を垂直方向に走査して
、第2の領域15を囲む2つの図形ストロークにおいて
各図形ストロークの中間位置を連結せしめた特異線分3
2,33を抽出する。0V)そして上記抽出された各特
異線分32,33の両端に位置する点18,19,34
,35のうちから端点候補点18,19を設定する。In the figure, 1, 2, 3, 4, 5, 8, 9, 10, 11, 12
, 13, 14, 15, 17, 18, 19, 20, 21 respectively correspond to the symbols in FIG. 1, and 22, 23
, 24, 25 are singular line segments extracted by horizontal scanning, and 26, 27, 28, 29 are singular line segments 22, 23, 29, respectively.
24 and 25, 30 is a scanning line that touches the first area 4 on the upper side, 31 is a scanning line that touches the first area 5 on the lower side, and 32 and 33 are extracted by vertical scanning, respectively. 34 and 35 are points that are one ends of the singular line segments 32 and 33, respectively, 36 is a scanning line that touches the second area 15 on the right side, and 37 is a point that is one scanning distance after the horizontal scanning line 30. scan line,
Reference numerals 38 each represent a scanning line one scanning distance before the horizontal scanning line 8. In the case of this embodiment, as described later, (1)
The figure to be recognized 1 is scanned in the horizontal direction to extract singular line segments 22 and 23 that connect the intermediate positions of the two figure strokes surrounding the first area 4, and also to extract the singular line segments 22 and 23 that connect the intermediate positions of the two figure strokes surrounding the first area 4. 5, singular line segments 24 and 25 are extracted that connect the intermediate positions of each graphic stroke. (4) Then, end point candidate points 10, 11, Set 12 and 13. (111) On the other hand, the recognition target figure 1 is scanned in the vertical direction, and the singular line segment 3 connects the intermediate position of each figure stroke in two figure strokes surrounding the second area 15.
Extract 2,33. 0V) and points 18, 19, 34 located at both ends of each singular line segment 32, 33 extracted above.
, 35, end point candidate points 18 and 19 are set.
()そしてこれら水平走査および垂直走査により設定さ
れた端点候補点10,11,12,13,18,19の
うち、点11,12,13,18はオーバラツプ領域2
0,21に対応して〜・ることから端点とはみなさない
ようにし、残りの点10,19を端点として検出するよ
うにする。以下第3図をあわせ参照しつつ特異線分の抽
出、端点候補点の設定について説明する。() Among the end point candidate points 10, 11, 12, 13, 18, and 19 set by these horizontal scans and vertical scans, points 11, 12, 13, and 18 are located in the overlap area 2.
0 and 21, so that they are not regarded as end points, and the remaining points 10 and 19 are detected as end points. The extraction of singular line segments and the setting of endpoint candidate points will be explained below with reference to FIG.
なお、第3図において、43は入力されてくる走査情報
のうちから白黒変化点(白領域あるいは図形枠から黒領
域へと移行する点)を検出し該検出時に例えばパルス信
号を1個出力する白黒変化点判定回路部、44は入力さ
れてくる走査情報のうちから黒白変化点(黒領域から白
領域あるいは図形枠へと移行する点)を検出し該検出時
に例えばパルス信号を1個出力する黒白変化点判定回路
、45および46は夫々比較回路、47,48,49,
50は夫々カウンタ、51,52は夫々加算回路、53
,54は夫々レジスタ、55,55′はノツト・ゲート
、56,561はカウンタ、57,5γはフリツプ・ン
ロツプ回路、58は排他的オア・ゲートを夫々表わして
いる。第2図に示す認識対象図形1を例えば水平方向に
1走査する間に、各カウンタ47,48,49,50に
対して走査点位置の移動に同期したクロツク信号CLま
たは該クロツク信号CLの半分の周波数をもつ%クロツ
ク信号%CLが供給される。In FIG. 3, numeral 43 detects a black-white transition point (a transition point from a white area or a figure frame to a black area) from the inputted scanning information, and outputs, for example, one pulse signal at the time of detection. The black-and-white changing point determination circuit section 44 detects a black-white changing point (a transition point from a black area to a white area or a figure frame) from the input scanning information, and outputs, for example, one pulse signal at the time of detection. black and white change point determination circuits, 45 and 46 are comparison circuits, 47, 48, 49, respectively;
50 are counters, 51 and 52 are adder circuits, 53
, 54 are registers, 55 and 55' are not gates, 56 and 561 are counters, 57 and 5γ are flip-flop circuits, and 58 is an exclusive OR gate. For example, during one horizontal scan of the figure 1 to be recognized shown in FIG. A %clock signal %CL having a frequency of % is provided.
そしてカウンタ47は、走査点が第2図A図示×印位置
に到達した時点から計数を開始しかつ白黒変化点判定回
路43からパルス信号が出力される時点即ち走査点が第
2図A図示点bに到達する時点において計数を停止する
ようにされる。このため計数を終了したとき、カウンタ
47の内容は上記点bの座標情報を表わしている。以下
同様にカウンタ48は値(c−b)/2(cは第2図A
図示点。の座標情報)を示す。またカウンタ49の内容
は第2図A図示点dの座標情報を示し、カウンタ50の
内容は値(e−d)/2(eは第2図A図示点eの座標
情報)を示す。この結果加算回路51の出力は第2図A
図示点bとcとの中間点即ち点aの座標情報を示し、加
算回路52の出力は第2図A図示点dとeとの中間点f
の座標情報を示すことになる。そして加算回路51の出
力はレジスタ53にセツトされまた加算回路52の出力
はレジスタ54にセツトされる。なお上記レジスタ53
,54の内容のうち走査線が第1の領域4,5と交差又
は接触しない走査にもとずく内容は、ノツト・ゲート5
5,55′によりりセツトするようにされる。このよう
に水平走査の間に、第2図A図示の特異線分22,24
における各走査毎の点aの座標情報、および特異線分2
3,25における各走査毎の点fの座標情報が夫々レジ
スタ53およびレジスタ54に格納される。一方垂直走
査の間においても、同様に動作され、レジスタ53には
第2図N図示の特異線分32における各走査毎の点a″
(第2図A′)の座標情報がセツトされ、またレジスタ
54には第2図A″図示の特異線分33における各走査
毎の点f″(第2図A′)の座標情報がセツトされる。
なお上記点a′および点f″は夫々第2図A″図示点b
″とc″との中間点および第2図N図示点d″とe″と
の中間点である。端点候補点の設定に当つては例えば第
3図下方の回路が用いられ、この回路の動作を説明する
。該回路を用いるに当つては、予め次の処理を行い、そ
の土で該回路を適用するようにされる。即ち、例えば水
平走査時において、第2図A図示斜線部の如く、2つの
図形ストロークによつて挟まれる白領域を擬似的に黒メ
ツシユ点に置換した処理を行うようにする。第3図にお
けるカウンタ56,56′は、上記の如く走査線と交差
する2つの図形ストロークで囲まれた白領域を黒領域(
文字領域)化して形成された認識対象図形を走査したと
きの走査点情報を人力とする。The counter 47 starts counting from the time when the scanning point reaches the x mark position shown in FIG. Counting is stopped when the time point b is reached. Therefore, when the counting is finished, the contents of the counter 47 represent the coordinate information of the point b. Similarly, the counter 48 has the value (c-b)/2 (c is A in FIG. 2).
Illustrated point. coordinate information). Further, the contents of the counter 49 indicate the coordinate information of the illustrated point d in FIG. 2A, and the contents of the counter 50 indicate the value (e-d)/2 (e is the coordinate information of the illustrated point e in FIG. 2A). As a result, the output of the adder circuit 51 is shown in FIG.
The output of the adding circuit 52 is the intermediate point f between the points d and e shown in FIG. 2A.
It will show the coordinate information of. The output of adder circuit 51 is set in register 53, and the output of adder circuit 52 is set in register 54. Note that the register 53
, 54, the contents based on scanning in which the scanning line does not intersect or contact the first regions 4, 5 are not gates 5.
5, 55'. In this way, during horizontal scanning, the singular line segments 22 and 24 shown in FIG.
Coordinate information of point a for each scan in and singular line segment 2
The coordinate information of point f for each scan in 3 and 25 is stored in register 53 and register 54, respectively. On the other hand, during vertical scanning, the same operation is performed, and the register 53 stores the point a'' for each scanning on the singular line segment 32 shown in FIG.
The coordinate information of the point f''(A' in FIG. 2) for each scan on the singular line segment 33 shown in FIG. 2 A'' is set in the register 54. be done.
Note that the above points a' and f'' are respectively point b shown in Figure 2 A''.
This is the midpoint between ``and c'' and the midpoint between points d'' and e'' shown in N in FIG. For example, the circuit shown in the lower part of FIG. 3 is used to set the end point candidate points, and the operation of this circuit will be explained. When using this circuit, the following processing is performed in advance, and the circuit is applied on that soil. That is, for example, during horizontal scanning, a process is performed in which a white area sandwiched between two graphic strokes, as shown by the hatched area in FIG. 2A, is pseudo-replaced with a black mesh point. The counters 56 and 56' in FIG. 3 convert the white area surrounded by the two figure strokes intersecting the scanning line into the black area (as described above).
The scanning point information obtained when scanning the recognition target figure formed by converting it into a character area) is used manually.
そしてカウンタ56,56″は走査点情報のうち黒メツ
シユ点情報を計数するようにされる。またカウンタ56
に人力されてくる走査点情報とカウンタ56′に入力さ
れてくる走査点情報とは1走査分のズレをもつ走査線に
対応している。カウンタ56,56″は、夫々各走査毎
に黒メツシユ点情報を計数してゆきその内容が予めセツ
トされた閾値[α」になるとフリツプ・フロツプ回路5
7,57′をセツトせしめる。例えば水平走査の場合に
おいて、第2図A図示の特異線分22の点26および特
異線分23の点27を通過する走査線30にもとずく走
査点情報がカウンタ56に入力され、かつ該走査線30
から1走査分だけ後の走査線37にもとずく走査点情報
がカウンタ567に入力される場合、カウンタ56およ
びカウンタ56″の各内容はともに閾置「α」以上にな
りフリツプ・フロツプ回路57および57′がともにセ
ツトされるようにする。The counters 56 and 56'' are configured to count black mesh point information among the scanning point information.
The scanning point information inputted manually and the scanning point information inputted to the counter 56' correspond to scanning lines with a difference of one scanning. Counters 56 and 56'' count black mesh point information for each scan, and when the content reaches a preset threshold [α], the flip-flop circuit 5
7,57' is set. For example, in the case of horizontal scanning, scanning point information based on the scanning line 30 passing through the point 26 of the singular line segment 22 and the point 27 of the singular line segment 23 shown in FIG. scanning line 30
When scanning point information based on the scanning line 37 one scanning period after the flip-flop circuit 57 is input to the counter 567, the contents of the counter 56 and the counter 56'' are both equal to or higher than the threshold value "α" and the flip-flop circuit 57 and 57' are set together.
この場合、排他的オア・ゲート58の出力は論理「0」
となり、このことから上記点26および点27は端点候
補点としてみなされない。また例えば、第2図A図示の
特異線分22の点10および特異線分23の点11を通
過する走査線8にもとずく走査点情報がカウンタ56に
入力され、かつ該走査線8から1走査分だけ後の走査線
38にもとずく走査点情報がカウンタ56″に入力され
る場合、カウンタ56の内容が閾値「α」以上になりフ
リツプ・フロツプ回路57をセツトせしめるようにされ
るが、カウンタ56″の内容は閾値「α」以下になりフ
リツプ・フロツプ回路5rをりセツト状態に保つように
される。このため排他的オア・ゲート58の出力は論理
「1」となり、このことから上記点10および点11は
端点候補点として設定される。以下同様に動作して第2
図図示点12点13、点18、点19が夫々端点候補点
として設定される。そしてこのように設定された端点候
補点10,11,12,13,18,19は、詳述をし
ないが上述した如くオーバラツプ領域20,21に対応
しているか否かを調べることにより、上記オーバラツプ
領域20,21に対応する端点候補点11,12,13
,18が端点とはみなされず、残りの端点候補点10,
19が端点として検出される。In this case, the output of exclusive-OR gate 58 is a logic "0"
Therefore, the points 26 and 27 are not considered as endpoint candidate points. Further, for example, scanning point information based on the scanning line 8 passing through the point 10 of the singular line segment 22 and the point 11 of the singular line segment 23 shown in FIG. When scan point information based on the scan line 38 one scan later is inputted to the counter 56'', the content of the counter 56 exceeds the threshold value "α", causing the flip-flop circuit 57 to be set. However, the content of the counter 56'' becomes less than the threshold value "α" and the flip-flop circuit 5r is maintained in the reset state. Therefore, the output of the exclusive OR gate 58 becomes a logic "1", and therefore the points 10 and 11 are set as endpoint candidate points. Below, the second
Twelve illustrated points 13, 18, and 19 are set as end point candidate points, respectively. Although the end point candidate points 10, 11, 12, 13, 18, and 19 set in this way are not described in detail, by checking whether or not they correspond to the overlap areas 20 and 21 as described above, the overlap areas 20 and 21 are determined. End point candidate points 11, 12, 13 corresponding to regions 20, 21
, 18 are not considered as endpoints, and the remaining endpoint candidate points 10,
19 is detected as an end point.
第4図A,B,Cは、このように検出された端点10,
19から延長する図形ストロークの傾斜角を調べる処理
を説明するための説明図を示している。FIG. 4 A, B, and C show the end points 10 and 10 detected in this way.
19 is an explanatory diagram for explaining the process of checking the inclination angle of a graphic stroke extending from 19.
当該処理を行うに当つて、第4図Aに図示する如く、図
形枠2内の領域を、上記第1の領域4,5の開口部、6
,7を含む線分と±記第2の領域15の開口部16を含
む線分とで区分けする。In carrying out this process, as shown in FIG.
, 7 and a line segment including the opening 16 of the second region 15 marked with ±.
そして第4図A図示領域αおよび領域βにおいて、例え
ば端点10,19から図形ストロークが図形枠2又は領
域α,βを構成する線分と交わる又は接する点59,6
0,61,62まで、図示矢印AおよびB方向に図形ス
トロークを観測しヒストグラムを作成する。第4図Bは
この観測を行う場合に用いられる例えば3×3メツシユ
の観測窓における方向性ストロークの種類を示している
。In the illustrated areas α and β in FIG. 4A, points 59 and 6 where the graphic stroke intersects or touches the line segment constituting the graphic frame 2 or the areas α and β from the end points 10 and 19, for example.
0, 61, and 62, graphic strokes are observed in the directions of arrows A and B shown in the figure, and a histogram is created. FIG. 4B shows the types of directional strokes in, for example, a 3×3 mesh observation window used when performing this observation.
また第4図Cは上記の如き観測によつて作成されたヒス
トグラムを示している。第4図Cから明らかな如く、端
点10を第4LA図示矢印A方向に観測した結果は、第
4図B図示の方向性ストロークハが最も多く、また端点
19を第4図A図示矢印B方向に観測した結果は、第4
図B図示の方向性ストロークイが最も多くなる。Moreover, FIG. 4C shows a histogram created by the above-mentioned observation. As is clear from FIG. 4C, as a result of observing the end point 10 in the direction of the arrow A shown in FIG. 4 LA, the directional stroke shown in FIG. The results observed in the fourth
The directional strokes shown in Figure B are the most numerous.
一方端点19については、第4図A図示矢印A方向に対
しては方向性ストロークイが最も多く、矢印B方向に対
しては方向性ストロークハが最も多くなる。即ち端点1
0および19から夫々延長する図形ストロークは矢印A
方向と矢印B方向とでは方向性ストロークが異なること
がわかる。従つて端点10および19が確かに端点であ
るということが確認される。以上の如く、本発明によれ
ば、認識対象図形を認識するに当つて、細線化処理をほ
どこすことなく原図形情報をそのまま用いて端点を正確
に検出することができる。On the other hand, regarding the end point 19, the number of directional strokes is the greatest in the direction of the arrow A shown in FIG. 4A, and the number of directional strokes is the most in the direction of the arrow B. That is, end point 1
The graphic strokes extending from 0 and 19 are arrow A.
It can be seen that the directional strokes are different in the direction and in the direction of arrow B. Therefore, it is confirmed that end points 10 and 19 are indeed end points. As described above, according to the present invention, when recognizing a figure to be recognized, it is possible to accurately detect end points using the original figure information as is without performing a thinning process.
第1図A,B,Cは本発明による端点検出方式の態様を
説明する説明図、第2図A,B,A″,W,Cは本発明
による一実施例端点検出方式を説明する説明図、第3図
は第2図図示の一実施例端点検出方式を実現するための
本発明の要部の一実施例構成、第4図A,B,Cは端点
候補点から延長する図形ストロークの傾斜角を調べる処
理を説明するための説明図を示す。
図中、1は認識対象図形、2は図形枠、3は水平走査線
、4,5は第1の領域、6,7は第1の領域4,5の開
口部、10,11,12,13は端点候補点、14は垂
直走査線、15は第2の領域、16は第2の領域15の
開口部、18,19は端点候補点、20,
21はオーバラツプ領域を
夫々表わす。FIGS. 1A, B, and C are explanatory views for explaining aspects of the endpoint detection method according to the present invention, and FIGS. 2A, B, A'', W, and C are explanatory diagrams for explaining an embodiment of the endpoint detection method according to the invention Figure 3 shows an embodiment of the configuration of the main part of the present invention for realizing an embodiment of the end point detection method shown in Fig. 2, and Fig. 4 A, B, and C show graphic strokes extending from the end point candidate point. An explanatory diagram for explaining the process of checking the inclination angle of 1, openings in areas 4 and 5, 10, 11, 12, and 13, end point candidate points, 14, vertical scanning line, 15, second area, 16, openings in second area 15, 18, 19, Endpoint candidate points 20 and 21 represent overlapping regions, respectively.
Claims (1)
特徴抽出を行い上記認識対象図形の認識処理を行うパタ
ーン認識装置において、上記認識対象図形を水平方向に
走査したとき、水平走査線と交差する2つの図形ストロ
ークの夫々について当該各図形ストロークの幅の中間位
置の点を決定して水平走査時特異線分を抽出する特異線
分抽出部、上記水平走査線と交差する2つの図形ストロ
ークで囲まれた第1の領域を検出して上記水平走査時特
異線分の両端点を端点候補点として抽出する端点候補点
抽出設定部、上記認識対象図形を垂直方向に走査したと
き、垂直走査線と交差する2つの図形ストロークの夫々
について当該各図形ストロークの幅の中間位置の点を決
定して垂直走査時特異線分を抽出する特異線分抽出部、
上記垂直走査線と交差する2つの図形ストロークで囲ま
れた第2の領域を検出して上記垂直走査時特異線分の両
端点を端点候補点として抽出する端点候補点抽出設定部
をそなえ、上記抽出設定された端点候補点のうち、上記
第1の領域と上記第2の領域とが重なるオーバラップ領
域に対応する端点候補点を端点としてはみなさず残りの
端点候補点を端点として検出せしめるようにしたことを
特徴とする端点検出方式。 2 上記残りの端点候補点に対し、該端点候補点から延
長する図形ストロークの傾斜角を調べる処理が行なわれ
端点として検出されることを特徴とする上記特許請求の
範囲第1項記載の端点検出方式。[Scope of Claims] 1. In a pattern recognition device that performs recognition processing of the recognition target figure by extracting features based on scanning information obtained by scanning the recognition target figure, the recognition target figure is scanned in the horizontal direction. a singular line segment extraction unit that extracts a singular line segment during horizontal scanning by determining a point at an intermediate position of the width of each of the two graphic strokes that intersects with the horizontal scanning line; An end point candidate point extraction setting unit that detects a first area surrounded by two figure strokes that intersect with and extracts both end points of the singular line segment during horizontal scanning as end point candidate points; a singular line segment extraction unit that extracts a singular line segment during vertical scanning by determining a point in the middle of the width of each of the two graphic strokes that intersects the vertical scanning line when scanning;
an end point candidate point extraction setting unit configured to detect a second area surrounded by two figure strokes intersecting the vertical scanning line and extract both end points of the singular line segment during vertical scanning as end point candidate points; Among the extracted and set end point candidate points, the end point candidate points corresponding to the overlap region where the first region and the second region overlap are not regarded as end points, and the remaining end point candidate points are detected as end points. An end point detection method characterized by the following. 2. The end point detection according to claim 1, wherein the remaining end point candidate points are subjected to a process of checking the inclination angle of a graphic stroke extending from the end point candidate points, and are detected as end points. method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52130556A JPS5939072B2 (en) | 1977-10-31 | 1977-10-31 | End point detection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52130556A JPS5939072B2 (en) | 1977-10-31 | 1977-10-31 | End point detection method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5464431A JPS5464431A (en) | 1979-05-24 |
| JPS5939072B2 true JPS5939072B2 (en) | 1984-09-20 |
Family
ID=15037084
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP52130556A Expired JPS5939072B2 (en) | 1977-10-31 | 1977-10-31 | End point detection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5939072B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0609474A1 (en) * | 1993-02-03 | 1994-08-10 | International Business Machines Corporation | Method and apparatus for transforming an image for classification or pattern recognition |
| WO1996018144A1 (en) * | 1994-12-05 | 1996-06-13 | International Business Machines Corporation | QUASI-RANDOM NUMBER GENERATION APPARATUS AND METHOD, AND MULTIPLE INTEGRATION APPARATUS AND METHOD OF FUNCTION f |
-
1977
- 1977-10-31 JP JP52130556A patent/JPS5939072B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5464431A (en) | 1979-05-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2000207489A (en) | Character extraction method, apparatus and recording medium | |
| JPS5939072B2 (en) | End point detection method | |
| JPH11167455A (en) | Hand shape recognition device and monochrome object shape recognition device | |
| Gul et al. | Automatic extraction of contour lines from topographic maps | |
| JP3698867B2 (en) | Circular pattern determination method, apparatus and recording medium | |
| US7139429B2 (en) | Image recognition scheme | |
| JP2002133424A (en) | Detecting method of inclination angle and boundary of document | |
| JP3936039B2 (en) | Screened area extraction device | |
| JPS5830624B2 (en) | End point detection method | |
| JP2789622B2 (en) | Character / graphic area determination device | |
| JP3541093B2 (en) | Document image inclination detection method and apparatus | |
| JP2963508B2 (en) | Character extraction device | |
| JPH0512438A (en) | Line segment extraction method by Hough transform | |
| JPH1145335A (en) | Closed area detection method and apparatus | |
| JP2575402B2 (en) | Character recognition method | |
| JP2966448B2 (en) | Image processing device | |
| JPH0142029B2 (en) | ||
| JPS5830622B2 (en) | Diagonal intersection detection method | |
| JP2000235618A (en) | Character detection device | |
| Park et al. | A fully parallel thinning algorithm using a weighted template | |
| JPS61165184A (en) | Automatic detecting system of reference point | |
| JPS5814709B2 (en) | Shape recognition method for closed shapes | |
| JPS6232587A (en) | Character recognizing system | |
| JPH0276084A (en) | Fast character and pattern separating device | |
| JPH02254574A (en) | Noise removing system |