JPH0658689B2 - Line figure separation device - Google Patents

Line figure separation device

Info

Publication number
JPH0658689B2
JPH0658689B2 JP61221620A JP22162086A JPH0658689B2 JP H0658689 B2 JPH0658689 B2 JP H0658689B2 JP 61221620 A JP61221620 A JP 61221620A JP 22162086 A JP22162086 A JP 22162086A JP H0658689 B2 JPH0658689 B2 JP H0658689B2
Authority
JP
Japan
Prior art keywords
line
point sequence
character
image data
lines
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
JP61221620A
Other languages
Japanese (ja)
Other versions
JPS6376080A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61221620A priority Critical patent/JPH0658689B2/en
Publication of JPS6376080A publication Critical patent/JPS6376080A/en
Publication of JPH0658689B2 publication Critical patent/JPH0658689B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、図面を構成している文字、接続線、シンボ
ル等、各要素毎の線を分離する線図形分離装置に関する
ものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line figure separation device for separating lines of respective elements such as characters, connecting lines, symbols, etc., which form drawings.

〔従来の技術〕[Conventional technology]

例として、第9図に情報処理学会第29回全国大会予稿
集6M−4で示されている従来の線図形分離装置の構成
図を記載した。
As an example, FIG. 9 shows a block diagram of a conventional line figure separation device shown in Proceedings 6M-4 of the 29th National Convention of Information Processing Society of Japan.

図において、1は図面を画像として入力し2値のディジ
タル画像データを得る画像入力手段、2は入力した2値
の画像データを記憶するための画像情報記憶手段、10
1は画像情報記憶手段により記憶されている画像情報を
入力し、線の中心座標の点列データを作成した後線をベ
クトル化する点列データ作成手段、102は点列データ
作成手段101によって作成された点列データを記憶し
ておく点列データ記憶手段、3は点列データ記憶手段1
02に記憶されている点列データから図面を構成する文
字接続線、シンボル等の各構成要素を分離する図形要素
分離手段、4は図形要素分離手段3によって分離された
各構成要素の情報を記憶するための図形情報記憶手段で
ある。
In the figure, 1 is an image input means for inputting a drawing as an image to obtain binary digital image data, 2 is an image information storage means for storing the input binary image data, 10
Reference numeral 1 is a point sequence data creating means for inputting the image information stored in the image information storing means, creating point sequence data of the center coordinates of the line, and vectorizing the back line, and 102 is created by the point sequence data creating means 101. Point sequence data storage means for storing the generated point sequence data, 3 is point sequence data storage means 1
The graphic element separating means 4 for separating each constituent element such as a character connecting line, a symbol and the like which constitutes the drawing from the point sequence data stored in 02 stores the information of each constituent element separated by the graphic element separating means 3. It is a graphic information storage means for performing.

ここにおいて、図形要素分離手段3は図面を構成してい
る要素の中で文字の部分と破線の部分を分離する文字破
線手段103と、図面を構成している要素の中でシンボ
ルを分離するシンボル分離手段104と、図面を構成し
ている要素の中接続線を分離するための接続線追跡手段
105とから構成されている。
Here, the graphic element separating means 3 is a character / dash line means 103 for separating a character portion and a broken line portion among the elements constituting the drawing, and a symbol for separating symbols among the elements constituting the drawing. It is composed of a separating means 104 and a connecting line tracing means 105 for separating the middle connecting lines of the elements constituting the drawing.

次に動作について説明する。Next, the operation will be described.

図面構成要素間に接触が存在しない図面を画像入力手段
1に入力すると、画像入力手段1は図面の画像情報を2
値の画像データに変換し、画像情報記憶手段2に記憶す
る。
When a drawing having no contact between drawing components is input to the image input means 1, the image input means 1 outputs the image information of the drawing to 2
It is converted into image data of a value and stored in the image information storage means 2.

