JPH05314196A - Graphic processing system - Google Patents

Graphic processing system

Info

Publication number
JPH05314196A
JPH05314196A JP4139620A JP13962092A JPH05314196A JP H05314196 A JPH05314196 A JP H05314196A JP 4139620 A JP4139620 A JP 4139620A JP 13962092 A JP13962092 A JP 13962092A JP H05314196 A JPH05314196 A JP H05314196A
Authority
JP
Japan
Prior art keywords
data
raster
graphic
partial
processing
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
JP4139620A
Other languages
Japanese (ja)
Inventor
Yoshiyasu Hattori
良康 服部
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.)
NIPPON ELECTRON KK
Original Assignee
NIPPON ELECTRON KK
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 NIPPON ELECTRON KK filed Critical NIPPON ELECTRON KK
Priority to JP4139620A priority Critical patent/JPH05314196A/en
Publication of JPH05314196A publication Critical patent/JPH05314196A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To attain a high speed, and to hold a high efficiency by displaying a partial graphic based on a vector data on a display, operating a correcting processing to the partial graphic displayed at the display by contrasting it with the original graphic on an original, and obtaining the entire graphics by repeating the partial processing. CONSTITUTION:Data written in a memory 4m for a raster are successively converted into vector data by a CAD processing part 7 in which software for a raster/vector conversion is stored, and stored in a memory 8 for a display. Then, a graphic based on the vector data is displayed at a monitor display 9. The vector data at that time are intermediate one, and can be turned into a final graphic to be used by a CAD system by comparing it with the original graphic, and correcting it by a CAD function, and the final vector data can be obtained. The partial graphic partially read by an optical reading means 3 is joined together based on coordinate data, and prepared into the final entire graphic.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、例えばCADシステ
ム(Computer−Aided Desing System )のように図形を
ベクタデータで処理するシステムに手書き図面を利用す
る場合に、この手書き図面をベクタデータ化してシステ
ムに取り込むのに好適な図形処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention converts a handwritten drawing into vector data when the handwritten drawing is used in a system such as a CAD system (Computer-Aided Desing System) for processing graphics with vector data. The present invention relates to a graphic processing system suitable for being incorporated in a computer.

【0002】[0002]

【発明の背景】CADシステムについては予め与えられ
ている図面つまり手書き図面の有効活用という問題があ
る。すなわち、手書き図面をそのままCADシステムに
よる作図に利用することにより作図作業の軽減を大きく
図ることができるが、そのためには手書き図面のCAD
システムへ取込みを高精度且つ高速で行なえねばならな
い。
BACKGROUND OF THE INVENTION A CAD system has a problem of effectively using a drawing given in advance, that is, a handwritten drawing. That is, it is possible to greatly reduce the drawing work by directly using the handwritten drawing for drawing by the CAD system.
Incorporation into the system must be possible with high accuracy and high speed.

【0003】手書き図面をCADシステムへ取り込むた
めの従来の手法には、大別してトレース方式とスキャナ
方式がある。トレース方式は、手書き図面をトレースす
ることでCAD用のベクタデータとして取り込むもの
で、これにはデジタイザ方式と画像トレース方式とがあ
るが、デジタイザ方式はトレースに時間と手間が非常に
掛り、高速性という点で大幅に劣るし、画像トレース方
式は、イメージスキャナで取り込んだ画像をディスプレ
イに下絵として表示し、これをCAD機能でトレースす
るようにしたもので、デジタイザ方式に較べれば処理速
度の向上を得られるものの、トレースという面倒な作業
が不可欠であるという点で満足のゆくものでなく、また
A0乃至A1クラスの大型のイメージスキャナを必要と
し、ハード面での高価格化を避けられないという問題も
ある。
Conventional methods for importing handwritten drawings into a CAD system are roughly classified into a trace method and a scanner method. The trace method captures vector data for CAD by tracing a handwritten drawing. There are a digitizer method and an image trace method. The digitizer method requires a lot of time and effort for tracing, and high speed. The image tracing method is a method in which the image captured by the image scanner is displayed as a rough sketch on the display and this is traced by the CAD function, which improves the processing speed compared to the digitizer method. Although it can be obtained, it is not satisfactory in that the troublesome work of tracing is indispensable, and it also requires a large image scanner of A0 to A1 class, and inevitably raises the cost in terms of hardware. There is also.

【0004】一方、スキャナ方式は、イメージスキャナ
で取り込んだラスタデータをラスタ/ベクタ変換ソフト
ウエアによりベクタデータに変換してCADシステムへ
取り込むようにしたもので、トレースという面倒な作業
は必要としないものの、やはり処理時間が長くまた精度
の点でも不十分なものがあり、さらに画像トレース方式
と同様にハード面での高価格化という問題もある。
On the other hand, the scanner system converts raster data captured by an image scanner into vector data by raster / vector conversion software and captures it in a CAD system, which does not require the troublesome work of tracing. Of course, there is a problem that the processing time is long and the accuracy is insufficient, and there is a problem that the price is high in terms of hardware as in the image tracing method.

【0005】[0005]

【発明が解決しようとする課題】この発明はこのような
従来の事情を背景になされたもので、手書き図面のCA
Dシステムへの取込みを高精度且つ高速で行なえ、しか
も比較的低価格でありながら汎用性の高いハード構造を
用いることのできるような図形処理システムの提供を目
的としている。
SUMMARY OF THE INVENTION The present invention has been made against the background of such conventional circumstances.
It is an object of the present invention to provide a graphic processing system that can be incorporated into a D system with high accuracy and high speed, and that can use a hardware structure that is relatively inexpensive and has high versatility.

【0006】[0006]

