JPH03253977A - Suffering system - Google Patents

Suffering system

Info

Publication number
JPH03253977A
JPH03253977A JP5242190A JP5242190A JPH03253977A JP H03253977 A JPH03253977 A JP H03253977A JP 5242190 A JP5242190 A JP 5242190A JP 5242190 A JP5242190 A JP 5242190A JP H03253977 A JPH03253977 A JP H03253977A
Authority
JP
Japan
Prior art keywords
data
run
run length
length
vector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5242190A
Other languages
Japanese (ja)
Other versions
JP2991735B2 (en
Inventor
Mitsuhiro Nakajima
中島 光洋
Takashi Miyaki
宮木 隆
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.)
Mutoh Industries Ltd
Original Assignee
Mutoh Industries Ltd
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 Mutoh Industries Ltd filed Critical Mutoh Industries Ltd
Priority to JP2052421A priority Critical patent/JP2991735B2/en
Publication of JPH03253977A publication Critical patent/JPH03253977A/en
Application granted granted Critical
Publication of JP2991735B2 publication Critical patent/JP2991735B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To perform the high-speed processing by buffering data after converting plural kinds of picture data different in data form to run length data of a standardized form. CONSTITUTION:Vector data is inputted to a vector/run length converting means 2 through an interface circuit 1 and is converted to run length data by this means 2, and scanner data outputted from an image scanner or the like is inputted through an interface circuit 3, and FAX data is inputted to a compressed data/run length converting means 5 through an interface circuit 4 in a form of MH, MR, MMR, or the like, and run length data outputted from the vector/run length converting means 2, the interface circuit 3, and the compressed data/run length converting means 5 are systematically stored in a run length buffer 6. The output of a sort/merge means 7 is supplied to a run length/ bit map converting means 8 and is given to a raster type printer 9. Thus, the high-speed processing is possible.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、CAD、FAX及びスキャナ等、種々の画像
出力装置から出力される画像データを入力し、ラスク型
出力装置等に出力する際のバッファリング方式に関する
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Fields] The present invention is applicable to inputting image data output from various image output devices such as CAD, FAX, and scanners, and outputting it to a rask-type output device, etc. Regarding buffering methods.

[従来の技術] 近年、図面及び文書等を作成及び編集し、電子情報の形
態で保存したり、プリントアウトするシステムが著しく
普及しつつある。この種のシステムの中には、CAD1
画像スキャナ及びFAX等の種々の画像出力装置から提
供される画像データを取り込んで、1つのファイルデー
タとして保存したり、出力することを可能にしたものも
開発されている。
[Prior Art] In recent years, systems for creating and editing drawings, documents, etc., storing them in the form of electronic information, or printing them out have become extremely popular. Some systems of this type include CAD1
Devices have also been developed that allow image data provided from various image output devices such as image scanners and FAXs to be taken in and saved or output as one file data.

ところで、これら種々の画像出力装置から提供される画
像データの形式は、通常、区々である。
Incidentally, the formats of image data provided by these various image output devices are usually different.

例えば、CADシステムからの画像データはベクタデー
タ、画像スキャナからの画像データはビットマツプデー
タ、FAXからの画像データはMH。
For example, image data from a CAD system is vector data, image data from an image scanner is bitmap data, and image data from a FAX is MH.

MR等の圧縮符号化されたデータとなっている。The data is compression encoded data such as MR.

従って、これらデータ形式が異なる複数種類の画像デー
タを取り込んで、統一的に保存及び出力する場合には、
データ形式を統一させる必要がある。
Therefore, when importing multiple types of image data with different data formats and uniformly saving and outputting them,
It is necessary to unify data formats.

このため、従来、これらの画像データを、例えば全てビ
ットマツプデータに変換し、ビットマツプメモリに一旦
バッファリングしてから、ラスク型出力装置等に出力す
ること等が行われている。
For this reason, conventionally, for example, all of these image data are converted into bitmap data, buffered once in a bitmap memory, and then outputted to a rask-type output device or the like.