画像情報記憶手段2に記憶された画像データは、点列デ
ータ作成手段101によって画像を構成する各線の巾を
細めて線巾1の状態にした点列データすなわち線の中心
の座標列のデータからなる点列データに処理され、点列
データ記憶手段102に記憶される。文字破線分離手段
103は上記点列データ記憶手段102に記憶された点
列データに基づき、接続関係を持ったベクトルの集まり
で一定の範囲内の大きさのものを分離し、その中で連続
性を持っているものを破線として分離し、他のものを文
字として分離する。
The image data stored in the image information storage means 2 is obtained from the point sequence data in which the width of each line forming the image is narrowed by the point sequence data creating means 101 to be in the line width 1 state, that is, the coordinate sequence data of the center of the line The point sequence data is processed and stored in the point sequence data storage means 102. The character / dashed line separating means 103 separates, based on the point sequence data stored in the point sequence data storage means 102, a set of vectors having a connection relationship and having a size within a certain range, and the continuity among them. Separate ones with as dashed lines and others as letters.

次に、シンボル分離手段104は文字破線分離手段10
3で分離された以外の線に対して、例えば小さなループ
を持つ,短いオープン線を持つ,著しい屈曲がある,塗
りつぶしがある等の条件を満たすものをシンボルとして
分離する。
Next, the symbol separating means 104 uses the character broken line separating means 10.
With respect to the lines other than those separated in 3, those which satisfy the conditions such as having a small loop, having a short open line, having a significant bend, and having a fill are separated as symbols.

最後に接続接追跡手段105は、シンボルから出ている
ベクトルで線としての条件,例えば長さが一定値以上あ
るものを接続線として分離する。
Finally, the connection tracking unit 105 separates the vector output from the symbol as a line, for example, a line having a length of a certain value or more.

以上のような処理により、分離された図面を構成する各
要素を、図形情報記憶手段4により記憶する。
By the processing as described above, each element forming the separated drawings is stored in the graphic information storage means 4.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来の線図形分離装置は、以上のように構成されていた
ので、図面を構成する要素で接続線に文字が接触してい
る場合などは、その接触部分で接続線が短線に分断され
るため、それらの短線は接続点として検出されないとい
う問題があった。
Since the conventional line figure separation device is configured as described above, when a character is in contact with a connecting line in an element forming the drawing, the connecting line is divided into short lines at the contact portion. , There was a problem that those short lines were not detected as connection points.

この発明は、このような問題点を解消するためになされ
たもので接続線に対し文字の接触が発生し、接続線が短
線に分断されても正しく接続線が分離できるような線図
形分離装置を得ることを目的とする。
The present invention has been made in order to solve such a problem, and a line figure separation device capable of correctly separating a connection line even if a character comes into contact with the connection line and the connection line is divided into short lines. Aim to get.

〔問題点を解決するための手段〕[Means for solving problems]

このため、この発明の線図形分離装置は、画像データか
ら線の中心の座標列からなる点列データを取り出す処理
と、画像データの黒の領域を任意の回数だけ収縮した
後、同じ回数だけ膨張を施して、抽出された画像データ
の中で注目する一画素の値と当該画素の周囲の画素の値
とを比較していくことで画像データにおける黒の塗りつ
ぶし領域を抽出し、その後、画像データの画素の値を走
査していって黒の塗りつぶし領域の輪郭の点列データを
取り出す処理を行う画像処理手段201を備えた点列デ
ータ作成手段101と、点列データのうち特定の範囲の
大きさを持った線の集まりを文字として分離する文字分
離手段203と、文字分離手段で文字として分離された
線以外で、文字と接触しているとして分離して検出され
る各図線のうち、水平,垂直方向に延長していて、線の
長さが一定値以上で、かつ座標軸に対する傾きが小さい
図線を基準線とし、この基準線以外の図線を、線の長さ
及び基準線に対する位置関係に基づいて評価すること
で、この図線を、文字と接触している接続線として検出
する接続線分離手段204とを備えた図形要素分離手段
3とを備えているものである。
Therefore, the line figure separation device of the present invention extracts the point sequence data consisting of the coordinate sequence of the center of the line from the image data, contracts the black region of the image data any number of times, and then expands the same number of times. The black filled area in the image data is extracted by comparing the value of one pixel of interest in the extracted image data with the values of pixels around the pixel, and then the image data is extracted. Point sequence data creating means 101 having an image processing means 201 for scanning the pixel values of the above and extracting the point sequence data of the outline of the black filled area; and the size of a specific range of the point sequence data. Of the drawing lines that are separated and detected as being in contact with the character, except for the character separating unit 203 that separates a set of lines having a certain length as a character and the line that is separated as a character by the character separating unit, water , Drawing lines that extend in the vertical direction and have a line length that is greater than a certain value and that has a small inclination with respect to the coordinate axis are used as reference lines, and drawing lines other than this reference line are the length of the line and the position with respect to the reference line. The graphic element separating means 3 having the connecting line separating means 204 for detecting the drawing line as a connecting line in contact with a character by evaluating based on the relationship is provided.