【課題を解決するための手段】このような目的のために
本発明では、原稿を光学的読取り手段で走査的に読み込
み、これにより得られるラスタデータをラスタ/ベクタ
変換手段でベクタデータに変換し、このベクタデータを
出力データとするようにしてなる図形処理システムにお
いて、原稿に対し所定の座標を設定可能であり且つ、こ
の座標に基づいてラスタデータにおける画素ごとに座標
データを付与可能であると共に、原稿の任意の部分を選
択的に走査可能である光学的読取り手段で原稿を部分的
に読み取り、この部分的読取りで得られたラスタデータ
についてラスタ/ベクタ変換処理を行なうと共に、これ
により得られたベクタデータに基づく部分図形をディス
プレイに表示し、このディスプレイに表示された部分図
形に原稿上の原図形と対比しつつ修正処理を施すように
しており、この一連の部分処理を、前記座標データを利
用して各部分処理における部分図形を継ぎ合わせつつ繰
り返して最終全体図形を得、この最終全体図形について
のラスタデータを出力データとするようにしている。
In order to achieve the above object, the present invention scans an original with an optical reading means and converts the raster data obtained by this into vector data with a raster / vector conversion means. In the graphic processing system in which the vector data is used as output data, predetermined coordinates can be set on the document and coordinate data can be added to each pixel in the raster data based on the coordinates. , A part of the original is read by an optical reading means capable of selectively scanning an arbitrary part of the original, and raster / vector conversion processing is performed on the raster data obtained by this partial reading, and The partial figure based on the vector data is displayed on the display, and the original figure on the original is displayed on the partial figure displayed on this display. The correction process is performed in contrast with the above, and this series of partial processes is repeated while splicing the partial figures in each partial process using the coordinate data to obtain the final overall figure. The raster data of is used as the output data.

【0007】このような図形処理システムに用いる光学
的読取り手段には、特公平4−6150号に開示される
ような“画像読み取り装置”を用いることができる。こ
の“画像読み取り装置”は、画像の光学的な読取り機能
と共にマウス機能も備えており汎用性が高く、しかも通
常のパーソナルコンピュータに用いられるマウスと略同
程度の形状及びサイズが可能なので優れた操作性が得ら
れ、また読取りについてのハード面での低価格化も可能
とする。
As the optical reading means used in such a graphic processing system, an "image reading device" as disclosed in Japanese Patent Publication No. 4-6150 can be used. This "image reading device" is highly versatile because it has a mouse function as well as an optical image reading function, and it has a shape and size that is almost the same as a mouse used for ordinary personal computers, so it is an excellent operation. It is also possible to reduce the cost in terms of reading hardware.

【0008】この図形処理システムは、前述のスキャナ
方式を改良したもので、原稿を一括的に読み取って処理
するようにしていた従来のスキャナ方式に対し、原稿を
分割的に処理するようにしているもので、この分割的処
理により高速化を実現し、また高い精度も維持できるよ
うにしているものである。
This graphic processing system is an improvement of the above-mentioned scanner system, and is designed to process the document in a divided manner as compared with the conventional scanner system in which the document is collectively read and processed. This divisional processing realizes high speed and maintains high accuracy.

【0009】このような分割処理が高速化及び高精度化
を実現できるのは以下のような理由による。すなわち、
従来のスキャナ方式では、膨大な画像データ(ラスタデ
ータ)を一括的に処理する関係から、ラスタデータやベ
クタデータをその都度ファイルに保存して処理を進める
方式、つまりバッチ式を取らざるを得ず、この結果処理
時間が長くなっていたのに対し、本発明の分割処理方式
では、1回で処理するデータ量を自由に調整でき、ラス
タデータの取込みとラスタ/ベクタ変換処理を同時的に
進めることが可能であり、この結果高速化を図れる。
The reason why such division processing can realize high speed and high accuracy is as follows. That is,
In the conventional scanner method, since a large amount of image data (raster data) is processed at once, raster data or vector data is saved in a file each time and processing is performed, that is, a batch method is unavoidable. As a result, the processing time becomes long, but in the division processing method of the present invention, the amount of data to be processed at one time can be freely adjusted, and the raster data fetching and the raster / vector conversion processing can be performed simultaneously. It is possible, and as a result, speeding up can be achieved.

【0010】また、従来のスキャナ方式では、ラスタ/
ベクタ変換処理における1回の処理データ量が多量にな
ってその処理効率が低下し、これらによりその処理時間
が長くなっていたのに対し、本発明の分割処理方式で
は、1回で処理するデータ量を自由に選択できるので、
ラスタ/ベクタ変換処理の効率を最大にするのに最適な
データ量を設定でき、したがって高速化を図れる。
In the conventional scanner system, raster /
In the vector conversion process, the amount of data processed at one time becomes large and the processing efficiency is lowered, and the processing time is lengthened by these. On the other hand, in the division processing method of the present invention, data processed at one time is processed. Since you can freely choose the amount,
It is possible to set the optimum amount of data for maximizing the efficiency of the raster / vector conversion process, and thus speed up.

【0011】また、従来のスキャナ方式では、必要な図
形の有無に関係なく余白部分も含めて原稿の全体を読み
取り、この全体についてのラスタデータを処理せざるを
得ず、このことも処理時間の増大に大きく影響していた
が、これに対し、本発明の分割処理方式では、必要な図
形がある部分だけを必要最小限で読み取って処理するこ
とができるので、処理時間を大幅に低減できる。
Further, in the conventional scanner system, the entire original including the blank area is read regardless of the presence or absence of the required figure, and the raster data of the entire original is processed, which also requires a processing time. Although it greatly affected the increase, the division processing method of the present invention, on the other hand, can read and process only a portion having a required figure with a minimum necessary amount, so that the processing time can be greatly reduced.