[発明が解決しようとする課題] しかしながら、上述した従来のバッファリング方式では
、各画像データからビットマップデータヘ変換するため
の変換手段をデータ形式毎に備える必要がある。また、
ビットマツプデータへの変換に時間がかかるうえ、変換
されたビットマツプデータをバッファリングするために
、大容量のビットマツプデータを備えなければならない
という問題点があった。
[Problems to be Solved by the Invention] However, in the conventional buffering method described above, it is necessary to provide a conversion means for converting each image data into bitmap data for each data format. Also,
There are problems in that it takes time to convert to bitmap data, and a large amount of bitmap data must be provided in order to buffer the converted bitmap data.

本発明はかかる問題点に鑑みてなされたものであって、
変換手段の簡易化を図ることができ、高速処理が可能で
、しかもバッファメモリの容量を削減することが可能な
バッファリング方式を提供することを目的とする。
The present invention has been made in view of such problems, and includes:
It is an object of the present invention to provide a buffering method that can simplify conversion means, perform high-speed processing, and reduce the capacity of a buffer memory.

[課題を解決するための手段] 本発明に係るバッファリング方式は、データ形式が異な
る複数種類の画像データを夫々統一された形式のランレ
ングスデータに変換し、ランレングスバッファに統一的
に格納した後、所定の処理装置に出力することを特徴と
する。
[Means for Solving the Problems] The buffering method according to the present invention converts a plurality of types of image data with different data formats into run-length data in a unified format, and uniformly stores the data in a run-length buffer. After that, the data is output to a predetermined processing device.

