JPH0512358A - Drawing input device - Google Patents

Drawing input device

Info

Publication number
JPH0512358A
JPH0512358A JP3193528A JP19352891A JPH0512358A JP H0512358 A JPH0512358 A JP H0512358A JP 3193528 A JP3193528 A JP 3193528A JP 19352891 A JP19352891 A JP 19352891A JP H0512358 A JPH0512358 A JP H0512358A
Authority
JP
Japan
Prior art keywords
processing
data
image data
image
symbol
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
JP3193528A
Other languages
Japanese (ja)
Inventor
Kenichi Kobayashi
健一 小林
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3193528A priority Critical patent/JPH0512358A/en
Publication of JPH0512358A publication Critical patent/JPH0512358A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To input a drawing which contains plural contents differing in representation distinctively according to a symbol form of necessary level corresponding to a way of using after input to a computer. CONSTITUTION:A picture is stored in an image memory through an image scanner 1. Range specification information for specifying a processing area for image data on a display picture 6 and processing specification information for specifying a processing method for image data in the specified area are received, image data in the specification range is segmented 13c from the image memory, and the kind of data is converted to a form specified for the segmented image data and stored in a storage device 10. When plural ranges and plural processes are specified, image data are stored by repeating the image data segmentation and data kind conversion processing and data on respective parts of a drawing after the data kind conversion are outputted having the same arrangement with an inputted original drawing. Consequently, data obtained converting the respective parts of the inputted original drawing to necessary symbol formats are obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、各種の図面内容を計算
機での扱いが容易な符号形式に変換して計算機に入力す
るための図面入力装置に係わり、特に対話的に図面の各
部の範囲と処理識別を指定して、図面各部の内容毎に必
要な符号形式に夫々変換したデータを得る図面入力装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing input device for converting various drawing contents into a code format which can be easily handled by a computer and inputting the same into a computer, and particularly, the range of each part of the drawing in an interactive manner. And a process identification, and a drawing input device for obtaining data converted into a required code format for each content of each drawing.

【0002】[0002]

【従来の技術】施設図面,単線結線図,論理回路図ある
いは地図のように、線を主体にして書かれた図面や線と
シンボル図形で書かれた図面は数多く存在する。近年、
これらの線,図形をベクトルデータのような計算機の取
り扱いが容易な符号形式に変換してデータベースに蓄
え、それをCAD,CAMや施設管理等で、あるいは検
索等に再利用できる資源として管理するシステムの開発
が進められている。これらの線図形データを計算機に入
力するため、従来では、ディジタイザにより対話的に線
図形上の一点一点を指定し、その指定した点の点座標を
連結して線図形データとして入力していた。この方法は
手作業にて極めて多数の点を指定しなければならず、非
常に効率が悪い。
2. Description of the Related Art There are many drawings such as facility drawings, single-line connection diagrams, logic circuit diagrams, and maps, which are mainly composed of lines and which are composed of lines and symbolic figures. recent years,
A system that converts these lines and figures into a code format, such as vector data, that can be easily handled by a computer, stores them in a database, and manages them in CAD, CAM, facility management, etc., or as a resource that can be reused for retrieval, etc. Is being developed. In order to input these line figure data into a computer, conventionally, digitizers interactively specify each point on the line figure, and the point coordinates of the specified points are connected and input as line figure data. It was This method is very inefficient because it requires a large number of points to be manually specified.

【0003】他の方法として、図面を画像入力装置によ
り画像メモリに取り込み、パターン認識技術により自動
的に線図形データを得る方法が考えられる。しかし、1
枚の図面の中がたとえば単線結線図ならば単線結線図だ
けで書かれているものであれば、ていねいに書かれてい
ればかなりの認識率で読み取れるようになってきている
が、表現が違う複数の内容のものが含まれている図面で
あると認識率が低くなり、煩雑な修正作業が必要とな
る。実際問題として既に存在する各種の図面を検討する
に、これらの図面には表現が違う複数の内容(たとえ
ば、所在地の地図と機器配置図と単線結線図と機器仕様
表)が1枚の図面の中に混在している場合が多いため、
これら既存図面の計算機入力が殆んど進んでいない状況
である。
As another method, a method is conceivable in which a drawing is taken into an image memory by an image input device and line figure data is automatically obtained by a pattern recognition technique. But 1
For example, if one of the drawings is a single line connection diagram, if it is written only with a single line connection diagram, if it is written carefully, it can be read with a considerable recognition rate, but the expression is different If the drawing includes a plurality of contents, the recognition rate becomes low, and complicated correction work is required. As a matter of fact, when considering various drawings that already exist as actual problems, a plurality of contents (for example, a map of a location, a device layout diagram, a single line connection diagram, and a device specification table) with different expressions are included in one drawing. Often mixed in,
Computer input of these existing drawings has hardly progressed.

【0004】[0004]

