JPH0837602A - Data compression device/method - Google Patents

Data compression device/method

Info

Publication number
JPH0837602A
JPH0837602A JP17386994A JP17386994A JPH0837602A JP H0837602 A JPH0837602 A JP H0837602A JP 17386994 A JP17386994 A JP 17386994A JP 17386994 A JP17386994 A JP 17386994A JP H0837602 A JPH0837602 A JP H0837602A
Authority
JP
Japan
Prior art keywords
data
change point
point position
line
change
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
JP17386994A
Other languages
Japanese (ja)
Inventor
Nobuyoshi Muraoka
信義 村岡
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP17386994A priority Critical patent/JPH0837602A/en
Publication of JPH0837602A publication Critical patent/JPH0837602A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a data compression device/method which has high compressibility and can compress even the multi-bit data. CONSTITUTION:The received data are processed in steps by a storage means 11, in the 1st step of a changing point detection means 12, in the 2nd steps of the means 13, 14 and 15, and in the 3rd step of a means 16 respectively. In the 1st step, a changing point detection signal 19 is detected to show the changing point of the data set between a data row on a relevant line and that of the line preceding the relevant one. The signal 19 is turned into the changing point position information 20 on each prescribed bit in the 2nd step. Then a changing point position change signal 22 is detected to show the changing point between the information 20 on both lines. The signal 22 is turned into the changing point distribution information 23 on each prescribed bit in the 3rd step. These information 20 and 23 and the present line data 10 are selected and turned into the output data by a data control means 17.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データ圧縮装置および
データ圧縮方法に関し、特に、プリンタ装置の印画デー
タ等のデータ相互の相関関係が大きいデータ列のデータ
圧縮装置およびデータ圧縮方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data compressing apparatus and a data compressing method, and more particularly to a data compressing apparatus and a data compressing method for a data string having a large mutual correlation of data such as print data of a printer.

【0002】[0002]

【従来の技術】従来、この種のデータ変化点を用いたデ
ータ圧縮装置またはデータ圧縮方法は、例えば、特開昭
62−274988号公報に示されるように、ファクシ
ミリ装置等における、送信データ量の低減を目的として
用いられる。
2. Description of the Related Art Conventionally, a data compressing apparatus or a data compressing method using this kind of data change point is disclosed in Japanese Unexamined Patent Publication No. 62-274988, for example, as shown in FIG. It is used for the purpose of reduction.

【0003】図4は、上記従来のデータ圧縮方式の一例
を示す原理説明図である。図4において、各ラインのド
ットの色の‘白/黒’を‘0/1’の2値信号として2
色を表している。図示の場合、第nライン目のドットの
色情報と第(n+1)ライン目のドットの色情報とを組
として利用し、下記の手順によりデータの圧縮を行なっ
ている。 1)第(n+1)ラインまたは第nライン上で色変化が
現れるまでの間には、第(n+1)ライン上のドットの
色情報のみを抽出する。 2)上記色変化点が現れた時点において、第(n+1)
ライン上のそれまでのドットの色情報を反転させ変化点
の発生を指示する変化点信号、および当該変化点での第
nライン上でのドットの色情報の2つを抽出する。
FIG. 4 is a principle explanatory view showing an example of the conventional data compression method. In FIG. 4, “white / black” of the dot color of each line is set as a binary signal of “0/1” to be 2
Represents a color. In the illustrated case, the color information of the dot on the n-th line and the color information of the dot on the (n + 1) -th line are used as a set, and the data is compressed by the following procedure. 1) Until the color change appears on the (n + 1) th line or the nth line, only the color information of the dots on the (n + 1) th line is extracted. 2) At the time when the color change point appears, the (n + 1) th
Two pieces of a change point signal that inverts the color information of the dots up to that point on the line to instruct the generation of the change point and the color information of the dot on the n-th line at the change point are extracted.

【0004】図4において、変化点の発生時点は、第n
ライン上では、クロックT3、T6、T17、T19で
あり、また、第(n+1)ラインでは、T9、T12、
T15である。この各々のクロック時点で付加すべき情
報を「ab」として表現すれば、第1ビットの「a」
は、第(n+1)ライン上での直前の色情報を反転する
ことで変化点の発生を指示し、第2ビットの「b」で第
nライン上の変化点での色情報を表示している。
In FIG. 4, the time of occurrence of the change point is the n-th time.
On the line, clocks T3, T6, T17, T19, and on the (n + 1) th line, T9, T12,
It is T15. If the information to be added at each clock time is expressed as “ab”, the first bit “a”
Indicates that a change point is generated by inverting the color information immediately before on the (n + 1) th line, and the color information at the change point on the nth line is displayed by "b" of the second bit. There is.

【0005】従って、上記の規則に基づく各々のクロッ
ク時点で付加される情報は、T3では「a」が第(n+
1)ライン上のT2の反転信号の‘1’、「b」が第n
ライン上の変化点T3の色情報の‘1’である。よっ
て、「ab」は「11」となる。以下同様に、T6では
「10」、T9では「10」、T12では「00」、T
15では「10」、T17では「01」、T19では
「00」となる。
Therefore, in the information added at each clock time based on the above rule, at T3, "a" is the (n +) th.
1) "1" and "b" of the inverted signal of T2 on the line are the nth
It is "1" of the color information of the change point T3 on the line. Therefore, “ab” becomes “11”. Similarly, T6 is "10", T9 is "10", T12 is "00", T
The value is “10” at 15, the value is “01” at T17, and the value is “00” at T19.

【0006】図5は、図4で示した従来のデータ圧縮方
式を実行するデータ圧縮回路の構成例を示す図である。
図5の圧縮回路は、スキャナ101、情報抽出部10
2、メモリ103、符号・復号部104、制御部10
5、モデム106、網制御部(NCU)107および回
線108により構成される。また、情報抽出部102は
更に細分化され、nライン用の色情報を保持するための
ラインメモリ111、変化点検出部112、メモリ制御
部113、切替回路114、117、フリップフロップ
115、反転回路116により構成される。また、デー
タ圧縮回路にはプリンタ118が接続される。
FIG. 5 is a diagram showing a configuration example of a data compression circuit for executing the conventional data compression method shown in FIG.
The compression circuit of FIG. 5 includes a scanner 101 and an information extraction unit 10.
2, memory 103, encoding / decoding unit 104, control unit 10
5, a modem 106, a network control unit (NCU) 107 and a line 108. The information extraction unit 102 is further subdivided into line memory 111 for holding color information for n lines, change point detection unit 112, memory control unit 113, switching circuits 114 and 117, flip-flop 115, and inverting circuit. 116. Further, the printer 118 is connected to the data compression circuit.