【0012】また、スキャナ方式の場合には、スキャナ
からのラスタデータをそのまま変換して得られるベクタ
データに基づく図形がラスタ/ベクタ変換の精度との関
係で原図とは相当に異なった不連続な線等を多く含むラ
フな図形となってしまうのでこれを原図と見比べつつ修
正して編集する必要があるが、従来のスキャナ方式で
は、この編集作業が大変で、特にA2クラス以上のよう
な大図面をまとめて処理するとなると、作業者が受ける
心理的負担は非常に大きく、このためにミスを生じ易く
精度の低下を招き易かったのに対し、本発明の分割処理
方式では、その作業者に最も適した処理量を選択するこ
とができるので、ミスの発生も少なく高精度化を実現で
きる。
Further, in the case of the scanner system, a figure based on vector data obtained by directly converting the raster data from the scanner is discontinuous, which is considerably different from the original drawing in relation to the accuracy of raster / vector conversion. Since it becomes a rough figure that contains many lines etc., it is necessary to correct and edit it while comparing it with the original figure, but with the conventional scanner method, this editing work is difficult, especially for large size such as A2 class or more. When the drawings are processed collectively, the psychological burden on the operator is very large, which is likely to cause a mistake and easily cause a decrease in accuracy.However, in the division processing method of the present invention, the operator is Since the most suitable processing amount can be selected, it is possible to achieve high accuracy with less occurrence of mistakes.

【0013】さらに、従来のスキャナ方式では、前記の
ようなバッチ式でありまた編集作業の負担が大きい故に
スキャナの読取り精度を上げると共にラスタ/ベクタ変
換処理の精度を上げる方向で高精度化を図らざるを得
ず、このためにスキャナの高価格化を招き、またラスタ
/ベクタ変換処理の長時間化を招くことになっていた
が、本発明の分割処理方式によるとこれらの点を解消で
きる。すなわち、本発明の分割処理方式では、作業者に
最も適した処理量で且つリアルタイムの対話形式つまり
ラスタデータの取込み、ラスタ/ベクタ変換、及び編集
を同時的に進めることのできる対話形式で処理を行なう
ことができる。この結果、編集作業が格段にやり易くな
るので、必ずしも高精度なスキャナを必要とせず、した
がってコストダウンを図れ、またラスタ/ベクタ変換処
理のソフトウエアとして精度より速度重視のソフトウエ
アを採用可能となり高速化を図れる。
Further, in the conventional scanner system, since it is a batch system as described above and the burden of editing work is large, the accuracy of the scanner is improved and the accuracy of the raster / vector conversion process is also improved. Inevitably, this leads to an increase in the price of the scanner and an increase in the raster / vector conversion processing time. However, the division processing method of the present invention can solve these problems. That is, in the division processing method of the present invention, the processing amount is most suitable for the worker and the processing is performed in a real-time interactive format, that is, an interactive format capable of simultaneously advancing raster data acquisition, raster / vector conversion, and editing. Can be done. As a result, editing work is significantly easier, so a high-precision scanner is not always required, and therefore cost can be reduced, and software that emphasizes speed over accuracy can be adopted as software for raster / vector conversion processing. Can be realized.

【0014】このような図形処理システムについては、
部分的に読取りに際して重複して読み取られる部分が生
じることになるが、この重複読取り部分の重複処理を避
けるようにすればより効率的になる。そのためには、重
複読取り部分の画素についてのデータの取込みを、座標
データを利用することにより禁止するようにすればよ
い。
Regarding such a graphic processing system,
Although a portion to be read redundantly occurs when partially reading, it is more efficient if the overlapping processing of the duplicate reading portion is avoided. For that purpose, it is possible to prohibit the capture of the data of the pixels of the overlapping read portion by using the coordinate data.

【0015】その一形態としては、各画素ごとに読取り
の有無を記録しておき、この記録との照合に基づいて重
複読取り部分における画素についてのデータの取込み禁
止を行なう。
As one form thereof, the presence / absence of reading is recorded for each pixel, and based on the comparison with this recording, the acquisition of the data for the pixel in the overlapping read portion is prohibited.

【0016】他の形態としては、原稿に対し一定の処理
エリアを座標データに基づいて設定し、この処理エリア
内の画素についてのみデータの取込みを可能とするよう
にするもので、その都度の部分的読取りについて処理エ
リアを指定することにより重複データの取込みを避ける
ことができる。この形態は作業者の主体性を尊重できる
という利点がある。
As another form, a certain processing area is set on the original based on the coordinate data, and only the pixels within this processing area can be loaded with data. By specifying the processing area for dynamic reading, it is possible to avoid capturing duplicate data. This form has the advantage that the independence of the worker can be respected.

【0017】さらにこのような図形処理システムについ
ては、前述したような必要な図形部分についてだけの必
要最小限の処理だけでなく、これをさらに進め、図形を
形成する画素だけを処理対象にしてより一層処理効率を
高めることも可能である。すなわち、予め設定したしき
い値より大きい濃度値を持つ画素についてのみデータの
取込みを行なうようにするもので、これにより図形を形
成する画素だけを処理対象とすることができる。
Further, in such a graphic processing system, in addition to the above-mentioned minimum necessary processing only for necessary graphic parts, this processing is further advanced so that only pixels forming a graphic are processed. It is also possible to further improve the processing efficiency. That is, the data is fetched only for pixels having a density value larger than a preset threshold value, whereby only pixels forming a figure can be processed.

【0018】さらにまたこのような図形処理システムに
ついては、画素についてのデータとして当該画素の座標
データを扱うことにより、処理データの量をさらに減ら
すことができ、より一層の高速化を図れる。
Furthermore, in such a graphic processing system, the amount of processing data can be further reduced by handling the coordinate data of the pixel as the data for the pixel, and the speed can be further increased.