【発明が解決しようとする課題】上記した従来の図面入
力装置は、手動入力によるものでは多大な労力を必要と
し、自動読み取りによるものでは、表現が違う複数の内
容のものが含まれている図面の場合は認識率が低くな
り、煩雑な修正作業が必要となるという問題があった。
本発明は上記問題点を解決するためになされたものであ
り、入力操作が簡単であって、しかも現実に存在する表
現が違う複数の内容のものが含まれている図面を、計算
機に入力した後の利用の仕方に応じた必要なレベルの符
号形式に分けて処理を指定して変換することにより、処
理速度が速く、既存図面に対して認識率の高い図面入力
装置を提供することを目的としている。
The above-mentioned conventional drawing input device requires a great deal of labor in the case of manual input, and in the case of automatic reading, a drawing including a plurality of contents having different expressions is included. In the case of, there was a problem that the recognition rate became low and complicated correction work was required.
The present invention has been made in order to solve the above problems, and inputs a drawing containing a plurality of contents which are easy to input and have different expressions that actually exist to a computer. The purpose of the present invention is to provide a drawing input device that has a high processing speed and a high recognition rate for existing drawings by specifying and converting the processing according to the required level of code format according to the later usage method. I am trying.

【0005】[0005]

【課題を解決するための手段】上記目的を解決するた
め、本発明は表示画面上の画像データに対して対話的に
処理エリアを指定するための範囲指定手段による範囲指
定情報と、指定エリア内の画像データに対する処理方法
を指定するための処理指定手段による処理指定情報を受
け、画像メモリから前記指定範囲の画像データを切り出
す手段と、切り出された画像データに対して指定された
形式にデータの種類を変換処理する手段とにより、画像
データに対応した位置の指定形式変換データとして記憶
し、範囲指定と処理指定が複数個行なわれた場合には、
前記の画像データ切り出しとデータ種類変換処理を繰り
返して記憶し、それらのデータ種類変換後の図面の各部
のデータを入力原図での配置と同じに出力できるように
管理する手段で管理することにより、入力原図の各部を
夫々必要な符号形式に変換したデータとして得られるよ
うにしたものである。 [作用]先ず操作者は、CRTに表示された図面上の目
的とする各分部に対し、処理範囲と処理内容とを指定す
る。この場合、記憶装置内には図面の符号化に対して基
本となる6つの処理内容が格納されている。即ち、ベ
クトル化、表の中の文字を認識する処理、任意位置
にある文字の認識、シンボル図形と線分の認識、シ
ンボル図形と線分の接続認識、シンボル図形,線分と
文字との対応付け、がある。したがって図面入力に際し
ては、必要な処理を選択すれば、例えばベクトル処理だ
けでよければ“ベクトル化”を選択すれば、画像データ
のままでよい部分は特に変換処理を行なわず、また、指
定された部分は範囲が限られ、かつ、一律に変換処理を
する場合のように常に最も難しいレベルを使って処理す
るのとは異なり、各々必要なレベルの処理だけを使えば
よいため、処理を迅速に行なうことができる。
In order to solve the above-mentioned problems, the present invention provides range designation information by a range designation means for interactively designating a processing area for image data on a display screen, and within the designated area. Receiving the processing designation information by the processing designation means for designating the processing method for the image data, the means for cutting out the image data in the designated range from the image memory, and the data in the format designated for the clipped image data. By means of the type conversion processing means, it is stored as specified format conversion data of the position corresponding to the image data, and when a plurality of ranges and processing are specified,
By repeatedly storing the image data cutout and the data type conversion process, and managing the data of each part of the drawing after the data type conversion by the management means so that the data can be output in the same manner as the arrangement in the input original drawing, Each part of the input original image is obtained as data converted into a required code format. [Operation] First, the operator designates a processing range and processing contents for each target division on the drawing displayed on the CRT. In this case, the storage device stores six processing contents that are basic to the encoding of the drawing. That is, vectorization, processing for recognizing characters in a table, recognition of characters at arbitrary positions, recognition of symbol graphics and line segments, connection recognition of symbol graphics and line segments, symbol graphics, correspondence between line graphics and characters There is. Therefore, when inputting a drawing, if the required processing is selected, for example, if only vector processing is required and “vectorization” is selected, the conversion processing is not performed on the portion that may be the image data and the designated processing is performed. The part has a limited range, and unlike the case where processing is always performed using the most difficult level as in the case of uniform conversion processing, only the necessary level of processing needs to be used, so processing can be performed quickly. Can be done.

【0006】[0006]