【0007】以下に従来の実施例での送信動作について
説明する。図5において、(n+1)ラインデータは、
切替回路117によりスキャナ101のデータが選択さ
れ、ラインメモリ111からは、スキャナ101が走査
中の第(n+1)ラインに対し、1ライン分遅らせたタ
イミング、即ち第nライン目のドットの色情報が出力さ
れる。この結果、切替回路114には、下記の3種類の
色情報が入力される。 1) 第(n+1)ラインのドットの色情報 2) 第(n+1)ラインについて1ドット分前のドッ
トの反転色情報 3) 第nラインのドットの色情報
The transmission operation in the conventional embodiment will be described below. In FIG. 5, the (n + 1) line data is
The data of the scanner 101 is selected by the switching circuit 117, and from the line memory 111, the timing delayed by one line with respect to the (n + 1) th line being scanned by the scanner 101, that is, the color information of the dot of the nth line is displayed. Is output. As a result, the following three types of color information are input to the switching circuit 114. 1) Dot color information of the (n + 1) th line 2) Inverted color information of the dot one dot before for the (n + 1) th line 3) Color information of the dot of the nth line

【0008】そして、変化点検出部112には、第nラ
インの色情報と第(n+1)ラインの色情報とが供
給され、両ライン上での変化点の存在を検出した時は、
検出結果の変化点信号を出力する。この変化点信号
は、メモリ制御部113に入力される。メモリ制御部1
13は、変化点検出部112から出力される変化点信号
の有無に対応し、ラインメモリ111へ読み出し指令
を発すると共に、切替回路114にセレクト指令を発す
る。つまり、メモリ制御部113は、次のように、セレ
クト指令を発することによってメモリ103への書き込
みを指示する。
The change point detection unit 112 is supplied with the color information of the nth line and the color information of the (n + 1) th line, and when the change points on both lines are detected,
The change point signal of the detection result is output. This change point signal is input to the memory control unit 113. Memory control unit 1
Reference numeral 13 corresponds to the presence / absence of a change point signal output from the change point detection unit 112 and issues a read command to the line memory 111 and a select command to the switching circuit 114. That is, the memory control unit 113 instructs writing to the memory 103 by issuing a select command as follows.

【0009】即ち、メモリ制御部113は変化点信号
の有無に基づいて、以下のように切替回路114を制御
するセレクト指令を出力する。変化点検出部112から
入力される変化点信号が無い時、(n+1)ラインデ
ータの色情報を選択させる。また、変化点信号が有
る時、反転回路116からの色情報を選択させる。次
いで、メモリ制御部113は、ラインメモリ111へ読
み出し指令を与え、切替回路114に対して色情報を
選択させる。
That is, the memory control section 113 outputs a select command for controlling the switching circuit 114 as follows based on the presence / absence of the change point signal. When there is no change point signal input from the change point detection unit 112, the color information of the (n + 1) line data is selected. Further, when there is a change point signal, the color information from the inverting circuit 116 is selected. Next, the memory control unit 113 gives a read command to the line memory 111, and causes the switching circuit 114 to select color information.

【0010】切替回路114は、メモリ制御回路113
からのセレクト指令によって、上記各色情報、、
の何れかを選択し、その出力データをメモリ103へ
供給する。メモリ103は、切替回路114から供給さ
れた上記の出力データを受領し、メモリに書き込み記
憶する。
The switching circuit 114 is a memory control circuit 113.
By the select command from, the above color information,
Any of the above is selected and the output data is supplied to the memory 103. The memory 103 receives the above-mentioned output data supplied from the switching circuit 114, and writes and stores it in the memory.

【0011】符号・復号部104は、メモリ103に記
録されたデータを読み出し、この読出データを符号・
復号部104へ供給し、伝送のためのデータ圧縮を伴う
符号化を行なう。次いで、制御部105は送信制御を行
ない、モデム106と網制御部(NCU)107を介し
て回線108に圧縮された色情報を送信する。
The encoding / decoding unit 104 reads out the data recorded in the memory 103 and encodes the read data.
The data is supplied to the decoding unit 104 and is encoded with data compression for transmission. Then, the control unit 105 performs transmission control, and transmits the compressed color information to the line 108 via the modem 106 and the network control unit (NCU) 107.

【0012】上記の場合は、データ送信時の場合を説明
したものであるが、データ受信時には「回線108→N
CU107→モデム106→制御部105→符号・復号
部104→情報抽出部102→メモリ103→プリンタ
108」となるように構成し、この手順を巡ることで、
受信側でのデータ復元が完成する。
In the above case, the case of data transmission is explained, but when data is received, "line 108 → N"
CU107 → modem 106 → control unit 105 → encoding / decoding unit 104 → information extraction unit 102 → memory 103 → printer 108 ”, and by going through this procedure,
Data restoration on the receiving side is completed.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、上記従
来のデータ圧縮方式は、2ラインのデータを比較し、デ
ータの変化点において当該変化点の存在を指示する変化
点信号と変化点での変化データを付加することでデータ
圧縮を行なっているため、2ラインのデータが完全に一
致した場合でも最大圧縮率は50%となり、同一データ
が連続する場合においても圧縮率は上がらない。
However, in the above-mentioned conventional data compression method, data of two lines are compared, and a change point signal indicating the existence of the change point at the change point of the data and change data at the change point. Since the data is compressed by adding, the maximum compression rate becomes 50% even when the data of two lines completely match, and the compression rate does not increase even when the same data continues.

【0014】また、直前の色情報を反転することで変化
点の発生を指示しているので、1つのドットの色情報が
多ビットの場合には変化点の指示を表現できない。故
に、上記従来例を用いることができない問題点を伴う。
Further, since the generation of the change point is instructed by reversing the immediately preceding color information, the change point instruction cannot be expressed when the color information of one dot is multi-bit. Therefore, there is a problem that the above conventional example cannot be used.

【0015】本発明は、圧縮率が高く且つ多ビットデー
タの圧縮も可能なデータ圧縮装置およびデータ圧縮方法
を提供することを目的とする。
It is an object of the present invention to provide a data compression device and a data compression method which have a high compression rate and can also compress multi-bit data.

【0016】[0016]

【課題を解決するための手段】かかる目的を達成するた
め、本発明のデータ圧縮装置は、入力されたデータのデ
ータ列の相関を比較し、変化したデータの位置情報とこ
のデータとを出力するデータ圧縮装置であり、データ列
を一時記憶する記憶手段と、当該ラインのデータ列と記
憶手段に記憶されている1ライン前のデータ列とを比較
し、2つのデータ列間のデータ内容の異なる当該ライン
の変化データの変化点の位置を表わす変化点検出信号を
出力する変化点検出手段と、変化点検出信号を所定ビッ
ト単位の変化点位置情報とし、この変化点位置情報を一
時記憶する前ライン変化点位置生成手段と、一時記憶し
た1ライン前の変化点位置情報と当該ラインの変化点位
置情報とを比較し、2つの変化点位置情報間の変化点の
位置を表わす変化点位置変化信号を出力する変化点位置
比較手段と、変化点位置変化信号を所定ビット単位の変
化点分布情報とする変化点分布生成手段と、当該ライン
のデータ列と、このデータ列の変化点位置情報および変
化点分布情報を選択して出力するデータ制御手段とを具
備したことを特徴としている。
In order to achieve such an object, the data compression apparatus of the present invention compares the correlation of the data strings of the input data and outputs the position information of the changed data and this data. It is a data compression device, and compares the storage means for temporarily storing the data string with the data string of the line and the data string one line before stored in the storage means, and the data content between the two data strings is different. Change point detecting means for outputting a change point detection signal indicating the position of the change point of the change data of the line, and the change point detection signal as change point position information in units of predetermined bits, before temporarily storing this change point position information. A change indicating the position of the change point between the two change point position information by comparing the change point position information of the preceding line temporarily stored with the line change point position generation means and the change point position information of the line. A change point position comparison means for outputting a position change signal, a change point distribution generation means for using the change point position change signal as change point distribution information in a predetermined bit unit, a data string of the line, and a change point position of this data string And a data control means for selecting and outputting information and change point distribution information.

【0017】また、データ列の入力された当初の0ライ
ン目からのライン番号とデータ制御手段が出力する出力
データとの関係は、第0ライン目が、入力されたデータ
の全データ、第1ライン目が、変化点位置情報およびこ
の変化点位置情報に係る変化データ、第2ライン目以降
が、変化点位置分布情報と、この変化点位置分布情報に
係る変化点位置情報と、変化点位置情報の変化点位置の
変化データとするとよい。
Further, regarding the relationship between the line number from the initial 0th line of the input data string and the output data output by the data control means, the 0th line is the total data of the input data, The line is the change point position information and the change data related to this change point position information, and the second and subsequent lines are the change point position distribution information, the change point position information related to this change point position distribution information, and the change point position. The change data of the information change point position may be used.

【0018】本発明のデータ圧縮方法は、入力されたデ
ータのデータ列の相関を比較し、変化したデータの位置
情報とこのデータとを出力するデータ圧縮方法におい
て、データ列を一時記憶する記憶工程と、当該ラインの
データ列と記憶工程で記憶された1ライン前のデータ列
とを比較し、2つのデータ列間のデータ内容の異なる当
該ラインの変化データの変化点の位置を表わす変化点検
出信号を出力する変化点検出工程と、変化点検出信号を
所定ビット単位の変化点位置情報とし、この変化点位置
情報を一時記憶する前ライン変化点位置生成工程と、一
時記憶した1ライン前の変化点位置情報と当該ラインの
変化点位置情報とを比較し、2つの変化点位置情報間の
変化点の位置を表わす変化点位置変化信号を出力する変
化点位置比較工程と、変化点位置変化信号を所定ビット
単位の変化点分布情報とする変化点分布生成工程と、当
該ラインのデータ列と、このデータ列の変化点位置情報
および変化点分布情報を選択して出力するデータ制御工
程とを具備したことを特徴としている。
In the data compression method of the present invention, in the data compression method of comparing the correlation of the data strings of the input data and outputting the position information of the changed data and this data, a storage step of temporarily storing the data string. And the data sequence of the line and the data sequence one line before stored in the storage process are compared to detect a change point indicating the position of the change point of the change data of the line having different data contents between the two data sequences. A changing point detecting step of outputting a signal, a changing point position generating step of temporarily storing this changing point position information by using the changing point detection signal as changing point position information of a predetermined bit unit, and a temporarily stored one line previous A change point position comparison step of comparing the change point position information with the change point position information of the line and outputting a change point position change signal representing the position of the change point between the two change point position information; A change point distribution generation process in which a change point position change signal is used as change point distribution information in predetermined bits, a data string of the line, and data for selecting and outputting change point position information and change point distribution information of this data string It is characterized by having a control process.

【0019】また、データ列の入力された当初の0ライ
ン目からのライン番号と前記データ制御工程が出力する
出力データとの関係は、第0ライン目が、入力されたデ
ータの全データ、第1ライン目が、変化点位置情報およ
びこの変化点位置情報に係る変化データ、第2ライン目
以降が、変化点位置分布情報と、この変化点位置分布情
報に係る前記変化点位置情報と、変化点位置情報の変化
点位置の変化データとするとよい。
Further, regarding the relationship between the line number from the 0th line in which the data string is initially input and the output data output from the data control step, the 0th line is the total data of the input data, The first line indicates the change point position information and the change data related to the change point position information, the second and subsequent lines indicate the change point position distribution information, and the change point position information related to the change point position distribution information. Change in point position information Change data of the point position may be used.

【0020】[0020]

【作用】したがって、本発明のデータ圧縮装置およびデ
ータ圧縮方法の主要部によれば、データ列を一時記憶し
当該ラインのデータ列と1ライン前のデータ列とを比較
し、2つのデータ列間のデータ内容の異なる当該ライン
の変化データの変化点の位置を表わす変化点検出信号を
出力する。この変化点検出信号を所定ビット単位の変化
点位置情報として一時記憶し、1ライン前の変化点位置
情報と当該ラインの変化点位置情報とを比較し、2つの
変化点位置情報間の変化点の位置を表わす変化点位置変
化信号を出力する。変化点位置変化信号を所定ビット単
位の変化点分布情報とし、当該ラインのデータ列とこの
データ列の変化点位置情報および変化点分布情報を選択
して出力する。変化点位置情報と変化点分布情報を変化
データと共に出力することで、データが圧縮される。
Therefore, according to the main part of the data compressing apparatus and the data compressing method of the present invention, the data string is temporarily stored, the data string of the line is compared with the data string of the preceding line, and the data string between two data strings is compared. And outputs a change point detection signal representing the position of the change point of the change data of the line having different data contents. This change point detection signal is temporarily stored as change point position information in units of a predetermined bit, the change point position information of the immediately preceding line is compared with the change point position information of the line, and the change point between the two change point position information is compared. A change point position change signal indicating the position of is output. The change point position change signal is used as change point distribution information in units of predetermined bits, and the data string of the line and the change point position information and change point distribution information of this data string are selected and output. The data is compressed by outputting the change point position information and the change point distribution information together with the change data.

【0021】[0021]

【実施例】次に添付図面を参照して本発明によるデータ
圧縮装置およびデータ圧縮方法の実施例を詳細に説明す
る。図1〜図3を参照すると本発明の装置および方法の
実施例が示されている。図1は、本実施例が適用される
データ圧縮回路を示すブロック図である。また、図2お
よび図3は本実施例の動作説明図である。
Embodiments of the data compression apparatus and data compression method according to the present invention will now be described in detail with reference to the accompanying drawings. 1-3, there is shown an embodiment of the apparatus and method of the present invention. FIG. 1 is a block diagram showing a data compression circuit to which this embodiment is applied. 2 and 3 are operation explanatory diagrams of the present embodiment.

【0022】図1のデータ圧縮回路は、入力されるデー
タについてカスケードに構成された処理部においてデー
タ処理を実行し、処理途上の所定のデータをデータ制御
手段17で選択出力することにより、所望のデータを得
ている。このカスケードは、記憶手段11、変化点検出
手段12、変化点位置生成手段13、前ライン変化点位
置生成手段14、変化点位置比較手段15および変化点
分布生成手段16により構成される。
The data compression circuit shown in FIG. 1 executes desired data processing by inputting data in a cascaded processing unit and selectively outputting predetermined data in the process by the data control means 17. I'm getting the data. This cascade is composed of a storage unit 11, a changing point detecting unit 12, a changing point position generating unit 13, a preceding line changing point position generating unit 14, a changing point position comparing unit 15 and a changing point distribution generating unit 16.

【0023】上記の各構成部において、記憶手段11
は、入力された現データ列10を一時記憶するためのラ
インバッファメモリである。
In each of the above components, the storage means 11
Is a line buffer memory for temporarily storing the input current data string 10.

【0024】変化点検出手段12は、入力された現ライ
ンデータ列である当該ラインのデータ列と、記憶手段1
1から出力される前ラインデータ列18とを比較するコ
ンパレータであり、ドット毎のデータ変化を示す変化点
検出信号19を出力する。
The change point detecting means 12 stores the data string of the current line, which is the input current line data string, and the storing means 1.
This is a comparator for comparing with the preceding line data sequence 18 output from 1 and outputs a change point detection signal 19 indicating a data change for each dot.

【0025】変化点位置生成手段13は、変化点検出手
段12から出力される変化点検出信号19を変化点位置
情報として一旦記憶するラインバッファメモリである。
The changing point position generating means 13 is a line buffer memory for temporarily storing the changing point detection signal 19 output from the changing point detecting means 12 as changing point position information.

【0026】前ライン変化点位置生成手段14は、変化
点位置生成手段13から出力される変化点位置情報20
を再度記憶するラインバッファメモリである。
The preceding line change point position generation means 14 has change point position information 20 output from the change point position generation means 13.
Is a line buffer memory for storing again.

【0027】変化点位置比較手段15は、変化点位置生
成手段13から出力される当該ラインの変化点位置情報
20と、前ライン変化点位置生成手段14から出力され
る前ラインの変化点位置情報21とを比較し、そのデー
タ変化を示す変化点位置変化信号22を出力するコンパ
レータである。
The changing point position comparing means 15 has changing point position information 20 of the line output from the changing point position generating means 13 and the changing point position information of the previous line output from the preceding line changing point position generating means 14. 21 is a comparator that outputs a change point position change signal 22 indicating the data change.

【0028】変化点分布生成手段16は、変化点位置比
較手段15から出力される変化点位置変化信号22を変
化点分布情報23として一時記憶するラインバッファメ
モリである。
The changing point distribution generating means 16 is a line buffer memory for temporarily storing the changing point position change signal 22 output from the changing point position comparing means 15 as changing point distribution information 23.

【0029】データ制御手段17は、3入力/1出力の
データセレクタである。3入力信号はA、B、Cの入力
端子へ接続される。3入力信号の内容は、外部より入力
される現ラインデータ10がC入力端子へ、変化位置生
成手段13から出力される変化位置情報20がB入力端
子へ、変化点分布生成手段16から出力される変化点分
布情報23がA入力端子へそれぞれ入力される。これを
選択するためのセレクト制御信号は、変化点検出信号1
9および変化点位置変化信号22である。
The data control means 17 is a 3-input / 1-output data selector. The three input signals are connected to the A, B, and C input terminals. As for the contents of the 3 input signals, the current line data 10 input from the outside is output to the C input terminal, the change position information 20 output from the change position generating means 13 is output to the B input terminal, and the change point distribution generating means 16 is output. The changing point distribution information 23 is input to the A input terminal. The select control signal for selecting this is the change point detection signal 1
9 and change point position change signal 22.

【0030】次に、図1の動作について図2および図3
を用いて説明する。図1のデータ入力端子に入力される
データ列を、1ラインのデータがm個の連続したデータ
で、各データが8ビットのデータ幅を持つデータ列とす
ると、nライン目のデータはD(0、n)…D(m、
n)となる。
Next, the operation of FIG. 1 will be described with reference to FIGS.
Will be explained. If the data string input to the data input terminal of FIG. 1 is a data string in which one line of data is m continuous data and each data has a data width of 8 bits, the data of the nth line is D ( 0, n) ... D (m,
n).

【0031】ここで、入力されるデータ列を図2に示す
ように、 (イ)の0ライン目データ列が、 D(m、0)=(FF,EE,DD,CC,BB,AA,99,88,AB,…,F0) (ロ)の1ライン目データ列が、 D(m、1)=(F0,E0,DD,CC,BB,AA,99,87,AB,…,F0) (ハ)の2ライン目データ列が、 D(m、2)=(F0,07,01,CC,BB,A0,F1,87,AB,…,F0) とする。上記において図示しないマーク「…」のデータ
は、ライン毎に変化しないとする。
Here, as shown in FIG. 2, the input data sequence is as follows: (a) The 0th line data sequence is D (m, 0) = (FF, EE, DD, CC, BB, AA, 99,88, AB, ..., F0) The data line of the first line of (B) is D (m, 1) = (F0, E0, DD, CC, BB, AA, 99,87, AB, ..., F0 ) It is assumed that the data line of the second line in (c) is D (m, 2) = (F0,07,01, CC, BB, A0, F1,87, AB, ..., F0). It is assumed that the data of the mark “...” Not shown in the above does not change line by line.

【0032】まず、(イ)の0ライン目の出力データ列
は、記憶手段11に前ラインのデータがないので全デー
タが不一致となる。この、データの一致を「0」、不一
致を「1」とすると、変化点検出手段12から出力され
る変化点検出信号19は全て「1」が出力される。よっ
て、データ制御手段17は0ライン目のデータ列全て、
つまり、mバイトの現ラインデータ10を選択し出力デ
ータとする。
First, in the output data string of the 0th line of (a), since there is no data of the previous line in the storage means 11, all the data do not match. When the data match is "0" and the data mismatch is "1", all the change point detection signals 19 output from the change point detecting means 12 are "1". Therefore, the data control means 17 controls all the data strings of the 0th line,
In other words, the current line data 10 of m bytes is selected and used as output data.

【0033】次に(ロ)の1ライン目のデータ列の転送
時には、記憶手段11に記憶された前ラインデータ18
と、入力された現ラインデータ10を変化点検出手段1
2が随時比較し、データが変化したドットに対してのみ
変化点検出信号19を「1」とする。図2の場合には、
(ロ)の1ライン目のデータ列中のD(0,1)、D(1,
1)、D(7,1)のデータが変化しているので、変化点を
示すフラグ列Pは、 Pフラク゛(m、1)=(1,1,0,0,0,0,0,1,0,…,0) となり、セレクタ17はこのセレクト信号19が「1」
となったデータ、つまり、変化点の変化データのみを出
力する。この変化データ列は、1ライン目データ列のア
ドレスD(0,1)、D(1,1)、D(7,1)の3バイトの
データ(F0)、(E0)、(87)であり、下記のDテ゛ータと
なる。 Dテ゛ータ=(F0,E0,87)
Next, at the time of transferring the data line of the first line in (b), the previous line data 18 stored in the storage means 11 is transferred.
And the input current line data 10 to the change point detection means 1
2 is compared at any time, and the change point detection signal 19 is set to "1" only for the dot whose data has changed. In the case of FIG.
D (0,1), D (1,) in the data line of the first line in (b)
Since the data of 1) and D (7,1) are changing, the flag string P indicating the changing point is P flag (m, 1) = (1,1,0,0,0,0,0, 1,0, ..., 0), and the selector 17 indicates that the select signal 19 is "1".
Is output, that is, only the change data of the change point is output. This change data string consists of 3-byte data (F0), (E0), (87) of addresses D (0,1), D (1,1), D (7,1) of the first line data string. Yes, the following D data is available. D data = (F0, E0,87)

【0034】またこの時、変化点位置生成手段13にお
いて変化点検出信号19をバイト単位にまとめた変化点
位置情報20が生成される。図2(ニ)の1ライン目変
化点検出信号19の場合、データ列の先頭から1バイト
のみが変化データである。この変化データは(ホ)の1
ライン目変化点位置情報20となり、変化点位置情報列
Qは下記のQテ゛ータとなる。 Qテ゛ータ=(83,00,…,00) つまり、Qテ゛ータはPフラク゛をバイト単位のデータに変換し
たものである。このデータは、1ライン目のデータ数の
1/8、つまりm/8バイトのデータとなる。
At this time, the changing point position generating means 13 generates changing point position information 20 in which the changing point detection signals 19 are collected in byte units. In the case of the change point detection signal 19 of the first line in FIG. 2D, only 1 byte from the beginning of the data string is change data. This change data is (e) 1
The line change point position information 20 becomes, and the change point position information sequence Q becomes the following Q data. Q data = (83,00, ..., 00) That is, the Q data is obtained by converting the P flag into byte unit data. This data is 1/8 of the number of data on the first line, that is, m / 8 bytes of data.

【0035】データ制御手段17は変化点のデータを出
力後に、変化点位置生成手段13に記憶された変化点位
置情報20を出力する。このため、1ライン目の出力デ
ータは、図3に示すように変化点位置情報のデータ数は
入力データ数の1/8になる。また、この時の変化点位
置情報20は前ライン変化点位置生成手段14に再度記
憶される。
The data control means 17 outputs the change point data, and then outputs the change point position information 20 stored in the change point position generating means 13. Therefore, in the output data of the first line, the number of pieces of change point position information is 1/8 of the number of input data, as shown in FIG. Further, the change point position information 20 at this time is stored again in the previous line change point position generation means 14.

【0036】次に、図2(ハ)の2ライン目のデータ列
の転送時には上記と同じように、まず記憶手段11に記
憶されている前ラインデータ、つまり図2(ロ)の1ラ
イン目のデータ列と、当該ラインつまり2ライン目のデ
ータ列とを変化点検出手段12が比較する。この比較に
おいて、データが変化したドットに対してのみ変化点検
出信号19を「1」とする。
Next, at the time of transferring the data sequence of the second line in FIG. 2C, the previous line data stored in the storage means 11, that is, the first line in FIG. The change point detection means 12 compares the data string of (1) with the data string of the line, that is, the second line. In this comparison, the change point detection signal 19 is set to "1" only for the dot whose data has changed.

【0037】図2(ヘ)の2ライン目変化点検出信号1
9の場合の変化点検出信号列Pは、下記となる。 Pフラク゛(m、2)=(0,1,1,0,0,1,1,0,0,…,0) この変化点検出信号列Pに該当するデータ、つまり上記
1ライン目の変化点検出信号と同じく、この変化点検出
信号19が「1」となった変化点の変化データのみをデ
ータ制御手段17が出力データとする。この出力に該当
するデータは、図2(ハ)のアドレスD(1,2)、D
(2,2)、D(5,2)、D(6,2)のデータである。この
変化データのデータ列Dテ゛ータは、下記の4バイトとな
る。 Dテ゛ータ=(07,01,A0,F1) この時、変化点位置生成手段13において生成される図
2(ト)の変化点位置情報20は、上記1ライン目と同
様に下記となる。 Qテ゛ータ=(66,00,…,00)
2nd line change point detection signal 1 of FIG.
In the case of 9, the change point detection signal sequence P is as follows. P flag (m, 2) = (0,1,1,0,0,1,1,0,0, ..., 0) Data corresponding to this change point detection signal sequence P, that is, the change of the first line Similar to the point detection signal, the data control means 17 uses only the change data of the change point where the change point detection signal 19 becomes "1" as the output data. The data corresponding to this output is the address D (1,2), D in FIG.
The data are (2,2), D (5,2), and D (6,2). The data string D data of this change data is the following 4 bytes. D data = (07,01, A0, F1) At this time, the changing point position information 20 of FIG. 2 (g) generated by the changing point position generating means 13 is the same as the first line described above. Q data = (66,00, ..., 00)

【0038】次に、上記と同じように図2(ト)の変化
点位置情報20の出力を行なうが、前ラインの図2
(ホ)の変化点位置情報20が前ライン変化点位置生成
手段14に記憶されており、変化点位置比較手段15は
下記の処理を実行する。この処理は、上記入力データの
比較と同様の処理である。前ライン変化位置生成手段1
4から出力される前ライン変化点位置情報21(つま
り、図2(ホ)の1ライン目変化点位置情報列)と、変化
点位置生成手段13から出力される当該ラインの変化点
位置情報20(つまり、図2(ト)の2ライン目変化点位
置情報列)とを比較し、変化点位置情報に変化が有った
場合にのみ、図2(チ)に示す様に変化点位置変化信号
22を「1」とする。
Next, the change point position information 20 of FIG. 2 (g) is output in the same manner as described above.
The changing point position information 20 of (e) is stored in the preceding line changing point position generating means 14, and the changing point position comparing means 15 executes the following processing. This process is the same as the above-mentioned input data comparison. Front line change position generation means 1
4 of the preceding line change point position information 21 (that is, the first line change point position information sequence of FIG. 2E), and the change point position information 20 of the line output from the change point position generation means 13. (That is, the change point position information sequence on the second line in FIG. 2G) is compared, and only when there is a change in the change point position information, as shown in FIG. The signal 22 is set to "1".

【0039】データ制御手段17は、変化点位置変化信
号22が「1」となったとき、つまり、データの変化点
位置が変化した情報についてのみを出力する。図2にお
いて、図示しないデータは変化しないとすると、図2
(ト)の2ライン目変化点位置情報20の先頭データ、
つまり、Q(0,2)のみが変化データとなり、2ライン
目の変化点位置を示すフラグ列Rは、図2(チ)に示す
ように下記のRフラク゛となる。 Rフラク゛=(1,0,…,0) この図2(チ)の2ライン目変化点位置変化信号22を
セレクト信号とし、データ制御手段17は、入力端子B
へ入力される変化点位置情報20の先頭のデータ、 Qテ゛ータ=(66) を出力する。
The data control means 17 outputs only when the change point position change signal 22 becomes "1", that is, only the information that the change point position of the data has changed. If it is assumed that the data not shown in FIG. 2 does not change in FIG.
First data of the second line change point position information 20 of (g),
That is, only Q (0,2) becomes change data, and the flag row R indicating the change point position on the second line becomes the following R flag as shown in FIG. R flag = (1,0, ..., 0) The position change signal 22 of the change point of the second line in FIG. 2C is used as a select signal, and the data control means 17 uses the input terminal B
Q data = (66), which is the head data of the change point position information 20 input to

【0040】この時、変化点分布生成手段16は、変化
点位置変化信号22をバイト単位にまとめて、図2
(リ)の変化点分布情報23として記憶する。データ制
御手段17は変化点位置情報20の出力後、変化点分布
生成手段16に記憶された図2(リ)の変化点分布情報
23を出力することで、先に転送した図2(ト)の変化
点位置情報20の該当位置を表わし、全データの転送を
終了する。この図2(リ)の変化点分布情報23と、図
2(ト)の変化点位置情報20と、変化データのデータ
列Dテ゛ータとは1組みの図3(ハ)の2ライン目出力デー
タとなる。
At this time, the changing point distribution generating means 16 collects the changing point position change signals 22 in byte units, and
It is stored as the change point distribution information 23 in (i). The data control means 17 outputs the change point position information 20 and then outputs the change point distribution information 23 of FIG. 2 (i) stored in the change point distribution generation means 16 to transfer the previously transferred FIG. 2 (g). The corresponding position of the change point position information 20 is displayed, and the transfer of all data is completed. The change point distribution information 23 of FIG. 2 (i), the change point position information 20 of FIG. 2 (g), and the data string D data of change data are one set of the second line output data of FIG. 3 (c). Becomes

【0041】図2(リ)においては、変化点位置変化信
号22はR(0,2)のみが変化しているので、変化点分
布情報23は、下記のSテ゛ータとなる。 Sテ゛ータ=(01,00,…,00) このデータ量は、図3(ハ)に示すように変化点位置情
報の1/8、つまり、m/64バイトで表現される。
In FIG. 2 (i), since only the R (0,2) of the change point position change signal 22 is changing, the change point distribution information 23 is the following S data. S data = (01,00, ..., 00) This data amount is expressed by 1/8 of the change point position information, that is, m / 64 bytes, as shown in FIG.

【0042】このように、入力されたデータ列の変化を
バイト単位に見て、変化を示すフラグを立て、そのフラ
グをさらにバイト単位にまとめて変化を見ることにより
変化点が少なければ、データ量は1/8単位に圧縮され
る。このことにより2ライン目以降のデータ列は、2段
階のデータ圧縮を行なうので、転送データ量はデータ列
の変化点分布情報と、変化点位置情報、および変化デー
タによって構成される。つまり、データ変化がない場合
は元のデータの1/64のデータ圧縮が可能となる。
As described above, if the change in the input data string is viewed in byte units, a flag indicating the change is set, and the flags are further collected in byte units to see the change, if the change points are small, the data amount is changed. Is compressed to 1/8 unit. As a result, the data sequence of the second and subsequent lines is subjected to two-step data compression, so that the transfer data amount is composed of change point distribution information of the data sequence, change point position information, and change data. In other words, if there is no data change, 1/64 of the original data can be compressed.

【0043】上記の本実施例におけるデータ圧縮の結果
をまとめると、図3(イ)、(ロ)、(ハ)となる。図
3(イ)において、データ圧縮装置の入力された当初の
0ライン目は、当該ラインの前ラインのデータが無い。
よって、比較データが無いため当該ラインの現ラインの
元データを出力する。図3(ロ)において、0ライン目
データのデータ列には変化点位置情報が無いため、1ラ
イン目出力データ列には変化点分布情報が含まれない。
図3(ハ)において、2ライン目出力データ列以降が、
変化データ、変化点位置情報、変化点分布情報により構
成される。
The data compression results in this embodiment described above are summarized in FIGS. 3 (a), 3 (b) and 3 (c). In FIG. 3A, the 0th line initially input to the data compression apparatus has no data on the line preceding the line.
Therefore, since there is no comparison data, the original data of the current line of the relevant line is output. In FIG. 3B, since there is no change point position information in the data string of the 0th line data, the change point distribution information is not included in the 1st line output data string.
In FIG. 3C, the second and subsequent output data strings are
It is composed of change data, change point position information, and change point distribution information.