[作用コ 本発明によれば、ベクタデータ、ビットマツプデータ及
びMHlMR等の圧縮符号化されたデータ等、データ形
式が異なる複数種類の画像データが全て統一された形式
のランレングスデータに変換される。この場合、ビット
マツプデータ及びMHlMR等の圧縮符号化されたデー
タのように、ラスタデータを基準として生成されたデー
タをランレングスデータに変換するのは極めて容易であ
り、また、ベクタデータからランレングスデータへの変
換モ、ランレングスバッファへの少ない書込回数で行う
ことができるため、高速処理が可能である。
[Operations] According to the present invention, multiple types of image data with different data formats, such as vector data, bitmap data, and compression-encoded data such as MHlMR, are all converted into run-length data in a unified format. . In this case, it is extremely easy to convert data generated based on raster data, such as bitmap data and compression-encoded data such as MHlMR, into run-length data. Conversion to data can be performed with fewer writes to the run-length buffer, allowing high-speed processing.

そして、このように種々の形式の画像データをランレン
グスデータに変換し、ランレングスバッファに統一的に
格納することにより、以後の処理を統一化させることが
でき、変換手段の全体的な構成を簡易化することができ
る。
By converting image data in various formats into run-length data in this way and uniformly storing it in the run-length buffer, subsequent processing can be unified, and the overall configuration of the conversion means can be simplified. It can be simplified.

更に、本発明では、ランレングスデータ単位でのバッフ
ァリングが行われるから、ビットマツプデータでバッフ
ァリングする従来の方式に比べ、バッファ容量を大幅に
削減することができる。
Furthermore, in the present invention, since buffering is performed in units of run-length data, the buffer capacity can be significantly reduced compared to the conventional method of buffering in bitmap data.

[実施例コ 以下、添付の図面を参照しながら、本発明の実施例につ
いて説明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.

第1図は本発明の実施例に係るバッファリング方式を適
用したデータ変換装置を示すブロック図である。
FIG. 1 is a block diagram showing a data conversion device to which a buffering method according to an embodiment of the present invention is applied.

CAD等から出力されるベクタデータは、インタフェー
ス回路1を介してベクタ・ランレングス変換手段2に入
力されている。ベクタ・ランレングス変換手段2は、入
力されたベクタデータをランレングスデータに変換する
。また、画像スキャナ等から出力されるスキャナデータ
は、例えばランレングスデータの形式でインタフェース
回路3を介して入力されている。更に、FAXデータは
、MHlMR,MMR等の形式でインタフェース回路4
を介して圧縮データ・ランレングス変換手段5に入力さ
れている。圧縮データ・ランレングス変換手段5は、公
知の圧縮・伸張プロセッサ(CEP)からなり、入力さ
れた圧縮符号化データをランレングスデータに変換する
。そして、ベクタ・ランレングス変換手段2、インタフ
ェース回路3及び圧縮データ・ランレングス変換手段5
から夫々出力されるランレングスデータは、ランレング
スバッファ6に統一的に格納されるようになっている。
Vector data output from a CAD or the like is input to a vector run length conversion means 2 via an interface circuit 1. The vector/run length conversion means 2 converts input vector data into run length data. Further, scanner data output from an image scanner or the like is inputted via the interface circuit 3 in the form of run-length data, for example. Furthermore, the FAX data is sent to the interface circuit 4 in the format of MHlMR, MMR, etc.
The compressed data is inputted to the compressed data/run length converting means 5 via. The compressed data/run length conversion means 5 is comprised of a known compression/expansion processor (CEP), and converts the input compressed encoded data into run length data. Then, vector run length conversion means 2, interface circuit 3, and compressed data run length conversion means 5
The run-length data outputted from each of the run-length data are unified and stored in the run-length buffer 6.

ランレングスバッファ6に格納されたランレングスデー
タは、ソート・マージ手段7に供給されている。ソート
・マージ手段7は、ランレンゲデータをラスタ走査に適
するようにソート処理及びマージ処理する。ソート・マ
ージ手段7の出力は、ランレングス・ビットマツプ変換
手段8に供給されている。ランレングス・ビットマツプ
変換手段8は、基準クロックに従ってランレングスブー
タラ順次ラスタデータに変換する。そして、このランレ
ングス・ビットマツプデータ変換手段8の出力が静電プ
ロッタ、サーマルプリンタ、レーザービームプリンタ及
びCRTデイスプレィ装置等のラスタ型プリンタ9に与
えられるようになっている。
The run length data stored in the run length buffer 6 is supplied to a sorting/merging means 7. The sorting/merging means 7 sorts and merges the run range data to make it suitable for raster scanning. The output of the sorting/merging means 7 is supplied to a run length/bitmap converting means 8. The run-length bitmap conversion means 8 sequentially converts the run-length booter into raster data according to the reference clock. The output of the run-length/bitmap data converting means 8 is applied to a raster type printer 9 such as an electrostatic plotter, a thermal printer, a laser beam printer, a CRT display device, or the like.

なお、上記構成において、ベクタ・ランレングス変換手
段2、ソート・マージ手段7及びランレングス・ビット
マツプ変換手段8は、ハードウェアのみにより構成され
ていても、マイクロコンピュータとソフトウェアとによ
り構成されたものでも良い。
In the above configuration, the vector/run length conversion means 2, the sort/merge means 7, and the run length/bitmap conversion means 8 may be configured only by hardware or may be configured by a microcomputer and software. good.

次に上記のように構成された本装置の動作について説明
する。
Next, the operation of this apparatus configured as described above will be explained.

ベクタデータがインタフェース回路1を介してベクタ・
ランレングス変換手段2に入力されると、ベクタ・ラン
レングス変換手段2では、次のようなアルゴリズムに従
って、ベクタデータをランレングスデータに変換する。
The vector data is transferred to the vector via the interface circuit 1.
When input to the run-length conversion means 2, the vector/run-length conversion means 2 converts the vector data into run-length data according to the following algorithm.

第2図(a)、(b)はこのアルゴリズムを示すフロー
チャート、第3図はこのアルゴリズムで生成されるラン
レングスデータに対応したドツト列を示す模式図である
。なお、ここでは、Y軸方向がラスク方向に設定されて
いる。
FIGS. 2(a) and 2(b) are flowcharts showing this algorithm, and FIG. 3 is a schematic diagram showing a dot array corresponding to run length data generated by this algorithm. Note that here, the Y-axis direction is set to the rask direction.

先ず、ベクタデータとして、第3図に示すような2点P
1、P2の座標値(xzyt)、(X21Y2)が与え
られると、ベクタ・ランレングス変換手段2では、両座
種間のX軸方向及びY軸方向の距離dx、dyを算出す
る(St )。
First, as vector data, two points P as shown in Fig.
1. When the coordinate values (xzyt) and (X21Y2) of P2 are given, the vector run length conversion means 2 calculates the distances dx and dy in the X-axis direction and Y-axis direction between the two-legged species (St) .

第3図の例では、dx=5、dy=16が算出される。In the example of FIG. 3, dx=5 and dy=16 are calculated.

もし、dXがOでない場合には、傾きd=d’5’/d
xを計算しくS2.S3)、dに小数部がある場合には
、n s = d N n 2 = d + 1とし、
dに小数部がない場合には、n+ =n2=dとする(
S3.S4.S5)。また、もしdxがOの場合には、
Y軸方向に延びる長さdyのランレングスデータを生成
するため、n t = n2= d Vとする(S2.
S、)。第3図の例では、dx=5、dY=16である
から、d=1615=3.2、n I= 3、n* =
4となる。従って、この場合、ベクトルの両端を除けば
、3ドツト連続、又は4ドツト連続のランレングスデー
タを順次書込んでいくことになる。
If dX is not O, slope d=d'5'/d
Calculate x S2. S3), if d has a decimal part, set n s = d N n 2 = d + 1,
If d has no decimal part, set n+ = n2 = d (
S3. S4. S5). Also, if dx is O,
In order to generate run length data of length dy extending in the Y-axis direction, nt = n2 = dV (S2.
S.). In the example of Fig. 3, dx=5, dY=16, so d=1615=3.2, n I=3, n*=
It becomes 4. Therefore, in this case, unless both ends of the vector are excluded, run length data of three consecutive dots or four consecutive dots is sequentially written.