[作用] 画像処理手段201により、画像データにおける黒の塗
りつぶし領域を抽出し、黒のに塗りつぶし領域の輪郭の
点列データを取り出す。
[Operation] The image processing unit 201 extracts the black filled area in the image data, and extracts the point sequence data of the contour of the black filled area.

一方、図形要素分離手段3の中の文字分離手段203
は、点列データのうち特定の範囲の大きさを持った線の
集まりを文字として分離する。
On the other hand, the character separating means 203 in the graphic element separating means 3
Separates a set of lines having a size in a specific range from the point sequence data as a character.

また、接続線分離手段204は、文字を構成する線以外
の線を接続線として検出して分離する際に、まず、文字
と接触しているとして分離して検出される各図線のなか
から、水平,垂直方向に延長していて、線の長さが一定
値以上で、かつ座標軸に対する傾きが小さい図線を基準
線とする。そして、基準線以外の図線の線の長さ及び基
準線に対する位置関係を調べ、この図線が文字と接触し
ている接続線であることを検出する。
Further, when the connection line separating means 204 detects and separates a line other than a line forming a character as a connection line, first, the connection line separating unit 204 separates and detects the contact lines with the character from among the respective drawing lines. , A line extending in the horizontal and vertical directions, having a line length equal to or greater than a certain value and having a small inclination with respect to the coordinate axis is used as a reference line. Then, the length of the drawing line other than the reference line and the positional relationship with respect to the reference line are examined to detect that this drawing line is a connecting line in contact with the character.