【0019】以上のような図形処理システムは、原稿に
対し所定の座標を設定可能であり且つ、この座標に基づ
いてラスタデータにおける画素ごとに座標データを付与
可能であると共に、原稿の任意の部分を選択的に走査可
能である光学的読取り手段と、この光学的読取り手段で
得られたラスタデータを格納する格納手段と、及びラス
タデータをベクタデータに変換するラスタ/ベクタ変換
手段とを備えてなる図形処理装置を用いて実行させるこ
とができる。
The graphic processing system as described above is capable of setting predetermined coordinates for a document, providing coordinate data for each pixel in the raster data on the basis of these coordinates, and at the same time, for arbitrary parts of the document. Is provided with an optical reading means capable of selectively scanning, a storage means for storing the raster data obtained by the optical reading means, and a raster / vector conversion means for converting the raster data into vector data. It can be executed by using another graphic processing device.

【0020】[0020]

【実施例】以下、本発明の一実施例について説明する。
本実施例は図1に示すようなCADシステムに適用した
例である。このCADシステムは、入力手段としてキー
ボード1やマウス2の他に光学的読取り手段3を備えて
おり、この光学的読取り手段3で手書き図面を部分的に
読み取って入力できるようになっているもので、光学的
読取り手段3には特公平4−6150号に開示されるよ
うな“画像読み取り装置”が用いられている。
EXAMPLE An example of the present invention will be described below.
The present embodiment is an example applied to a CAD system as shown in FIG. This CAD system is provided with an optical reading unit 3 in addition to the keyboard 1 and the mouse 2 as an input unit, and the optical reading unit 3 can partially read and input a handwritten drawing. As the optical reading means 3, an "image reading device" as disclosed in Japanese Patent Publication No. 4-6150 is used.

【0021】すなわち、この光学的読取り手段3は、例
えばCCDアレイのようなラインセンサーによるイメー
ジスキャナ機能を持つと共に、透明な座標シートとこの
座標シートに特殊な色で付された座標情報素を読み取る
マウス機構との組合せによるマウス機能を合わせ持って
いるもので、原稿に対し任意に選択した原点による座標
を設定できると共に、この座標に基づいてラスタデータ
における画素つまりCCDアレイにおける画素ごとに座
標データを付与できるようになっている。
That is, the optical reading means 3 has an image scanner function by a line sensor such as a CCD array, and reads a transparent coordinate sheet and coordinate information elements with a special color attached to the coordinate sheet. It also has a mouse function in combination with a mouse mechanism. It allows you to set coordinates based on the origin that you have arbitrarily selected for the document, and based on these coordinates, coordinate data is calculated for each pixel in the raster data, that is, for each pixel in the CCD array. Can be granted.

【0022】また、その外形形状やサイズは通常のパー
ソナルコンピュータに用いられるマウスと略同様であ
り、手に持って原稿上の任意の部位を選択して部分的に
走査できるようになっている。したがって、その構造は
従来の一括読取り式のスキャナに比べ格段に簡易化して
おり、読取りについてのハード面での大幅な低価格化を
可能とする。
Further, the outer shape and size thereof are substantially the same as those of a mouse used in a normal personal computer, and it is possible to carry out partial scanning by selecting an arbitrary portion on a document by holding it in a hand. Therefore, its structure is remarkably simplified as compared with the conventional batch-reading type scanner, and it is possible to significantly reduce the cost in terms of reading hardware.

【0023】この光学的読取り手段3からは画素情報デ
ータと座標情報データとが出力されることになるが、ベ
クタデータ化用のデータとしてラスタ用メモリ4mに実
際に取り込まれるのは画素についての座標情報データの
みであり、しかも図形を形成している画素についての
み、つまり“地”部分を除いて“図”部分の画素につい
てのみの取込みを行なうようにされている。
Pixel information data and coordinate information data are output from the optical reading means 3. The coordinates of pixels are actually taken into the raster memory 4m as vector data data. Only the information data, and only the pixels forming the graphic, that is, the pixels in the "figure" portion excluding the "ground" portion are fetched.

【0024】すなわち、図3に示すように、図形Mは周
囲の地の部分に比べ濃度が高い画素P1 〜Pn により形
成されているが、これらの図形形成画素P1 〜Pn につ
いてだけそれぞれの座標データ(X1 、Y1 )〜
(Xn 、Yn )を取り込むもので、この結果“地”部分
を除いた図形Mだけが取り込まれる。
That is, as shown in FIG. 3, the figure M is formed by the pixels P 1 to P n having a higher density than the surrounding ground portion, but only these figure forming pixels P 1 to P n . Each coordinate data (X 1 , Y 1 ) ~
(X n, Y n) intended to capture only figure M except the result "land" portion is captured.

【0025】このような処理はラスタ用メモリ4mと共
に格納手段4を形成する取込み選択手段5にてデータの
取込みを選択的に行なうことによりなされるもので、そ
の選択基準には二つの基準が用いられている。一つは、
前記図形形成画素だけに限定するための基準で、“地”
部分の画素と“図”部分の画素との基本的な濃淡差を利
用して設定されている。他の一つは、二重処理つまり光
学的読取り手段3で部分的な読取りを繰り返す際に重な
って読み取られる部分について二重に処理することを避
けるための基準で、各画素について読取り済みか否かを
タグメモリ6に記録しておき、この記録と照合して取込
みの選択を行なうようになっている。
Such processing is carried out by selectively fetching data by the fetching selection means 5 forming the storage means 4 together with the raster memory 4m, and two criteria are used as the selection criteria. Has been. one,
The "ground" is a standard for limiting to only the figure forming pixels.
It is set by using the basic gray level difference between the pixel of the part and the pixel of the "figure" part. The other is a standard for avoiding double processing, that is, double processing for overlapping read portions when repeating partial reading by the optical reading means 3, and whether or not each pixel has been read. The tag is recorded in the tag memory 6, and the record is checked to select the acquisition.

