JPS63151996A - Rule data addition output system - Google Patents
Rule data addition output systemInfo
- Publication number
- JPS63151996A JPS63151996A JP61300563A JP30056386A JPS63151996A JP S63151996 A JPS63151996 A JP S63151996A JP 61300563 A JP61300563 A JP 61300563A JP 30056386 A JP30056386 A JP 30056386A JP S63151996 A JPS63151996 A JP S63151996A
- Authority
- JP
- Japan
- Prior art keywords
- data
- raster
- output
- vector
- rule
- 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
- 238000000034 method Methods 0.000 claims description 16
- 238000006243 chemical reaction Methods 0.000 claims description 15
- 238000013500 data storage Methods 0.000 description 24
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 101100103787 Oryza sativa subsp. japonica Y14A gene Proteins 0.000 description 1
- 102220500883 Phospholipid-transporting ATPase ABCA1_Y14A_mutation Human genes 0.000 description 1
Landscapes
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は規則データ付加出力方式に関し、枠に静電ブロ
ック等のベクタデータを人力しラスタデータに変換して
出力する機器における規則データ付加出力方式に関する
。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for adding and outputting rule data, and relates to a method for adding and outputting rule data in a device that manually inputs vector data such as an electrostatic block in a frame, converts it into raster data, and outputs the raster data. Regarding the method.
従来の静電プロッタ等におけるベクタデータのラスタデ
ータへの変換方式では、第4図に示すように、ベクタデ
ータソート手段2がベクタデータでなる入力データ1を
出力データ7として出力する際の出力順となるように並
べ替え、ベクタデータ記憶手段3がベクタデータソート
手段2により並び替えられたソート済のベクタデータを
一時的に格納し、ベクタ/ラスタ変換手段4がへククデ
ータ記憶手段3に一時的に格納°されたソート済のベク
タデータを読み出してラスタデータに変換し、ラスタデ
ータ記憶手段5がベクタ/ラスタ変換手段4により変換
されたラスタデータを一時的に格納し、出力手段8がラ
スタデータ記憶手段5に格納されたラスタデータを出力
Illに読み出して出力データ7として出力するように
なっていた。In the conventional method of converting vector data to raster data in an electrostatic plotter, etc., as shown in FIG. The vector data storage means 3 temporarily stores the sorted vector data sorted by the vector data sorting means 2, and the vector/raster conversion means 4 temporarily stores the sorted vector data in the vector data storage means 3. The sorted vector data stored in is read out and converted into raster data, the raster data storage means 5 temporarily stores the raster data converted by the vector/raster conversion means 4, and the output means 8 The raster data stored in the storage means 5 is read out to the output Ill and output as output data 7.
上述した従来のへフタデータのラスタデータへの変換方
式では、ベクタデータをラスタデータに変換して出力デ
ータとして出力しているだけであったので、出力データ
に規則的に繰り返されるデータ(以下、規則データと称
する)を付加して出力しようとした場合(例えば、静電
ブロックで画像に方眼状格子を付加して作画しようとし
た場合)には、ベクタデータにあらかしめ規則データを
含ませておく必要があり、ベクタデータのデータ量が非
常に多くなってベクタデータソート手段やベクタ/ラス
タ変換手段での処理に真人な時間がかかるようになると
ともに、ベクタデータ記憶手段の記憶容置も多く必要に
なるという欠点がある。In the conventional hefter data to raster data conversion method described above, vector data is simply converted to raster data and output as output data. If you try to output by adding general rule data (referred to as rule data) (for example, if you try to create an image by adding a square grid to the image using an electrostatic block), include the rule data in the vector data. As the amount of vector data becomes extremely large, it takes an enormous amount of time to process it in the vector data sorting means and vector/raster conversion means, and the storage capacity of the vector data storage means becomes large. The disadvantage is that it is necessary.
本発明の目的は、上述の点に鑑み、ベクタデータを変換
したラスタデータに規則データを付加して出力すること
により、ベクタデータソート手段やベクタ/ラスタ変換
手段における処理時間が少なくてすむとともに、ベクタ
データ記憶手段の記[容量が少なくてすむ規則データ付
加出力方式を提供することにある。In view of the above-mentioned points, an object of the present invention is to add rule data to raster data obtained by converting vector data and output it, thereby reducing processing time in vector data sorting means and vector/raster conversion means. An object of the present invention is to provide a method for adding and outputting regular data that requires less storage capacity of vector data storage means.
本発明の規則データ付加出力方式は、ベクタデータをラ
スタデータに変換するベクタ/ラスタ変換手段と、この
ベクタ/ラスタ変換手段により変換されたラスタデータ
を規則データと繰り返し論理和をとって出力データとし
て出力する規則データ付加出力手段とを有する。The rule data addition output method of the present invention includes a vector/raster conversion means for converting vector data into raster data, and the raster data converted by the vector/raster conversion means is repeatedly ORed with the rule data and output data is obtained. and rule data addition/output means for outputting.
本発明の規則データ付加出力方式では、ベクタ/ラスタ
変換手段がベクタデータをラスタデータに変換し、規則
データ付加出力手段がベクタ/ラスタ変換手段により変
換されたラスタデータを規則データと繰り返し論理和を
とって出力データとして出力する。In the rule data addition output method of the present invention, the vector/raster conversion means converts vector data into raster data, and the rule data addition output means repeatedly ORs the raster data converted by the vector/raster conversion means with the rule data. and output it as output data.
次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.
第1図は、本発明の一実施例を示す構成図である。本実
施例の規則データ付加出力方式は、ベクタデータでなる
入力データ1を出力データ7として出力する際の出力順
に並べ替えるベクタデータソート手段2と、ベクタデー
タソート手段2により並び替えられたソート済のベクタ
データを一時的に格納するベクタデータ記憶手段3と、
ベクタデータ記憶手段3に一時的に格納されたソート済
のベクタデータを読み出してラスタデータに変換するベ
クタ/ラスタ変換手段4と、ベクタ/ラスタ変換手段4
により変換されたラスタデータを一時的に格納するラス
タデータ記憶手段5と、ラスタデータ記憶手段5に一時
的に格納されたラスタデータを出力順に読み出し規則デ
ータを繰り返し付加して出力データ7として出力する規
則データ付加出力手段6とから構成されている。FIG. 1 is a configuration diagram showing an embodiment of the present invention. The rule data addition output method of this embodiment includes a vector data sorting means 2 that sorts input data 1 consisting of vector data in the output order when outputting it as output data 7, and a sorted data sorted by the vector data sorting means 2. vector data storage means 3 for temporarily storing vector data of;
vector/raster conversion means 4 for reading sorted vector data temporarily stored in the vector data storage means 3 and converting it into raster data;
raster data storage means 5 for temporarily storing the raster data converted by , and the raster data temporarily stored in the raster data storage means 5 are read out in the order of output, and rule data is repeatedly added thereto and outputted as output data 7. and rule data addition/output means 6.
なお、ラスタデータは、一般にワード単位でまとめられ
ており、各ビットが対応する座標点のラスタデ−タ(0
または1)を示している。以下、1ワ一ド分のラスタデ
ータをRASTERと名付ける。Note that raster data is generally organized in words, and each bit represents the raster data (0) of the corresponding coordinate point.
Or 1) is shown. Hereinafter, one word of raster data will be named RASTER.
第2図を参照すると、規則データ付加出力手段6におけ
る処理は、規則データ発生条件入力ステップ11と、最
小セルデータ作成ステップ12と、出力座標初期値設定
ステップ13と、ラスタデータ1ワード読込みステップ
14と、ラスタデータ終了判定ステップ15と、ビット
カウンタおよび付加データ格納ワードクリアステップ1
6と、ビットカウンタインクリメントステップ17と、
カラム終了判定ステップ18と、ライン更新ステップ1
9と、最小セル内相対座標計算ステップ20と、最小セ
ルデータビット判定ステップ21と、イ1加データ格納
ワードビットオンステップ22と、出力座標インクリメ
ントステップ23と、ラスタデータ1ワード終了判定ス
テップ24と、論理和出力ステップ25とからなる。Referring to FIG. 2, the processing in the rule data addition/output means 6 includes a rule data generation condition input step 11, a minimum cell data creation step 12, an output coordinate initial value setting step 13, and a raster data one word reading step 14. , raster data end determination step 15, bit counter and additional data storage word clear step 1
6, a bit counter increment step 17,
Column end determination step 18 and line update step 1
9, a minimum intra-cell relative coordinate calculation step 20, a minimum cell data bit determination step 21, an addition data storage word bit on step 22, an output coordinate increment step 23, and a raster data 1 word end determination step 24. , and a logical sum output step 25.
なお、第2図中、XおよびYは出力座標、xlおよびY
lは最小セル内相対座標、X 1)TAXおよびYl)
IAXは最小セル内相対座標X1およびYlの最大値、
Y14A、は出力座標Yの最大値、CELL (X+、
Yl)は規則データの最小単位である最小セルデータ、
CD A T Aは付加データ格納ワード、Iはワード
内のビットカウンタをそれぞれ示す。In addition, in Fig. 2, X and Y are output coordinates, xl and Y
l is the minimum intra-cell relative coordinate, X1) TAX and Yl)
IAX is the maximum value of the minimum intra-cell relative coordinates X1 and Yl,
Y14A is the maximum value of the output coordinate Y, CELL (X+,
Yl) is the minimum cell data which is the minimum unit of rule data,
CD ATA indicates an additional data storage word, and I indicates a bit counter within the word.
次に、このように構成された本実施例の規則データ付加
出力方式の動作について説明する。Next, the operation of the rule data addition output method of this embodiment configured as described above will be explained.
ベクタデータでなる1図面分の入力データ1が人力され
ると、人力データ1はベクタデータソート手段2により
出力順に並び替えられ、ソート済のへフタデータがベク
タデータ記憶手段3に一時的に格納される。When input data 1 for one drawing consisting of vector data is input manually, the input data 1 is sorted by the vector data sorting means 2 in the output order, and the sorted hefter data is temporarily stored in the vector data storage means 3. be done.
ベクタデータ記憶手段3に一時的に格納されたソート済
のベクタデータは、ベクタ/ラスタ変換手段4によって
読み込まれてラスタデータに変換され、変換されたラス
タデータがラスタデータ記憶手段5に一時的に格納され
る。The sorted vector data temporarily stored in the vector data storage means 3 is read by the vector/raster conversion means 4 and converted into raster data, and the converted raster data is temporarily stored in the raster data storage means 5. Stored.
ラスタデータ記憶手段5に一時的に格納されたラスタデ
ータは、規則データ付加出力手段6によって読み込まれ
規則データを繰り返し付加されて出力データ7として出
力される。The raster data temporarily stored in the raster data storage means 5 is read by the rule data addition/output means 6, and the rule data is repeatedly added thereto and outputted as output data 7.
詳しくは、規則データ付加出力手段6では、まず使用者
により画像に付加したい規則データの条件が入力される
(ステップ11)’、規則データは最小単位の規則デー
タの繰返しで表現できるので、最小単位の規則データの
集合を最小セルデータと名付け、この最小セルデータを
生成してCELL(X、、y、)として保持する(ステ
ップ12)。Specifically, in the rule data addition/output means 6, the user first inputs the conditions of the rule data to be added to the image (step 11)'.Since the rule data can be expressed by repeating the minimum unit of rule data, The set of rule data is named minimum cell data, and this minimum cell data is generated and held as CELL(X,,y,) (step 12).
具体的には、CBLL (X、、Yl )は0または1
の値をとり、この値は規則データの最小セル内相対座標
(X+ 、Yl )の点における規則データをラスタデ
−タに変換した場合の0または1を意味している。Specifically, CBLL (X,, Yl) is 0 or 1
This value means 0 or 1 when the rule data at the point of the minimum intra-cell relative coordinates (X+, Yl) of the rule data is converted into raster data.
次に、出力座標XおよびYをそれぞれ初期値0に設定し
くステップ13) 、RASTERを1ワード読み込む
(ステップ14)。Next, the output coordinates X and Y are each set to an initial value of 0 (step 13), and one word of RASTER is read (step 14).
RASTERが終了でなれば(ステップ15)、ビット
カウンタ■および付加データ格納ワードCDATAをゼ
ロクリアしくステップ16)、ピントカウンタ■をイン
クリメントする(ステップ17)。When the RASTER is completed (step 15), the bit counter (2) and the additional data storage word CDATA are cleared to zero (step 16), and the focus counter (2) is incremented (step 17).
次に、出力座標Yが最大値YMAXより大きいか否かを
判定しくステップ18)、大きければ出力座標Yをゼロ
クリアするとともに出力座標Xをインクリメントする(
ステップ19)。Next, it is determined whether the output coordinate Y is larger than the maximum value YMAX (step 18), and if it is, the output coordinate Y is cleared to zero and the output coordinate X is incremented (
Step 19).
続いて、最小セル内相対座標X1およびY、を計算する
。詳しくは、出力座標XおよびYを相対座標の最大値X
IMAXおよびYIMAI+で割った余りを相対座標
X1およびY、とする(ステップ20)。Subsequently, the minimum intra-cell relative coordinates X1 and Y are calculated. For details, set the output coordinates X and Y to the maximum value of relative coordinates
The remainder after dividing by IMAX and YIMAI+ is set as relative coordinates X1 and Y (step 20).
次に、CELL (X、、Y、)が1か否かを判定しく
ステップ21) 、1であれば付加データ格納ワードC
DATAのビットカウンタ■の示すピントをlとする(
ステップ22)。Next, it is determined whether CELL (X,, Y,) is 1 or not (step 21), and if it is 1, the additional data storage word C
Let l be the focus indicated by the bit counter ■ of DATA (
Step 22).
続いて、出力座標Yをインクリメントしくステップ23
)、ピントカウンタ■が1ワードのビット数と一敗する
か否かを判定する(ステップ24)。Next, step 23 increments the output coordinate Y.
), it is determined whether the focus counter (2) is equal to the number of bits in one word (step 24).
−敗しない場合にはステップ17に戻って処理を繰り返
し、−敗する場合にはRASTERと付加データ格納ワ
ードCDATAのデータとの論理和をとって出力データ
7として出力しくステップ25)、しかる後にステップ
14に戻る。- If not defeated, return to step 17 and repeat the process, - If defeated, take the logical sum of RASTER and the data of the additional data storage word CDATA and output it as output data 7 (step 25), then step Return to 14.
ステップ15の判定でRASTERが終了であれば、処
理を終了する。If it is determined in step 15 that RASTER has ended, the process ends.
第3図は、本実施例の規則データ付加出力方式に基づい
て静電プロフタにより作画された図面の一例を示す図で
ある。プロッタ用紙9上には入力データ1に基づく図形
1aと規則データ付加出力手段6により付加された格子
6aとが重畳されて作画されている。なお、第3図中、
規則データの最小セルは、実線で囲まれた最小の四角形
に相当する。FIG. 3 is a diagram showing an example of a drawing drawn by an electrostatic profiler based on the rule data addition output method of this embodiment. On the plotter paper 9, a figure 1a based on the input data 1 and a grid 6a added by the rule data addition/output means 6 are drawn in a superimposed manner. In addition, in Figure 3,
The minimum cell of the rule data corresponds to the minimum rectangle surrounded by a solid line.
以上説明したように本発明は、規則データ付加出力手段
を設けてベクタデータをラスタデータに変換した後に規
則データを付加するようにしたことにより、ベクタデー
タのソートに要する時間およびベクタデータのラスタデ
ータへの変換に要する時間を短縮することができるとと
もに、ベクタデータ記憶手段の記憶容量が少なくてすむ
という効果がある。As explained above, the present invention provides a rule data addition output means to add rule data after converting vector data to raster data, thereby reducing the time required for sorting vector data and raster data of vector data. This has the effect that the time required for conversion to can be shortened and the storage capacity of the vector data storage means can be reduced.
第1図は本発明の規則データ付加出力方式の一実施例を
示す構成図、
第2図は第1図中の規則データ付加出力手段における処
理を示す流れ図、
第3図は本実施例の規則データ付加出力方式に基づいて
作画された図面の一例を示す図、第4閏は従来のベクタ
データのラスタデータへの変換方式の一例を示す構成図
である。
図において、
1・・・入力データ、
2・・・ベクタデータソート手段、
3・・・ベクタデータ記憶手段、
4・・・ベクタ/ラスタ変換手段、
5・・・ラスタデータ記憶手段、
6・・・規則データ付加出力手段、
7・・・出力データ、
11・・・規則データ発生条件入力ステップ、12・・
・最小セルデータ作成ステップ、13・・・出力座標初
期値設定ステップ、14・・・ラスタデータlワード読
込みステップ、15・・・ラスタデータ終了判定ステッ
プ、16・・・ピントカウンタおよび付加データ格納ワ
ードクリアステップ、
17・・・ピントカウンタインクリメントステップ、
1日・・・カラム終了判定ステップ、
19・・・ライン更新ステップ、
20・・・最小セル内相対座標計算ステップ、21・・
・最小セルデータビット判定ステップ、22・・・付加
データ格納ワードビットオンステップ・
23・・・出力座標インクリメントステップ、24・・
・ラスタデータ1ワード終了判定ステップ、
25・・・論理和出力ステップである。FIG. 1 is a block diagram showing an embodiment of the rule data addition/output method of the present invention, FIG. 2 is a flowchart showing the processing in the rule data addition/output means in FIG. 1, and FIG. 3 is the rule of this embodiment. A diagram showing an example of a drawing drawn based on the data addition output method, and the fourth leap is a configuration diagram showing an example of the conventional method of converting vector data into raster data. In the figure, 1... input data, 2... vector data sorting means, 3... vector data storage means, 4... vector/raster conversion means, 5... raster data storage means, 6... - Rule data addition output means, 7... Output data, 11... Rule data generation condition input step, 12...
- Minimum cell data creation step, 13...Output coordinate initial value setting step, 14...Raster data l word reading step, 15...Raster data end determination step, 16...Focus counter and additional data storage word Clear step, 17...Focus counter increment step, 1st...Column end determination step, 19...Line update step, 20...Minimum intra-cell relative coordinate calculation step, 21...
- Minimum cell data bit determination step, 22... Additional data storage word bit on step - 23... Output coordinate increment step, 24...
・Raster data 1 word end determination step 25 . . . OR output step.
Claims (1)
変換手段と、 このベクタ/ラスタ変換手段により変換されたラスタデ
ータを規則データと繰り返し論理和をとって出力データ
として出力する規則データ付加出力手段と、 を有することを特徴とする規則データ付加出力方式。[Claims] Vector/raster conversion means for converting vector data into raster data, and rule data for repeatedly ORing the raster data converted by the vector/raster conversion means with rule data and outputting the result as output data. A rule data additional output method, comprising: additional output means;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61300563A JPS63151996A (en) | 1986-12-16 | 1986-12-16 | Rule data addition output system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61300563A JPS63151996A (en) | 1986-12-16 | 1986-12-16 | Rule data addition output system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS63151996A true JPS63151996A (en) | 1988-06-24 |
Family
ID=17886337
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61300563A Pending JPS63151996A (en) | 1986-12-16 | 1986-12-16 | Rule data addition output system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63151996A (en) |
-
1986
- 1986-12-16 JP JP61300563A patent/JPS63151996A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112825199B (en) | Collision detection method, device, equipment and storage medium | |
| JPH0812668B2 (en) | Handwriting proofreading method | |
| JPS63151996A (en) | Rule data addition output system | |
| JPH04335422A (en) | Sorting device | |
| JPH0748207B2 (en) | Matrix operation device | |
| JP2507399B2 (en) | Database equipment | |
| JPH0652288A (en) | Map data compression device | |
| JPS5816217B2 (en) | Connected region detection method | |
| JP3114289B2 (en) | Character pattern generator | |
| JP2854588B2 (en) | Raster vector conversion method and line figure input device | |
| JP2558248B2 (en) | Image processing apparatus and method | |
| CN1061190C (en) | Two-dimensional inverse discrete cosine transform device | |
| JPS63202476A (en) | document output device | |
| JPH01183732A (en) | Method and device for conversion between floating point number and integer | |
| JP2765051B2 (en) | Combination method of binary image information | |
| JPH0353669B2 (en) | ||
| JPH01259462A (en) | Image enlarging and reducing device | |
| JPH03219373A (en) | Method and device for two-dimensional coordinate transformation | |
| JPS6190277A (en) | Histogram calculation method | |
| JPH04182751A (en) | Picture memory read-out control circuit | |
| JPH04148480A (en) | Cad data drawing system | |
| JPS62160595A (en) | Picture processor | |
| JPH04365096A (en) | Character pattern generator | |
| JPS62284444A (en) | Memory data converter | |
| JPS5837884A (en) | Address converting system |