JPH02204881A - Pattern-character separating method - Google Patents

Pattern-character separating method

Info

Publication number
JPH02204881A
JPH02204881A JP1022695A JP2269589A JPH02204881A JP H02204881 A JPH02204881 A JP H02204881A JP 1022695 A JP1022695 A JP 1022695A JP 2269589 A JP2269589 A JP 2269589A JP H02204881 A JPH02204881 A JP H02204881A
Authority
JP
Japan
Prior art keywords
line segment
character
graphic
components
component
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.)
Pending
Application number
JP1022695A
Other languages
Japanese (ja)
Inventor
Shinichi Tanaka
伸一 田中
Osamu Yoshizaki
修 吉崎
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1022695A priority Critical patent/JPH02204881A/en
Publication of JPH02204881A publication Critical patent/JPH02204881A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Image Analysis (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分舒] 本発明は図形文字分離方法、特に線図形と文字とを含む
画像を図形成分と文字成分とに分離する図形文字分離方
法に関するものである。この方法は、図面の認識や線画
像のコンピュータへの入力等に用いられる。
[Detailed Description of the Invention] [Industrial Application] The present invention relates to a graphic-character separation method, and particularly to a graphic-character separation method for separating an image containing line figures and characters into graphic components and character components. . This method is used for recognizing drawings, inputting line images into computers, etc.

[従来の技術] 従来、線図形と文字とを含む画像を図形成分と文字成分
に分離する方法として、石井光雄等の「装置系統図の認
識システム」 ;信学論り、Vol。
[Prior Art] Conventionally, as a method for separating an image containing line figures and characters into figure components and text components, there is a method described in Mitsuo Ishii et al.'s "Recognition System for Device System Diagrams"; IEICE Theory, Vol.

J71−D、 No、2、pp、395−405.19
88に示すようなものがある。この方法では、文字を十
分小さく書くこと、図形と文字を接触させないこと等の
記法上の制限を設けていた0分離方法としては、線画像
をベクトル化し、連結ベクトルが孤立した小領域を形成
しているベクトルの集合を文字候補とするという規則に
より分離していた。
J71-D, No. 2, pp. 395-405.19
There are some as shown in 88. In this method, there are notation restrictions such as writing characters sufficiently small and not allowing figures and characters to touch each other.The 0-separation method involves vectorizing line images and forming small regions with isolated connected vectors. They were separated according to the rule that the set of vectors that

また、他の方法としては、図面上に現れる線分から、長
さが閾値以下でかつどちらか一方の端点が他の線分と連
結していない線分を除去し、更に残った図形から閾値以
下の大きさを持つ閉ループを除去し、最終的に残った線
分を図形とする方法などが行われている。
Another method is to remove line segments whose length is less than a threshold value and whose end point is not connected to another line segment from the line segments that appear on the drawing, and then from the remaining figures, whose length is less than the threshold value. A method is being used to remove closed loops with a size of , and use the remaining line segments as figures.

[発明が解決しようとしている課B] しかしながら、イメージスキャナ等で画像を人力する場
合、文字を図形に接触させないように書いたつもりでも
、サンプリングレートや二値化の閾値との関係から、接
触して人力されてしまうことがある。このようなときに
、前記従来の方法では図形と文字との分離がうまくいか
ないと言う問題点があった。また、図形の一部が途切れ
たために生じる短い線分が文字成分と間違えられ、図形
と文字との分離がうまくいかないと言う問題点もあった
[Problem B that the invention seeks to solve] However, when manually creating images using an image scanner, etc., even if you intend to write the characters so that they do not touch the figures, due to the relationship with the sampling rate and the binarization threshold, it may happen that the characters do not touch the figures. Sometimes it is done manually. In such cases, the conventional method has a problem in that it is difficult to separate figures and characters. Another problem is that a short line segment that occurs when a part of a figure is cut off is mistaken for a character component, making it difficult to separate the figure and the character.

本発明は、前記従来の問題点を除去し、図形と文字とが
接触したり図形が途切れたりした場合でも、図形成分と
文字成分とを正確に分離できる図形文字分離方法を提供
することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a graphic/character separation method that eliminates the above-mentioned conventional problems and can accurately separate graphic and character components even when a graphic and a character come into contact with each other or a graphic is interrupted. shall be.