【0044】以上説明したように、本発明のデータ圧縮
装置およびデータ圧縮方法は、データ列の変化点を検出
し、その位置情報と変化データを転送することで、デー
タ圧縮を行なうので、1ドットが多ビットの表現からな
る場合においても適応可能である。また、データの変化
点を表わす変化点位置情報を入力データと同じように前
ラインの変化点位置情報と比較し、変化点分布情報を作
成することで、データの圧縮と変化点位置情報の圧縮を
同じ構成で実現できるので、多段のデータ圧縮が可能と
なり、データの変化が少ないプリンタ内部の定型フォー
マットデータや、ロゴデータなど単純なデータの場合に
は、高能率のデータ圧縮が可能となる。
As described above, the data compressing apparatus and the data compressing method of the present invention detect the change point of the data string and transfer the position information and the change data to perform the data compression. It is applicable even when is composed of a multi-bit representation. Further, the change point position information indicating the change point of the data is compared with the change point position information of the previous line in the same manner as the input data, and the change point distribution information is created to compress the data and the change point position information. Since it can be realized with the same configuration, multi-stage data compression becomes possible, and in the case of simple data such as standard format data in the printer and logo data with little change in data, highly efficient data compression becomes possible.

【0045】尚、上述の実施例は本発明の好適な実施の
一例ではあるが、本発明はこれに限定されるものではな
く本発明の要旨を逸脱しない範囲において種々変形実施
可能である。例えば、本実施例においては各データのビ
ット幅を8ビットとしたが、これに限るものではなく、
変化点位置情報および変化点分布情報のビット幅も8ビ
ットの限らない。また、本実施例では2段階のデータ圧
縮を行ない、データの変化点位置と変化点分布を求めた
が、同様な構成でさらに多段のデータ圧縮が可能とな
る。さらに、本実施例ではデータの圧縮について説明し
たが、データの展開はデータ圧縮の逆の動作となる。つ
まり、変化点分布情報から変化点位置情報を求め、変化
点位置情報の変化点に対してのみ転送されたデータの更
新を行なうことで、元のデータ列の復元が可能となる。
Although the above-described embodiment is a preferred embodiment of the present invention, the present invention is not limited to this and various modifications can be made without departing from the gist of the present invention. For example, although the bit width of each data is 8 bits in the present embodiment, the invention is not limited to this.
The bit width of the change point position information and the change point distribution information is not limited to 8 bits. Further, in this embodiment, the data compression is performed in two steps and the change point position and the change point distribution of the data are obtained, but it is possible to further compress the data in multiple steps with the same configuration. Further, although the data compression has been described in the present embodiment, the data expansion is the reverse operation of the data compression. That is, by obtaining the change point position information from the change point distribution information and updating the data transferred only to the change points of the change point position information, the original data string can be restored.

【0046】[0046]

【発明の効果】以上の説明より明かなように、本発明の
データ圧縮装置およびデータ圧縮方法の主要部は、当該
ラインのデータ列と1ライン前のデータ列とを比較し、
2つのデータ列間のデータ内容の変化点位置を表わす変
化点検出信号を出力する。この変化点検出信号を所定の
ビット単位の変化点位置情報とし一時記憶し、1ライン
前の変化点位置情報と当該ラインの変化点位置情報とを
比較し、2つの変化点位置情報の変化点を変化点位置変
化信号として出力する。変化点位置変化信号を所定ビッ
ト数毎の変化点分布情報とし、データ列と変化点位置情
報および変化点分布情報を選択して出力するため、出力
データは圧縮される。
As is apparent from the above description, the main part of the data compression apparatus and the data compression method of the present invention compares the data sequence of the line with the data sequence of one line before,
A change point detection signal representing the change point position of the data content between the two data strings is output. This change point detection signal is temporarily stored as change point position information in a predetermined bit unit, the change point position information of the immediately preceding line and the change point position information of the line are compared, and the change points of the two change point position information are compared. Is output as a change point position change signal. Since the change point position change signal is used as change point distribution information for each predetermined number of bits and the data string, change point position information and change point distribution information are selected and output, the output data is compressed.

【0047】変化点位置情報と変化点分布情報と変化し
たデータとを出力することにより、データ圧縮率が向上
する。また元のデータ列の長さを予め設定することで、
変化点位置情報および変化点分布情報のデータ量が決定
されるので、元のデータ列が多ビットのデータであって
も対応が可能である。
By outputting the changing point position information, the changing point distribution information and the changed data, the data compression rate is improved. Also, by setting the length of the original data string in advance,
Since the data amounts of the change point position information and the change point distribution information are determined, it is possible to handle even if the original data string is multi-bit data.

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

【図1】本発明のデータ圧縮装置の一実施例を示すブロ
ック図である。
FIG. 1 is a block diagram showing an embodiment of a data compression apparatus of the present invention.

【図2】本発明の実施例の動作説明図である。FIG. 2 is an operation explanatory diagram of the embodiment of the present invention.

【図3】本発明の実施例の動作説明図である。FIG. 3 is an operation explanatory diagram of the embodiment of the present invention.

【図4】従来技術の原理説明図である。FIG. 4 is a diagram illustrating the principle of a conventional technique.

【図5】従来技術に基づく構成例を示す図である。FIG. 5 is a diagram showing a configuration example based on a conventional technique.

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