[実施例] 以下、この発明の一実施例を図に基づいて説明する。[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明の線図形分離装置のブロック構成図を
示すものであり、図において、201は画像データの黒
の領域を任意の回数だけ収縮した後、同じ回数だけ膨張
を施して、抽出された画像データの中で注目する一画素
の値と当該画素の周囲の画素の値とを比較していくこと
で画像データにおける黒の塗りつぶし領域を抽出し、そ
の後、画像データの画素の値を走査していって黒の塗り
つぶし領域の輪郭の点列データを取り出す処理を行う画
像処理手段、203は点列データのうち特定の範囲の大
きさを持った線の集まりを文字として分離する文字分離
手段、204は文字分離手段で文字として分離された線
以外で、文字と接触しているとして分離して検出される
各図線のうち、水平,垂直方向に延長していて、線の長
さが一定値以上で、かつ座標軸に対する傾きが小さい図
線を基準とし、この基準線以外の図線を、線の長さ及び
規準線に対する位置関係に基づいて評価することで、こ
の図線を、文字と接触している接続線として検出する接
続線分離手段、205は接続線分離手段204により分
離検出された線の中で閉ループを構成するものを大シン
ボルとして分離する大シンボル分離手段である。
FIG. 1 shows a block diagram of a line figure separation device of the present invention. In FIG. 1, reference numeral 201 indicates that a black region of image data is shrunk an arbitrary number of times and then expanded the same number of times. The black filled area in the image data is extracted by comparing the value of one pixel of interest in the extracted image data with the values of the pixels around that pixel, and then the pixel value of the image data is extracted. An image processing means for scanning and extracting the point sequence data of the contour of the black-painted area, and 203 is a character for separating a set of lines having a size in a specific range from the point sequence data as a character. Separation means 204 is a line other than the line separated as a character by the character separation means, and extends in the horizontal and vertical directions among the figure lines separated and detected as being in contact with the character, and the length of the line. Is above a certain value Moreover, by using a drawing line with a small inclination with respect to the coordinate axes as a reference and evaluating the drawing lines other than this reference line based on the length of the line and the positional relationship with respect to the reference line, this drawing line is in contact with the character. A connection line separating means for detecting as a connection line, and 205 is a large symbol separating means for separating a line forming a closed loop among the lines separated and detected by the connection line separating means 204 as a large symbol.

次に第2図ないし第9図を参照して本発明の動作を説明
する。
Next, the operation of the present invention will be described with reference to FIGS.

第2図に示す入力図面を画像入力手段1に入力すると、
画像入力手段1は2値の画像データを作製し、画像情報
記憶手段2に記憶する。
When the input drawing shown in FIG. 2 is input to the image input means 1,
The image input means 1 creates binary image data and stores it in the image information storage means 2.

点列データ作成手段101は上記画像情報記憶手段2に
記憶された画像データを線の太さが線巾「1」になるま
で細め、線の中心の座標列からなる点列データを作成し
て点列データ記憶手段102に記憶する。
The point sequence data creating means 101 thins the image data stored in the image information storage means 2 until the thickness of the line becomes the line width "1", and creates the point sequence data consisting of the coordinate sequence of the center of the line. It is stored in the point sequence data storage means 102.

上記画像処理手段201は、上記画像データの黒の領域
を任意の回数だけ収縮した後、再び同じ回数だけ膨張を
施し、抽出された画像データ中の注目する一画素の値と
当該画素の周囲の画素の値とを比較していくことで画像
データにおける黒の塗りつぶし領域を抽出して、その
後、画像データの画素の値を走査していって上記黒の塗
りつぶし領域の輪郭の点列データを取り出す処理を行う
ものである。
The image processing means 201 shrinks the black area of the image data an arbitrary number of times, and then expands the same number of times again, so that the value of one pixel of interest in the extracted image data and the surroundings of the pixel concerned. The black filled area in the image data is extracted by comparing with the pixel value, and then the pixel value of the image data is scanned to extract the point sequence data of the contour of the black filled area. The processing is performed.

具体的には、黒の領域を例えば線の太さが2nの場合
(n+1)回収縮した後、(n+1)回膨張して、注目
する一画素の値と当該画素の周囲の画素の値とを用いた
境界抽出方法により黒の塗りつぶし領域を抽出する。こ
のように黒の塗りつぶし領域が抽出されたなら、画素デ
ータを走査していって、画素の値が黒(値1)から白
(値0)に変るところを追跡していくことで、黒の塗り
つぶし領域の輪郭の点列データを取り出す。
Specifically, for example, when the thickness of the line is 2n, the black region is contracted (n + 1) times and then expanded (n + 1) times to obtain the value of one pixel of interest and the values of pixels around the pixel. A black filled area is extracted by the boundary extraction method using. When the black filled area is extracted in this way, the pixel data is scanned to trace where the pixel value changes from black (value 1) to white (value 0), Extract the point sequence data of the outline of the filled area.

次に上記点列データと線の中心の座標列からなる点列デ
ータを基にして、以下のような図形分離手段3の処理に
より、図面を構成する構成要素を、文字,接続線,シン
ボル要素毎に分離する。
Next, based on the point sequence data composed of the point sequence data and the coordinate sequence of the center of the line, the constituent elements forming the drawing are converted into characters, connecting lines, and symbol elements by the processing of the graphic separating means 3 as described below. Separate each.

まず文字分離手段203は、点列データのうち特定の範
囲の大きさを持った線の集まりを第3図に示すように文
字として分離する。
First, the character separating means 203 separates a set of lines having a size in a specific range from the point sequence data as a character as shown in FIG.

これは、線の集まりの外接長方形つまり線を構成する点
列の座標値で縦軸方向,横軸方向のそれぞれ最大値,最
小値を求め、その範囲の大きさをもって判定を行う。
In this method, the maximum value and the minimum value in the vertical axis direction and the horizontal axis direction are respectively obtained from the coordinate values of the circumscribed rectangle of the set of lines, that is, the sequence of points forming the line, and the determination is made based on the size of the range.

接続線分離手段204は第4図に示す水平,垂直方向の
接続線の検出を行う。まずベクトル化により線の折れ曲
がりを検出し、次にベクトル化された線の中で水平,垂
直方向の線で一定以上の長さの線で軸に対し傾きが設定
値よりも小さいものを基準線として初期検出を行う。次
に第5図に示す様に基準線を基にその基準線に接続して
いる線について長さ,傾きのズレ量を判定材料として追
跡、検出を行っていく。そして、第6図に示す様に基準
線と直接接続はしていないが同一直線上の線(延長上に
ある線)を長さ,傾き,基準線との距離的ズレを判定材
料として検出処理を行っていく。次に以上処理において
検出された接続線に対し垂直に接続している線を長さ,
傾きを判定条件として検出していく。この時、この検出
された垂直方向の線について、さらに同一直線上の線
(延長上にある線)があれば同様に検出を行う。以上の
一連の処理により図面に書かれた水平,垂直方向の比較
的長い線から文字の接触により分断された短線まで接続
線として検出する。次に一線を構成する点列数で、これ
までの処理で分離されていない線に対して長線判定を行
い、長線と判定されたものを基準線として円弧及び斜線
の追跡を行う。円弧については、半径の長さ,半径のズ
レ量を判定材料として又斜線については直進性をそれぞ
れ各判定材料として検出を行う。これらは意味的には接
続線分類となる。そして、この第4図に示すような接続
線として分離された線の中で閉ループを構成するものを
特に第7図に示すように大シンボルとして分離する。最
後に、ここまでで検出された孤立文字の線と接続線の線
以外の残線を第8図に示すようにシンボルを構成する線
とする。以上、すべての線図形分離が終了した時点で図
形情報記憶手段4により記憶保持を行う。
The connecting line separating means 204 detects the connecting lines in the horizontal and vertical directions shown in FIG. First, the bending of the line is detected by vectorization, and then, among the vectorized lines, the horizontal and vertical lines that have a certain length or more and the inclination with respect to the axis is smaller than the set value are the reference lines. Initial detection is performed as. Next, as shown in FIG. 5, based on the reference line, the lines connected to the reference line are traced and detected by using the deviation amounts of the length and the inclination as judgment materials. Then, as shown in FIG. 6, a line that is not directly connected to the reference line but is on the same straight line (a line on the extension) is detected by using the length, the inclination, and the distance deviation from the reference line as the judgment material. To go. Next, the length of the line connected perpendicularly to the connection line detected in the above processing,
The inclination is detected as a determination condition. At this time, with respect to the detected vertical line, if there is a line on the same straight line (a line on the extension), detection is similarly performed. Through the series of processes described above, relatively long horizontal and vertical lines drawn on the drawing to short lines divided by the contact of characters are detected as connecting lines. Next, a long line determination is performed on the lines that have not been separated by the processing up to this point in terms of the number of dot sequences that form one line, and arcs and diagonal lines are traced with the line determined to be a long line as the reference line. For the circular arc, the length of the radius and the amount of deviation of the radius are used as the determination materials, and for the diagonal lines, the straightness is used as the determination material. These are semantically connection line classifications. Then, among the lines separated as the connection lines as shown in FIG. 4, those forming a closed loop are separated as large symbols, particularly as shown in FIG. Finally, the remaining lines other than the lines of the isolated characters and the lines of the connection lines detected up to this point are set as the lines forming the symbol as shown in FIG. As described above, when all line figure separation is completed, the figure information storage means 4 stores and holds it.

〔発明の効果〕〔The invention's effect〕

この発明によれば、画像データから線の中心の座標列か
らなる点列データを取り出す処理と、画像データにおけ
る黒の塗りつぶし領域を抽出して、当該黒の塗りつぶし
領域の輪郭の点列データを取り出す処理を行う画像処理
手段を備えた点列データ作成手段と、文字分離手段と、
分離して検出される図線を文字と接触している接続線と
して検出する接続線分離手段とを備えた図形要素分離手
段とを備えているので、接続線が短線に分離されていて
も、接続線を正しく検出できる。よって系統図,論理図
等の論理型図面で接続線の書き方が共通しているものに
適用できるという効果がある。
According to the present invention, the process of extracting the point sequence data including the coordinate sequence of the center of the line from the image data, the black filled region in the image data is extracted, and the point sequence data of the contour of the black filled region is extracted. Point sequence data creating means including image processing means for performing processing, character separating means,
Since the graphic line separating means having the connecting line separating means for detecting the separately detected figure line as the connecting line in contact with the character is provided, even if the connecting line is separated into short lines, The connection line can be detected correctly. Therefore, there is an effect that the present invention can be applied to logical drawings such as system diagrams and logical diagrams in which the method of writing connection lines is common.

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

第1図はこの発明の一実施例である線図形分離装置の構
成図、第2図は線図形分離装置に入力する図面の1例を
示す図、第3図は文字として分離される線グループを示
す図、第4図は接続線として分離される線グループを示
す図、第5図は接続線に接触している文字等を分離する
際の分離過程の説明図、第6図はシンボルとして分離さ
れる線グループを示す図、第7図は大シンボルとして分
離される線グループの1例を示す図、第8図は接続線の
検出において同一直線上の線,及び垂直方向の線の検出
を説明した図、第9図は従来の線図形分離装置の全体構
成図である。 図において1は画像入力手段、2は画像情報記憶手段、
3は図形要素分離手段、4は図形情報記憶手段、201
は画像処理手段、202は点列情報記憶手段、203は
文字分離手段、204は接続線分離手段、205は大シ
ンボル分離手段である。
FIG. 1 is a block diagram of a line figure separation device according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of a drawing input to the line figure separation device, and FIG. 3 is a line group separated as characters. FIG. 4, FIG. 4 is a diagram showing line groups separated as connection lines, FIG. 5 is an explanatory diagram of a separation process when separating characters and the like in contact with connection lines, and FIG. 6 is a symbol. FIG. 7 is a diagram showing separated line groups, FIG. 7 is a diagram showing an example of separated line groups as a large symbol, and FIG. 8 is a diagram showing detection of connecting lines on the same straight line and vertical lines. And FIG. 9 is an overall configuration diagram of a conventional line figure separation device. In the figure, 1 is an image input means, 2 is an image information storage means,
3 is a graphic element separating means, 4 is a graphic information storing means, 201
Is an image processing means, 202 is a point sequence information storage means, 203 is a character separating means, 204 is a connecting line separating means, and 205 is a large symbol separating means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】図面を画像として入力し2値化した画像デ
ータを作成し、点列データ作成手段によって上記2値化
した画像データから線の中心の座標列からなる点列デー
タを取り出し、図形要素分離手段によって上記点列デー
タから上記図面を構成する構成要素としての文字、接続
線、シンボル要素を各要素毎に分離する線図形分離装置
において、 上記点列データ作成手段は、上記画像データから線の中
心の座標列からなる点列データを取り出す処理と、上記
画像データの黒の領域を任意の回数だけ収縮した後、同
じ回数だけ膨張を施して、抽出された画像データの中で
注目する一画素の値と当該画素の周囲の画素の値とを比
較していくことで画像データにおける黒の塗りつぶし領
域を抽出し、その後、画像データの画素の値を走査して
いって上記黒の塗りつぶし領域の輪郭の点列データを取
り出す処理を行う画像処理手段を備えており、 かつ上記図形要素分離手段は、上記点列データのうち特
定の範囲の大きさを持った線の集まりを文字として分離
する文字分離手段と、文字分離手段で文字として分離さ
れた線以外で、文字と接触しているとして分離して検出
される各図線のうち、水平,垂直方向に延長していて、
線の長さが一定値以上で、かつ座標軸に対する傾きが小
さい図線を基準線とし、この基準線以外の図線を、線の
長さ及び基準線に対する位置関係に基づいて評価するこ
とで、この図線を、文字と接触している接続線として検
出する接続線分離手段とを備えていることを特徴とする
線図形分離装置。
1. A drawing is input as an image to create binarized image data, and point sequence data consisting of a coordinate sequence of the center of a line is extracted from the binarized image data by the point sequence data creating means to obtain a figure. In a line figure separation device that separates characters, connecting lines, and symbol elements as constituent elements of the drawing from the point sequence data by the element separating means, the point sequence data creating means uses the image data. The process of extracting the point sequence data consisting of the coordinate sequence of the center of the line, and contracting the black area of the image data any number of times, and then expanding the same number of times, pay attention to the extracted image data. The black filled area in the image data is extracted by comparing the value of one pixel with the values of the surrounding pixels, and then the pixel value of the image data is scanned. The graphic element separating means is provided with image processing means for extracting the point sequence data of the contour of the black filled area, and the graphic element separating means is a collection of lines having a size in a specific range of the point sequence data. Other than the character separation means that separates the character as a character and the line that is separated as a character by the character separation means. hand,
The length of the line is a certain value or more, and the drawing line with a small inclination with respect to the coordinate axis is used as the reference line, and the drawing lines other than this reference line are evaluated based on the length of the line and the positional relationship with respect to the reference line. A line figure separation device comprising: a connection line separation means for detecting this drawing line as a connection line in contact with a character.
JP61221620A 1986-09-19 1986-09-19 Line figure separation device Expired - Fee Related JPH0658689B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61221620A JPH0658689B2 (en) 1986-09-19 1986-09-19 Line figure separation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61221620A JPH0658689B2 (en) 1986-09-19 1986-09-19 Line figure separation device

Publications (2)

Publication Number Publication Date
JPS6376080A JPS6376080A (en) 1988-04-06
JPH0658689B2 true JPH0658689B2 (en) 1994-08-03

Family

ID=16769609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61221620A Expired - Fee Related JPH0658689B2 (en) 1986-09-19 1986-09-19 Line figure separation device

Country Status (1)

Country Link
JP (1) JPH0658689B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0832471B2 (en) * 1988-08-31 1996-03-29 キヤノン株式会社 output method
JPH02264373A (en) * 1989-04-04 1990-10-29 N T T Data Tsushin Kk Graphic recognizing device
JPH0744671U (en) * 1991-07-19 1995-11-28 株式会社エヌ.デェイ.シー Can material discrimination tool

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
情報処理学会第31回全国大会(昭和60年)6N−1P.1149−1150

Also Published As

Publication number Publication date
JPS6376080A (en) 1988-04-06

Similar Documents

Publication Publication Date Title
JPH04104324A (en) Program generating device
US5737443A (en) Method of joining handwritten input
JPH0196771A (en) Recognizing system for circular arc part
Amin et al. Hand printed Arabic character recognition system
JPS62254282A (en) Method and apparatus for separating overlapped pattern
JPH0658689B2 (en) Line figure separation device
Ramel et al. Automatic reading of handwritten chemical formulas from a structural representation of the image
Ablameyko et al. Vectorization and representation of large-size 2-D line-drawing images
Zeki et al. New primitives to reduce the effect of noise for handwritten features extraction
JP2789622B2 (en) Character / graphic area determination device
Burge et al. Extracting words and multi-part symbols in graphics rich documents
JP2507949B2 (en) Character / graphic area determination device
JP3657725B2 (en) Line figure image processing method
JPH028961A (en) Graphic input device
JPH02171977A (en) Method for segmenting character made contact with line segment
JPH04260980A (en) Device for recognizing graphic
JPH04309185A (en) Drawing element separating method for automatic drawing input device
JPH07104940B2 (en) Figure recognition device
JP3666903B2 (en) Image processing method and apparatus
JPH0528258A (en) Form input device with character/graphic separation device
JP2890307B2 (en) Table space separation device
JPH04216171A (en) Method for extracting contour vector
JPS6379183A (en) Graphic recognizing device
JPH03269689A (en) Document reading device
JPH10111933A (en) Segment editing processing method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees