JP2626011B2 - Drawing reading processing method - Google Patents

Drawing reading processing method

Info

Publication number
JP2626011B2
JP2626011B2 JP63331002A JP33100288A JP2626011B2 JP 2626011 B2 JP2626011 B2 JP 2626011B2 JP 63331002 A JP63331002 A JP 63331002A JP 33100288 A JP33100288 A JP 33100288A JP 2626011 B2 JP2626011 B2 JP 2626011B2
Authority
JP
Japan
Prior art keywords
circumscribed rectangle
blocks
image memory
block
characters
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 - Lifetime
Application number
JP63331002A
Other languages
Japanese (ja)
Other versions
JPH02176973A (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP63331002A priority Critical patent/JP2626011B2/en
Publication of JPH02176973A publication Critical patent/JPH02176973A/en
Application granted granted Critical
Publication of JP2626011B2 publication Critical patent/JP2626011B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、手書き図面を読み取って画像処理、図面認
識処理を行う装置に設定される図面読取処理方法に関
し、特に、罫線等がドロップアウト・カラーで印刷され
この罫線によってブロックに分割された定型フォーマッ
ト図面上に書かれた複数ブロックにまたがる図形記号、
接触文字の切り離し処理を改善するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing reading processing method set in an apparatus that reads a handwritten drawing and performs image processing and drawing recognition processing. A graphic symbol that spans multiple blocks written on a fixed format drawing printed in color and divided into blocks by these ruled lines,
This is to improve the contact character separation processing.

<従来の技術> 罫線等がドロップアウト・カラーで印刷され、この罫
線によって区切られたブロック内に文字、記号が書かれ
た定型フォーマット図面を読み取り対象とする図面読取
装置は、読み取った文字、記号が図面中の何行、何列目
のブロックに対応するか位置決めする必要がある。
<Conventional technology> A drawing reader for reading a fixed format drawing in which ruled lines and the like are printed in a dropout color and characters and symbols are written in blocks delimited by the ruled lines is read characters and symbols. It is necessary to determine how many rows and columns in the drawing correspond to the block.

上記した読み取り対象とする定型フォーマット図面の
一例を第5図に表わす。
FIG. 5 shows an example of a fixed format drawing to be read.

この定型フォーマット図面Dは、罫線F、印刷文字
「シンボル」,「ルール」がドロップアウト・カラー
(図面読取装置内のイメージ・スキャナで無視される
色)で印刷され、罫線FによってブロックBに分割され
ている。
In the fixed format drawing D, the ruled line F and print characters "symbol" and "rule" are printed in a dropout color (a color ignored by an image scanner in the drawing reading apparatus), and divided into blocks B by the ruled line F Have been.

例えば、このような図面Dに手書きで、ルール欄のブ
ロック内に「Y」,「N」の文字を記入する場合を想定
する。
For example, it is assumed that the characters “Y” and “N” are written in blocks in the rule column by handwriting on such a drawing D.

図面記入者は記入の手間を省くために、文字「Y」が
横方向に5文字続くような時は繰り返し記号として横線
“−”(L)を用いる、または文字「N」が縦方向に4
文字続くような時は繰り返し記号として縦線“|"(L)
を用いることがある。また、上下左右にある記号どうし
が接触(接触文字C)することもある。
The drawing entrant uses a horizontal line "-" (L) as a repetition symbol when the character "Y" continues five characters in the horizontal direction or saves the character "N" in the vertical direction by four characters in order to save the labor of entry.
When characters continue, a vertical bar "|" (L) is used as a repeat symbol.
May be used. In addition, there is a case where symbols at the top, bottom, left and right touch each other (contact character C).

いずれの場合も、これらの図形記号L、接触文字Cは
上下左右の複数ブロックにまたがるため、1ブロック内
に書かれた文字、記号を位置決めするには、これらの連
結した図形をブロック毎に切り離さなければならない。
In any case, these graphic symbols L and contact characters C extend over a plurality of blocks in the upper, lower, left, and right directions. Therefore, in order to position the characters and symbols written in one block, these connected graphics must be separated for each block. There must be.

従来の連結図形の切り離し方法は、該当図面をイメー
ジ入力し、その2値画像データを画像メモリに格納した
後、この画像メモリ上に図面上の罫線に対応させて仮想
的な罫線を画素値“0"で引き、画像メモリをブロック毎
に格子状に分割して、連結図形を切り離す方法であっ
た。ここで、画像メモリ上で画素値“1"は図形部分、画
素値“0"は背景部分である。
In the conventional method of separating connected figures, a corresponding drawing is input as an image, its binary image data is stored in an image memory, and a virtual ruled line corresponding to a ruled line on the drawing is stored in this image memory with a pixel value " In this method, the image memory is divided into grids for each block to separate connected graphics. Here, on the image memory, the pixel value “1” is a figure portion, and the pixel value “0” is a background portion.

<発明が解決しようとする課題> しかしながら、上記した従来の切り離し方法は、次に
述べるような問題があった。
<Problem to be solved by the invention> However, the above-mentioned conventional disconnection method has the following problems.

即ち、第6図(a),(b)に示すように、図面上の
罫線F(実線)に対応して画像メモリ上にも仮想的な罫
線G(点線)を引くために、 1文字(または記号)「Y」,「N」を記入する際
にブロックを少しはみだした場合、不必要に2文字とし
て切り離され、認識処理の際に認識不能、誤認識を引き
起こす この仮想的な罫線Gを引く処理は、繰り返し図形記
号(L等)がない場合、無駄な処理工程となる。
That is, as shown in FIGS. 6 (a) and 6 (b), in order to draw a virtual ruled line G (dotted line) on the image memory corresponding to the ruled line F (solid line) on the drawing, one character ( (Or symbol) If the block slightly protrudes when writing “Y” or “N”, it is unnecessarily cut off as two characters, and it becomes impossible to recognize or cause erroneous recognition in the recognition process. The drawing process is a useless process if there is no repetitive graphic symbol (L or the like).

本発明は以上の二つの問題を解決することを課題と
し、罫線等がドロップアウト・カラーで印刷されこの罫
線によって複数のブロックに分割された定型フォーマッ
ト図面上に書かれた図形記号、接触文字をブロック毎に
効率よく切り離す方法を実現することを目的とする。
An object of the present invention is to solve the above two problems, and to draw graphic symbols and contact characters written on a fixed format drawing in which ruled lines and the like are printed in dropout color and divided into a plurality of blocks by the ruled lines. An object of the present invention is to realize a method of efficiently separating each block.

<課題を解決するための手段> 本発明は、画像メモリ全体にわたって仮想的な罫線を
引くことを止め、画像メモリ上にある連結図面を抽出
し、その外接長方形の大きさをみて複数ブロックに分割
し、この複数ブロックを区分する内側罫線を引いて連結
図形に含まれる文字、記号を抽出するものであり、その
具体的な処理手順は次の通りである。
<Means for Solving the Problems> The present invention stops drawing virtual rules over the entire image memory, extracts a connected drawing on the image memory, and divides the drawing into a plurality of blocks based on the size of the circumscribed rectangle. Then, characters and symbols included in the connected figure are extracted by drawing an inner ruled line for dividing the plurality of blocks, and the specific processing procedure is as follows.

本発明は、罫線によってブロックに分割され各ブロッ
クに文字、記号が記入された定型フォーマット図面を走
査するイメージ・スキャナと、得られた2値画像データ
を格納する画像メモリと、全体を制御する制御部とを有
し、この制御部に設定される図面読取処理方法におい
て、 (イ)前記画像メモリをラスタ走査して連結図形を抽出
する手順と、 (ロ)抽出した連結図形に外接長方形を設定してその位
置及び大きさを求めてこの外接長方形の大きさを予め設
定した値と比較する手順と、 (ハ)手順(ロ)で前記外接長方形が大きい場合はこの
外接長方形の各頂点の座標を前記図面上の座標値に変換
する座標変換手順と、 (ニ)得られた座標値が前記図面中のどのブロックに含
まれるか判定して前記外接長方形がまたがる複数ブロッ
クを決定する手順と、 (ホ)前記図面上で手順(ニ)で決定した複数ブロック
を相互に分割する内側罫線を求めるとともに前記画像メ
モリ上にこの内側罫線に対応して画素値“0"の線分を引
く手順と を実行して前記連結図形をブロック毎に切り離すことを
特徴とする図面読取処理方法である。
The present invention provides an image scanner that scans a fixed-format drawing in which each block is divided into blocks and characters and symbols are written in each block, an image memory that stores the obtained binary image data, and a control that controls the whole. And (b) setting a circumscribed rectangle in the extracted connected graphic by performing a raster scan of the image memory and extracting a connected graphic. (C) determining the position and size of the circumscribed rectangle and comparing the size of the circumscribed rectangle with a preset value; and (c) if the circumscribed rectangle is large in step (b), the coordinates of each vertex of the circumscribed rectangle. And (d) determining which block in the drawing contains the obtained coordinate value and determining a plurality of blocks over which the circumscribed rectangle extends. (E) determining an inner ruled line for mutually dividing the plurality of blocks determined in step (d) on the drawing, and a line having a pixel value “0” corresponding to the inner ruled line on the image memory. The drawing reading processing method is characterized in that the connected graphics are separated into blocks by executing the following steps:

<作 用> 本発明の図面読取処理方法は、画像メモリ上の連結図
形の外接長方形の大きさを調べ、予め定めた値より大き
い場合は図面上でその頂点が含まれるブロックを検出す
ることによりこの外接長方形がまたがる複数ブロックを
検出し、この複数ブロックを区分するように内側罫線を
画素値“0"で引き、連結図形のブロックの切り離し処理
を行う。
<Operation> The drawing reading processing method of the present invention checks the size of a circumscribed rectangle of a connected figure in an image memory, and if the size is larger than a predetermined value, detects a block including the vertex on the drawing. A plurality of blocks spanning the circumscribed rectangle are detected, an inner ruled line is drawn with a pixel value “0” so as to divide the plurality of blocks, and a process of separating blocks of a connected figure is performed.

<実施例> 第1図は本発明の図面読取処理方法を実現する装置で
ある。
<Embodiment> FIG. 1 shows an apparatus for realizing the drawing reading processing method of the present invention.

定型フォーマット図面Dはイメージ・スキャナ1によ
り走査され、読み取られた図面情報は2値変換された画
像信号として画像メモリ2に格納される。画像メモリ2
は、図面Dに対応して図形部分が画素値“1"、背景部分
が画素値“0"である2値画像データを一時記憶する部分
である。
The fixed format drawing D is scanned by the image scanner 1, and the read drawing information is stored in the image memory 2 as a binary converted image signal. Image memory 2
Is a portion for temporarily storing binary image data in which the figure portion has a pixel value of “1” and the background portion has a pixel value of “0” corresponding to FIG.

制御部3は、マイクロプロセッサ等で構成されて全体
の制御を行うとともに、画像メモリ2をラスタ走査し、
連結図形を抽出する処理、画像メモリ2上の座標点と図
面D上の座標点とを1対1に対応させる座標変換処理、
画像メモリ2に対する線分発生処理等の本発明方法を実
行する部分である。
The control unit 3 is composed of a microprocessor or the like and controls the whole, and also performs a raster scan of the image memory 2,
A process of extracting a connected figure, a coordinate conversion process of making a coordinate point on the image memory 2 correspond to a coordinate point on the drawing D on a one-to-one basis,
This is a portion for executing the method of the present invention such as a line segment generation process for the image memory 2.

このような構成は従来の図面読取装置の構成と同様で
あるが、本発明は制御部3に設定される処理動作に特徴
を有するものである。
Such a configuration is the same as the configuration of the conventional drawing reading apparatus, but the present invention is characterized by the processing operation set in the control unit 3.

また、読み取り対象とする定型フォーマット図面は、
手書き記入等により第5図に示すような繰り返し図形記
号L、接触文字C等の連結図形が各所に見られる図面D
である。
Also, the fixed format drawing to be read is
Drawing D in which connected figures such as repetitive figure symbols L and contact characters C as shown in FIG.
It is.

第2図は、第1図に示した装置の制御部3に設定され
る本発明の図面読取方法を表わすフローチャートであ
る。
FIG. 2 is a flowchart showing a drawing reading method of the present invention set in the control section 3 of the apparatus shown in FIG.

このフローチャートに従って、本発明の図面読取処理
方法の原理を概略説明する。
According to this flowchart, the principle of the drawing reading processing method of the present invention will be schematically described.

制御部3の起動により、イメージ・スキャナ1は手書
き記入された定型フォーマット図面Dを読み取り、図面
情報として2値画像データを画像メモリ2に格納する。
Upon activation of the control unit 3, the image scanner 1 reads the standard format drawing D written by hand, and stores binary image data in the image memory 2 as drawing information.

制御部3は、画像メモリ2をラスタ走査し、文字、記
号、繰り返し図形記号(縦線、横線等)、接触文字等の
連結図形を検出する。
The control unit 3 raster scans the image memory 2 and detects characters, symbols, repetitive graphic symbols (vertical lines, horizontal lines, etc.), and connected graphics such as contact characters.

連結図形を抽出した場合は当該連結図形に外接長方形
を設定し、その位置及び大きさを算出する。
When a connected figure is extracted, a circumscribed rectangle is set for the connected figure, and its position and size are calculated.

次に、この外接長方形が予め設定した値より大きいか
否かを判定する。
Next, it is determined whether or not the circumscribed rectangle is larger than a preset value.

ここで予め設定する値とは、図面D上の1ブロックの
大きさに対応する値である。即ち、1ブロックの縦の大
きさをV、横の大きさをHとし、設定値として、縦を
(1+α)V、横を(1+β)Hの長方形を設定してお
く。α,βの値は任意である。
Here, the value set in advance is a value corresponding to the size of one block on the drawing D. That is, the vertical size of one block is V, the horizontal size is H, and a rectangle of (1 + α) V in the vertical direction and (1 + β) H in the horizontal direction is set as a setting value. The values of α and β are arbitrary.

外接長方形がこの設定長方形より小さい場合(外接長
方形の縦の長さ≦(1+α)V,横の長さ≦(1+β)
H)は、この外接長方形内の連結図形の切り離し処理を
行う。尚、この切り出し図形は1ブロック内にある文字
または記号とみなす。
If the circumscribed rectangle is smaller than this set rectangle (vertical length of circumscribed rectangle ≦ (1 + α) V, horizontal length ≦ (1 + β)
H) performs a disconnection process of the connected figure in the circumscribed rectangle. Note that this cutout figure is regarded as a character or a symbol in one block.

外接長方形が設定長方形より大きい場合(外接長方形
の縦の長さ>(1+α)Vまたは横の長さ>(1+β)
H)は、この画像メモリ2上の外接長方形の各頂点が図
面D上のどの位置に対応するか、別途検出した図面の平
行移動量、傾き、縮尺変化量を用いて座標変換処理を行
う。
When the circumscribed rectangle is larger than the set rectangle (the vertical length of the circumscribed rectangle> (1 + α) V or the horizontal length> (1 + β)
In H), coordinate conversion processing is performed using the translation amount, inclination, and scale change amount of the drawing separately detected as to which position on the drawing D each vertex of the circumscribed rectangle on the image memory 2 corresponds.

続いて、座標変換した各頂点の位置が図面D上のどの
ブロックに含まれるかを決定する。これにより、この外
接長方形がまたがる図面D上の複数ブロックが決定され
る。
Subsequently, it is determined which block on the drawing D contains the position of each vertex subjected to coordinate conversion. As a result, a plurality of blocks on the drawing D that span the circumscribed rectangle are determined.

図面D上でこれらの複数ブロックを相互に区分する内
側の罫線を求める。罫線の本数は(複数ブロックの数−
1)である。
An inner ruled line for dividing the plurality of blocks from each other on the drawing D is obtained. The number of ruled lines is (number of multiple blocks-
1).

これら内側罫線に対応して、画像メモリ2上に同様の
罫線を画素値“0"の線分として書き込む。
Corresponding to these inner ruled lines, a similar ruled line is written on the image memory 2 as a line segment having a pixel value “0”.

また、この内側罫線は、画像メモリ2上の外接長方形
の輪郭線を除き、図面D上のブロック区分する罫線に対
応するものである。
The inner ruled line corresponds to the ruled line for dividing the block on the drawing D except for the outline of the circumscribed rectangle on the image memory 2.

以上より、該当する繰り返し図形、接触文字等の連結
図形が画像メモリ2上で複数のブロックに分割され、各
ブロック毎に書かれた図形を切り離すことができる。
As described above, the connected graphic such as the repeated graphic and the contact character is divided into a plurality of blocks on the image memory 2, and the graphic written for each block can be separated.

このように、画像メモリ2をラスタ走査して全ての連
結図形を抽出して、その大きさにより切り離し処理を実
行する。
As described above, the image memory 2 is raster-scanned to extract all the connected figures, and the separation processing is executed according to the size.

さて、以上のフローチャートに従って実際に図面を読
取り処理する場合の概念を第3図(イ)〜(ニ)及び第
4図(イ)〜(ニ)を用いて説明する。
Now, the concept of actually performing drawing processing according to the above flowchart will be described with reference to FIGS. 3 (a) to (d) and FIGS. 4 (a) to (d).

第3図(イ)は、図面D上に文字「Y」が横方向に5
文字続く場合であり、両端ブロックを除いて繰り返し記
号横線“L"が記入されている例である。
FIG. 3 (a) shows that the letter “Y” on the drawing D
This is an example in which characters are repeated and a horizontal symbol "L" is repeatedly written except for both end blocks.

イメージ・スキャナ1はこの図面を走査して画像メモ
リ2に第3図(ロ)のように2値画像データを格納す
る。
The image scanner 1 scans this drawing and stores binary image data in the image memory 2 as shown in FIG.

制御部3は、画像メモリ2をラスタ走査して連結図形
を検出し、横線Lを検出する。第3図(ハ)に示すよう
に、制御部3は横線Lの外接長方形M1を求め、その位置
及び大きさを求める。ここで、外接長方形M1の一辺につ
いて、▲▼>(1+β)Hであるので、次の処
理をする。
The control unit 3 performs raster scanning on the image memory 2 to detect a connected figure, and detects a horizontal line L. As shown in FIG. 3 (c), the control unit 3 obtains a circumscribed rectangle M1 of the horizontal line L, and obtains its position and size. Here, since one side of the circumscribed rectangle M1 is ▼> (1 + β) H, the following processing is performed.

外接長方形M1の各頂点Q1,Q2,Q3,Q4について、図面D
における対応座標位置を求めると、頂点Q1,Q2はブロッ
クB1、頂点Q3,Q4はブロックB3に含まれることが判明
し、外接長方形M1はブロックB1,B2,B3にまたがることが
分かる。
Drawing D for each vertex Q1, Q2, Q3, Q4 of the circumscribed rectangle M1
, The vertices Q1 and Q2 are included in the block B1, and the vertices Q3 and Q4 are included in the block B3. It can be seen that the circumscribed rectangle M1 extends over the blocks B1, B2, and B3.

次に、図面D上でブロックB1,B2,B3を相互に区分する
内側罫線F1(=▲▼),F2=(▲▼)
を求める。これに対応して画像メモリ2上に画素値“0"
の線分G1,G2を引く。
Next, on the drawing D, the inner ruled lines F1 (= ▲ ▼), F2 = (▲ ▼) for separating the blocks B1, B2, B3 from each other.
Ask for. In response to this, the pixel value "0" is stored in the image memory 2.
Draw line segments G1 and G2.

これにより、第3図(ニ)に示すように、ブロックB
1,B2,B3にまたがる連結図形(横線L)は線分L1,L2,L3
のようにブロック毎に切り離される。
As a result, as shown in FIG.
The connected figure (horizontal line L) spanning 1, B2, B3 is line segment L1, L2, L3
Is separated for each block as in.

一方、両端にある文字「Y」は1つの連結図形として
複数ブロックに切り離されることなく、その重心位置よ
り属するブロックが決定される。
On the other hand, the characters "Y" at both ends are not separated into a plurality of blocks as one connected figure, and the block to which the character "Y" belongs is determined from the position of the center of gravity.

このようにして、ブロック毎に5文字が切り離され、
一文字ごとの処理が可能となる。
In this way, 5 characters are separated for each block,
Processing for each character can be performed.

第4図(イ)は、図面D上に4文字の「Y」,「N」
が書かれ、相互に接触しているような場合(接触文字
C)である。
FIG. 4 (a) shows four characters “Y” and “N” on drawing D.
Are written and touch each other (contact character C).

イメージ・スキャナ1はこの図面を走査して画像メモ
リ2に第4図(ロ)のように2値画像データを格納す
る。
The image scanner 1 scans this drawing and stores binary image data in the image memory 2 as shown in FIG.

制御部3は画像メモリ2をラスタ走査し、第4図
(ハ)に示すように、この4文字の接触文字Cを1個の
連結図形と判断し、その外接長方形M2を求める。
The control unit 3 raster scans the image memory 2, determines the four contact characters C as one connected figure, and obtains a circumscribed rectangle M2 as shown in FIG.

ここで、外接長方形M1の辺について、▲▼>
(1+β)H、または▲▼>(1+α)Vであ
るので、次の処理をする。
Here, regarding the sides of the circumscribed rectangle M1, ▲ ▼>
Since (1 + β) H or ▼ >> (1 + α) V, the following processing is performed.

外接長方形M2の各頂点Q5,Q6,Q7,Q8について、図面D
における対応座標位置を求めると、頂点Q5はブロックB
4,Q6はブロックB5,Q7はブロックB6,Q8はブロックB7に含
まれることが判明し、外接長方形M2はブロックB4,B5,B
6,B7にまたがることが分かる。
Drawing D for each vertex Q5, Q6, Q7, Q8 of the circumscribed rectangle M2
When the corresponding coordinate position in is obtained, vertex Q5 is in block B
4, Q6 is found to be included in block B5, Q7 is included in block B6, Q8 is included in block B7, and circumscribed rectangle M2 is included in blocks B4, B5, B
You can see that it spans 6, B7.

次に、図面D上でブロックB4,B5,B6,B7を相互に区分
する内側罫線F3=(▲▼),F4(=▲
▼),F5(=▲▼),F6(=▲
▼)を求める。これに対応して画像メモリ2上
に画素値“0"の線分G3,G4,G5,G6を引く。
Next, on the drawing D, the inner ruled lines F3 = (▲), F4 (= ▲) for dividing the blocks B4, B5, B6, B7 from each other.
▼), F5 (= ▲ ▼), F6 (= ▲
▼). Correspondingly, the line segments G3, G4, G5, G6 of the pixel value "0" are drawn on the image memory 2.

これにより、第4図(ニ)に示すように、ブロックB
4,B5,B6,B7にまたがる接触文字Cは線分G3,G4,G5,G6に
よって文字C1(Y),C2(N),C3(Y),C4(Y)のよ
うに各ブロック毎に切り離される。
As a result, as shown in FIG.
4, the contact character C spanning B5, B6, and B7 is represented by line segments G3, G4, G5, and G6 for each block as characters C1 (Y), C2 (N), C3 (Y), and C4 (Y). Be separated.

以上のようにして、繰り返し図形、接触文字等を各ブ
ロックに切り離すことができる。
As described above, a repeated figure, a contact character, and the like can be separated into each block.

<発明の効果> 本発明の図面読取処理方法は、画像メモリに格納され
た定型フォーマット図面情報から連結図形を抽出し、そ
の外接長方形の大きさが予め指定された値より大きい場
合にのみ、その外接長方形がまたがる図面上の複数ブロ
ックを決定し、その複数ブロックを区分する内側罫線に
対応して画像メモリ上に仮想的な罫線を引くことによ
り、該当の連結図形をブロック毎に切り離すので、以下
の効果を得る。
<Effect of the Invention> The drawing reading processing method of the present invention extracts a connected graphic from the fixed format drawing information stored in the image memory, and only extracts the connected graphic if its circumscribed rectangle is larger than a predetermined value. By determining a plurality of blocks on the drawing over which the circumscribed rectangle straddles and drawing virtual rule lines on the image memory corresponding to the inner rule lines dividing the plurality of blocks, the corresponding connected figure is separated for each block. To get the effect.

繰り返し図形記号、接触文字について切り離しを行
った場合でも、隣のブロックの文字記号と接触せずにブ
ロックを少しはみだしたような文字記号については切り
離しが行われないため、この文字記号を1つの文字記号
として抽出できる。従って不必要に認識不能、誤認識が
発生することはない。
Even if repeated graphic symbols and contact characters are separated, character symbols that slightly protrude from the block without touching the character symbol of the next block are not separated. Can be extracted as a symbol. Therefore, unnecessary recognition and erroneous recognition do not occur.

繰り返し図形記号、接触文字がない場合には切り離
しが行われないため、無駄な処理工程が省かれる。
If there are no repetitive graphic symbols or contact characters, no separation is performed, and thus unnecessary processing steps are omitted.

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

第1図は本発明の図面読取処理方法を実現する装置の構
成ブロック図、第2図は本発明の図面読取処理方法を表
わすフローチャート、第3図(イ)〜(ニ)は図面上の
繰り返し図形記号について本発明方法が適用されたとき
の概念図、第4図(イ)〜(ニ)は図面上の接触文字に
ついて本発明方法が適用されたときの概念図、第5図は
本発明方法が対象とする定型フォーマット図面の一例、
第6図は従来の図面読取処理方法の問題を説明するため
の図である。 1……イメージ・スキャナ、2……画像メモリ、3……
制御部、D……定型フォーマット図面。
FIG. 1 is a block diagram showing the configuration of an apparatus for realizing a drawing reading processing method of the present invention, FIG. 2 is a flowchart showing the drawing reading processing method of the present invention, and FIGS. FIGS. 4 (a) to 4 (d) are conceptual diagrams when the method of the present invention is applied to contact characters on the drawings, and FIG. 5 is a conceptual diagram when the method of the present invention is applied to graphic symbols. An example of a fixed format drawing targeted by the method,
FIG. 6 is a diagram for explaining a problem of the conventional drawing reading processing method. 1 ... Image scanner, 2 ... Image memory, 3 ...
Control unit, D ... fixed format drawing.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】罫線によってブロックに分割され各ブロッ
クに文字、記号が記入された定型フォーマット図面を走
査するイメージ・スキャナと、得られた2値画像データ
を格納する画像メモリと、全体を制御する制御部とを有
し、この制御部に設定される図面読取処理方法におい
て、 (イ)前記画像メモリをラスタ走査して連結図形を抽出
する手順と、 (ロ)抽出した連結図形に外接長方形を設定してその位
置及び大きさを求めてこの外接長方形の大きさを予め設
定した値と比較する手順と、 (ハ)手順(ロ)で前記外接長方形が大きい場合はこの
外接長方形の各頂点の座標を前記図面上の座標値に変換
する座標変換手順と、 (ニ)得られた座標値が前記図面中のどのブロックに含
まれるか判定して前記外接長方形がまたがる複数ブロッ
クを決定する手順と、 (ホ)前記図面上で手順(ニ)で決定した複数ブロック
を相互に分割する内側罫線を求めるとともに前記画像メ
モリ上にこの内側罫線に対応して画素値“0"の線分を引
く手順と を実行して前記連結図形をブロック毎に切り離すことを
特徴とする図面読取処理方法。
An image scanner for scanning a fixed-format drawing in which characters and symbols are written in blocks divided by ruled lines, an image memory for storing obtained binary image data, and an overall control. A drawing reading processing method set in the control unit, wherein: (a) a procedure for raster-scanning the image memory to extract a connected figure; and (b) a circumscribed rectangle for the extracted connected figure. (C) determining the position and size of the circumscribed rectangle and comparing the size of the circumscribed rectangle with a preset value; A coordinate conversion procedure for converting coordinates into coordinate values on the drawing; and (d) determining which block in the drawing contains the obtained coordinate values to determine a plurality of blocks over which the circumscribed rectangle extends. (E) determining, on the drawing, an inner ruled line that divides the plurality of blocks determined in step (d) from each other, and a line having a pixel value “0” in the image memory corresponding to the inner ruled line; A drawing reading method, comprising: executing the steps of: (a) and (b) to separate the connected figure into blocks.
JP63331002A 1988-12-28 1988-12-28 Drawing reading processing method Expired - Lifetime JP2626011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63331002A JP2626011B2 (en) 1988-12-28 1988-12-28 Drawing reading processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63331002A JP2626011B2 (en) 1988-12-28 1988-12-28 Drawing reading processing method

Publications (2)

Publication Number Publication Date
JPH02176973A JPH02176973A (en) 1990-07-10
JP2626011B2 true JP2626011B2 (en) 1997-07-02

Family

ID=18238733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63331002A Expired - Lifetime JP2626011B2 (en) 1988-12-28 1988-12-28 Drawing reading processing method

Country Status (1)

Country Link
JP (1) JP2626011B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5248074B2 (en) * 2007-09-28 2013-07-31 株式会社河合楽器製作所 Music score recognition apparatus, music score recognition method, and computer program
CN102402630A (en) * 2010-09-10 2012-04-04 北京华大九天软件有限公司 Method for identifying graphic connection relationship between units in hierarchical layout verification

Also Published As

Publication number Publication date
JPH02176973A (en) 1990-07-10

Similar Documents

Publication Publication Date Title
US4750209A (en) System for processing an image having both letter and photographic information
JP4065460B2 (en) Image processing method and apparatus
JP3696920B2 (en) Document storage apparatus and method
JP3727974B2 (en) Image processing apparatus and method
JPH04104324A (en) Program generating device
EP1017011A2 (en) Block selection of table features
JP2626011B2 (en) Drawing reading processing method
Kitchings et al. Analysis of scand braille documents
JP2890306B2 (en) Table space separation apparatus and table space separation method
JPS63304387A (en) Document reader
JP4087911B2 (en) Ruled line creation device and ruled line creation method
JPS62121589A (en) Character segmenting system
KR950004219B1 (en) Method and apparatus for font storage
JP2937607B2 (en) Layout creation device
JP2762476B2 (en) Copy-writing device
JPH08297718A (en) Character segmentation device and character recognition device
JPH09134404A (en) Bar graph recognizing device
JP2561931B2 (en) Dot character pattern vectorization method
JP2582611B2 (en) How to create a multi-font dictionary
JPH0560876B2 (en)
JPH0728934A (en) Document image processor
JPS61267126A (en) Plotter controller
JPS60150189A (en) Pattern reading system
JP2721415B2 (en) Character image extraction method
JPS6069729A (en) Document processing system for handwritten character