10 現ラインデータ 11 記憶手段 12 変化点検出手段 13 変化点位置生成手段 14 前ライン変化点位置生成手段 15 変化点位置比較手段 16 変化点分布生成手段 17 データ制御手段 18 前ラインデータ 19 変化点検出信号 20 変化点位置情報 21 前ライン変化点位置情報 22 変化点位置変化信号 23 変化点分布情報 10 Current line data 11 Storage means 12 Change point detection means 13 Change point position generation means 14 Previous line change point position generation means 15 Change point position comparison means 16 Change point distribution generation means 17 Data control means 18 Previous line data 19 Change point detection Signal 20 Change point position information 21 Previous line change point position information 22 Change point position change signal 23 Change point distribution information

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力されたデータのデータ列の相関を比
較し、変化したデータの位置情報と該データとを出力す
るデータ圧縮装置において、 前記データ列を一時記憶する記憶手段と、 当該ラインのデータ列と前記記憶手段に記憶されている
1ライン前のデータ列とを比較し、前記2つのデータ列
間のデータ内容の異なる当該ラインの変化データの変化
点の位置を表わす変化点検出信号を出力する変化点検出
手段と、 前記変化点検出信号を所定ビット単位の変化点位置情報
とし、該変化点位置情報を一時記憶する前ライン変化点
位置生成手段と、 前記一時記憶した1ライン前の変化点位置情報と当該ラ
インの変化点位置情報とを比較し、前記2つの変化点位
置情報間の変化点の位置を表わす変化点位置変化信号を
出力する変化点位置比較手段と、 前記変化点位置変化信号を所定ビット単位の変化点分布
情報とする変化点分布生成手段と、 前記当該ラインのデータ列と、該データ列の前記変化点
位置情報および前記変化点分布情報を選択して出力する
データ制御手段とを具備したことを特徴とするデータ圧
縮装置。
1. A data compression apparatus for comparing the correlation of data strings of input data and outputting position information of changed data and the data, a storage unit for temporarily storing the data string, and The data string and the data string one line before stored in the storage means are compared, and a change point detection signal indicating the position of the change point of the change data of the line having different data contents between the two data strings is obtained. Change point detecting means for outputting, change point position information in a predetermined bit unit for the change point detection signal, previous line change point position generating means for temporarily storing the change point position information, and the temporarily stored one line previous line Change point position comparison means for comparing the change point position information with the change point position information of the line and outputting a change point position change signal representing the position of the change point between the two change point position information. , A change point distribution generation unit that uses the change point position change signal as change point distribution information in a predetermined bit unit, a data string of the line, and the change point position information and the change point distribution information of the data string And a data control means for outputting the data.
【請求項2】 前記データ列の入力された当初の0ライ
ン目からのライン番号と前記データ制御手段が出力する
出力データとの関係は、 第0ライン目が、前記入力されたデータの全データ、 第1ライン目が、前記変化点位置情報および該変化点位
置情報に係る前記変化データ、 第2ライン目以降が、前記変化点位置分布情報と、該変
化点位置分布情報に係る前記変化点位置情報と、該変換
点位置情報の変化点位置の前記変化データであることを
特徴とする請求項1記載のデータ圧縮装置。
2. The relationship between the line number from the 0th line from which the data string is initially input and the output data output by the data control means is that the 0th line is all data of the input data. , The first line is the change point position information and the change data related to the change point position information, and the second and subsequent lines are the change point position distribution information and the change point related to the change point position distribution information. 2. The data compression device according to claim 1, wherein the data is the position information and the change data of the change point position of the conversion point position information.
【請求項3】 入力されたデータのデータ列の相関を比
較し、変化したデータの位置情報と該データとを出力す
るデータ圧縮方法において、 前記データ列を一時記憶する記憶工程と、 当該ラインのデータ列と前記記憶工程で記憶された1ラ
イン前のデータ列とを比較し、前記2つのデータ列間の
データ内容の異なる当該ラインの変化データの変化点の
位置を表わす変化点検出信号を出力する変化点検出工程
と、 前記変化点検出信号を所定ビット単位の変化点位置情報
とし、該変化点位置情報を一時記憶する前ライン変化点
位置生成工程と、 前記一時記憶した1ライン前の変化点位置情報と当該ラ
インの変化点位置情報とを比較し、前記2つの変化点位
置情報間の変化点の位置を表わす変化点位置変化信号を
出力する変化点位置比較工程と、 前記変化点位置変化信号を所定ビット単位の変化点分布
情報とする変化点分布生成工程と、 前記当該ラインのデータ列と、該データ列の前記変化点
位置情報および前記変化点分布情報を選択して出力する
データ制御工程とを具備したことを特徴とするデータ圧
縮方法。
3. A data compression method for comparing the correlation of data strings of input data and outputting position information of changed data and the data, a storage step of temporarily storing the data string, and The data string is compared with the data string stored one line before stored in the storing step, and a change point detection signal indicating the position of the change point of the change data of the line having different data contents between the two data strings is output. Change point detection step of: changing the change point detection signal to change point position information in units of a predetermined bit, and a previous line change point position generating step of temporarily storing the change point position information; A change point position comparison step of comparing the point position information with the change point position information of the line and outputting a change point position change signal representing the position of the change point between the two change point position information; A change point distribution generation step of using the change point position change signal as change point distribution information in a predetermined bit unit, a data string of the line, the change point position information and the change point distribution information of the data string are selected. And a data control step of outputting the data.
【請求項4】 前記データ列の入力された当初の0ライ
ン目からのライン番号と前記データ制御工程が出力する
出力データとの関係は、 第0ライン目が、前記入力されたデータの全データ、 第1ライン目が、前記変化点位置情報および該変化点位
置情報に係る前記変化データ、 第2ライン目以降が、前記変化点位置分布情報と、該変
化点位置分布情報に係る前記変化点位置情報と、該変換
点位置情報の変化点位置の前記変化データであることを
特徴とする請求項3記載のデータ圧縮方法。
4. The relationship between the line number from the 0th line from which the data string is initially input and the output data output from the data control step is that the 0th line is all data of the input data. , The first line is the change point position information and the change data related to the change point position information, and the second and subsequent lines are the change point position distribution information and the change point related to the change point position distribution information. The data compression method according to claim 3, wherein the data is the position information and the change data of the change point position of the conversion point position information.
JP17386994A 1994-07-26 1994-07-26 Data compression device/method Pending JPH0837602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17386994A JPH0837602A (en) 1994-07-26 1994-07-26 Data compression device/method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17386994A JPH0837602A (en) 1994-07-26 1994-07-26 Data compression device/method

Publications (1)

Publication Number Publication Date
JPH0837602A true JPH0837602A (en) 1996-02-06

Family

ID=15968646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17386994A Pending JPH0837602A (en) 1994-07-26 1994-07-26 Data compression device/method

Country Status (1)

Country Link
JP (1) JPH0837602A (en)

Similar Documents

Publication Publication Date Title
US5162795A (en) Coding and decoding apparatus of variable length data
JPS60140981A (en) Method and device for decoding digital coded word of coded word system
US4866440A (en) Method for compressing and restoring data series and apparatus for realizing same
JP2853784B2 (en) Encoding / decoding device
JPH0738445A (en) Variable-length sign decoder
JP3406550B2 (en) Arithmetic encoding device and arithmetic decoding device
JPH0837602A (en) Data compression device/method
JP2687926B2 (en) Code decoder
JP3386638B2 (en) Variable length code decoding method and apparatus
JP2956636B2 (en) Wave processing device
US6134288A (en) Apparatus and method for generating a decoding clock signal in response to a period of write and read clock signals
JP3293382B2 (en) Data compression device and data decompression device
JPS60251763A (en) Magnifying and reducing circuit of facsimile information
JP3088785B2 (en) Variable length code decoding device
JP3336537B2 (en) Encoding device, decoding device, encoding / decoding device, and arithmetic encoding device
JPS595779A (en) Run-length decoding device
JPS60253372A (en) Picture signal coding system
JP2536490B2 (en) Run-length encoding device
JP2001102937A (en) Method and device for run-length encoding
JPH0522156A (en) Variable length/fixed length encoding circuit
JP3227237B2 (en) Encoding device
JP2594766B2 (en) Data compression method and data compression method
JPS6132867B2 (en)
JPS59156073A (en) Data decoding device
JPH09116764A (en) Picture processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970304