そこで、先ず、始点部のランレングスデータが生成され
る。ベクトルの両端点P、、P2では、真の直線に対す
る誤差を少なくするために、ベクトルの中間部分のドツ
ト数の半分のドツト数のランレングスデータが使用され
る。即ち、nl。
Therefore, first, run length data at the starting point is generated. At both end points P, . That is, nl.

n2を夫々1つ減じると共に、XIYに夫々始点P1の
座標値Xs+  ytを代入しくS7)、ドツト数にと
して(n2+1)/2を代入する(S8)。そして、ド
ツト数Kが長すぎないかどうかを、次の判別式で判別す
る(S8)。
While subtracting n2 by one, the coordinate values Xs+yt of the starting point P1 are respectively substituted for XIY (S7), and (n2+1)/2 is substituted for the number of dots (S8). Then, it is determined whether the number of dots K is too long using the following discriminant (S8).

2・dx@K>dY   ・・・(1)もし、ドツト数
が長すぎる場合、誤差を補正するため、Kを1つ減じる
( S so)。第3図の例では、X=O+ y=o+
 K=2が夫々代入される。
2.dx@K>dY (1) If the number of dots is too long, reduce K by one to correct the error (Sso). In the example in Figure 3, X=O+ y=o+
K=2 is assigned to each.

そして、(x+  y)の位置からy方向にに+1のラ
ンレングスデータを出力する(S□1)。なお、第2図
では、このようなランレングスの出力指令を“Pixe
l out  (x*  y+ K+ 1 )”と表現
している。これにより、第3図の始点P1に、2ドツト
のランレングスが生成され、ランレングスバッファ6に
ランレングスデータ(0,0,2)が書込まれる。ラン
レングスデータが書込まれたら、Xを1つ歩進させると
共に、yをに+1だけ歩進させる(St□)。
Then, +1 run length data is output in the y direction from the position (x+y) (S□1). In addition, in FIG. 2, such a run length output command is referred to as “Pixe”.
As a result, a run length of 2 dots is generated at the starting point P1 in FIG. 3, and run length data (0, 0, 2 ) is written. When the run length data is written, X is incremented by one and y is incremented by +1 (St□).

