JPH02176973A - Drawing read processing method - Google Patents

Drawing read processing method

Info

Publication number
JPH02176973A
JPH02176973A JP63331002A JP33100288A JPH02176973A JP H02176973 A JPH02176973 A JP H02176973A JP 63331002 A JP63331002 A JP 63331002A JP 33100288 A JP33100288 A JP 33100288A JP H02176973 A JPH02176973 A JP H02176973A
Authority
JP
Japan
Prior art keywords
blocks
image memory
circumscribed rectangle
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.)
Granted
Application number
JP63331002A
Other languages
Japanese (ja)
Other versions
JP2626011B2 (en
Inventor
Naoki Sano
直樹 佐野
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

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

Abstract

PURPOSE:To improve the disconnection processing of graphic symbols and contact characters by dividing a connection figure into plural blocks according to the size of its circumscribed rectangle, drawing inside ruled lines sectioning the blocks, and extracting characters and symbols included in the connection figure. CONSTITUTION:A fixed format drawing D is scanned by an image scanner 1 and the read drawing information is stored in an image memory 2 as a binary- coded image signal. A control part 3 checks the size of the circumscribed rectangle of the connection figure on an image memory, detects blocks wherein the vertexes are on the drawing when the size is larger then a prescribed value to detect the blocks that the circumscribed rectangle touches, and draws the inside ruled lines with the picture element value '0' so as to section the blocks, thereby performing the disconnection processing of the blocks of the connection figure. Consequently, the graphic symbols and contact characters drawn on the fixed format drawing where the ruled lines, etc., are printed in dropout color are disconnected efficiently by the blocks.

Description

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

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

上記した読み取り対象とする定型フォーマット図面の一
例を第5図に表わす。
An example of the standard format drawing to be read as described above is shown in FIG.

この定型フォーマット図面りは、罫線F、印刷文字「シ
ンボル」、「ルール」がドロップアウト・カラー(図面
読取装置内のイメージ・スキャナで無視される色)で印
刷され、罫1fflFによってブロックBに分割されて
いる。
This standard format drawing has ruled lines F, printed characters "symbols" and "rules" printed in dropout colors (colors ignored by the image scanner in the drawing reading device), and is divided into blocks B by ruled lines 1fflF. has been done.

例えば、このような図面りに手書きで、ルール柵のブロ
ック内に’YJ+  rNJの文字を記入する場合を想
定する。
For example, assume that the characters 'YJ+rNJ are written by hand on such a drawing in the blocks of the rule fence.

図面記入者は記入の手間を省くために、文字「Y」が横
方向に5文字続くような時は繰り返し記号として横線“
= (L)を用いる、または文字rpJJが縦方向に4
文字続くような時は繰り返し記号として縦線″1  (
し)を用いることがある。また、上下左右にある記号ど
うしが接触(接触文字C)することもある。
In order to save the time and effort of filling in the drawings, when the letter "Y" continues for five characters horizontally, a horizontal line "" is used as a repetition symbol.
= (L) or the letters rpJJ are 4 vertically
When characters continue, use a vertical line ``1 (
) may be used. In addition, symbols on the top, bottom, left, and right may touch each other (contact character C).

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

従来の連結図形の切り離し方法は、該当図面をイメージ
入力し、その2値画像データを画像メモリに格納した後
、この画像メモリ上に図面上の罫線に対応させて仮想的
な罫線を画素値“0″で引き、画像メモリをブロック毎
に格子状に分割して、連結図形を切り離す方法であった
。ここで、画像メモリ上で画素値“1パは図形部分、画
素値“0”は背景部分である。
The conventional method for separating connected figures is to input the relevant drawing as an image, store the binary image data in an image memory, and then set virtual ruled lines on the image memory with pixel values corresponding to the ruled lines on the drawing. 0'', the image memory is divided into blocks in a grid pattern, and connected figures are separated. Here, on the image memory, a pixel value of "1" indicates a graphic part, and a pixel value of "0" indicates a background part.

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

即ち、第6図(a)、(b)に示すように、図面上の罫
線F(実線)に対応して画像メモリ上にも仮想的な罫線
G(点線)を引くために、■ 1文字(または記号)’
YJ 、rN」を記入する際にブロックを少しはみだし
た場合、不必要に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 is drawn. (or symbol)'
If you slightly overflow the block when writing "YJ, rN", the characters will be unnecessarily separated as two characters, causing unrecognizability or erroneous recognition during the recognition process.■ This process of drawing the virtual ruled line G is repeated. If there is no graphic symbol (such as L), it will be a wasteful processing step.

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

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

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

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

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

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

制御部3は、マイクロプロセッサ等で構成されて全体の
制御を行うとともに、画像メモリ2をラスタ走査し、連
結図形を抽出する処理、画像メモリ2上の座標点と図面
り上の座標点とを1対1に対応させる座標変換処理、画
像メモリ2に対する線分発生処理等の本発明方法を実行
する部分である。
The control unit 3 is composed of a microprocessor, etc., and performs overall control, and also performs raster scanning of the image memory 2, extracts connected figures, and coordinates points on the image memory 2 and coordinate points on the drawing. This is the part that executes the method of the present invention, such as coordinate transformation processing for one-to-one correspondence and line segment generation processing for the image memory 2.

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

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

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

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

11部3の起動により、イメージ・スキャナ1は手書き
記入された定型フォーマット図面りを読み取り、図面情
報として2値画像データを画像メモリ2に格納する。
When the 11 section 3 is activated, the image scanner 1 reads a handwritten standard format drawing 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 connected figures such as characters, symbols, repeated graphic symbols (vertical lines, horizontal lines, etc.), touching characters, and the like.

連結図形を抽出した場合は当該連結図形に外接長方形を
設定し、その位置及び大きさを算出する。
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 this circumscribed rectangle is larger than a preset value.

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

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

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

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

図面り上でこれらの複数ブロックを相互に区分する内側
の罫線を求める。罫線の本数はく複数ブロックの数−1
)である。
Inner ruled lines that mutually separate these multiple blocks are determined on the drawing. Number of ruled lines multiplied by number of blocks - 1
).

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

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

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

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

