JPH01309180A - Graphic input data editing method - Google Patents
Graphic input data editing methodInfo
- Publication number
- JPH01309180A JPH01309180A JP62229994A JP22999487A JPH01309180A JP H01309180 A JPH01309180 A JP H01309180A JP 62229994 A JP62229994 A JP 62229994A JP 22999487 A JP22999487 A JP 22999487A JP H01309180 A JPH01309180 A JP H01309180A
- Authority
- JP
- Japan
- Prior art keywords
- data
- raster data
- closed curve
- display memory
- vector data
- 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
Links
Landscapes
- Image Processing (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概 要〕
本発明はラスタデータをベクトルデータに変換して修正
9編集する図面入力装置に関し、図面入力後の修正に際
し、不要像領域の消去を効率的に行なうことを目的とし
、
前記修正を行なう際、°画面上の不要像を含む領域をラ
イトペンのような手段を用いて閉曲線で囲み、該閉曲線
を検出してその内部領域をラスタデータ゛として消去す
るようにして修正を行なうものでちる。[Detailed Description of the Invention] [Summary] The present invention relates to a drawing input device that converts raster data into vector data and performs correction/editing, and an object of the present invention is to efficiently erase unnecessary image areas when making corrections after inputting a drawing. For the purpose of this, when making the correction, the area on the screen containing the unnecessary image is surrounded by a closed curve using a means such as a light pen, the closed curve is detected, and the internal area is erased as raster data. I am the one who will make the corrections.
本発明はラスタデータをベクトルデータに変換して修正
9編集を行なう図面入力装置に関するものである。The present invention relates to a drawing input device that converts raster data into vector data and performs correction and editing.
従来、CADやコンピュータマツピングの普及ニ伴い、
図面編集作業の効率化が大きな課題となっている。Traditionally, with the spread of CAD and computer mapping,
Improving the efficiency of drawing editing work has become a major issue.
図面入力装置は、まず図面をスキャナを用いて続込み、
読込まれた面保情報は2値化されラスタデータに変換さ
れる。The drawing input device first inputs the drawing using a scanner,
The read surface inspection information is binarized and converted into raster data.
次にラスタデータをベクトルデータに変換する。Next, convert the raster data to vector data.
CADシステムやコンピュータ・マツピング・システム
では、図形をベクトルデータとして取扱うためである。This is because CAD systems and computer mapping systems handle figures as vector data.
最後にベクトル化したデータをユーザカモつCADシス
テムやコンピュータ・マツピング・システムに合せたフ
ォーマットに変換してこれらのシステムに渡す。対象と
なる図面には地図。Finally, the vectorized data is converted into a format suitable for the user's CAD system or computer mapping system, and then passed to these systems. The target drawing is a map.
配線図9回路図、建築9機械設計図、洋服の型紙等があ
る。There are 9 wiring diagrams, 9 architectural diagrams, 9 mechanical blueprints, and clothing patterns.
第3図(α)は上記の要部の構成図である。すなわち、
図面1をスキャナを通してラスタデータとしてイメージ
バッファ4に格納され、この内容が表示メモリ71を介
してCBr4に表示されるとともに、前記ラスタデータ
が図形バッファ6でベクトルデータに変換格納される。FIG. 3(α) is a configuration diagram of the above-mentioned main parts. That is,
The drawing 1 is stored in the image buffer 4 as raster data through a scanner, and its contents are displayed on the CBr 4 via the display memory 71, and the raster data is converted into vector data and stored in the graphic buffer 6.
この内容が表示メモリ7zを介してCBr4に重複表示
され、ここで修正9編集して修正されたベクトルデータ
が出力される。This content is displayed redundantly on the CBr4 via the display memory 7z, and the modified vector data is outputted through modification 9 editing.
このイサ正時には、図面1に付着したゴミやしみまたは
不要像が消去される。この場合、CBr4に表示される
表示メモ!J 71t 7zの一方または重複表示を見
てこの不要像10をたとえばライトペン30のような手
動移動指示手段を用い、同図(b)の消去手順に示すよ
うに、不要像アドレス検出■とこのアドレスを基に不要
像の消去■を行ない、この結果ヲイメージバツファ4に
返す。At this correct time, dust, stains, or unnecessary images attached to the drawing 1 are erased. In this case, the display memo displayed on CBr4! J 71t 7z or the duplicated display, use a manual movement instruction means such as a light pen 30 to move the unnecessary image 10, and as shown in the erasing procedure in FIG. The unnecessary image is erased based on the address, and the result is returned to the image buffer 4.
上記消去手順では、ゴミやじみの形状や不要像の形状が
複雑な場合には非常に時間がかかシ、かつ不完全な消去
しかできない場合もある。従って図形の修正に時間がか
か夛過ぎるという欠点がある。The above erasing procedure may take a very long time and may only be able to erase incompletely if the shape of dust or smudges or unnecessary images is complex. Therefore, there is a drawback that it takes too much time to modify the figure.
本発明者は不要図形が複雑でもこれを領域としてまとめ
て消去することによυ効率化できることに着目した。The present inventor has focused on the fact that even if unnecessary figures are complex, efficiency can be increased by erasing them as areas.
本発明の目的は図面入力後の修正に際し、不要像領域の
消去を効率的に行なうようにしたことにある。An object of the present invention is to efficiently erase unnecessary image areas when making corrections after inputting a drawing.
前記目的を達成するため、本発明においては、ラスタデ
ータをベクトルデータに変換して修正。In order to achieve the above object, the present invention converts raster data into vector data and corrects it.
編集する図面入力装置において、
前記修正を行なう際、画面上の不要像を含む領域をライ
トペンのような手段を用いて閉曲線で囲み、該閉曲線を
検出してその内部領域をラスタデータとして消去するよ
うに修正するものである。In the drawing input device for editing, when making the correction, the area containing the unnecessary image on the screen is surrounded by a closed curve using a means such as a light pen, the closed curve is detected, and the internal area is erased as raster data. This will be corrected as follows.
第1図(α) 、 (6)は本発明の原理説明図であシ
、同図(α)で第5図(α)と異なる点は、ゴミ等10
を直接ライトペン等で位置を検出するのではなく、これ
を閉曲線20で囲み、この閉曲線は表示メモ’)71+
7□を重複させることによシ、検出できるから、この内
部領域の全画素をラスタデータに変化させることによシ
消去できる。これをイメージバッファ4に戻すことによ
シ、修正された図面をベクトルデータとして図形バッフ
ァ6に送る。同図(6)は本発明の消去手順を示す。す
なわち、ライトペンで描いた閉曲線の表示0と閉曲線ア
ドレス検出0と閉曲線内の不要像の消去0よシ成υ、こ
の結果をイメージバッファ4に戻す。Figures 1 (α) and (6) are explanatory diagrams of the principle of the present invention.
Instead of directly detecting the position with a light pen, etc., surround it with a closed curve 20, and this closed curve can be used as a display memo')71+
Since it can be detected by overlapping 7□, it can be erased by changing all the pixels in this internal area to raster data. By returning this to the image buffer 4, the corrected drawing is sent to the graphic buffer 6 as vector data. FIG. 6(6) shows the erasing procedure of the present invention. That is, the closed curve drawn with the light pen is displayed 0, the closed curve address is detected 0, and unnecessary images within the closed curve are erased 0, and the results are returned to the image buffer 4.
第2図は本発明の実施例の構成説明図である。 FIG. 2 is an explanatory diagram of the configuration of an embodiment of the present invention.
同図において、図面1を図面入力装置2内のスキャナ3
に入れ所定閾値を設けてデジタル信号化し、これをイメ
ージバッファ4に入れラスタデータとして格納する。こ
のラスタデータを表示メモリ71に展開しCBr4に表
示する。一方イメージバツファ4の内容のラスタデータ
をベクトル化部5を介し、図形バッファ6にベクトルデ
ータとして格納する。このベクトルデータを表示メモリ
72に展開しCBr4に重複表示する。CBr4の画面
を見てゴミ等による不要像10がある場合には、ライト
ペン60により閉曲線20を描き、第1図(6)に示し
たように、この閉曲線20を表示、アドレス検出、内部
消去し内部画素を全てラスタデータとする。この内容を
表示メモリ71からイメージバッファ4に戻し、図形バ
ッファ6に変換し、表示メモリ71゜72を重複表示を
チエツクし、修正されたベクトルデータをディスク9に
ファイルとして格納り、 CADシステムやコンピュー
タ・マツピング・システムに入力するために備える。In the figure, a drawing 1 is scanned by a scanner 3 in a drawing input device 2.
A predetermined threshold value is set, the signal is converted into a digital signal, and this is placed in the image buffer 4 and stored as raster data. This raster data is developed in the display memory 71 and displayed on the CBr4. On the other hand, the raster data of the contents of the image buffer 4 is stored as vector data in the graphic buffer 6 via the vectorizer 5. This vector data is developed in the display memory 72 and displayed overlappingly on CBr4. When looking at the screen of the CBr4, if there is an unnecessary image 10 due to dust etc., draw a closed curve 20 with the light pen 60, and as shown in FIG. All internal pixels are raster data. This content is returned from the display memory 71 to the image buffer 4, converted to the figure buffer 6, the display memories 71 and 72 are checked for duplicate display, the corrected vector data is stored as a file on the disk 9, and the data is stored in the CAD system or computer. - Prepare for input into the mapping system.
上記実施例では、不要像を含む領域を連続的に移動指示
する手段としてライトペンを用いたが、同様の機能を有
するマウス、タブレット、キーボードマーク等を用いて
もよい。In the embodiment described above, a light pen is used as a means for instructing continuous movement of an area including an unnecessary image, but a mouse, tablet, keyboard mark, etc. having a similar function may also be used.
以上説明したように、本発明によれば、複雑なゴミやし
み、不要像を画素毎にアドレスを検出しこれらに対応し
て消去を行なうという複雑な手順を省き、閉曲線で一括
同部を消去する方法をとることによシ、修正作業が容易
に行なえ作業時間を格段に短縮することができる。As explained above, according to the present invention, the complicated procedure of detecting the address of complicated dust, stains, and unnecessary images for each pixel and erasing them in response to them is omitted, and the same parts are erased all at once using a closed curve. By adopting this method, correction work can be easily performed and work time can be significantly shortened.
第1図は本発明の原理説明図、第2図は本発明の実施例
の構成説明図、第3図は従来例の説明図であり、図中1
は図面、2は図面入力装置、3はスキャナ、4はイメー
ジバッファ、5はベクトル化部、6は図形バッファ、7
1*7mは表示メモリ、8はCRT、9はディスク、1
0はゴミ等、20は閉曲線を示す。Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is an explanatory diagram of the configuration of an embodiment of the present invention, and Fig. 3 is an explanatory diagram of a conventional example.
is a drawing, 2 is a drawing input device, 3 is a scanner, 4 is an image buffer, 5 is a vectorization unit, 6 is a figure buffer, 7
1*7m is display memory, 8 is CRT, 9 is disk, 1
0 indicates dust, etc., and 20 indicates a closed curve.
Claims (1)
み第1の表示メモリに展開するとともに、前記ラスタデ
ータをベクトルデータに自動変換して第2の表示メモリ
に展開し、前記第1、第2の表示メモリの一方のみまた
は重複表示させることにより、修正、編集した後修正さ
れたベクトルデータを出力する図面入力装置において、 前記修正を行なう際、画面上の不要像を含む領域を連続
的に移動指示する手段を用い閉曲線で囲み、 該閉曲線を検出してその内部領域をラスタデータとして
消去することにより、修正を行なうことを特徴とする図
面入力データ編集方法。[Scope of Claims] Using a scanner, drawing data is read as raster data and developed in a first display memory, and the raster data is automatically converted into vector data and developed in a second display memory, and the raster data is automatically converted into vector data and developed in a second display memory. , a drawing input device that outputs corrected vector data after correction and editing by displaying only one side of the second display memory or in duplicate; 1. A drawing input data editing method, comprising: enclosing a closed curve using a means for instructing movement, detecting the closed curve, and erasing the internal area as raster data to perform corrections.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62229994A JPH01309180A (en) | 1987-09-14 | 1987-09-14 | Graphic input data editing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62229994A JPH01309180A (en) | 1987-09-14 | 1987-09-14 | Graphic input data editing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01309180A true JPH01309180A (en) | 1989-12-13 |
Family
ID=16900939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62229994A Pending JPH01309180A (en) | 1987-09-14 | 1987-09-14 | Graphic input data editing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01309180A (en) |
-
1987
- 1987-09-14 JP JP62229994A patent/JPH01309180A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6324419A (en) | Composite document processor | |
JPS63109591A (en) | Optical character reader | |
JPH10228547A (en) | Method, device for editing image and storage medium | |
JPH01309180A (en) | Graphic input data editing method | |
JP2735197B2 (en) | Graphic input device | |
JPH04112378A (en) | Tracking start point input system | |
JPS5938612B2 (en) | information input device | |
JPH0355867B2 (en) | ||
JP3064305B2 (en) | Digital copier | |
JP2773127B2 (en) | Image editing method | |
JP2761220B2 (en) | 3D graphic display system | |
JPS5846461A (en) | Automatic reader for pattern drawing of printed board | |
JPS63146168A (en) | Picture editing method | |
JP3553249B2 (en) | Image generating apparatus and image generating method | |
JPH0623095Y2 (en) | Image input device | |
JPS62267875A (en) | Partial erasing system for drawn picture | |
JP2634905B2 (en) | How to paint shapes | |
JPH023195B2 (en) | ||
JPS6145363A (en) | Drawing producer | |
JP3653789B2 (en) | Writing or drawing device | |
JPS59171990A (en) | Image correction system for image display | |
JPH02244384A (en) | Image data correcting system | |
JPH0550031B2 (en) | ||
JPS6081682A (en) | Designating device | |
JPH0816759A (en) | Map data input system |