続いて、ベクトルの中間部でのランレングスを生成する
。先ず、Kにn2を代入しくS2□)、ドツト数Kが長
すぎないかどうかを、次の判別式で判別する( 823
)。
Next, a run length in the middle of the vector is generated. First, substitute n2 for K (S2□), and use the following discriminant to determine whether the number of dots K is too long (823
).

2・dx (y+K)>ciy (2・X+1)・・・
(2) そして、ドツト列Kが長すぎると判定された場合にのみ
、Kにnlが代入される( S 24)。次に、(x、
Y)の位置からy方向にに+1のランレングスデータを
出力する( S 25)。第4図の例では、(1,2)
の位置から3ドツトのランレングスが生成すれ、ランレ
ングスバッファ6にランレングスデータ(1,2,3)
が書込まれる。ランレングスデータが書込まれたら、X
を1つ歩進させると共に、yをに+1だけ歩進させる(
 S 2e)。中間部では、この処理をXがX2に達す
るまで繰り返す(S 21)。
2・dx (y+K)>ciy (2・X+1)...
(2) Only when it is determined that the dot row K is too long, nl is substituted for K (S24). Next, (x,
+1 run length data is output in the y direction from the position Y) (S25). In the example in Figure 4, (1, 2)
A run length of 3 dots is generated from the position of , and the run length data (1, 2, 3) is stored in the run length buffer 6.
is written. Once the run length data has been written,
increments by one and increments y by +1 (
S2e). In the intermediate part, this process is repeated until X reaches X2 (S21).

最後に終点位置では、ドツト列Kにy2−yを代入しく
82□) 、(XI y)の位置からy方向にに+1の
ランレングスデータを出力する( 828)。
Finally, at the end point position, y2-y is substituted into the dot row K (82□), and run length data of +1 is output in the y direction from the position (XI y) (828).

第3図の例では、(5,15)の位置から2ドットのラ
ンレングスが生成され、ランレングスバッファ6にラン
レングスデータ(5,15,2)が書込まれる。
In the example shown in FIG. 3, a run length of 2 dots is generated from the position (5, 15), and run length data (5, 15, 2) is written to the run length buffer 6.

以上の処理を行うことにより、ランレングスバッファ6
には、第4図に示すようなランレングスデータが書込ま
れることになる。なお、第3図のデータを従来のD D
 A (digital differentiala
nalyzer )アルゴリズムで変換すると、ビット
マツプメモリへの16回の書き込みが必要になるのに対
し、本実施例のアルゴリズムによれば、ランレングスバ
ッファ6に対し6回のデータの書き込みで変換処理を終
了することができる。特に、水平線、傾斜の小さな直線
、及び太線等が多いベクタデータに対しては、顕著な効
果を期待することができる。
By performing the above processing, the run length buffer 6
Run-length data as shown in FIG. 4 will be written in . In addition, the data in Fig. 3 is converted into the conventional D D
A (digital differential)
When converting using the Nalyzer) algorithm, it is necessary to write data to the bitmap memory 16 times, but according to the algorithm of this embodiment, the conversion process is completed by writing data to the run-length buffer 6 six times. can do. In particular, significant effects can be expected for vector data that includes many horizontal lines, straight lines with small slopes, thick lines, and the like.

一方、 スキャナからのランレングスデータは、インタ
フェース回路3を介してランレングスバッファ6に直接
格納される。
On the other hand, run length data from the scanner is directly stored in the run length buffer 6 via the interface circuit 3.

更に、FAXからの圧縮符号化データは、圧縮データ・
ランレングス変換手段5でランレンゲステータに変換さ
れ、ランレングスバッファ6に格納される。
Furthermore, compressed encoded data from FAX is compressed data.
It is converted into a run length stator by the run length conversion means 5 and stored in the run length buffer 6.

この結果、例えば第5図に示すように、ベクタデータと
して供給された直線PニーP2と、圧縮符号化データと
して供給された直線P、−p、とが重なった場合、ラン
レングスバッファ6に第6図(a)に示すようなランレ
ングスデータが格納される。
As a result, for example, as shown in FIG. Run length data as shown in FIG. 6(a) is stored.