さて、以上のフローチャートに従って実際に図面を読取
り処理する場合の概念を第3図(イ)〜(ニ)及び第4
図〈イ)〜(ニ)を用いて説明する。
Now, the concept of actually reading and processing drawings according to the above flowchart is explained in Figures 3 (a) to (d) and 4.
This will be explained using Figures (A) to (D).

第3図(イ)は、図面り上に文字「Y」が横方向に5文
字続く場合であり、両端ブロックを除いて繰り返し記号
横線″L″が記入されている例である。
FIG. 3(a) is an example in which five letters "Y" continue horizontally on the drawing, and a repeat symbol horizontal line "L" is written except for the blocks at both ends.

イメージ・スキャナ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 (b).

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

外接長方形M1の各頂点Ql、Q2.Q3.Q4につい
て、図面りにおける対応座標位置を求めると、頂点Ql
、Q2はブロックBl、頂点Q3゜G4はブロックB3
に含まれることが判明し、外接長方形M1はブロックB
l、B2.B3にまたがることが分かる。
Each vertex Ql, Q2 of the circumscribed rectangle M1. Q3. Regarding Q4, when finding the corresponding coordinate position in the drawing, the vertex Ql
, Q2 is block Bl, vertex Q3°G4 is block B3
It turns out that the circumscribed rectangle M1 is included in the block B
l, B2. It can be seen that it spans B3.

次に、図面り上でブロックBl、B2.B3を相互に区
分する内側罫線Pi (=P3P4)、F2 (=P5
P6)を求める。これに対応して画像メモリ2上に画素
値“0”の線分Gl、G2を引く。
Next, block Bl, B2 . Inner ruled lines Pi (=P3P4), F2 (=P5
P6) is found. Correspondingly, line segments Gl and G2 of pixel value "0" are drawn on the image memory 2.

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

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

このようにして、ブロック毎に5文字が切り離され、−
文字ごとの処理が可能となる。
In this way, 5 characters are separated for each block, -
It becomes possible to process each character.

第4図(イ)は、図面り上に4文字の「Y」。Figure 4 (a) shows four letters "Y" on the drawing.