[課題を解決するための手段及び作用]この課題を解決
するために、本発明の図形文字分離方法は、線図形と文
字とを含む画像を図形成分と文字成分とに分離する図形
文字分離方法であって、 画像から端点あるいは分岐点で分割された線分を抽出す
る工程と、抽出された各線分を、長さに関する2つの閾
値と比較して、図形成分と文字成分と未定成分との3種
類のグループに分類する工程と、前記図形成分のグルー
プに分類された線分の情報に基づいて、前記文字成分と
未定成分とのグループに分類された線分を、図形成分と
文字成分とに再分類する工程とを備える。
[Means and effects for solving the problem] In order to solve this problem, the graphic character separation method of the present invention is a graphic character separation method that separates an image containing line figures and characters into a graphic component and a character component. The process includes the step of extracting line segments divided at end points or branch points from an image, and comparing each extracted line segment with two thresholds regarding length to distinguish between graphic components, text components, and undetermined components. Based on the step of classifying into three types of groups and the information on the line segments classified into the graphic component groups, the line segments classified into the text component and undetermined component groups are classified into the graphic component and text component. and a step of reclassifying it.

又、前記再分類の工程を、図形成分と文字成分とに再分
類される線分がなくなる迄繰り返す。
Further, the reclassification process is repeated until there are no more line segments to be reclassified into graphic components and character components.

[実施例] 以下、本発明の一実施例を図面を用いて説明する。[Example] An embodiment of the present invention will be described below with reference to the drawings.

第1A図は本実施例の図形文字分離方法を実現する装置
の構成を示すブロック図である。第1A図において、1
1は画像を読み取る画像入力部、12は画像を二値化す
る二値化処理部、13は二値化された画像を記憶する画
像記憶部である。
FIG. 1A is a block diagram showing the configuration of an apparatus that implements the graphic character separation method of this embodiment. In Figure 1A, 1
Reference numeral 1 denotes an image input section that reads an image, 12 a binarization processing section that binarizes the image, and 13 an image storage section that stores the binarized image.

14は画像を端点または分岐点で分割して、線分を抽出
する線分抽出部であり、15は線分抽出部14において
抽出された線分を記憶する線分記憶部である。16は線
分記憶部15に記憶されている線分を長さに関して異な
る2つの閾値を用いて、図形成分1文字酸分、未定成分
の3つのグループに分ける線分分類部である。17は線
分分類部16で文字成分と未定成分とのグループに分類
された線分を、既に図形成分に分類された線分の情報を
基に、より精密に図形成分か文字成分かを判定する線分
判定部である。
Reference numeral 14 denotes a line segment extraction unit that divides the image at end points or branch points and extracts line segments, and 15 indicates a line segment storage unit that stores the line segments extracted by the line segment extraction unit 14. Reference numeral 16 denotes a line segment classification unit that divides the line segments stored in the line segment storage unit 15 into three groups: a graphic component, a character segment, and an undetermined component, using two different thresholds for length. 17 determines more precisely whether the line segment classified by the line segment classification unit 16 into the groups of character components and undefined components is a graphic component or a character component based on the information of the line segments that have already been classified as graphic components. This is a line segment determination unit.

本実施例の装置の動作を概略説明すると、画像入力部1
1によって画像を人力し、二値化処理部12で人力画像
を二値化し、画像記憶部13に記憶させる0次に、線分
抽出部14は画像記憶部13に記憶されている二値画像
を細線化処理後、3×3のマスク処理で端点と分岐点と
を抽出し、これら端点または分岐点から他の端点または
分岐点まで線分を追跡することによって、端点または分
岐点で分割された線分を抽出する。
To briefly explain the operation of the apparatus of this embodiment, the image input section 1
1, and the binarization processing unit 12 binarizes the human image and stores it in the image storage unit 13.Next, the line segment extraction unit 14 converts the binary image stored in the image storage unit 13 into a binary image. After thinning, end points and branch points are extracted using a 3x3 mask process, and line segments are traced from these end points or branch points to other end points or branch points. Extract the line segment.