【実施例】以下図面を参照して実施例を説明する。図1
は本発明による図面入力装置の一実施例の機能構成図で
ある。図1において、1はイメージスキャナで図面上に
ある絵・文字等を読みとり、画像メモリ2へ画像データ
として書き込む。即ち、イメージスキャナ1は図面の絵
・文字を光電変換にて読みとり、背景を「0」,線分を
「1」とする2値データとして取り込む。この2値デー
タはスキャナインタフェース3を介し、更にメモリコン
トローラ4により画像データとして画像メモリ2へ格納
される。この画像メモリへ格納された画像データは、メ
モリコントローラ4を経てCRTコントローラ5によっ
てCRT6にx−y座標を有する2次元の広がりをもっ
た入力図面と同様の画像として表示される。
Embodiments will be described below with reference to the drawings. Figure 1
FIG. 1 is a functional configuration diagram of an embodiment of a drawing input device according to the present invention. In FIG. 1, reference numeral 1 is an image scanner which reads pictures, characters and the like on the drawing and writes them in the image memory 2 as image data. That is, the image scanner 1 reads a picture / character in a drawing by photoelectric conversion and takes in binary data having a background of "0" and a line segment of "1". This binary data is stored in the image memory 2 as image data by the memory controller 4 via the scanner interface 3. The image data stored in the image memory is displayed by the CRT controller 5 via the memory controller 4 on the CRT 6 as an image similar to an input drawing having a two-dimensional spread having xy coordinates.

【0007】位置指定手段としてのポインティングデバ
イス7(ここではマウスとする)は、操作者がCRT6
上に表示されたメニューを選択することにより、図面の
入力指示その他のコマンド入力を行なったり、CRT6
に表示された図面画像上の位置の指示を行なうためのも
のである。マウス7のボタン8が押下されることで、図
に示す表示画面上のカーソル位置のx−y座標を、マウ
スインタフェース9で発生する。このz−y座標をもと
にして、それに対応する画像メモリ2の値がメモリコン
トローラ4を介して読み出され、制御プロセッセ13に与
えられる。
The pointing device 7 (here, a mouse) as a position designation means is operated by the operator on the CRT 6
By selecting the menu displayed above, you can enter the drawing input instruction and other commands, or use the CRT6.
This is for instructing the position on the drawing image displayed in FIG. When the button 8 of the mouse 7 is pressed, the xy coordinates of the cursor position on the display screen shown in the figure are generated by the mouse interface 9. Based on this zy coordinate, the corresponding value in the image memory 2 is read out via the memory controller 4 and given to the control processor 13.

【0008】制御プロセッサ13は、マウス及びマウスイ
ンタフェース9を介して入力される操作者のコマンドに
従って、装置全体の制御と、図面の絵・文字の画像デー
タの抽出及び画像データの符号化(たとえばベクトル化
やシンボル図形認識)を行ない、符号化データを主記憶
装置10に格納するためのものである。主記憶装置10に格
納された符号化データ及び符号化を必要としなかった残
りの画像データは、磁気ディスク12に蓄積されたり、あ
いるは他の計算機に転送される。
The control processor 13 controls the entire apparatus, extracts image data of pictures / characters in the drawing, and encodes the image data (for example, vector data) according to an operator's command input via the mouse and the mouse interface 9. For storing the encoded data in the main storage device 10. The encoded data stored in the main storage device 10 and the remaining image data that does not require encoding are accumulated in the magnetic disk 12 or transferred to another computer.

【0009】図3は画像メモリ2の内容を示す図であ
る。同図において、原画用メモリ21はイメージスキャナ
1により読み取られた図面の絵・文字の画像を保存する
ためのもので、この画像の内容はCRT6によって表示
される。原画コピー用メモリ22は原画用メモリ21の画像
データをコピーしたものをまず格納し、その後の処理で
この中から各部分の画像データが切り出されると、その
切り出された部分の画像データは削除されていくための
メモリである。削除された結果、最終的にこのメモリに
残った画像データが画像データのままでよい内容として
取り出せるメモリである。第1及び第2の作業用メモリ
23,24は符号化データを抽出するための作業領域として
用いられる。符号化データ表示用メモリ25は、抽出され
た符号化データを表示用データに処理して格納するため
のものである。
FIG. 3 is a diagram showing the contents of the image memory 2. In the figure, an original image memory 21 is for storing an image of a picture / character of the drawing read by the image scanner 1, and the content of this image is displayed by the CRT 6. The original image copy memory 22 stores a copy of the image data of the original image memory 21 first, and when the image data of each part is cut out from this in the subsequent processing, the image data of the cut out part is deleted. It is a memory for saving. This is a memory in which the image data finally left in this memory as a result of being deleted can be taken out as the contents of the image data. First and second working memory
23 and 24 are used as work areas for extracting encoded data. The encoded data display memory 25 is for processing the extracted encoded data into display data and storing the processed display data.

【0010】図4は制御プロセッサ13によって実行され
る処理の流れを示している。制御プロセッサ13はマウス
7のメニュー選択に従った処理を行なう。メニューとし
てステップ32で“画像入力”が選択されると、イメージ
スキャナ1により読み取られた図面上の絵・文字を画像
データとして画像メモリ2に格納し(ステップ33)、そ
れを直ちにCRT6に表示する(ステップ34)。一方、
メニューとしてステップ35で“範囲指定”が選択される
と、操作者がCRT6上の図面表示画面より、図面上の
必要な処理エリアを指定するために、多角形の各頂点を
つながりの順に指定した複数の点のx−y座標を読み込
み、そのx−y座標列を主記憶装置10に登録する(ステ
ップ36)。
FIG. 4 shows a flow of processing executed by the control processor 13. The control processor 13 performs processing according to the menu selection of the mouse 7. When "input image" is selected as the menu in step 32, the picture / character on the drawing read by the image scanner 1 is stored in the image memory 2 as image data (step 33) and immediately displayed on the CRT 6. (Step 34). on the other hand,
When "range designation" is selected in step 35 as the menu, the operator designates each vertex of the polygon in the order of connection on the drawing display screen on the CRT 6 in order to designate a necessary processing area on the drawing. The xy coordinates of a plurality of points are read and the xy coordinate string is registered in the main storage device 10 (step 36).

【0011】更に、メニューとしてステップ37で“処理
指定”が選択されると、CRT6上に処理内容を選択す
るための項目表が表示され、操作者がその表示画面より
要求項目欄を指定すると、その指定点のx−y座標が制
御プロセッサ13に入力され、制御プロセッサ13がそのx
−y座標より要求内容を判定し(ステップ38)、処理範
囲指定のx−y座標列と処理内容データは組にして、外
部の磁気ディスク12へディスクコントローラ11を経て格
納される(ステップ39)。操作者の指定操作の繰り返し
により、組になった処理範囲指定のx−y座標列と処理
内容データが複数組磁気ディスク12に格納される(ステ
ップ35〜ステップ39)。
Further, when "Processing designation" is selected in step 37 as a menu, an item list for selecting the processing contents is displayed on the CRT 6, and when the operator designates a required item column on the display screen, The xy coordinates of the designated point are input to the control processor 13, and the control processor 13 outputs the x-y coordinate.
The content of the request is judged from the -y coordinates (step 38), and the xy coordinate sequence for specifying the processing range and the processing content data are stored as a set in the external magnetic disk 12 via the disk controller 11 (step 39). .. By repeating the designation operation by the operator, a set of xy coordinate sequences for designating the processing range and the processing content data are stored in the multiple sets of magnetic disks 12 (steps 35 to 39).

【0012】次に、メニューとしてステップ40で“変換
処理”が選択されると、操作者が指定した組数の分だけ
次の処理を繰り返す。即ち、処理範囲指定のx−y座標
列と処理内容データの組の1つを磁気ディスク12から取
り出し(ステップ42)、処理範囲指定のx−y座標列で
囲まれた範囲内の画像データを原画コピー用メモリ22か
ら切り出し、第1の作業用メモリ23に格納し(ステップ
43)、切り出された画像データに対して指定された符号
化処理を行ない(ステップ44)、その符号化データが元
の図面のどこに位置するかを示すデータを有する内容で
符号化結果を主記憶装置10に登録する(ステップ45)こ
とを繰り返す。
Next, when "conversion process" is selected in step 40 as the menu, the next process is repeated by the number of sets designated by the operator. That is, one of the set of the xy coordinate sequence for specifying the processing range and the processing content data is taken out from the magnetic disk 12 (step 42), and the image data within the range surrounded by the xy coordinate sequence for specifying the processing range is displayed. It is cut out from the original image copy memory 22 and stored in the first work memory 23 (step
43), the specified encoding process is performed on the clipped image data (step 44), and the encoding result is stored in the main memory with the data having the data indicating where the encoded data is located in the original drawing. Registering in the device 10 (step 45) is repeated.

【0013】操作者が指定した組数分だけの処理を終了
すると、その旨をメッセージ表示等で知らせるととも
に、主記憶装置10に登録された全ての符号化データを表
示用データに処理して符号化データ表示用メモリ25に格
納し、原画用メモリ21に格納された原画の画像データと
ともにCRT6に表示する(ステップ46)。操作者が予
定していた部分の画像データに対して符号化処理が終了
したことを確認し、メニューとしてステップ47で“図面
入力処理終了”が選択されると、主記憶装置10に登録さ
れた符号化データと原画コピー用メモリ22に最終的に残
った画像データとを組にして、図面入力処理が完了した
図面データとして磁気ディスク12に格納する。
When the processing for the number of sets designated by the operator is completed, a message display or the like notifies that fact, and all encoded data registered in the main storage device 10 is processed into display data and encoded. The image data is stored in the encoded data display memory 25 and is displayed on the CRT 6 together with the image data of the original image stored in the original image memory 21 (step 46). When it is confirmed that the encoding process has been completed for the image data of the portion planned by the operator, and "End drawing input process" is selected in step 47 as a menu, the data is registered in the main storage device 10. The encoded data and the image data finally remaining in the original image copy memory 22 are paired and stored in the magnetic disk 12 as drawing data for which drawing input processing has been completed.

【0014】次に、図5を参照して図4のステップ44に
示した符号化処理の例を説明する。図面に対する符号化
処理は、基本的には、線図形(文字を含む場合もあ
る)のベクトル化(長短各種の線分(ベクトルデータ)
の集まりで表現できるようにする)、シンボル図形・
線分の認識、文字の認識、であり、前記の種類の認
識やシンボル図形と線分との接続関係の認識があり、前
記では文字が表の中に書かれている場合と任意の場所
に書かれている場合とがあり、認識処理には差がある。
表現が違う複数の内容のものが含まれている図面に対し
て、各部分について前記のいずれか単独あるいは
組み合わせでの処理を指定するが、その符号化処理は次
のように行なう。
Next, an example of the encoding process shown in step 44 of FIG. 4 will be described with reference to FIG. Basically, the encoding process for drawings is the vectorization of line figures (which may include characters) (various long and short line segments (vector data)).
So that it can be represented by a collection of
There are line segment recognition and character recognition, and there is recognition of the types described above and recognition of the connection relationship between symbolic figures and line segments.In the above, when characters are written in a table and in any place. Sometimes it is written, and there is a difference in recognition processing.
For a drawing including a plurality of contents having different expressions, any one of the above processes is designated alone or in combination, and the encoding process is performed as follows.

【0015】メニューの例としてステップ51では、“ベ
クトル化”,“ベクトル化と文字認識”,“表形式の中
の文字の認識”,“シンボル図形と線分の認識”,”シ
ンボル図形と線分と文字の認識”,“シンボル図形と線
分の認識及び図形と線分の接続認識”,“シンボル図形
と線分と文字の認識及び図形と線分の接続認識”の中か
ら選択する。ここで図5に示す〜の各処理につい
て、図6〜図11で説明する。
As an example of the menu, in step 51, "vectorization", "vectorization and character recognition", "recognition of characters in tabular form", "recognition of symbol graphic and line segment", "symbol graphic and line". Min. And character recognition "," symbol figure and line segment recognition and graphic and line segment connection recognition "," symbol figure and line segment and character recognition and graphic and line segment connection recognition ". Here, each of the processes shown in FIG. 5 through FIG. 5 will be described with reference to FIGS.

【0016】はベクトル化だけの時の処理で、先ず切
り出された画像データに対して最左上の黒点を見つけて
そこから輪郭追跡を行ない、連結図形を夫々検出する
(ステップ71)。次に、連結図形毎に画像の細線化を行
ない(ステップ72)、更に細線化線分を追跡することに
よって検出される屈折点毎のところで線分を区切り、各
線分についてベクトルデータとしてのx−y座標値を作
成する(ステップ73)。
In the processing for vectorization only, the upper left black point is first found in the cut out image data, contour tracing is performed from there, and connected figures are respectively detected (step 71). Next, the image is thinned for each connected figure (step 72), and the line segment is divided at each inflection point detected by tracing the thinned line segment, and x- A y-coordinate value is created (step 73).

【0017】は表の中の文字を認識する処理で、先ず
表の罫線で囲まれる閉ループを検出し(ステップ81)、
この閉ループの中の画像データを切り出して(ステップ
82)、そこから1文字毎の画像データを検出することに
より(ステップ83)文字認識する(ステップ84)。
Is a process for recognizing the characters in the table. First, the closed loop surrounded by the ruled lines of the table is detected (step 81),
Cut out the image data in this closed loop (step
82), and character recognition is performed by detecting image data for each character (step 83) therefrom (step 84).

【0018】は任意位置にある文字の認識処理で、先
ず切り出された画像データに対して最左上の黒点を見つ
けてそこから輪郭追跡を行ない、連結図形を夫々検出す
る(ステップ91)。次に、孤立した連結図形のある集ま
りの外接長方形のサイズが所定の範囲にあれば、文字画
像データとして切り出す(ステップ92)。このとき文字
画像データは1文字単位でも、文字列単位でもよい。文
字列単位の場合はそこから更に1文字単位に切り出す。
そして文字認識を行なう(ステップ93)。
In the character recognizing process at an arbitrary position, first, the upper left black point is found in the cut out image data, contour tracing is performed from there, and connected figures are respectively detected (step 91). Next, if the size of the circumscribed rectangle of a set of isolated connected figures is within a predetermined range, it is cut out as character image data (step 92). At this time, the character image data may be in character units or character string units. If it is a character string unit, it is further cut out from that character unit.
Then, character recognition is performed (step 93).