そこで、ランレングスバッファ6の内容はソート・マー
ジ手段7にて走査ラインに沿った座標順にソーティング
されると共に、重なり合う部分については、マージ処理
が施され、順次、ランレングス・ビットマツプ変換手段
8に供給される。
Therefore, the contents of the run-length buffer 6 are sorted by the sort/merger means 7 in the coordinate order along the scanning line, and the overlapping portions are merged and sequentially supplied to the run-length/bitmap converter 8. be done.

ランレングス・ビットマツプ変換手段8は、例えば第7
図に示すような回路にて構成することができる。即ち、
走査ラインに沿った座標順に供給されるランレングスデ
ータは、F I F O(FirstIn Flrst
 out)メモリ11に格納された後、ドツト列発生回
路12に入力される。ドツト列発生回路12には、クロ
ック発生回路13からの基準クロック信号でカウントア
ツプする画素カウンタ14の出力が供給されている。ド
ツト列発生回路12では、この画素カウンタ14の出力
と、ランレングスデータ中のラン発生位置データとを比
較して、白黒判定することにより、基準クロックに同期
したドツト列信号を出力する。このドツト列信号は、シ
リアルパラレル変換回路15にて、例えば32ビツトの
パラレルデータに変換され、FIFOメモリ16を介し
てラスク型プリンタ9等に出力される。
The run-length bitmap conversion means 8 includes, for example, the seventh
It can be configured with a circuit as shown in the figure. That is,
The run length data provided in coordinate order along the scan line is F I F O (FirstIn Flrst
out) After being stored in the memory 11, it is input to the dot string generation circuit 12. The dot row generation circuit 12 is supplied with the output of a pixel counter 14 that counts up in response to a reference clock signal from a clock generation circuit 13. The dot string generation circuit 12 compares the output of the pixel counter 14 with the run occurrence position data in the run length data to determine black and white, thereby outputting a dot string signal synchronized with the reference clock. This dot string signal is converted into, for example, 32-bit parallel data in a serial-parallel conversion circuit 15, and outputted to a Rask type printer 9 or the like via a FIFO memory 16.

このように、本実施例によれば、ベクタデータ、スキャ
ナデータ及びFAXデータが全て統一された形式のラン
レングスデータに変換される。このうち、ベクタデータ
からランレングスデータへの変換は、ランレングスバッ
ファ6への少ない書込回数で実現できるから、高速の変
換処理が可能である。また、他のデータ形式については
、公知の手法で極めて容易にランレングスバッファへの
変換が可能である。しかも、この場合、ランレングスデ
ータの形式で統一的にバッファリングしているので、バ
ッファメモリの容量を大幅に削減することができる。
In this manner, according to this embodiment, vector data, scanner data, and FAX data are all converted into run-length data in a unified format. Among these, conversion from vector data to run-length data can be realized with a small number of writes to the run-length buffer 6, so high-speed conversion processing is possible. Furthermore, other data formats can be converted to run-length buffers very easily using known techniques. Moreover, in this case, since buffering is performed uniformly in the form of run-length data, the capacity of the buffer memory can be significantly reduced.

なお、本発明は上記実施例に限定されるものではない。Note that the present invention is not limited to the above embodiments.

例えば、ランレングス・ビットマツプ変換手段8の後段
に数ライン分のデータを保持できる小容量のビットマツ
プメモリを備えるようにしても良い。
For example, a small-capacity bitmap memory capable of holding several lines of data may be provided after the run-length bitmap conversion means 8.

また、1走査ライン分の容量を有するSRAM(スタテ
ィックRAM)を使用して、ランレングスバッフγθ内
のデータをソート・マージしながら、同時にラスタデー
タに変換していくことも可能である。この処理を第8図
に示す。即ち、Xで示される走査ライン毎に、対応する
ラインのランレングスデータ(x+ :L *)(但し
、*は任意の値)をランレングスバッファ6から抽出す
る(S34)。抽出されたデータが(x +  y +
 m )である場合、SRAMのアドレスy乃至アドレ