第2図は細線化された画像から線分を抽出したところを
表している。第2図において、丸で示したところが端点
または分岐点であり、丸から丸までが線分である。線分
記憶部15には線分抽出部14で抽出された線分のデー
タが記憶される。
FIG. 2 shows line segments extracted from the thinned image. In FIG. 2, the points indicated by circles are end points or branch points, and the lines between the circles are line segments. The line segment storage unit 15 stores data on line segments extracted by the line segment extraction unit 14.

線分のデータは属性として、少なくとも始点の座標、終
点の座標の他に、線分が図形成分。
Line segment data includes at least the coordinates of the starting point and the coordinates of the ending point, as well as the fact that the line segment is a figure component.

文字成分、未定成分のどのグループに属するかのフラグ
(以降、線分フラグと呼ぶ)を待つ、線分記憶部15に
記憶された線分フラグは、最初はすべて未定になってい
る。線分分類部16は線分記憶部15に記憶されている
線分に対して、線分の長さに関する大小2つの閾値を用
いて、図形成分と文字成分と未定成分との3つのグルニ
ブに分類する。線分記憶部15の各線分には、分類され
たグループの種類に応じて、それぞれの線分フラグが付
けられる。
Initially, all line segment flags stored in the line segment storage unit 15, which wait for flags (hereinafter referred to as line segment flags) indicating to which group of character components and undetermined components they belong, are undetermined. The line segment classification unit 16 divides the line segments stored in the line segment storage unit 15 into three groups: a graphic component, a character component, and an undetermined component, using two large and small thresholds related to the length of the line segment. Classify. Each line segment in the line segment storage unit 15 is attached with a line segment flag depending on the type of group into which it is classified.

最後に、線分判定部17では図形グループに分類された
線分の情報を基に、文字成分と未定成分の線分フラグの
付いた線分の中で、図形成分になるべき条件を備えた線
分を図形のグループに変更する。つまり、線分記憶部1
5に記憶されている文字成分と未定成分とのグループに
属する各線分に対して、次の3つの条件を満足するかど
うか調べる。もし満足していれば、その線分を図形成分
のグループに属するように、線分フラグを変更する。
Finally, the line segment determination unit 17 determines, based on the information on the line segments classified into graphic groups, that the line segments with the line segment flags of character components and undetermined components meet the conditions to become graphic components. Convert lines to groups of shapes. In other words, line segment storage unit 1
For each line segment belonging to the group of character components and undetermined components stored in 5, it is checked whether the following three conditions are satisfied. If satisfied, the line segment flag is changed so that the line segment belongs to the graphic component group.

(条件1)未定成分のグループに属する線分が図形成分
のグループに属する線分に接続している。
(Condition 1) A line segment belonging to the undetermined component group is connected to a line segment belonging to the figure component group.

(条件2)文字成分のグループに属する線分の両端それ
ぞれに図形成分のグループに属する線分が接続している
(Condition 2) A line segment belonging to the graphic component group is connected to each end of the line segment belonging to the character component group.

(条件3)文字成分のグループに属する線分が図形成分
のグループに属する線分に接続しており、かつ線分の方
向がほぼ等し い。
(Condition 3) A line segment belonging to a character component group is connected to a line segment belonging to a graphic component group, and the directions of the line segments are approximately the same.

これらの条件を満足する一例を、第3図から第5図に示
す、第3図は(条件1)を満たす例である。線分a等は
大小2つの閾値の間の長さなので、未定成分のグループ
に分類される。第3図の線分a以外の線分は大きい閾値
より大きく、図形成分のグループに分類されている。こ
の場合は(条件1)を満足するので、線分aは図形成分
として線分フラグが書き換えられる。また、第4図は図
形と文字が接触しているために、図形の一部である線分
すが1本の線分と見なされる。そして、長さが小さい閾
値よりも小さいので文字成分のグループに分類されてし
まう、しかし、(条件2)を満足しているので、図形成
分として線分フラグが書き換えられる。第5図は図形の
一部がとぎれているために、線分Cが短い線分になって
いる。線分Cの長さを大小2つの閾値と比較して、例え
ば未定成分のグループに属するなら(条件1)を満足す
る。線分Cが文字成分のグループに分類されるならば(
条件3)を満足する。従って、線分Cは図形成分として
線分フラグが書き換えられる。
An example that satisfies these conditions is shown in FIGS. 3 to 5. FIG. 3 is an example that satisfies (condition 1). Since the line segment a etc. has a length between two threshold values, large and small, it is classified into the group of undetermined components. Line segments other than line segment a in FIG. 3 are larger than the large threshold and are classified into the graphic component group. In this case, since (condition 1) is satisfied, the line segment flag for line segment a is rewritten as a graphic component. In addition, in FIG. 4, since the figure and the characters are in contact with each other, the line segment that is part of the figure is regarded as one line segment. Since the length is smaller than the small threshold, it is classified into the character component group.However, since (condition 2) is satisfied, the line segment flag is rewritten as a graphic component. In FIG. 5, a part of the figure is cut off, so line segment C is a short line segment. The length of the line segment C is compared with two threshold values, large and small, and if it belongs to the group of undetermined components, for example, (condition 1) is satisfied. If line segment C is classified into a group of character components (
Condition 3) is satisfied. Therefore, the line segment flag for line segment C is rewritten as a graphic component.