【0026】この両基準による取込み選択の関係は図4
に示すような関係になり、またその処理の流れは図2の
フローチャートに示される。すなわち、二重処理回避基
準については、各画素の座標と対応させたアドレスでタ
グメモリ6の各メモリセルに読取り済みは0、未読取り
は1として記録されているデータが取込み選択手段5に
信号ENとして出力されるようになっており、また図形
形成画素限定基準については、光学的読取り手段3から
の画素情報データが持つ実際の濃度値Bを取込み選択手
段5に予め設定してある濃度についてのしきい値Aと比
較してB≧Aの場合に取込みを行なうようになってい
る。つまり、ENが1で且つB≧Aである場合にのみ当
該画素についての座標情報データがラスタ用メモリ4m
に書き込まれることになる。
FIG. 4 shows the relationship between these two criteria for selection of capture.
2 and the processing flow is shown in the flowchart of FIG. That is, as for the double processing avoidance standard, the data recorded in each memory cell of the tag memory 6 as 0 when read and 1 when not read in the address corresponding to the coordinates of each pixel is signaled to the acquisition selection means 5. EN is output, and as for the figure forming pixel limitation reference, the actual density value B of the pixel information data from the optical reading means 3 is taken in and the density is preset in the selecting means 5. In comparison with the threshold value A of B, if B ≧ A, the capture is performed. That is, only when EN is 1 and B ≧ A, the coordinate information data about the pixel is stored in the raster memory 4m.
Will be written in.

【0027】ラスタ用メモリ4mに書き込まれたデータ
はラスタ/ベクタ変換用のソフトウエアが格納されてい
るCAD処理部7において順次ベクタデータに変換され
て表示用メモリ8に格納され、このベクタデータに基づ
いた図形がモニタディスプレイ9に表示される。
The data written in the raster memory 4m is sequentially converted into vector data in the CAD processing unit 7 in which the software for raster / vector conversion is stored and stored in the display memory 8 to be converted into this vector data. The based graphic is displayed on the monitor display 9.

【0028】この時点のベクタデータは言わば中間的な
データで、これに基づく図形は線が不連続になったりし
て原図とは相当に異なった状態になっている。そこで、
原図と見比べつつこの中間的な図形をCAD機能で修正
することによりCADシステムで使用可能な最終図形と
し、この最終図形に基づいて最終的なベクタデータを得
るようにする。
The vector data at this point is, so to speak, intermediate data, and the figure based on this is in a state considerably different from the original drawing due to discontinuous lines. Therefore,
This intermediate figure is corrected by the CAD function while being compared with the original figure to make a final figure usable in the CAD system, and final vector data is obtained based on this final figure.

【0029】前述のように光学的読取り手段3は、原稿
を部分的に読み取るような構造になっているので、必要
な図形が一回の部分的読取りでカバーされない場合には
部分的読取りを繰り返すことになるが、各部分的読取り
による部分図形は座標データに基づいて継ぎ合わされ、
最終的な全体図形へ形成されることになる。
As described above, the optical reading means 3 has a structure for partially reading the original, and therefore, if the required figure is not covered by one partial reading, the partial reading is repeated. However, the partial figures from each partial reading are spliced together based on the coordinate data,
It will be formed into the final overall figure.

【0030】このようにして繰り返される部分的読取り
については、各部分的読取りごとにラスタ/ベクタ変換
処理を施すことは勿論可能であるが、必要に応じて複数
回の部分的読取りについてまとめてラスタ/ベクタ変換
処理を施すことも可能で、その何れによるかは、1回の
ラスタ/ベクタ変換処理についてのデータ処理量がラス
タ/ベクタ変換処理の効率低下を来さないという条件を
満足させる範囲で適宜に選択される。
It is of course possible to carry out the raster / vector conversion processing for each partial read for the partial read repeated in this way, but if necessary, the raster / vector conversion processing may be collectively performed for a plurality of partial reads. / It is also possible to carry out vector conversion processing, and whichever of them is within a range that satisfies the condition that the amount of data processing for one raster / vector conversion processing does not decrease the efficiency of raster / vector conversion processing. It is selected appropriately.

【0031】必要な図形について以上のような処理が終
了したら、その結果を原図と直接的に対比して最終確認
を行なう。この最終確認のための直接的対比は、ラスタ
データによる原図をモニタディスプレイ9に下絵として
表示し、これにベクタデータによる作図を重ねて行なう
もので、原図下絵は光学的読取り手段3からの画素情報
データをCAD処理部7及び表示用メモリ10を介して
モニタディスプレイ9に再生することにより与えられ
る。
When the above-mentioned processing is completed for the required figure, the result is directly compared with the original figure to make a final confirmation. The direct comparison for this final confirmation is to display the original drawing by the raster data as a sketch on the monitor display 9 and superimpose the drawing by the vector data on it, and the original sketch is used for the pixel information from the optical reading means 3. It is given by reproducing the data on the monitor display 9 via the CAD processing unit 7 and the display memory 10.

【0032】同一の手書き図面について従来のスキャナ
方式の場合の処理時間と本発明によるシステムの場合の
処理時間とを対比したタイムチャートの一例を図5に示
す。これはA2サイズの図面を処理した場合の例で、本
発明のシステムでは8分割で処理している。これをみる
と、従来方式に比べ本発明の方式では全体の処理時間が
約半分になっており、このような差の主な要因がラスタ
/ベクタ変換処理時間と修正処理時間にあることが判
る。
FIG. 5 shows an example of a time chart comparing the processing time of the conventional scanner system with the processing time of the system according to the present invention for the same handwritten drawing. This is an example of processing an A2 size drawing, and the system of the present invention processes it in 8 divisions. From this, it can be seen that the entire processing time is about half in the method of the present invention compared to the conventional method, and the main cause of such a difference is the raster / vector conversion processing time and the correction processing time. ..

【0033】以上の実施例における二重処理回避は他の
方法によっても可能である。この他の方法は処理エリア
を設定する方法で、この処理エリア法を用いる場合の処
理の流れは図6のフローチャートで示される。すなわ
ち、向かい合う頂点の各座標(Xmin 、Ymin )及び
(Xmax 、Ymax )で規定した四角形の処理エリアを原
稿に対し設定し、この処理エリア内の画素についてのみ
データの取込みを可能とするようにする。このような処
理エリアは予め複数を連続的に設定しておき、各部分的
読取りごとにそこから選んで指定するようにしてもよい
し、また各部分的読取りごとに設定するようにしてもよ
い。
The double processing avoidance in the above embodiment can be performed by other methods. The other method is a method of setting a processing area, and the flow of processing when this processing area method is used is shown in the flowchart of FIG. That is, a rectangular processing area defined by the respective coordinates (X min , Y min ) and (X max , Y max ) of the facing vertices is set for the original, and data can be fetched only for pixels in this processing area. To do it. A plurality of such processing areas may be continuously set in advance, and selected for each partial reading, and may be designated, or may be set for each partial reading. ..

【0034】図7に本発明による図形処理システムを実
行するための他の例が示されている。図1の実施例が本
発明による図形処理システムをCADシステムに直接組
み込んだ例であったのに対し、この例では、本発明によ
る図形処理システムを実行するためのハード構造の要部
をユニット化して一定の機能単位の図形処理装置とし、
この図形処理装置をCADシステムに接続してい用いる
ことができるようにしている。
FIG. 7 shows another example for implementing the graphic processing system according to the present invention. While the embodiment of FIG. 1 is an example in which the graphic processing system according to the present invention is directly incorporated into a CAD system, in this example, the essential parts of the hardware structure for executing the graphic processing system according to the present invention are unitized. As a graphic processing device with a certain functional unit,
This graphic processing device can be used by being connected to a CAD system.

【0035】この図形処理装置は、前記実施例のシステ
ムにおけるのと同一の光学的読取り手段3及び格納手段
4に加えて、ラスタ用メモリ4mに格納されたラスタデ
ータをベクタデータに変換するための専用のラスタ/ベ
クタ変換手段20を備えた機能単位ユニットとされてい
る。そのラスタ/ベクタ変換手段20は、ラスタ/ベク
タ変換処理専用のCPU22とワーキングメモリ21よ
りなるもので、これにより得られるベクタデータはイン
ターフェイス23を介してCADシステムへ入力され、
前記実施例と同様に処理される。
In addition to the optical reading means 3 and storage means 4 which are the same as those in the system of the above-mentioned embodiment, this graphic processing apparatus is for converting the raster data stored in the raster memory 4m into vector data. It is a functional unit provided with a dedicated raster / vector conversion means 20. The raster / vector conversion means 20 is composed of a CPU 22 and a working memory 21 dedicated to raster / vector conversion processing, and the vector data obtained by this is input to the CAD system via the interface 23.
The processing is performed in the same manner as in the above embodiment.

【0036】[0036]

【発明の効果】この発明による図形処理システムは、以
上説明したように、原稿を部分的に分割して処理するよ
うにし、この部分的処理で得られる部分図形を原稿に与
えた座標に基づいて継ぎ合わせて必要な図形についての
ベクタデータを得るようにしているので、必要な図形の
部分だけを必要最小限で読み取り、しかも1回で処理す
るデータ量を最適化した状態でのリアルタイムの対話形
式の処理が可能となり、この結果、CADシステムへの
手書き図面の入力を高速に且つ高精度で行なうことがで
き、CADシステムの機能向上に大きく寄与できる。
As described above, the graphic processing system according to the present invention partially divides a document and processes it, and based on the coordinates given to the document the partial graphic obtained by this partial processing. Since the vector data for the required figures are spliced together, only the required figure parts are read with the minimum required, and the amount of data processed at one time is optimized in real time. As a result, the handwritten drawing can be input to the CAD system at high speed and with high accuracy, which can greatly contribute to the improvement of the function of the CAD system.

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

【図1】本発明による図形処理システムを組み込んだC
ADシステムの構成図。
FIG. 1 is a C incorporating a graphic processing system according to the present invention.
The block diagram of AD system.

【図2】本発明の一実施例による図形処理システムのフ
ローチャート図。
FIG. 2 is a flowchart diagram of a graphic processing system according to an embodiment of the present invention.

【図3】図形と座標データの関係を示す説明図。FIG. 3 is an explanatory diagram showing a relationship between a figure and coordinate data.

【図4】画素についての座標データの取込み基準を示す
説明図。
FIG. 4 is an explanatory diagram showing a reference for taking in coordinate data of a pixel.

【図5】図形処理の処理時間について従来方式と本発明
方式とを対比して示すタイムチャート図。
FIG. 5 is a time chart showing the processing time of graphic processing in comparison between the conventional method and the method of the present invention.

【図6】本発明の他の実施例による図形処理システムの
フローチャート図。
FIG. 6 is a flowchart of a graphic processing system according to another embodiment of the present invention.

【図7】本発明による図形処理システムを実行するため
の図形処理装置の構成図。
FIG. 7 is a configuration diagram of a graphic processing apparatus for executing the graphic processing system according to the present invention.

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

3 光学的読取り手段 4m ラスタ用メモリ 4 格納手段 5 取込み選択手段 6 タグメモリ 7 CAD処理部(ラスタ/ベクタ変換手段) 9 モニタディスプレイ 20 ラスタ/ベクタ変換手段 3 Optical Reading Means 4m Raster Memory 4 Storage Means 5 Capture Selection Means 6 Tag Memory 7 CAD Processing Unit (Raster / Vector Converting Means) 9 Monitor Display 20 Raster / Vector Converting Means

【手続補正書】[Procedure amendment]

【提出日】平成4年6月24日[Submission date] June 24, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0026[Correction target item name] 0026

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0026】この両基準による取込み選択の関係は図4
に示すような関係になり、またその処理の流れは図2の
フローチャートに示される。すなわち、二重処理回避基
準については、各画素の座標と対応させたアドレスでタ
グメモリ6の各メモリセルに読取り済みは0、未読取り
は1として記録されているデータが取込み選択手段5に
信号ENとして出力されるようになっており、また図形
形成画素限定基準については、光学的読取り手段3から
の画素情報データが持つ実際の濃度値Bを取込み選択手
段5に予め設定してある濃度についてのしきい値Aと比
較してB≧Aの場合に取込みを行なうようになってい
る。つまり、ENが1で且つB≧Aである場合にのみ当
該画素についての座標情報データがラスタ用メモリ4m
に書き込まれることになる。このようなしきい値を用い
る濃度基準方式は“図”のみの選択的取込みによるデー
タ圧縮だけでなく、輪郭処理による一層のデータ圧縮に
も利用できる。すなわち、画素情報データが持つ実際の
濃度値Bのしきい値Aに対する大小関係の変化の方向を
利用して、“図”の輪郭を形成している画素についての
み選択的に取り込むことにより、さらにデータの圧縮を
行なうものである。この処理の関係は図8に示される。
すなわち、画素情報データの濃度値Bのしきい値Aに対
する関係が、一つ過去においてA>Bであったものが現
在でA≦Bとなる場合の画素、つまり“地”側から
“図”側への輪郭画素、及び一つ過去においてA≦Bで
あったものが現在でA>Bとなる場合の画素、つまり
“図”側から“地”側への輪郭画素についてのみ取り込
むようにするものである。
FIG. 4 shows the relationship between these two criteria for selection of capture.
2 and the processing flow is shown in the flowchart of FIG. That is, as for the double processing avoidance standard, the data recorded in each memory cell of the tag memory 6 as 0 when read and 1 when not read in the address corresponding to the coordinates of each pixel is signaled to the acquisition selection means 5. EN is output, and as for the figure forming pixel limitation reference, the actual density value B of the pixel information data from the optical reading means 3 is taken in and the density is preset in the selecting means 5. In comparison with the threshold value A of B, if B ≧ A, the capture is performed. That is, only when EN is 1 and B ≧ A, the coordinate information data about the pixel is stored in the raster memory 4m.
Will be written in. The density reference method using such a threshold value can be used not only for the data compression by selectively capturing only the "drawing" but also for further data compression by the contour processing. That is, by utilizing the direction of change in the magnitude relationship of the actual density value B of the pixel information data with respect to the threshold value A, only pixels forming the outline of the “figure” are selectively taken in It compresses data. The relationship of this process is shown in FIG.
That is, the relationship between the density value B of the pixel information data and the threshold value A is A> B in the past, but now A ≦ B, that is, the “ground” side to the “figure” side. Only the contour pixel to the side and the pixel when A ≦ B in the past is now A> B, that is, the contour pixel from the “figure” side to the “ground” side are fetched. It is a thing.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief explanation of the drawing

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【図1】本発明による図形処理システムを組み込んだC
ADシステムの構成図。
FIG. 1 is a C incorporating a graphic processing system according to the present invention.
The block diagram of AD system.

【図2】本発明の一実施例による図形処理ジステムのフ
ローチャート図。
FIG. 2 is a flowchart of a graphic processing system according to an embodiment of the present invention.

【図3】図形と座標データの関係を示す説明図。FIG. 3 is an explanatory diagram showing a relationship between a figure and coordinate data.

【図4】画素についての座標データの取込み基準を示す
説明図。
FIG. 4 is an explanatory diagram showing a reference for taking in coordinate data of a pixel.

【図5】図形処理の処理時間について従来方式と本発明
方式とを対比して示すタイムチャート図。
FIG. 5 is a time chart showing the processing time of graphic processing in comparison between the conventional method and the method of the present invention.

【図6】本発明の他の実施例による図形処理システムの
フローチャート図。
FIG. 6 is a flowchart of a graphic processing system according to another embodiment of the present invention.

【図7】本発明による図形処理システムを実行するため
の図形処理装置の構成図。
FIG. 7 is a configuration diagram of a graphic processing apparatus for executing the graphic processing system according to the present invention.

【図8】輪郭処理の場合の画素についての座標データの
取込み基準を示す説明図。
FIG. 8 is an explanatory diagram showing a reference for taking in coordinate data of pixels in the case of contour processing.

【符号の説明】 3 光学的読取り手段 4m ラスタ用メモリ 4 格納手段 5 取込み選択手段 6 タグメモリ 7 CAD処理部(ラスタ/ベクタ変換手段) 9 モニタディスプレイ 20 ラスタ/ベクタ変換手段[Explanation of Codes] 3 Optical Reading Means 4m Raster Memory 4 Storage Means 5 Capture Selection Means 6 Tag Memory 7 CAD Processing Unit (Raster / Vector Converting Means) 9 Monitor Display 20 Raster / Vector Converting Means

【手続補正3】[Procedure 3]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図8[Correction target item name] Figure 8

【補正方法】追加[Correction method] Added

【補正内容】[Correction content]