スy十m−1にドツトデータを書込んでい<(835)
It is also possible to use an SRAM (static RAM) with a capacity for one scanning line to sort and merge the data in the run-length buffer γθ and simultaneously convert it into raster data. This process is shown in FIG. That is, for each scanning line indicated by X, run length data (x+:L*) (where * is an arbitrary value) of the corresponding line is extracted from the run length buffer 6 (S34). The extracted data is (x + y +
m), dot data is written to address y to address y0m-1 of SRAM.<(835)
.

対応するラインの全てのランレングスデータがビットマ
ツプの形態でSRAMに書込まれたら(S33) 、S
RAMの内容をラスタデータに変換し出力する( S 
、、)。これを全ての走査ラインについて実行する( 
S 3−9S 3□)ことにより、1乃至数ライン分の
メモリで、ランレングス・ビットマツプ変換を行うこと
ができる。
When all the run length data of the corresponding line has been written to the SRAM in the form of a bitmap (S33), S
Converts the contents of RAM to raster data and outputs it (S
,,). Do this for all scanlines (
S3-9S3□) allows run-length bitmap conversion to be performed using one to several lines of memory.

なお、ランレングスデータの形式についても、例示した
ものに限定されるものではなく、ドツト列の始点位置及
び終点位置を指定するものでも良い。いずれの形態であ
っても、A4乃至AOの実用図面の場合、ランレングス
データを32ビツト=1ワードで表現することが可能で
あり、汎用CPUでの処理を行うことも可能である。
Note that the format of the run length data is not limited to the one illustrated, but may also be one that specifies the starting and ending positions of the dot array. Regardless of the format, in the case of A4 to AO practical drawings, run length data can be expressed in 32 bits = 1 word, and can be processed by a general-purpose CPU.

また、取り込まれる画像データは、他の記憶媒体からの
画像データでもよい。更に、本発明は、画像データのフ
ァイリングシステムの入力部にも適用可能である。
Further, the image data to be captured may be image data from another storage medium. Furthermore, the present invention is also applicable to an input section of an image data filing system.