このように、線分記憶部15に記憶されている文字成分
と未定成分のグループに属する線分で、前記(条件1)
から(条件3)を満足する線分を図形成分のグループに
属するように線分フラグを変更する。ある線分の線分フ
ラグが変更されると、前記の条件を満足する線分が増え
る可能性がある。そこで、本実施例では、最初に線分記
憶部15に記憶されている線分の内、未定成分のグルー
プに属する全ての線分に対して(条件1)を満たしてい
るかどうかを判定している0次に、文字成分のグループ
に属する線分に対して、(条件2)と(条件3)を同時
に判定している。
In this way, the line segments belonging to the group of character components and undetermined components stored in the line segment storage unit 15 meet the above (condition 1).
The line segment flag is changed so that the line segment that satisfies (condition 3) belongs to the graphic component group. When the line segment flag of a certain line segment is changed, there is a possibility that the number of line segments that satisfy the above condition increases. Therefore, in this embodiment, it is first determined whether (condition 1) is satisfied for all line segments belonging to the group of undetermined components among the line segments stored in the line segment storage unit 15. (Condition 2) and (Condition 3) are simultaneously determined for the line segment belonging to the character component group.

(条件2)あるいは(条件3)を満たす線分を変更する
と、再び(条件1)を満足する線分が現れる可能性があ
る。そこで、再び未定成分のグループに属する全ての線
分に対して、(条件1)を満たしているかどうかを判定
する。
If a line segment that satisfies (condition 2) or (condition 3) is changed, a line segment that satisfies (condition 1) may appear again. Therefore, it is again determined whether (condition 1) is satisfied for all line segments belonging to the group of undetermined components.

さらに、(条件2)あるいは(条件3)についても調べ
る。これら一連の判定を、条件を満足する線分がなくな
るまで繰り返す、そして、最終的に残った未定成分のグ
ループの線分は、文字のグループになるように線分フラ
グを変更し、図形成分と文字成分との分離を終了する。
Furthermore, (condition 2) or (condition 3) is also investigated. These series of judgments are repeated until there are no more line segments that satisfy the conditions, and the line segment flags of the remaining line segments in the group of undetermined components are changed so that they become a group of characters, and the line segment flags are changed so that they become a group of characters. Finish separating from character components.

第1B図は本実施例の図形文字分離方法を実現する装置
のハードウェア構成図である。20はプログラムに従っ
て演算・制御を行うCPU、21はプログラムを格納す
るROM、22は画像を記憶する画像記憶エリア22a
と線分を記憶する線分記憶エリア22bとを有するRA
Mである。尚、前述したように、線分記憶エリア22b
にはそれぞれの線分に対応した図形成分か文字成分か未
定成分かを示す線分フラグも記憶されている。23は画
像を入力する画像入力部、24は分離結果、あるいは本
装置が画像の認識を行う装置であれば1分離の後に認識
を行いその結果を出力する出力部である。
FIG. 1B is a hardware configuration diagram of an apparatus that implements the graphic character separation method of this embodiment. 20 is a CPU that performs calculations and controls according to the program, 21 is a ROM that stores the program, and 22 is an image storage area 22a that stores images.
and a line segment storage area 22b for storing line segments.
It is M. Incidentally, as mentioned above, the line segment storage area 22b
Also stored are line segment flags indicating whether each line segment corresponds to a graphic component, a character component, or an undetermined component. Reference numeral 23 designates an image input unit for inputting an image, and 24 designates an output unit for outputting the separation result, or if this device is an image recognition device, performs recognition after one separation and outputs the result.

第6図には本実施例の図形文字分離方法の処理手順を示
すフローチャートを示す、まずステップ310で画像入
力部23より画像を入力し、ステップS20で二値化処
理を行って、ステップS30で画像記憶エリア22aに
記憶する。
FIG. 6 is a flowchart showing the processing procedure of the graphic character separation method of this embodiment. First, in step 310, an image is input from the image input unit 23, binarization processing is performed in step S20, and step S30 is performed. The image is stored in the image storage area 22a.

ステップS40で記憶された二値化画像から線分を抽出
し、ステップS50で2つの異なる閾値との比較から線
分の長さによる図形9文字、未定の3つの成分に分類す
る。ステップS60.S70では一旦分類された線分の
内、文字成分と未定成分とに分類された線分を前述の条
件1,2.3により再分類を繰り返す、新たな変更がな
くなると分類を終了し、ステップS80で図形の認識等
の図形成分と文字成分との分離を利用した処理を行い、
ステップS90で処理結果を出力部24により出力する
Line segments are extracted from the stored binarized image in step S40, and compared with two different thresholds in step S50, the line segments are classified into nine characters and three undetermined components based on the length of the line segments. Step S60. In S70, among the once classified line segments, the line segments classified into character components and undetermined components are repeatedly reclassified according to the above-mentioned conditions 1 and 2.3. When there are no new changes, the classification is finished, and the step In S80, processing using separation of graphic components and character components, such as recognition of graphics, is performed,
In step S90, the processing result is outputted by the output unit 24.

第7図にステップS50の線分の長さによる分類のフロ
ーチャートを、′s8図にステップShoの条件1,2
.3により線分の再分類のフローチャートを示す。
Fig. 7 shows a flowchart of classification according to the length of line segments in step S50, and Fig. 's8 shows conditions 1 and 2 of step Sho.
.. 3 shows a flowchart of line segment reclassification.

第7図では、ステップ351,352で2つの異なる閾
値α、β(但し、α〉β)により線分を3つの成分に分
類し、αより長い線分はステップS53で図形成分に、
αとβとの間の長さの線分はステップS54で未定成分
に、β以下の長さの線分はステップS55で文字成分に
分類してリターンする。
In FIG. 7, line segments are classified into three components using two different thresholds α and β (where α>β) in steps 351 and 352, and line segments longer than α are classified into graphic components in step S53.
Line segments with a length between α and β are classified as undetermined components in step S54, and line segments with a length less than β are classified as character components in step S55, and the process returns.

第8図では、ステップS61〜64では、未定成分の(
条件1)による図形成分への再分類を行い、ステップS
65〜S69では、文字成分の(条件2)、(条件3)
による図形成分への再分類を行っている。この再分類は
線分記憶エリア22b内の線分フラグを書き換えること
により行われる。
In FIG. 8, in steps S61 to S64, the undetermined component (
Perform reclassification into figure components according to condition 1) and proceed to step S.
In 65 to S69, character components (condition 2) and (condition 3)
We are reclassifying it into figure components. This reclassification is performed by rewriting the line segment flag in the line segment storage area 22b.

以上説明したように、図形を構成する線分と文字を構成
する線分とがうまく分類できないのは、図形を構成する
線分が文字との接触や途切れによって短い線分になって
いしまう場合か、文字を構成する線分が長い場合である
。従って、本実施例では、線分分類部16で用いる2つ
の異なる閾値をはっきり図形と文字を分類できるような
値にしておき、その間のあいまいなものは前記の条件に
よって判定しようとするものである。このように前記の
条件を用いることによって、図形を構成する線分が文字
との接触や途切れによってあいまいな長さになってしま
っても精密に分離することができる。
As explained above, line segments that make up a figure and line segments that make up a character cannot be classified well if the line segment that makes up a figure becomes a short line segment due to contact with a character or a break. , when the line segments that make up the character are long. Therefore, in this embodiment, two different threshold values used in the line segment classification section 16 are set to values that can clearly classify figures and characters, and ambiguous ones between them are determined based on the above-mentioned conditions. . By using the above-mentioned conditions in this way, even if the line segments constituting a figure have ambiguous lengths due to contact with characters or interruptions, they can be precisely separated.