【0019】はシンボル図形と線分の認識処理で、先
ず切り出された画像データに対しての最左上の黒点を見
つけてそこから輪郭追跡を行ない、連結図形を夫々検出
する(ステップ101 )。次に、連結図形毎に画像の細線
化を行ない(ステップ102 )、細線化図形の特徴点を検
出して、特徴点で区切った各線図形(セグメント)を作
成し(ステップ103 )、セグメントを1個以上集めて、
特徴を持ったサブシンボルを作成し(ステップ104 )、
更にサブシンボルを統合してシンボル候補を作って、シ
ンボル辞書に持っているシンボルに関する特徴や構造の
データとシンボル候補のそれとを比較照合してシンボル
を判定する(ステップ105 )。一致しないときはサブシ
ンボルの組み合わせを変えたシンボル候補についてある
回数まで前記処理を繰り返す。そして、シンボルとして
処理されなかったセグメントに対しては線分として処理
する(ステップ106 )。
In the symbol graphic and line segment recognition processing, first, the upper left black point in the cut out image data is found, contour tracing is performed from there, and connected graphics are detected respectively (step 101). Next, the image is thinned for each connected figure (step 102), the feature points of the thinned figure are detected, and each line figure (segment) separated by the feature points is created (step 103), and the segment is set to 1 Collect more than one,
Create a sub-symbol with characteristics (step 104),
Further, the sub-symbols are integrated to create a symbol candidate, and the data of the characteristic or structure of the symbol in the symbol dictionary is compared and collated with that of the symbol candidate to determine the symbol (step 105). If they do not match, the above process is repeated up to a certain number of times for the symbol candidates with different combinations of sub-symbols. Then, the segment not processed as a symbol is processed as a line segment (step 106).

【0020】はシンボル図形と線分の接続認識処理
で、前記ステップ104のセグメント化のときにつけたセ
グメント間の接続関係のデータをもとに、セグメントの
集合として表されるシンボルの中のあるセグメントと線
分との接続を検出して、シンボルと線分の接続データを
作成する(ステップ111 )。
In the symbol pattern and line segment connection recognition processing, a segment in the symbol represented as a set of segments is based on the data of the connection relation between the segments which is provided in the segmentation in step 104. And the connection between the line segment and the line segment are detected, and the connection data of the symbol and the line segment is created (step 111).

【0021】はシンボル図形,線分と文字との対応付
けの処理で、先ず文字の近傍にあるシンボル,線分を検
出し(ステップ121 )、図面の書き方規則を援用してそ
の対応が正しいか否かをチェックし(ステップ122 )、
正しければシンボルまたは線分と文字との対応データと
して作成する(ステップ124 )。正しくなければ別のシ
ンボルまたは線分を捜す。
In the process of associating a symbol figure, a line segment and a character, first, a symbol and a line segment in the vicinity of the character are detected (step 121), and whether the correspondence is correct by referring to the drawing rule of the drawing. Check whether or not (step 122),
If it is correct, it is created as the correspondence data between the symbol or line segment and the character (step 124). If not, look for another symbol or line.

【0022】したがって図5において、“ベクトル化”
を選択したときは、前記のベクトル処理を行なう(ス
テップ52)。“ベクトル化と文字認識”を選択したとき
は、前記の任意位置にある文字の認識処理(ステップ
53)とベクトル処理(ステップ54)を行なう。ここで
とで同じ処理がある場合は前の処理での結果を第2
の作業用メモリ24に残して後の処理で使うことによっ
て、処理時間を短縮できる。“表形式の中の文字の認
識”を選択したときは、前記の表中の文字の認識処理
を行なう(ステップ55)。
Therefore, in FIG. 5, "vectorization" is performed.
If is selected, the vector processing described above is performed (step 52). When "Vectorization and character recognition" is selected, the character recognition process at the above arbitrary position (step
53) and vector processing (step 54). If there is the same processing here and, the result of the previous processing is
The processing time can be shortened by leaving it in the work memory 24 and using it in the subsequent processing. If "recognition of characters in table format" is selected, the characters in the table are recognized (step 55).

【0023】“シンボル図形と線分の認識”を選択した
ときは、前記のシンボル図形と線分の認識処理を行な
う(ステップ56)。“シンボル図形と線分と文字の認
識”を選択したときは、前記の任意位置にある文字の
認識処理(ステップ57)とシンボル図形と線分の認識
処理を行ない(ステップ58)、シンボル,線分と文字と
の対応付けを行なう場合は更に前記のシンボル図形,
線分と文字との対応付け処理を行なう(ステップ60)。
ここでとで同じ処理がある場合は前の処理での結果
を第2の作業用メモリ24に残して、後の処理で使うこと
によって処理時間を短縮できる。
When "recognize symbol graphic and line segment" is selected, the above-mentioned symbol graphic and line segment recognition processing is performed (step 56). When "Recognize symbol figure, line segment and character" is selected, the recognition processing of the character at the arbitrary position (step 57) and the symbol figure and line segment recognition processing are performed (step 58). If the minutes and letters are to be associated,
The line segment and the character are associated with each other (step 60).
If the same process is performed in and, the processing time can be shortened by leaving the result of the previous process in the second work memory 24 and using it in the subsequent process.