「N」が書かれ、相互に接触しているような場合(接触
文字C)である。
This is a case where "N" is written and they touch each other (contacting letters 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. 4(b).

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

ここで、外接長方形M2の辺について、1丁て8〉(1
+β)F5またはQ5Q6> (1+a)■であるので
、次の処理をする。
Here, each side of the circumscribed rectangle M2 is 8〉(1
+β)F5 or Q5Q6> (1+a)■, so the following process is performed.

外接長方形M2の各頂点Q5.Q6.Q7.Q8につい
て、図面りにおける対応座標位置を求めると、頂点Q5
はブロックB4.Q6はブロックB5.G7はブロック
B6.Q8はブロックB7に含まれることが判明し、外
接長方形M2はブロックB4.B5.B6,87にまた
がることが分かる。
Each vertex Q5 of the circumscribed rectangle M2. Q6. Q7. Regarding Q8, when finding the corresponding coordinate position in the drawing, the vertex Q5
is block B4. Q6 is block B5. G7 is block B6. It turns out that Q8 is included in block B7, and the circumscribed rectangle M2 is included in block B4. B5. It can be seen that it spans B6 and 87.

次に、図面り上でブロックB4.B5.B6゜B7を相
互に区分する内側罫線F3 (=P11P12)F4 
(=P10P12) 、 F5 (=P12P16) 
、 F6 (=P12P14)を求める。これに対応し
て画像メモリ2上に画素値“0”の線分G3.G4.G
5、G6を引く。
Next, block B4. B5. B6゜Inner ruled line F3 (=P11P12) F4 that separates B7 from each other
(=P10P12), F5 (=P12P16)
, F6 (=P12P14) is calculated. Correspondingly, a line segment G3. with a pixel value of "0" is displayed on the image memory 2. G4. G
5. Pull G6.

これにより、第4図(ニ)に示すように、ブロックB4
.B5.B6.B7にまたがる接触文字Cは線分G3.
G4.G5.G6によって文字C1(Y)、C2(N)
、C3(Y)、C4(Y)のように各ブロック毎に切り
離される。
As a result, as shown in FIG. 4(d), block B4
.. B5. B6. The touching character C that spans B7 is the line segment G3.
G4. G5. Letters C1 (Y), C2 (N) by G6
, C3(Y), and C4(Y).

以上のようにして、繰り返し図形、接触文字等を各ブロ
ックに切り離すことができる。
In the above manner, repeating figures, touching characters, etc. can be separated into blocks.

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

■ 繰り返し図形記号、接触文字について切り離しを行
った場合でも、隣のブロックの文字記号と接触せずにブ
ロックを少しはみだしたような文字記号については切り
離しが行われないため、この文字記号を1つの文字記号
として抽出できる。
■ Even if repeating graphic symbols and touching characters are separated, character symbols that do not touch the adjacent block's character symbol and extend a little beyond the block will not be separated, so this character symbol cannot be separated into one character symbol. Can be extracted as a character symbol.

従って不必要に認識不能、誤認識が発生することはない
Therefore, unrecognizability and erroneous recognition will not occur unnecessarily.

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

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

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

Claims (1)

【特許請求の範囲】[Claims] (1)罫線によってブロックに分割され各ブロックに文
字、記号が記入された定型フォーマット図面を走査する
イメージ・スキャナと、得られた2値画像データを格納
する画像メモリと、全体を制御する制御部とを有し、こ
の制御部に設定される図面読取処理方法において、 (イ)前記画像メモリをラスタ走査して連結図形を抽出
する手順と、 (ロ)抽出した連結図形に外接長方形を設定してその位
置及び大きさを求めてこの外接長方形の大きさを予め設
定した値と比較する手順と、 (ハ)手順(ロ)で前記外接長方形が大きい場合はこの
外接長方形の各頂点の座標を前記図面上の座標値に変換
する座標変換手順と、 (ニ)得られた座標値が前記図面中のどのブロックに含
まれるか判定して前記外接長方形がまたがる複数ブロッ
クを決定する手順と、 (ホ)前記図面上で手順(ニ)で決定した複数ブロック
を相互に分割する内側罫線を求めるとともに前記画像メ
モリ上にこの内側罫線に対応して画素値“0”の線分を
引く手順と を実行して前記連結図形をブロック毎に切り離すことを
特徴とする図面読取処理方法。
(1) An image scanner that scans a standard format drawing divided into blocks by ruled lines and characters and symbols written in each block, an image memory that stores the obtained binary image data, and a control unit that controls the entire thing. The drawing reading processing method set in this control unit includes (a) a step of raster scanning the image memory to extract connected figures; and (b) setting a circumscribing rectangle to the extracted connected figures. (c) If the circumscribed rectangle is large in step (b), calculate the coordinates of each vertex of this circumscribed rectangle. (d) a step of determining which block in the drawing the obtained coordinate value is included in and determining a plurality of blocks spanned by the circumscribed rectangle; E) A step of determining an inner ruled line that mutually divides the plurality of blocks determined in step (d) on the drawing, and drawing a line segment with a pixel value of "0" on the image memory corresponding to this inner ruled line. A drawing reading processing method characterized in that the connected figures are separated into blocks by executing the drawing processing method.
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 true JPH02176973A (en) 1990-07-10
JP2626011B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009086973A (en) * 2007-09-28 2009-04-23 Kawai Musical Instr Mfg Co Ltd Music score recognition device, 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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009086973A (en) * 2007-09-28 2009-04-23 Kawai Musical Instr Mfg Co Ltd Music score recognition device, 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
JP2626011B2 (en) 1997-07-02

Similar Documents

Publication Publication Date Title
JP3051182B2 (en) Highlight area detection method
KR940006918B1 (en) Method and system for filling contours in digital typefaces
JPH02176973A (en) Drawing read processing method
US5353359A (en) Methods for generating character pattern data and making image
JP2890306B2 (en) Table space separation apparatus and table space separation method
JPH03179873A (en) Picture processing method
JPS63304387A (en) Document reader
JP2762476B2 (en) Copy-writing device
JP3594625B2 (en) Character input device
JP2561931B2 (en) Dot character pattern vectorization method
JP2937607B2 (en) Layout creation device
EP0067236B1 (en) Character and figure isolating and extracting system
JPH04324577A (en) Broken-line graph recognizing device
JPH08297718A (en) Character segmentation device and character recognition device
JPH0658689B2 (en) Line figure separation device
CN114998461A (en) Method for generating and displaying tactile image
JPH02159690A (en) Device for deciding character/pattern area
JPS6327752B2 (en)
JP2890507B2 (en) Separation device for character area and graphic area
JPH0610447Y2 (en) Image processing device
JPH0256679B2 (en)
JPH0276084A (en) Fast character and pattern separating device
JPH0266681A (en) Drawing processor
JPH09147125A (en) Method and device for outline extraction
JPS62290979A (en) Frame line constituting device