尚、前記の実施例では、第1図の線分抽出部において細
線化を行った先画像に対して、3×3のマスク処理によ
って端点あるいは分岐点を抽出し、この端点あるいは分
岐点から線分追跡によって線分を抽出した。しかし、端
点あるいは分岐点で分割される線分が抽出できればこの
方法に限定する必要はない0例えば、細線化せずに追跡
用のマスクを用いて線分を追跡する方法、また、輪郭部
を抽出し輪郭線の中心を求めることによって線分を抽出
する方法などでもよい。
In the above embodiment, an end point or a branch point is extracted by 3×3 mask processing on the image that has been thinned in the line segment extraction section of FIG. Line segments were extracted by minute tracing. However, there is no need to limit the method to this method as long as line segments divided at end points or branch points can be extracted. A method of extracting line segments by finding the center of the contour line may also be used.

[発明の効果] 以上説明したように、本発明の図形文字分離方法を用い
れば、線図形と文字とを含む画像を図形成分と文字成分
とに分離しようとする場合、イメージスキャナの解像度
や二値化の閾値を原因とするような図形と文字との接触
があっても精密に分類することが可能となる。また、図
形が途切れることによって短い線分が生じても文字成分
と間違えることなく、正確に分離することが可能となる
[Effects of the Invention] As explained above, if the graphic character separation method of the present invention is used, when an image including line figures and characters is to be separated into graphic components and character components, the resolution of the image scanner and the Even if there is a contact between a figure and a character due to the value threshold, it is possible to classify it accurately. Furthermore, even if a short line segment occurs due to a break in a figure, it can be accurately separated without being mistaken for a character component.

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

第1A図は本実施例の図形文字分離方法を実現する装置
のブロック図、 第1B図は本実施例の図形文字分離方法を実現する装置
のハードウェア構成図、 第2図は抽出した線分を説明するための説明図、 第3図は条件1を満たす状態を説明するための説明図、 第4図は条件2を満たす状態を説明するための説明図、 第5図は条件3を満たす状態を説明するための説明図、 第6図は本実施例の処理手順を示すフローチャート、 第7図は第6図のステップS50の長さによる線分の分
離手順を示すフローチャート、第8図は第6図のステッ
プS60の条件1゜2.3による再分離手順を示すフロ
ーチャートである。 図中、11・・・画像人力部、12・・・二値化処理部
、13・・・画像メモリ、14・・・線分抽出部、15
・・・線部記憶部、16・・・線分分類部、17・・・
線分判定部、20・・・CPU、21・・・ROM。 22−RAM、22 a−−−画像記憶エリア、22b
・・・線分記憶エリア、23・・・画像入力部、24・
・・出力部である。 第1Δ図 第2 第3 C 第5図 第7図
Figure 1A is a block diagram of a device that implements the graphic character separation method of this embodiment, Figure 1B is a hardware configuration diagram of a device that implements the graphic character separation method of this embodiment, and Figure 2 shows extracted line segments. Figure 3 is an explanatory diagram to explain the state that satisfies condition 1, Figure 4 is an explanatory diagram to explain the state that satisfies condition 2, and Figure 5 satisfies condition 3. An explanatory diagram for explaining the state, FIG. 6 is a flowchart showing the processing procedure of this embodiment, FIG. 7 is a flowchart showing the procedure for separating line segments by length in step S50 of FIG. 6, and FIG. 7 is a flowchart showing the re-separation procedure in step S60 of FIG. 6 under the condition 1°2.3. In the figure, 11... Image human power unit, 12... Binarization processing unit, 13... Image memory, 14... Line segment extraction unit, 15
... line segment storage section, 16... line segment classification section, 17...
Line segment determination unit, 20...CPU, 21...ROM. 22-RAM, 22a---image storage area, 22b
...Line segment storage area, 23...Image input section, 24.
...This is the output section. Figure 1 Δ Figure 2 Figure 3 C Figure 5 Figure 7

Claims (2)