【0024】“シンボル図形と線分の認識及び図形と線
分の接続認識”を選択したときは、前記のシンボル図
形と線分の認識処理(ステップ61)とシンボル図形と
線分の接続認識処理を行なう(ステップ62)。“シンボ
ル図形と線分と文字の認識及び図形と線分の接続認識”
を選択したときは、前記の任意位置にある文字の認識
処理(ステップ63)とシンボル図形と線分の認識処理
(ステップ64)とシンボル図形と線分の接続認識処理
を行ない(ステップ65)、シンボル,線分と文字との対
応付けを行なう場合は更に前記のシンボル図形,線分
と文字との対応付け処理を行なう(ステップ67)。ここ
でとで同じ処理がある場合は前の処理での結果を第
2の作業用メモリ24に残して、後の処理で使うことによ
って処理時間を短縮できる。
When "recognize symbol figure and line segment and recognize connection between figure and line segment" is selected, the above-mentioned symbol figure and line segment recognition processing (step 61) and symbol figure and line segment connection recognition processing are performed. (Step 62). "Recognition of symbolic figures, line segments and characters, and recognition of connections between figures and line segments"
When is selected, the character recognition processing (step 63), the symbol graphic and line segment recognition processing (step 64), and the symbol graphic and line segment connection recognition processing are performed (step 65). When the symbols, line segments and characters are associated with each other, the symbol graphic, line segments and characters are associated with each other (step 67). If the same processing is performed here and, the processing time can be shortened by leaving the result of the previous processing in the second work memory 24 and using it in the subsequent processing.

【0025】本発明は上記実施例に限定されるものでは
なく、種々変形して実施することが可能である。たとえ
ば実施例では指定された範囲内は全て同じ符号化処理と
したが、その範囲の中で更に範囲を指定して、その範囲
は先に指定された符号化処理を除外するようにして処理
するようにしてもよい。また、上記実施例では制御プロ
セッサ13が符号化処理を全て行なうように説明したが、
図6〜図11の〜で示したような処理を別のプロセッ
サを使って行なうようにし、指定された処理が異なる複
数のエリアがあるときは並列に処理させるようにしても
よい。更に、ポインティングデバイスとしてマウス以外
にタブレットを用いてもよい。
The present invention is not limited to the above embodiment, but can be modified in various ways. For example, in the embodiment, the same encoding process is performed within the designated range, but a further range is designated within the range, and the range is processed by excluding the previously designated encoding process. You may do it. In the above embodiment, the control processor 13 has been described as performing all encoding processing.
It is also possible to use another processor to perform the processes shown in FIGS. 6 to 11 and to perform the processes in parallel when there are a plurality of areas having different designated processes. Further, a tablet may be used as the pointing device other than the mouse.

【0026】[0026]

【発明の効果】以上説明したように、本発明によれば図
面上の目的とする各部分に対して処理範囲と処理内容と
を指定することにより、画像データのままでよい部分は
特に変換処理は行なわず、また、指定された部分につい
ては範囲と処理が限られるため、図面に対して一律に変
換処理をする場合のように常に最も難しいレベルに合わ
せて処理するものとは異なり、各々必要なレベルの処理
だけを使えばよく、その結果、処理を迅速に行なうこと
ができる。更に、変換処理結果を入力原図のもとの位置
に合わせた形態で得られるため、既存図面の計算機入力
作業の効率が大幅に向上し、計算機入力されたデータも
極めて使いやすいものとなる。
As described above, according to the present invention, by specifying the processing range and the processing content for each target portion on the drawing, the conversion processing is performed especially for the portion that may remain as image data. Is not performed, and the range and processing of the specified parts are limited, so unlike the case where processing is always performed according to the most difficult level as in the case of uniform conversion processing for drawings, each is required. Only one level of processing needs to be used, which results in faster processing. Further, since the conversion processing result is obtained in a form matched to the original position of the input original drawing, the efficiency of the computer input work of the existing drawing is significantly improved, and the data input to the computer becomes extremely easy to use.

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

【図1】本発明による図面入力装置の一実施例の構成
図。
FIG. 1 is a configuration diagram of an embodiment of a drawing input device according to the present invention.

【図2】同実施例における表示画面上の表示例を示す
図。
FIG. 2 is a diagram showing a display example on a display screen in the embodiment.

【図3】同実施例における画像メモリの構成を示す図。FIG. 3 is a diagram showing a configuration of an image memory in the embodiment.

【図4】同実施例における図面入力処理の概略的な流れ
を示すフローチャート。
FIG. 4 is a flowchart showing a schematic flow of a drawing input process in the embodiment.

【図5】同実施例における具体的な符号化処理の流れを
示すフローチャート。
FIG. 5 is a flowchart showing the flow of a specific encoding process in the embodiment.

【図6】符号化処理に際して必要な基本的な処理の詳細
図を列挙した図の内のの処理内容を示す図。
FIG. 6 is a diagram showing the processing content of a diagram enumerating detailed diagrams of basic processing necessary for encoding processing.

【図7】上記同様のの処理内容を示す図。FIG. 7 is a diagram showing processing contents similar to the above.

【図8】上記同様のの処理内容を示す図。FIG. 8 is a diagram showing processing contents similar to the above.