【図8】 [Figure 8]

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 原稿を光学的読取り手段で走査的に読み
込み、これにより得られるラスタデータをラスタ/ベク
タ変換手段でベクタデータに変換し、このベクタデータ
を出力データとするようにしてなる図形処理システムに
おいて、 原稿に対し所定の座標を設定可能であり且つ、この座標
に基づいてラスタデータにおける画素ごとに座標データ
を付与可能であると共に、原稿の任意の部分を選択的に
走査可能である光学的読取り手段で原稿を部分的に読み
取り、この部分的読取りで得られたラスタデータについ
てラスタ/ベクタ変換処理を行なうと共に、これにより
得られたベクタデータに基づく部分図形をディスプレイ
に表示し、このディスプレイに表示された部分図形に原
稿上の原図形と対比しつつ修正処理を施すようにしてお
り、この一連の部分処理を、前記座標データを利用して
各部分処理における部分図形を継ぎ合わせつつ繰り返し
て最終全体図形を得、この最終全体図形についてのラス
タデータを出力データとするようにしたことを特徴とす
る図形処理システム。
1. A graphic processing in which a document is scanned by an optical reading means, raster data obtained thereby is converted into vector data by a raster / vector converting means, and the vector data is used as output data. In the system, predetermined coordinates can be set for the original, coordinate data can be given to each pixel in the raster data based on the coordinates, and an arbitrary portion of the original can be selectively scanned. The original is partially read by the static reading means, raster / vector conversion processing is performed on the raster data obtained by this partial reading, and a partial figure based on the vector data obtained by this is displayed on the display. The partial figure displayed in is compared with the original figure on the manuscript and is corrected. A series of partial processes is repeated by splicing partial graphics in each partial process by using the coordinate data to obtain a final overall graphic, and raster data about the final overall graphic is used as output data. Figure processing system.
【請求項2】 部分的に読取りに際して重複して読み取
られた部分の画素についてのデータの取込みを、座標デ
ータを利用することにより禁止するようにした請求項1
に記載の図形処理システム。
2. The reading of data for pixels of a portion which is read in duplicate when partially reading is prohibited by using coordinate data.
Figure processing system described in.
【請求項3】 座標データで特定した各画素ごとに読取
りの有無を記録しておき、この記録との照合に基づいて
重複読取り部分における画素についてのデータの取込み
禁止がなされる請求項2に記載の図形処理システム。
3. The method according to claim 2, wherein the presence / absence of reading is recorded for each pixel specified by the coordinate data, and based on the comparison with this record, the data acquisition of the pixel in the overlapping read portion is prohibited. Graphics processing system.
【請求項4】 各部分読取りで対象とする処理エリアを
座標データに基づいて原稿に対し設定し、この処理エリ
ア内の画素についてのみデータの取込みを可能とするこ
とにより、重複読取り部分における画素についてのデー
タの取込み禁止をなすようにした請求項2に記載の図形
処理システム。
4. A pixel in a duplicate reading portion is set by setting a processing area to be targeted in each partial reading on a document based on coordinate data, and allowing data to be fetched only in the pixels in this processing area. The graphic processing system according to claim 2, wherein the acquisition of the above data is prohibited.
【請求項5】 予め設定したしきい値より大きい濃度値
を持つ画素についてのみデータの取込みを行なうように
した請求項1〜請求項4の何れかに記載の図形処理シス
テム。
5. The graphic processing system according to claim 1, wherein data is taken in only for pixels having a density value larger than a preset threshold value.
【請求項6】 画素について取り込むべきデータとして
当該画素の座標データを用いる請求項1〜請求項5の何
れかに記載の図形処理システム。
6. The graphic processing system according to claim 1, wherein coordinate data of the pixel is used as data to be captured for the pixel.
【請求項7】 請求項1に記載の図形処理システムに用
いる図形処理装置であって、原稿に対し所定の座標を設
定可能であり且つ、この座標に基づいてラスタデータに
おける画素ごとに座標データを付与可能であると共に、
原稿の任意の部分を選択的に走査可能である光学的読取
り手段と、この光学的読取り手段で得られたラスタデー
タを格納する格納手段と、及びラスタデータをベクタデ
ータに変換するラスタ/ベクタ変換手段とを備えてなる
図形処理装置。
7. A graphic processing apparatus used in the graphic processing system according to claim 1, wherein predetermined coordinates can be set with respect to a document, and coordinate data is set for each pixel in raster data based on the coordinates. It can be given,
Optical reading means capable of selectively scanning an arbitrary part of a document, storage means for storing raster data obtained by the optical reading means, and raster / vector conversion for converting raster data into vector data And a graphic processing device comprising means.
JP4139620A 1992-05-06 1992-05-06 Graphic processing system Pending JPH05314196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4139620A JPH05314196A (en) 1992-05-06 1992-05-06 Graphic processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4139620A JPH05314196A (en) 1992-05-06 1992-05-06 Graphic processing system

Publications (1)

Publication Number Publication Date
JPH05314196A true JPH05314196A (en) 1993-11-26

Family

ID=15249532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4139620A Pending JPH05314196A (en) 1992-05-06 1992-05-06 Graphic processing system

Country Status (1)

Country Link
JP (1) JPH05314196A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH046150A (en) * 1990-04-20 1992-01-10 Kawasaki Refract Co Ltd Magnesia-chrome refractories

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH046150A (en) * 1990-04-20 1992-01-10 Kawasaki Refract Co Ltd Magnesia-chrome refractories

Similar Documents

Publication Publication Date Title
US5611033A (en) Apparatus and method for automerging images by matching features and aligning images
US7424672B2 (en) System and method of specifying image document layout definition
US6266129B1 (en) Digital photograph processing system
JP2958584B2 (en) Noise removal method
US5293471A (en) Graphics processing system for deleting one of overlapping line and graphics images
JPH05314196A (en) Graphic processing system
JPH0457570A (en) Picture processor
JP2000029198A (en) Color proof device, image processor and recording medium
JPS62269276A (en) Interactive graphic inputting system
JP2773127B2 (en) Image editing method
JP4055966B2 (en) Scanner device, document scanning method, and recording medium recording scan program
JP4230478B2 (en) Document processing apparatus, method and program
CN113658185A (en) Image preview method, system, device, medium and product
JP3065855B2 (en) Image processing device
JP2954218B2 (en) Image processing method and apparatus
JP3037800B2 (en) Attribute assignment method for image data
JPH05151350A (en) Method for correcting position distortion of image data
JPH08180087A (en) Distortion correcting method for graphic
JPH10124671A (en) Image processing method
JPS61175776A (en) Cad device
JPH07160811A (en) Character recognizing device
JPH0438517B2 (en)
JPH032978A (en) Method and device for control of drawing
JPH0721809B2 (en) CAD device
JPS6324367A (en) Image processing method