[発明の効果コ 以上述べたように、本発明によれば、データ形式が異な
る複数種類の画像データを統一された形式のランレング
スデータに変換してバッファリングを行うようにしてい
るので、ビットマツプデータでバッファリングする従来
の方式に比べ、高速処理が可能で、しかもバッファ容量
を大幅に削減することができる。
[Effects of the Invention] As described above, according to the present invention, multiple types of image data with different data formats are converted into run-length data of a unified format and buffered, so the bit Compared to the conventional method of buffering map data, this method enables high-speed processing and significantly reduces buffer capacity.

また、このように種々の形式の画像データをランレング
スデータに変換し、ランレングスバッファに統一的に格
納することにより、以後の処理を統一化させることがで
き、変換手段の構成を簡易化することができる。
In addition, by converting image data in various formats into run-length data and storing the data uniformly in the run-length buffer in this way, subsequent processing can be unified, and the configuration of the conversion means can be simplified. be able to.

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

第1図は本発明の実施例に係るバッファ方式を適用した
変換装置の構成を示すブロック図、第2図は同装置にお
けるベクタ・ランレングス変換手順を示す流れ図、第3
図は同変換手順により生成されるドツト列を示す模式図
、第4図は同変換手順にて生成されランレングスバッフ
ァに格納されるランレングスデータを示す図、第5図は
複数の直線が交差した例を示す模式図、第6図は同装置
におけるソート・マージ手段で処理される前後のランレ
ングスデータを示す図、第7図は同装置におけるランレ
ングス・ビットマツプ変換手段の詳細ブロック図、第8
図は本発明の第2の実施例に係る変換装置におけるラン
レングス・ラスタ変換手順を示す流れ図である。 1.3,4;インタフェース回路、2;ベクタ・ランレ
ングス変換手段、5;圧縮データ・ランレングス変換手
段、6;ランレングスバッファ、7;ソート・マージ手
段、8;ランレングス・ビットマツプ変換手段、9;ラ
スタ型プリンタ、11゜18;FIFOメモリ、12;
ドツト列発生回路、13;クロック発生回路、14;画
素カウンタ、15;シリアル・パラレル変換回路
FIG. 1 is a block diagram showing the configuration of a conversion device applying a buffer method according to an embodiment of the present invention, FIG. 2 is a flowchart showing a vector run-length conversion procedure in the same device, and FIG.
The figure is a schematic diagram showing a dot string generated by the same conversion procedure, Figure 4 is a diagram showing run length data generated by the same conversion procedure and stored in the run length buffer, and Figure 5 is a diagram showing the intersection of multiple straight lines. FIG. 6 is a diagram showing run-length data before and after processing by the sorting/merging means in the same device. FIG. 7 is a detailed block diagram of the run-length/bitmap converting means in the same device. 8
The figure is a flowchart showing a run-length raster conversion procedure in a conversion apparatus according to a second embodiment of the present invention. 1.3, 4; interface circuit; 2; vector run length conversion means; 5; compressed data run length conversion means; 6; run length buffer; 7; sorting and merging means; 8; run length bitmap conversion means; 9; Raster type printer, 11° 18; FIFO memory, 12;
Dot row generation circuit, 13; Clock generation circuit, 14; Pixel counter, 15; Serial-to-parallel conversion circuit

Claims (1)

【特許請求の範囲】[Claims] (1)データ形式が異なる複数種類の画像データを夫々
統一された形式のランレングスデータに変換し、ランレ
ングスバッファに統一的に格納した後、所定の処理装置
に出力することを特徴とするバッファリング方式。
(1) A buffer characterized by converting multiple types of image data with different data formats into run-length data in a unified format, storing the data uniformly in a run-length buffer, and then outputting the data to a predetermined processing device. Ring method.
JP2052421A 1990-03-02 1990-03-02 Buffering method Expired - Lifetime JP2991735B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2052421A JP2991735B2 (en) 1990-03-02 1990-03-02 Buffering method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2052421A JP2991735B2 (en) 1990-03-02 1990-03-02 Buffering method

Publications (2)

Publication Number Publication Date
JPH03253977A true JPH03253977A (en) 1991-11-13
JP2991735B2 JP2991735B2 (en) 1999-12-20

Family

ID=12914318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2052421A Expired - Lifetime JP2991735B2 (en) 1990-03-02 1990-03-02 Buffering method

Country Status (1)

Country Link
JP (1) JP2991735B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05159030A (en) * 1991-12-05 1993-06-25 Toppan Printing Co Ltd Picture data management device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05159030A (en) * 1991-12-05 1993-06-25 Toppan Printing Co Ltd Picture data management device

Also Published As

Publication number Publication date
JP2991735B2 (en) 1999-12-20

Similar Documents

Publication Publication Date Title
KR920003477B1 (en) Image processing apparatus
EP0200885A2 (en) Method and apparatus for processing image data
JP2924964B2 (en) Image information encoding device, image information decoding device, and image information encoding / decoding device
JP2991735B2 (en) Buffering method
JPS6031423B2 (en) Compressed data restoration method
JP2823925B2 (en) Vector to raster converter
US20020024525A1 (en) Image encoding apparatus and method
KR920005242B1 (en) Image processing apparatus
JP3352761B2 (en) Image data position conversion method
JPH0519194B2 (en)
JP3146771B2 (en) Font rasterizing apparatus and method
JPH06217110A (en) Image converting method
JP2713930B2 (en) Image processing method
JP2839578B2 (en) Image data input processing device
JPH05204591A (en) Image plotting device
JPH0229834A (en) Image processor
JPH0191569A (en) Transfer controller for picture data
JP2641432B2 (en) Interface device
JP2748438B2 (en) Computer system
JP3005014B2 (en) Printing equipment
JPH03269773A (en) Picture element/vector converter and converting method
JPH07203178A (en) Image data processing method
JP2713938B2 (en) Display control device
JPS6359673A (en) Interface device
JP2773264B2 (en) Image input processing device