【図9】上記同様のの処理内容を示す図。FIG. 9 is a diagram showing processing contents similar to the above.

【図10】上記同様のの処理内容を示す図。FIG. 10 is a diagram showing processing contents similar to the above.

【図11】上記同様のの処理内容を示す図。FIG. 11 is a diagram showing processing contents similar to the above.

【符号の説明】[Explanation of symbols]

1 イメージスキャナ 2 画像メモリ 6 CRT(表示手段) 7 ポインティングデバイス(位置指定手段) 10 主記憶装置 12 磁気ディスク 13 制御プロセッサ 1 Image Scanner 2 Image Memory 6 CRT (Display Means) 7 Pointing Device (Position Designating Means) 10 Main Memory 12 Magnetic Disk 13 Control Processor

Claims (1)

【特許請求の範囲】 【請求項1】 各種の図面内容を計算機での扱いが容易
な符号形式に変換して計算機に入力するために、以下に
列挙する構成を備えたことを特徴とする図面入力装置。 (イ)図面の内容を画像データとして収納した画像メモ
リ。 (ロ)この画像メモリの内容を表示する表示手段。 (ハ)この表示手段の画面上の内容に対して必要な処理
エリアを指定するための範囲指定手段。 (ニ)この範囲指定手段による指定エリア内の画像デー
タに対する処理方法を指定するための処理指定手段。 (ホ)前記範囲指定手段による範囲指定情報を受け、画
像メモリから指定範囲の画像データを切り出す手段。 (ヘ)この切り出し手段により切り出された画像データ
に対して、前記処理指定手段による処理指定情報を受け
て、指定された符号形式にデータの種類を変換処理する
手段。 (ト)範囲指定と処理指定が複数個行なわれた場合に、
データ種類変換後の図面の各部の内容を入力原図での配
置と同じで出力できるように管理する手段。
What is claimed is: 1. A drawing characterized by comprising the following arrangements for converting various drawing contents into a code format which can be easily handled by a computer and inputting into the computer. Input device. (B) An image memory that stores the contents of the drawing as image data. (B) Display means for displaying the contents of this image memory. (C) Range designation means for designating a necessary processing area for the contents on the screen of this display means. (D) Processing designation means for designating the processing method for the image data in the designated area by the range designation means. (E) A means for receiving the range designation information by the range designation means and cutting out the image data of the designated range from the image memory. (F) A means for receiving the processing designation information by the processing designation means for the image data cut out by the clipping means and converting the data type into the designated code format. (G) When multiple ranges and processes are specified,
A means to manage the contents of each part of the drawing after data type conversion so that it can be output with the same layout as in the input original drawing.
JP3193528A 1991-07-08 1991-07-08 Drawing input device Pending JPH0512358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3193528A JPH0512358A (en) 1991-07-08 1991-07-08 Drawing input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3193528A JPH0512358A (en) 1991-07-08 1991-07-08 Drawing input device

Publications (1)

Publication Number Publication Date
JPH0512358A true JPH0512358A (en) 1993-01-22

Family

ID=16309575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3193528A Pending JPH0512358A (en) 1991-07-08 1991-07-08 Drawing input device

Country Status (1)

Country Link
JP (1) JPH0512358A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021111235A (en) * 2020-01-14 2021-08-02 エヌ・ティ・ティ・コミュニケーションズ株式会社 Display device, display method, and display program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021111235A (en) * 2020-01-14 2021-08-02 エヌ・ティ・ティ・コミュニケーションズ株式会社 Display device, display method, and display program

Similar Documents

Publication Publication Date Title
JP2993673B2 (en) Electronic file device
JP5439454B2 (en) Electronic comic editing apparatus, method and program
US7036077B2 (en) Method for gestural interpretation in a system for selecting and arranging visible material in document images
JP5439455B2 (en) Electronic comic editing apparatus, method and program
JP5439456B2 (en) Electronic comic editing apparatus, method and program
WO2013058397A1 (en) Digital comic editing device and method therefor
JP2012053911A (en) Extraction of meta data from designated document area
JP2006227824A (en) Drawing recognition method and device
JP2000322417A (en) Device and method for filing image and storage medium
JPH10162098A (en) Document electrolyzing device and method therefor
JPH06149152A (en) Map information system
JP2720807B2 (en) Scenario editing device
JPH0512358A (en) Drawing input device
JP2735197B2 (en) Graphic input device
JP3070801B2 (en) Drawing management method
JP2004259076A (en) Picture recognizing method and device
JP3637771B2 (en) Document editing output device
JP3078038B2 (en) Automatic drawing input system and method
JP2993881B2 (en) Keyword generation method
JPH05233611A (en) Document processor
JP2993880B2 (en) Electronic file device
JPS63293674A (en) Retrieving/displaying method for sentence
JPH08202859A (en) Electronic filing device and its method
CN115298648A (en) Automated flowchart generation and visualization system
JPWO2015004730A1 (en) Method and electronic device