【特許請求の範囲】[Claims] (1)線図形と文字とを含む画像を図形成分と文字成分
とに分離する図形文字分離方法であつて、 画像から端点あるいは分岐点で分割された線分を抽出す
る工程と、 抽出された各線分を、長さに関する2つの閾値と比較し
て、図形成分と文字成分と未定成分との3種類のグルー
プに分類する工程と、 前記図形成分のグループに分類された線分の情報に基づ
いて、前記文字成分と未定成分とのグループに分類され
た線分を、図形成分と文字成分とに再分類する工程とを
備えることを特徴とする図形文字分離方法。
(1) A figure and character separation method for separating an image containing line figures and characters into figure and character components, which includes the steps of extracting line segments divided at end points or branch points from the image; a step of comparing each line segment with two thresholds regarding length and classifying it into three types of groups: a graphic component, a character component, and an undetermined component; and based on information on the line segments classified into the graphic component groups. A graphic character separation method comprising the step of reclassifying the line segments classified into the character component and undetermined component groups into graphic components and character components.
(2)前記再分類の工程を、図形成分と文字成分とに再
分類される線分がなくなる迄繰り返すことを特徴とする
請求項1記載の図形文字分離方法。
2. The graphic character separation method according to claim 1, wherein the reclassification step is repeated until there are no more line segments to be reclassified into graphic components and character components.
JP1022695A 1989-02-02 1989-02-02 Pattern-character separating method Pending JPH02204881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1022695A JPH02204881A (en) 1989-02-02 1989-02-02 Pattern-character separating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1022695A JPH02204881A (en) 1989-02-02 1989-02-02 Pattern-character separating method

Publications (1)

Publication Number Publication Date
JPH02204881A true JPH02204881A (en) 1990-08-14

Family

ID=12090009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1022695A Pending JPH02204881A (en) 1989-02-02 1989-02-02 Pattern-character separating method

Country Status (1)

Country Link
JP (1) JPH02204881A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5340994A (en) * 1991-11-29 1994-08-23 Yozan, Inc. Method for inspecting the length of a flexible thin object having binarizing and thinning steps
JP2002279434A (en) * 2001-02-22 2002-09-27 Oce Print Logic Technologies Sa Automatic positioning of table on document
JP2005100398A (en) * 2003-09-24 2005-04-14 Microsoft Corp System and method for detecting hand-drawn objects in ink input

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5340994A (en) * 1991-11-29 1994-08-23 Yozan, Inc. Method for inspecting the length of a flexible thin object having binarizing and thinning steps
JP2002279434A (en) * 2001-02-22 2002-09-27 Oce Print Logic Technologies Sa Automatic positioning of table on document
JP2005100398A (en) * 2003-09-24 2005-04-14 Microsoft Corp System and method for detecting hand-drawn objects in ink input

Similar Documents

Publication Publication Date Title
US5465304A (en) Segmentation of text, picture and lines of a document image
JPS63206868A (en) Method and apparatus for recognizing graphic symbol
JP4723840B2 (en) System and method for detecting hand-drawn objects in ink input
US5341438A (en) Method and apparatus for segmenting and classifying unconstrained handwritten characters
Melhi et al. A novel triangulation procedure for thinning hand-written text
Den Hartog et al. Knowledge-based interpretation of utility maps
JPH1131226A (en) Information processing method and apparatus
Della Ventura et al. Graphic symbol recognition using a signature technique
US5426712A (en) Method and apparatus for describing a character image based on its contours, and for classifying the character image for character recognition based on a resulting contour-based description of the character image
Bushofa et al. Segmentation and Recognition of Printed Arabic Characters.
Kim et al. Automatic input of logic diagrams by recognizing loop-symbols and rectilinear connections
JP2564276B2 (en) Pattern recognition method and device
Shimotsuji et al. Robust drawing recognition based on model-guided segmentation
JPH0785221A (en) Method for separating and recognizing character and symbol in automatic drawing recognizing device
JP2644812B2 (en) Symbol recognition method
JP3329528B2 (en) Document reader
GB2329738A (en) Determining relationship between line segments in pattern recognition
JPH0658689B2 (en) Line figure separation device
JPS63116279A (en) Method for extracting building graphic from drawing reader
JP3435193B2 (en) String extraction method
JP2867650B2 (en) Symbol candidate area detection method
JP2792063B2 (en) Character recognition dictionary creation method
JPH04260980A (en) Device for recognizing graphic
JPS63316171A (en) System for extracting broken line and chain line
JP2988697B2 (en) Figure recognition method