JPH07298062A - Data compression decoding system - Google Patents

Data compression decoding system

Info

Publication number
JPH07298062A
JPH07298062A JP6090976A JP9097694A JPH07298062A JP H07298062 A JPH07298062 A JP H07298062A JP 6090976 A JP6090976 A JP 6090976A JP 9097694 A JP9097694 A JP 9097694A JP H07298062 A JPH07298062 A JP H07298062A
Authority
JP
Japan
Prior art keywords
code
unit
compression
data
encoding
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
JP6090976A
Other languages
Japanese (ja)
Other versions
JP3124887B2 (en
Inventor
Takaaki Hayashi
隆昭 林
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP06090976A priority Critical patent/JP3124887B2/en
Publication of JPH07298062A publication Critical patent/JPH07298062A/en
Application granted granted Critical
Publication of JP3124887B2 publication Critical patent/JP3124887B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To compress image data with high correlation in an excellent way without decreasing the processing speed by combining a run pack coding section with a universal coding section independently of statistic property of an image. CONSTITUTION:When a white or black level picture element appears in input image data D, a white/black run counter section 101 counts the length when runs of white or black level picture elements are consecutive, and a comparator section 102 receives the count N and compares the count N with a predetermined threshold level. Then data are coded by either of a universal coding section 103 and a run pack coding section 104 selected by a control code U/R. When the control code is U, the universal coding section 103 is selected and when the control code is R, the run pack coding section 104 is selected, and the data are coded based on each input value. Thus, an image having long consecutive runs such as a text or an image changing in details such as a dither image is compressed in an excellent way with simple configuration.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ユニバーサル符号を用
いたプリンタやファクシミリ等の印刷画像におけるデー
タ圧縮及び復号方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data compression and decoding system for a print image using a universal code such as a printer or a facsimile.

【0002】[0002]

【従来の技術】近年、計算機や画像入出力機器の発展に
より、OAの分野でも、テキスト、図形、網点・ディザ
画像等の多様な画像が混在したデータを取り扱うように
なってきた。また、画像の高解像度化も進み画像データ
量は莫大なものとなってきている。そのため、多様かつ
高解像な画像データを圧縮するためのデータ圧縮方式
が、現在求められている。上述のような画像データでは
局所的にデータの統計的性質が異なるため、データ圧縮
処理の進行とともにデータの統計的性質が変動してもデ
ータ圧縮効率が極端に低下することのないユニバーサル
符号によるデータ圧縮方式が望まれている。そのような
データ圧縮方式として、入力データの既に処理し終えた
部分から入力データに最適になるような参照辞書を逐次
構成していくことにより、データの統計的性質に依存せ
ず最適な圧縮が可能なLempel−Zivの符号化方
法が提案されている。
2. Description of the Related Art In recent years, due to the development of computers and image input / output devices, data including various images such as texts, figures, halftone dots and dither images have been handled in the field of OA. Further, as the resolution of images has been increased, the amount of image data has become enormous. Therefore, a data compression method for compressing various and high-resolution image data is currently required. Since the statistical properties of the image data differ locally in the image data as described above, data with universal coding that does not significantly reduce the data compression efficiency even if the statistical properties of the data change as the data compression process progresses. A compression method is desired. As such a data compression method, by constructing a reference dictionary that optimizes the input data from the already processed part of the input data, the optimum compression can be achieved without depending on the statistical property of the data. A possible Lempel-Ziv encoding method has been proposed.

【0003】Lempel−Zivの符号化方法は、参
照辞書の作成方法によって動的辞書方式とスライド辞書
方式に分類されている( 詳しくは、インターフェース1
992年 vol.8No.183”データ圧縮アルゴ
リズムとその実現”を参照)。動的辞書方式は、入力デ
ータ列を増分分解といわれる方法で部分データ列に分解
し、その部分データ列を辞書に登録していき、その辞書
を参照しながら入力データの符号化処理を進めていくア
ルゴリズムである。また、スライド辞書方式は、符号化
済データ列を順次参照バッファに蓄えていき、参照バッ
ファを辞書として参照しながら入力データの符号化処理
を進めていくアルゴリズムである。動的辞書方式はアル
ゴリズムの容易さでスライド辞書方式に勝っているが、
逆にスライド辞書方式は圧縮率で動的辞書方式に勝ると
いわれており、それぞれデータ圧縮の分野で広く使われ
ている。さらに、動的辞書方式の改良としてLZW(L
empel−Ziv−Welch)符号、スライド辞書
方式の改良としてLZSS(Lempel−Ziv−S
torer−Szymanski)符号が提案されてい
る。
The Lempel-Ziv encoding method is classified into a dynamic dictionary method and a slide dictionary method according to the method of creating a reference dictionary (specifically, the interface 1
992 vol. 8 No. 183 "Data compression algorithm and its implementation"). In the dynamic dictionary method, the input data string is decomposed into partial data strings by a method called incremental decomposition, the partial data strings are registered in the dictionary, and the encoding process of the input data proceeds while referring to the dictionary. It is an algorithm to go. The slide dictionary method is an algorithm in which encoded data strings are sequentially stored in a reference buffer and the encoding process of input data proceeds while referring to the reference buffer as a dictionary. The dynamic dictionary method is superior to the slide dictionary method due to the ease of the algorithm,
On the contrary, the slide dictionary method is said to be superior in compression rate to the dynamic dictionary method, and is widely used in the field of data compression. Furthermore, as an improvement of the dynamic dictionary method, LZW (L
LZSS (Lempel-Ziv-S) as an improvement of the empel-Ziv-Welch) code and the slide dictionary system.
Torer-Szymanski) codes have been proposed.

【0004】LZW方式の符号化・復号化処理を図4を
用いて説明する。ここで、入力画像データ中の個々のワ
ード単位を文字と呼び、文字が任意の数だけ連なったも
のを文字列と呼ぶことにする。
The LZW encoding / decoding process will be described with reference to FIG. Here, each word unit in the input image data will be referred to as a character, and an arbitrary number of characters will be referred to as a character string.

【0005】LZW方式の符号化処理の流れを図4
(a)に示す。まず、参照辞書の初期化を行う(S40
1)。参照辞書の初期化は入力画像データ中でとりうる
全ての文字を辞書のエントリに登録することにより行わ
れる。次に、画像データを入力し(S402)、入力文
字列と一致する最長の文字列を辞書から探索する(S4
03)。そして、探索された文字列に付されているイン
デックスを符号化して出力する(S404)。このと
き、符号は辞書のエントリを完全に識別できなければな
らないので、現在の辞書のエントリ数をMとすると、符
号長は最低でもlog(M)以上の整数値でなければな
らない。ただし、このときの対数の底は2である。次
に、辞書に新たな文字列を登録することになるが、一般
にハードウェア規模の制約から辞書に登録されるエント
リ数は上限が決められている。普通その数は2の12乗
から16乗程度である。そこで、辞書のエントリ数がそ
の所定の大きさに達したか否かを判定し(S405)、
エントリ数が最大のときはS401に戻り、辞書を再初
期化してから符号化処理を進める。また、エントリ数が
最大に達していないときは、新たな文字列を辞書に登録
する(S406)。ここで登録される文字列は、直前に
符号化された文字列の最後尾に次に入力される文字を1
文字繋げたものである。そして、辞書の更新が済んだな
らば、再びS402に戻り、順次符号化処理を継続し、
処理すべき画像データが無くなるまで処理を続ける。
FIG. 4 shows the flow of LZW encoding processing.
It shows in (a). First, the reference dictionary is initialized (S40).
1). The reference dictionary is initialized by registering all possible characters in the input image data in the dictionary entry. Next, image data is input (S402), and the longest character string that matches the input character string is searched from the dictionary (S4).
03). Then, the index attached to the searched character string is encoded and output (S404). At this time, since the code must be able to completely identify the dictionary entry, the code length must be at least an integer value of log (M) or more, where M is the current number of dictionary entries. However, the base of the logarithm at this time is 2. Next, a new character string will be registered in the dictionary, but generally the upper limit is set on the number of entries registered in the dictionary due to the limitation of the hardware scale. Usually, the number is about 2 to the 16th power. Therefore, it is determined whether the number of entries in the dictionary has reached the predetermined size (S405),
When the number of entries is the maximum, the process returns to S401, the dictionary is reinitialized, and then the encoding process is performed. If the number of entries has not reached the maximum, a new character string is registered in the dictionary (S406). The character string registered here is the character to be input next at the end of the character string encoded immediately before.
It is a combination of letters. Then, when the dictionary is updated, the process returns to S402 again to continue the sequential encoding process,
The processing is continued until there is no image data to be processed.

【0006】LZW 方式の復号化処理の流れを図4
(b)に示す。まず、符号化処理のときと同様に画像デ
ータ中でとりうる全ての文字を辞書のエントリに登録す
ることにより参照辞書の初期化を行う(S411)。次
に、圧縮された符号を入力し(S412)、その符号か
ら辞書のインデックスを求める。求めたインデックスか
ら辞書に登録されている文字列を検索し(S413)、
その文字列を画像データとして出力する(S414)。
次に、復号化された文字列をもとに辞書に新たな文字列
を登録することになるが、符号化処理のときと同様に辞
書のエントリ数が最大か否かを判定し(S415)、エ
ントリ数が最大のときはS411に戻り、辞書を再初期
化してから復号化処理を進める。また、エントリ数が最
大に達していないときは、新たな文字列を辞書に登録す
る(S416)。ここで登録される文字列は、直前に復
号化された文字列の最後尾に現在復号化された文字列の
先頭の文字1文字繋げたものである。そして、辞書の更
新が済んだならば、再びS412に戻り、順次復号化処
理を継続し、処理すべき圧縮符号が無くなるまで処理を
続ける。
FIG. 4 shows the flow of LZW decoding processing.
It shows in (b). First, similarly to the case of the encoding process, the reference dictionary is initialized by registering all possible characters in the image data in the dictionary entries (S411). Next, the compressed code is input (S412), and the index of the dictionary is obtained from the code. A character string registered in the dictionary is searched from the obtained index (S413),
The character string is output as image data (S414).
Next, although a new character string will be registered in the dictionary based on the decoded character string, it is determined whether or not the number of entries in the dictionary is the same as in the encoding process (S415). When the number of entries is the maximum, the process returns to S411, the dictionary is reinitialized, and then the decoding process is performed. If the number of entries has not reached the maximum, a new character string is registered in the dictionary (S416). The character string registered here is one character that is the leading character of the currently decoded character string connected to the end of the character string decoded immediately before. Then, when the dictionary is updated, the process returns to S412 again, the decoding process is continued in sequence, and the process is continued until there is no compression code to be processed.

【0007】ここで、LZW方式では符号の形式として
可変長符号と固定長符号がある。LZW方式の最小符号
値は辞書のエントリ数にしたがって決まるが、辞書のエ
ントリ数は符号化処理が進むにしたがって増大する。そ
のため、符号長を最小にすると、辞書のエントリ数が増
えるに従って符号長も大きくしていく必要があり、可変
長符号となる。また、辞書のエントリ数に関係なく辞書
の最大エントリ数で定まる符号長以上の一定の符号長で
符号化を行うと固定長符号となる。可変長符号は未使用
になる無駄なビットが無くなるので固定長符号より圧縮
率は高くなるが、固定長符号はビット詰めの操作が不用
になるので可変長符号より処理が高速になる。
Here, in the LZW system, there are a variable length code and a fixed length code as a code format. The minimum code value of the LZW method is determined according to the number of entries in the dictionary, but the number of entries in the dictionary increases as the encoding process progresses. Therefore, when the code length is minimized, it is necessary to increase the code length as the number of entries in the dictionary increases, which results in a variable length code. In addition, regardless of the number of entries in the dictionary, if the code length is equal to or more than the code length determined by the maximum number of entries in the dictionary, a fixed length code is obtained. The variable-length code has a higher compression rate than the fixed-length code because it eliminates unnecessary bits that have not been used.

【0008】以上で説明したLZW方式を画像データに
適用するとき次のような問題が生じる。すなわち、LZ
W方式は符号化処理を行いながら辞書のエントリを追加
していくことにより充分時間が経過すると最適な辞書が
構築され、高圧縮が可能となるものであった。しかし、
画像データは一般に非常に高いデータ間の相関を有し、
印刷用の2値画像においては非常に長い白画素の連続
(白ラン)や黒画素の連続(黒ラン)が発生する。
When the LZW method explained above is applied to image data, the following problems occur. That is, LZ
In the W method, an optimum dictionary is constructed after a sufficient time has elapsed by adding dictionary entries while performing encoding processing, and high compression is possible. But,
Image data generally has a very high correlation between the data,
In a binary image for printing, very long continuous white pixels (white run) and continuous black pixels (black run) occur.

【0009】このような問題の解決方法として、特開平
5-176187に開示されている方法がある。その符号化方式
を図5(a)に示し、復号化方式を図5(b)に示す。
As a solution to such a problem, Japanese Patent Laid-Open No.
There is a method disclosed in 5-176187. The encoding method is shown in FIG. 5 (a), and the decoding method is shown in FIG. 5 (b).

【0010】ここで開示されている符号化方式は、画像
データを入力し、中間データ変換手段501によりパタ
ーンレングス処理等により画像データの相関性を除去し
た中間データに変換した後、符号化手段502により中
間データをLZW 方式で符号化を行い、圧縮符号を出
力している。また、ここで開示されている復号化方式
は、圧縮符号を入力し、復号化手段511によりLZW
方式で復号化を行い、元の中間データを作成した後、中
間データ逆変換手段512により中間データを画像デー
タに復元し、出力するものである。
In the encoding method disclosed herein, image data is input, and after the intermediate data converting means 501 converts the image data into intermediate data from which the correlation of the image data has been removed, the encoding means 502. The intermediate data is encoded by the LZW method and the compressed code is output. In the decoding method disclosed herein, a compression code is input, and the decoding means 511 performs LZW.
After decoding by the method to create the original intermediate data, the intermediate data inverse conversion means 512 restores the intermediate data to image data and outputs it.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、従来技
術においては、符号化処理においては中間データ変換手
段とLZW方式による符号化手段が直列に配置され、ま
た、復号化手段においてはLZW方式による復号化手段
と中間データ逆変換手段が直列に配置されているため、
特にソフトウェアにより従来技術の構成を実現しようと
するとユニバーサル符号化及び復号化を単体で行う場合
に比較して圧縮処理速度が低下するという問題があっ
た。特にプリンタ等の印刷分野ではエンジン部分の処理
速度に対して伸長速度が遅れることは致命的であり、デ
ータ復号部の高速性が問題となる。本発明はこのような
点に鑑み、データ圧縮及び復元の処理速度を低下させる
ことなく相関性の高い画像データを良好に圧縮すること
ができるデータ圧縮復元方式を提供することである。
However, in the prior art, in the encoding process, the intermediate data converting means and the encoding means of the LZW system are arranged in series, and the decoding means performs the decoding of the LZW system. Since the means and the intermediate data inverse conversion means are arranged in series,
In particular, when the configuration of the prior art is realized by software, there is a problem that the compression processing speed is reduced as compared with the case where universal encoding and decoding are performed alone. Particularly in the printing field such as a printer, it is fatal that the expansion speed is delayed with respect to the processing speed of the engine portion, and the high speed of the data decoding unit becomes a problem. In view of such a point, the present invention is to provide a data compression / decompression method capable of favorably compressing highly correlated image data without reducing the processing speed of data compression and decompression.

【0012】[0012]

【課題を解決するための手段】本発明はこれらの課題を
解決するためのものであり、符号化された画像データに
もとずいて作成された辞書を参照して入力画像データを
符号化し第1の圧縮符号を出力する第1の符号化部と、
入力画像データの白画素または黒画素の連続数を前記第
1の圧縮符号と識別可能となるように符号化し第2の圧
縮符号を出力する第2の符号化部と、入力画像データの
白画素または黒画素の連続数を計数する計数部と、前記
計数部により計数された計数値と所定のしきい値を比較
する比較部とから構成され、前記比較部による比較結果
にもとずいて前記第1の符号化部または前記第2の符号
化部を選択し、前記選択された符号化部によって入力画
像データを圧縮符号化するデータ圧縮方式を提供する。
SUMMARY OF THE INVENTION The present invention is to solve these problems, and encodes input image data by referring to a dictionary created based on the encoded image data. A first encoding unit that outputs a compression code of 1;
A second encoding unit that encodes the number of consecutive white pixels or black pixels of the input image data so as to be distinguishable from the first compression code and outputs a second compression code; and a white pixel of the input image data. Alternatively, it comprises a counting unit for counting the number of consecutive black pixels and a comparing unit for comparing a count value counted by the counting unit with a predetermined threshold value, and based on the comparison result by the comparing unit, A data compression method is provided in which a first encoding unit or the second encoding unit is selected and the input image data is compression-encoded by the selected encoding unit.

【0013】また、前記圧縮符号化された符号化部が前
記第1の符号化部または前記第2の符号化部を解析する
解析部と、前記解析部によって前記第1の符号化部によ
って符号化されたデータを復号化する第1の復号化部
と、前記第2の符号化部によって符号化されたデータを
復号化する第2の復号化部とから構成され、前記選択さ
れた復号化部によって圧縮符号を伸長復号化するデータ
復元方式を提供する。
Further, the compression-coded coding unit analyzes the first coding unit or the second coding unit, and the analysis unit codes the first coding unit by the first coding unit. And a second decoding unit that decodes the data encoded by the second encoding unit, and the selected decoding unit includes a first decoding unit that decodes the encoded data and a second decoding unit that decodes the data encoded by the second encoding unit. Provided is a data decompression method of decompressing and decoding a compression code by a unit.

【0014】さらに、前記第1の符号化部は固定長圧縮
符号を生成するLZW(Lempel−Ziv−Wel
ch)符号化部から構成され、前記第1の圧縮符号化部
と第2の圧縮符号化部は前記解析部によってどちらの圧
縮符号化部で生成された符号であるかを識別するための
識別符号を前記第1の圧縮符号と前記第2の圧縮符号に
付与する請求項1記載のデータ圧縮方式を提供する。
Further, the first encoding unit generates an LZW (Lempel-Ziv-Wel) for generating a fixed length compression code.
ch) an encoding unit, and the first compression encoding unit and the second compression encoding unit identify which compression encoding unit the compression unit generated by the analysis unit. A data compression method according to claim 1, wherein a code is added to the first compression code and the second compression code.

【0015】[0015]

【作用】本発明の構成によれば、白ラン長又は黒ラン長
の計数値によりユニバーサル符号とランパック符号を切
り換えることにより、簡単な構成によりテキスト等の長
いランを持つ画像も網点・ディザ画像等の細かく変化す
る画像も良好に圧縮することができる。
According to the structure of the present invention, by switching the universal code and the run pack code according to the count value of the white run length or the black run length, an image having a long run such as a text can be dot / dithered by a simple structure. Images that change finely, such as images, can be compressed well.

【0016】[0016]

【実施例】以下の実施例において画像データは8bit
で表され、画素値を16進数(数値の前に0×を付けて
表す。)で表したとき0×00を白画素、0×ffを黒
画素とする。
EXAMPLES In the following examples, image data is 8 bits
When the pixel value is represented by a hexadecimal number (0x is added before the numerical value), 0x00 is a white pixel and 0xff is a black pixel.

【0017】本発明のデータ圧縮及び復号方式の実施例
を図面をもとにして説明する。図1は、本発明のデータ
圧縮及び復号方式の最も基本的な構成である。まず、デ
ータ圧縮方式の基本構成について図1(a)を用いて説
明する。白/黒ラン計数部101は入力画像データDに
白又は黒画素が現れたときに、白又は黒画素のランが連
続する長さを計数する。そして、その計数値Nと計数さ
れた画素が白であるか黒であるかを示す判別符号W/B
が出力される。比較部102は計数値Nが入力され、計
数値Nと予め定められたしきい値Nthを比較する。
An embodiment of the data compression and decoding system of the present invention will be described with reference to the drawings. FIG. 1 shows the most basic configuration of the data compression and decoding system of the present invention. First, the basic configuration of the data compression method will be described with reference to FIG. When a white or black pixel appears in the input image data D, the white / black run counting unit 101 counts the length of a continuous run of white or black pixels. The discrimination code W / B indicating whether the counted value N and the counted pixel are white or black
Is output. The comparator 102 receives the count value N and compares the count value N with a predetermined threshold value Nth.

【0018】そして、計数値Nがしきい値Nth以下の
ときは制御コードUが出力され、計数値Nがしきい値N
thより大きいときは制御コードRが出力される。デー
タの符号化は制御コードU/Rによってユニバーサル符
号化部103又はランパック符号化部104のいずれか
が選択されて行われる。制御コードがUのときはユニバ
ーサル符号化部103が選択され、入力画像データD及
び判別符号W/B、計数値Nがユニバーサル符号化部1
03に入力され、それぞれの入力値をもとに符号化が行
われる。制御コードがRのときはランパック符号化部1
04が選択され、判別符号W/B、計数値Nがランパッ
ク符号化部104に入力され、それぞれの入力値をもと
に符号化が行われる。それぞれの符号化部で生成された
符号は出力符号Cとして出力される。ここで、ユニバー
サル符号化部103およびランパック符号化部104で
はどちらの符号化方式で符号化されたか識別するための
識別符号が符号Cの先頭に付与される。
When the count value N is less than or equal to the threshold value Nth, the control code U is output, and the count value N is equal to the threshold value Nth.
When it is larger than th, the control code R is output. Data encoding is performed by selecting either the universal encoding unit 103 or the run pack encoding unit 104 according to the control code U / R. When the control code is U, the universal encoding unit 103 is selected, and the input image data D, the discrimination code W / B, and the count value N are the universal encoding unit 1.
03, and encoding is performed based on each input value. When the control code is R, the run pack encoding unit 1
04 is selected, the discrimination code W / B and the count value N are input to the run pack encoding unit 104, and encoding is performed based on each input value. The code generated by each coding unit is output as the output code C. Here, in the universal encoding unit 103 and the run pack encoding unit 104, an identification code for identifying which encoding method is used is added to the head of the code C.

【0019】次に、データ復号方式の基本構成について
図1(b)を用いて説明する。解析部111は入力符号
Cに含まれる識別符号を解析し、入力符号Cがユニバー
サル復号化部112で復号化されるべき符号かランパッ
ク復号化部113で復号化されるべき符号かを識別す
る。そして、識別結果に従って制御コードU/Rを出力
し、また、復号に必要な入力符号Cを出力する。データ
の復号化は制御コードU/Rによってユニバーサル復号
化部112又はランパック復号化部113のいずれかが
選択されて行われる。制御コードがUのときはユニバー
サル復号化部112が選択され、入力符号Cがユニバー
サル復号化部112に入力され、復号化が行われる。制
御コードがRのときはランパック復号化部113が選択
され、入力符号Cがランパック復号化部113に入力さ
れ、復号化が行われる。それぞれの復号化部で復元され
た画像データが出力データDとして出力される。
Next, the basic structure of the data decoding method will be described with reference to FIG. The analysis unit 111 analyzes the identification code included in the input code C and identifies whether the input code C is a code to be decoded by the universal decoding unit 112 or a code to be decoded by the runpack decoding unit 113. . Then, the control code U / R is output according to the identification result, and the input code C required for decoding is output. Data decoding is performed by selecting either the universal decoding unit 112 or the run pack decoding unit 113 according to the control code U / R. When the control code is U, the universal decoding unit 112 is selected, the input code C is input to the universal decoding unit 112, and decoding is performed. When the control code is R, the runpack decoding unit 113 is selected, the input code C is input to the runpack decoding unit 113, and decoding is performed. The image data restored by each decoding unit is output as output data D.

【0020】次に、LZW方式を用いて本発明を実現し
た場合の実施例について、図2及び図6を使って符号化
処理の流れを説明する。ここで、参照辞書の最大エント
リ数は2の14乗個とし、出力符号は2バイト(=16
ビット)の固定長で出力されるものとする。最初に、符
号化処理の初期化が行われる(S201)。ここでは、
LZW符号化のための参照辞書の初期化を行い、入力画
像データの先頭にポインタnをセットする。そして、画
像データをn番目から順次入力していく(S202)。
次に、白又は黒のランを計数する(S203)。ここで
は、画像データDnが白画素ならば判別符号Wをセット
し、黒画素ならば判別符号Bをセットする。そして、白
画素又は黒画素の連続を計数し、その計数値をNに代入
する。次に、S203で得た計数値Nを所定のしきい値
Nthと比較し(S204)、計数値Nがしきい値Nt
hより小さいときはLZW符号化を行い(S205)、
計数値Nがしきい値Nth以上のときはS203により
計数された白/黒画素のランをパックすることによりラ
ンパック符号化を行う(S206)。また、符号化され
たデータ数だけ入力画像データのポインタnを増加さ
せ、再びS202に戻り、処理を継続する。このS20
2からS206までのステップを入力画像データが無く
なるまで継続することにより画像データの圧縮が行われ
る。
Next, with respect to an embodiment in which the present invention is realized by using the LZW system, the flow of the encoding process will be described with reference to FIGS. Here, the maximum number of entries in the reference dictionary is 2 to the 14th power, and the output code is 2 bytes (= 16
(Bit) fixed length. First, the encoding process is initialized (S201). here,
A reference dictionary for LZW encoding is initialized, and a pointer n is set at the head of the input image data. Then, the image data is sequentially input from the nth (S202).
Next, white or black runs are counted (S203). Here, if the image data Dn is a white pixel, the discrimination code W is set, and if it is a black pixel, the discrimination code B is set. Then, the succession of white pixels or black pixels is counted, and the count value is substituted into N. Next, the count value N obtained in S203 is compared with a predetermined threshold value Nth (S204), and the count value N becomes the threshold value Nt.
If smaller than h, LZW encoding is performed (S205),
When the count value N is greater than or equal to the threshold value Nth, run pack coding is performed by packing the runs of white / black pixels counted in S203 (S206). Further, the pointer n of the input image data is increased by the number of encoded data, the process returns to S202 again, and the process is continued. This S20
Image data is compressed by continuing the steps from 2 to S206 until there is no input image data.

【0021】さらに、LZW符号化処理及びランパック
符号化処理の詳細を図6を用いて説明する。まず、LZ
W符号化処理の詳細を図6(a)により説明する。LZ
W符号化処理部にはメインルーチンから白/黒ランの計
数値Nと現在の入力画像データのポインタnが渡され
る。最初に、符号化した画像データ長を記憶しておくた
めのテンポラリ変数Lを用意し、その値を0に初期化し
ておく(S601)。そして、画像データをポインタ値
nで示されるものから順次入力していく(S602)。
次に、入力文字列と一致する最長の文字列を辞書から探
索し、その最長一致文字列長をLDとして、テンポラリ
変数Lの値をLDだけ増加させる(S603)。次に、
参照辞書の中で探索された最長一致文字列に付されてい
るインデックスを符号化して出力する。このときの符号
長は、辞書のエントリ数に関わらず2バイトとする。符
号の構成は図8(a)に示すように符号の第1ビット及
び第2ビットは0でマスクし、残りの14ビット(Xで
示してある)で辞書のインデックスを表す符号となって
いる。また、最長一致文字列長LDは符号化される画像
データ長に等しいので、次に符号化する画像データのポ
インタとしてポインタnの値をLDだけ増加させる(S
604)。
The details of the LZW coding process and the run pack coding process will be described with reference to FIG. First, LZ
Details of the W encoding process will be described with reference to FIG. LZ
A count value N of white / black runs and a pointer n of the current input image data are passed from the main routine to the W encoding processing section. First, a temporary variable L for storing the encoded image data length is prepared and its value is initialized to 0 (S601). Then, the image data is sequentially input from the one indicated by the pointer value n (S602).
Next, the longest character string that matches the input character string is searched from the dictionary, and the value of the temporary variable L is increased by LD using the longest matching character string length as LD (S603). next,
The index attached to the longest matching character string searched in the reference dictionary is encoded and output. The code length at this time is 2 bytes regardless of the number of entries in the dictionary. As shown in FIG. 8A, the code has a code in which the first bit and the second bit of the code are masked with 0, and the remaining 14 bits (indicated by X) represent the index of the dictionary. . Further, since the longest matching character string length LD is equal to the image data length to be encoded, the value of the pointer n is increased by LD as a pointer of the image data to be encoded next (S
604).

【0022】次に、参照辞書の更新を行う。辞書の更新
は、従来技術でも説明したように、辞書に登録されてい
るエントリ数がその辞書に登録できる最大数に達してい
るか否か比較することにより行われる。すなわち本実施
例では辞書のエントリ数と最大エントリ数2の14乗こ
と比較し(S605)、エントリ数が最大でないときは
新たな文字列を登録し(S606)、エントリ数が最大
のときはそれ以上文字列を登録することができないので
辞書を初期化する(S607)。次に、テンポラリ変数
Lと計数値Nを比較する。テンポラリ変数Lは1回のL
ZW 符号化処理ルーチンで符号化された画像データ長
を表しており、テンポラリ変数Lが計数値Nより小さけ
ればNthより小さな白/黒ランが残っていることにな
る。よって、メインルーチンに戻って白/黒ラン計数を
行うまでもなくLZW符号化処理が行われることは明ら
かである。そのため、テンポラリ変数Lが計数値Nより
小さければ再びS602へ戻りLZW符号化処理を続
け、そうでなければLZW符号化処理を終了しメインル
ーチンへ戻る(S608)。
Next, the reference dictionary is updated. The dictionary is updated by comparing whether the number of entries registered in the dictionary reaches the maximum number that can be registered in the dictionary, as described in the related art. That is, in the present embodiment, the number of entries in the dictionary is compared with the maximum number of entries 2 to the 14th power (S605). If the number of entries is not the maximum, a new character string is registered (S606). Since the character string cannot be registered as described above, the dictionary is initialized (S607). Next, the temporary variable L and the count value N are compared. Temporary variable L is L once
It represents the image data length encoded by the ZW encoding processing routine, and if the temporary variable L is smaller than the count value N, a white / black run smaller than Nth remains. Therefore, it is obvious that the LZW encoding process is performed without returning to the main routine to perform the white / black run count. Therefore, if the temporary variable L is smaller than the count value N, the process returns to S602 again to continue the LZW encoding process, and if not, the LZW encoding process is terminated and the process returns to the main routine (S608).

【0023】また、ランパック符号化処理の詳細を図6
(b)により説明する。ランパック符号化処理部にはメ
インルーチンから白/黒ランの計数値Nとそのランの判
別符号W/Bが渡される。最初に、ここで符号化される
画像データ長は計数値Nに等しいので、次に符号化する
画像データのポインタとしてポインタnの値をNだけ増
加させる(S611)。次に、判別符号の値を調べ(S
612)、判別符号がWならばマスクMに0x8000
をセットし、符号化できるランの最大値を表す変数NM
に2の15乗をセットする(S613)。また、判別符
号がBならばマスクMに0×4000をセットし、変数
NMに2の14をセットする(S614)。このときの
マスクにより白ランを符号化するときの符号の構成は図
8(b)に示すように符号の第1ビットは1となり、残
りの15ビット(Xで示してある)で白ラン長を表すこ
とになる。また、黒ランを符号化するときの符号の構成
は図8(c)に示すように符号の第1ビットは0、第2
ビットは1となり、残りの14ビット(Xで示してあ
る)で黒ラン長を表すことになる。一般に印刷画像では
黒ランより白ランが長い傾向があるので、このように白
ランがより長くパックできる構成とする。
Details of the run pack encoding process are shown in FIG.
This will be described with reference to (b). The count value N of white / black runs and the discrimination code W / B of the runs are passed from the main routine to the run pack encoding processing section. First, since the length of the image data encoded here is equal to the count value N, the value of the pointer n is incremented by N as a pointer of the image data to be encoded next (S611). Next, the value of the discrimination code is checked (S
612), if the discrimination code is W, 0x8000 is set in the mask M.
NM, which is the maximum value of runs that can be coded by setting
Is set to 2 to the 15th power (S613). If the discrimination code is B, 0 × 4000 is set in the mask M and 2 of 14 is set in the variable NM (S614). As shown in FIG. 8B, when the white run is encoded by the mask at this time, the first bit of the code is 1 and the remaining 15 bits (denoted by X) are the white run length. Will be represented. Further, as shown in FIG. 8C, when the black run is coded, the first bit of the code is 0, and the second bit is 0
The bit becomes 1, and the remaining 14 bits (denoted by X) represent the black run length. Generally, a white run tends to be longer than a black run in a printed image, and thus the white run can be packed longer.

【0024】次に、白/黒ランを符号化するが、本実施
例では一つの符号にパックできるラン長が最大NM個な
ので、それより計数値Nが大きいときはラン長を幾つか
に分割して符号化する。そのため、計数値Nと変数NM
の比較を行う(S615)。そして、計数値Nが変数N
Mより大きいときは、ラン長を表すテンポラリ変数cに
NMー1を代入し、テンポラリ変数cとマスクMの論理
和(記号|で表す)をとり合成した符号Cを出力する。
そして、ここで符号化したラン長NMの分だけ計数値か
ら減算し、再びS615へ戻る(S616)。また、計
数値Nが変数NM以下のときは、ラン長を表すテンポラ
リ変数cにNー1を代入し、テンポラリ変数cとマスク
Mの論理和をとり合成した符号Cを出力する(S61
7)。ここで、実際のラン長から1を引いた値を符号と
するのは1個から2の15乗個又は2の14乗個の白又
は黒ランを0x0000から0x7fff又は0x3f
ffに対応させるためである。そして、ランパック符号
化処理を終了しメインルーチンへ戻る。以上のように生
成された符号は識別符号として、図8に示すように、L
ZW方式により符号化されたときは00、ランパックに
より白ラン長が符号化されたときは1、黒ラン長が符号
化されたときは01がそれぞれ付されているので、それ
ぞれを一意に識別することができる。
Next, white / black runs are encoded. In this embodiment, the maximum run length that can be packed in one code is NM, so when the count value N is larger than that, the run length is divided into several. And encode. Therefore, the count value N and the variable NM
Are compared (S615). Then, the count value N is the variable N
When it is larger than M, NM-1 is assigned to the temporary variable c representing the run length, the logical sum (represented by the symbol |) of the temporary variable c and the mask M is taken, and the synthesized code C is output.
Then, the coded run length NM is subtracted from the count value, and the process returns to S615 (S616). When the count value N is less than or equal to the variable NM, N-1 is substituted for the temporary variable c representing the run length, the temporary variable c and the mask M are ORed, and the combined code C is output (S61).
7). Here, the value obtained by subtracting 1 from the actual run length is used as a code, from 1 to 2 15 powers or 2 14 power white or black runs from 0x0000 to 0x7fff or 0x3f
This is to correspond to ff. Then, the run pack encoding process is terminated and the process returns to the main routine. The code generated as described above is used as an identification code as shown in FIG.
Since 00 is coded by the ZW method, 1 is coded by the run pack when the white run length is coded, and 01 is coded when the black run length is coded by the run pack, each is uniquely identified. can do.

【0025】次に、LZW方式を用いて本発明を実現し
た場合の実施例について、図3及び図7を使って復号化
処理の流れを説明する。最初に、復号化処理の初期化と
して、LZW方式の参照辞書の初期化や入力される圧縮
符号列の先頭へのポインタのセット等が行われる(S3
01)。n番目の圧縮符号Cnを入力すると(S30
2)、まず、圧縮符号Cnを0xc000との論理積
(記号&で表す)をとることにより第1ビットと第2ビ
ットの値を取り出し、その値を調べる(S303)。圧
縮符号の構成は図7に示した通りになっているので、圧
縮符号がLZW 方式により符号化されたものならば上
記の論理積の値は0になり、ランパックにより符号化さ
れたものならば論理積の値は0以外になる。よって、論
理積値が0のときはLZW 復号化を行い(S30
4)、論理積値が0以外のときはランパック復号化を行
う(S305)。こうして、一つの圧縮符号が画像デー
タに復元されたならば、再びS302へ戻り次の圧縮符
号を入力し、順次復号処理を圧縮符号が無くなるまで継
続することにより、画像データの復号化が行われる。
Next, with respect to an embodiment in which the present invention is realized by using the LZW system, the flow of the decoding process will be described with reference to FIGS. 3 and 7. First, as initialization of the decoding process, initialization of a reference dictionary of the LZW system, setting of a pointer to the head of an input compression code string, and the like are performed (S3).
01). When the nth compression code Cn is input (S30
2) First, the value of the first bit and the second bit is extracted by taking the logical product (represented by the symbol &) of the compression code Cn with 0xc000, and the value is examined (S303). Since the structure of the compression code is as shown in FIG. 7, if the compression code is coded by the LZW system, the value of the above logical product becomes 0, and if it is coded by the run pack, For example, the value of the logical product is not 0. Therefore, when the logical product value is 0, LZW decoding is performed (S30
4) If the logical product value is other than 0, run pack decoding is performed (S305). In this way, when one compression code is restored to the image data, the process returns to S302 to input the next compression code, and the decoding process of the image data is performed by continuing the sequential decoding process until the compression code is exhausted. .

【0026】さらに、LZW復号化処理及びランパック
復号化処理の詳細を図7を用いて説明する。まず、LZ
W復号化処理の詳細を図7(a)により説明する。LZ
W復号化処理部にはメインルーチンから圧縮符号Cnが
渡される。まず、圧縮符号から参照辞書のインデックス
を求め、そのインデックス値から参照辞書に登録されて
いる文字列を検索する(S701)。そして、その文字
列を画像データとして出力し、次に処理する圧縮符号に
ポインタを移動するためにnの値を1だけ増加させる
(S702)。次に、辞書の更新を行うため、辞書のエ
ントリ数が最大エントリ数2の14乗個に達したか判定
し(S703)、エントリ数が最大に達していないとき
は、従来技術で述べたのと同様の手法で新たな文字列を
辞書に登録し(S704)、エントリ数が最大のときは
辞書の初期化を行う(S705)。以上の一連の処理を
行った後にメインルーチンへ戻る。
Details of the LZW decoding process and the run pack decoding process will be described with reference to FIG. First, LZ
Details of the W decoding process will be described with reference to FIG. LZ
The compression code Cn is passed from the main routine to the W decoding processing unit. First, the index of the reference dictionary is obtained from the compression code, and the character string registered in the reference dictionary is searched from the index value (S701). Then, the character string is output as image data, and the value of n is increased by 1 in order to move the pointer to the compression code to be processed next (S702). Next, in order to update the dictionary, it is determined whether the number of entries in the dictionary has reached the 14th power of the maximum number of entries 2 (S703). If the number of entries has not reached the maximum, the method described in the prior art is used. A new character string is registered in the dictionary by the same method as in (S704), and when the number of entries is maximum, the dictionary is initialized (S705). After performing the series of processes described above, the process returns to the main routine.

【0027】また、ランパック復号化処理の詳細を図7
(b)により説明する。ランパック復号化処理部もまた
メインルーチンから圧縮符号Cnが渡される。まず、圧
縮符号の第1ビットを調べることにより、この圧縮符号
が白ランをパックしたものか黒ランをパックしたものか
を判定する(S711)。すなわち、圧縮符号の構成は
図8に示した通りなので、白ランをパックしたときは第
1ビットは1であり、黒ランをパックしたときは第1ビ
ットは0となるので、上記の判定を行うことができる。
ここで、第1ビットが1のときは白ランがパックされて
おり、そのときの圧縮符号の構成は図8(b)に示して
あるとおり第2ビットから第16ビットまでで表されて
いるので、圧縮符号Cnを0x7fffとの論理積をと
ってマスクし、その値に1を加えた値NCがラン長とな
る。よって、白画素0x00をNC個出力することによ
り画像データを復元できる。また、次に処理する圧縮符
号にポインタを移動するためにnの値を1だけ増加させ
る(S712)。S711で第1ビットが0のときは同
様に、圧縮符号Cnを0x3fffとの論理積をとって
マスクし、その値に1を加えた値NCだけ黒画素0xf
fを出力することにより画像データを復元でき、また、
次に処理する圧縮符号にポインタを移動するためにnの
値を1だけ増加させておく(S713)。以上の一連の
処理を行った後にメインルーチンへ戻る。
Details of the run pack decoding process are shown in FIG.
This will be described with reference to (b). The run pack decoding processing unit also receives the compression code Cn from the main routine. First, by checking the first bit of the compression code, it is determined whether this compression code packs a white run or a black run (S711). That is, since the structure of the compression code is as shown in FIG. 8, the first bit is 1 when the white run is packed, and the first bit is 0 when the black run is packed. It can be carried out.
Here, when the first bit is 1, the white run is packed, and the configuration of the compression code at that time is represented by the second bit to the 16th bit as shown in FIG. 8B. Therefore, the compression code Cn is ANDed with 0x7fff and masked, and the value NC obtained by adding 1 to the value becomes the run length. Therefore, the image data can be restored by outputting NC white pixels 0x00. Further, the value of n is incremented by 1 to move the pointer to the compression code to be processed next (S712). Similarly, when the first bit is 0 in S711, the compression code Cn is logically ANDed with 0x3fff and masked, and black pixel 0xf is obtained by adding 1 to the value NC.
Image data can be restored by outputting f, and
The value of n is incremented by 1 to move the pointer to the compression code to be processed next (S713). After performing the series of processes described above, the process returns to the main routine.

【0028】[0028]

【発明の効果】以上に説明したように本発明によれば、
画像の統計的性質に依存しないユニバーサル符号化部に
ランパック符号化部を組み合わせることにより、符号化
部のユニバーサル性を保存したままテキスト等の白/黒
の長いランを有するデータをより高圧縮することができ
る。
As described above, according to the present invention,
By combining the universal encoding unit that does not depend on the statistical properties of the image with the run pack encoding unit, data having a long run of white / black such as text is highly compressed while preserving the universality of the encoding unit. be able to.

【0029】また、ランパック符号化・復号化部は簡単
な構成で実現可能でまた、2つの符号化部の切り換えを
行う計数部と比較部は一つのカウンタと比較器で構成さ
れ、2つの復号化部の切り換えを行う解析部は一つの比
較器で構成されるので、ユニバーサル符号化・復号化処
理を単体で行うことに比べて処理量はほとんど増加せ
ず、処理速度の劣化がない。特に、プリンタ等の印刷処
理で要求される復号化処理の高速性が劣化することな
く、画像データの圧縮・復号を行うことができる。
The Rampack encoding / decoding unit can be realized with a simple structure, and the counting unit and the comparing unit for switching between the two encoding units are composed of one counter and a comparator. Since the analysis unit for switching the decoding unit is composed of one comparator, the processing amount is hardly increased and the processing speed is not deteriorated as compared with the case where the universal encoding / decoding process is performed by itself. In particular, the image data can be compressed / decoded without deteriorating the speed of the decoding process required for the printing process of the printer or the like.

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

【図1】本発明のデータ圧縮及び復号方式の基本構成を
示す図
FIG. 1 is a diagram showing a basic configuration of a data compression and decoding system of the present invention.

【図2】LZW方式を利用した符号化処理の流れを示す
FIG. 2 is a diagram showing a flow of an encoding process using the LZW method.

【図3】LZW方式を利用した復号化処理の流れを示す
FIG. 3 is a diagram showing a flow of a decoding process using the LZW method.

【図4】LZW符号化及び復号化処理の流れを示す図FIG. 4 is a diagram showing a flow of LZW encoding and decoding processing.

【図5】従来のデータ圧縮及び復号方式の構成を示す図FIG. 5 is a diagram showing a configuration of a conventional data compression and decoding system.

【図6】LZW方式を利用したときの各符号化部の処理
の流れを示す図
FIG. 6 is a diagram showing a processing flow of each encoding unit when the LZW method is used.

【図7】LZW方式を利用したときの各復号化部の処理
の流れを示す図
FIG. 7 is a diagram showing a processing flow of each decoding unit when the LZW method is used.

【図8】LZW方式を利用したときの符号の構造を説明
する図
FIG. 8 is a diagram illustrating a code structure when the LZW method is used.

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

101 白/黒ラン計数部 102 比較部 103 ユニバーサル符号化部 104 ランパック符号化部 111 符号解析部 112 ユニバーサル復号化部 113 ランパック復号化部 101 White / Black Run Counting Unit 102 Comparing Unit 103 Universal Encoding Unit 104 Run Pack Encoding Unit 111 Code Analysis Unit 112 Universal Decoding Unit 113 Run Pack Decoding Unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/413 D ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display area H04N 1/413 D

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】符号化された画像データにもとずいて作成
された辞書を参照して入力画像データを符号化し第1の
圧縮符号を出力する第1の符号化部と、入力画像データ
の白画素または黒画素の連続数を前記第1の圧縮符号と
識別可能となるように符号化し第2の圧縮符号を出力す
る第2の符号化部と、入力画像データの白画素または黒
画素の連続数を計数する計数部と、前記計数部により計
数された計数値と所定のしきい値を比較する比較部とか
ら構成され、前記比較部による比較結果にもとずいて前
記第1の符号化部または前記第2の符号化部を選択し、
前記選択された符号化部によって入力画像データを圧縮
符号化することを特徴とするデータ圧縮方式。
1. A first encoding unit for encoding input image data by referring to a dictionary created based on encoded image data and outputting a first compression code, and input image data A second encoding unit that encodes a continuous number of white pixels or black pixels so as to be distinguishable from the first compression code and outputs a second compression code; The first code is composed of a counting unit for counting the number of consecutive times and a comparing unit for comparing the count value counted by the counting unit with a predetermined threshold value, and based on the comparison result by the comparing unit. An encoding unit or the second encoding unit,
A data compression method, wherein input image data is compression-encoded by the selected encoding unit.
【請求項2】前記圧縮符号化された符号化部が前記第1
の符号化部または前記第2の符号化部を解析する解析部
と、前記解析部によって前記第1の符号化部によって符
号化されたデータを復号化する第1の復号化部と、前記
第2の符号化部によって符号化されたデータを復号化す
る第2の復号化部とから構成され、前記選択された復号
化部によって圧縮符号を伸長復号化することを特徴とす
るデータ復号方式。
2. The compression-encoded encoder is the first encoder.
An encoding unit or an analyzing unit that analyzes the second encoding unit; a first decoding unit that decodes the data encoded by the first encoding unit by the analyzing unit; And a second decoding unit that decodes the data encoded by the second encoding unit, and the compression decoding code is expanded and decoded by the selected decoding unit.
【請求項3】前記第1の符号化部は固定長圧縮符号を生
成するLZW(Lempel−Ziv−Welch)符
号化部から構成され、前記第1の圧縮符号化部と第2の
圧縮符号化部は前記解析部によってどちらの圧縮符号化
部で生成された符号であるかを識別するための識別符号
を前記第1の圧縮符号と前記第2の圧縮符号に付与する
ことを特徴とする請求項1記載のデータ圧縮方式。
3. The first encoding unit is composed of an LZW (Lempel-Ziv-Welch) encoding unit for generating a fixed-length compression code, and the first compression encoding unit and the second compression encoding unit. The unit adds an identification code for identifying which code is generated by the analysis unit by the analysis unit to the first compression code and the second compression code. The data compression method according to item 1.
JP06090976A 1994-04-28 1994-04-28 Data compression / decoding method Expired - Fee Related JP3124887B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06090976A JP3124887B2 (en) 1994-04-28 1994-04-28 Data compression / decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06090976A JP3124887B2 (en) 1994-04-28 1994-04-28 Data compression / decoding method

Publications (2)

Publication Number Publication Date
JPH07298062A true JPH07298062A (en) 1995-11-10
JP3124887B2 JP3124887B2 (en) 2001-01-15

Family

ID=14013555

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06090976A Expired - Fee Related JP3124887B2 (en) 1994-04-28 1994-04-28 Data compression / decoding method

Country Status (1)

Country Link
JP (1) JP3124887B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008219878A (en) * 2007-02-09 2008-09-18 Olympus Imaging Corp Decoding method, decoding device, decoding program and electronic camera
US7715640B2 (en) 2002-11-05 2010-05-11 Konica Minolta Business Technologies, Inc. Image processing device, image processing method, image processing program and computer-readable recording medium on which the program is recorded
JP2012147248A (en) * 2011-01-12 2012-08-02 Mitsubishi Electric Corp Entropy encoding apparatus, entropy decoding apparatus, entropy encoding method and entropy decoding method
US8638243B2 (en) 2010-03-03 2014-01-28 Mitsubishi Electric Corporation Data compression device, data compression method, and medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7715640B2 (en) 2002-11-05 2010-05-11 Konica Minolta Business Technologies, Inc. Image processing device, image processing method, image processing program and computer-readable recording medium on which the program is recorded
US7970225B2 (en) 2002-11-05 2011-06-28 Konica Minolta Business Technologies, Inc. Image processing device, image processing method, image processing program and computer-readable recording medium on which the program is recorded
JP2008219878A (en) * 2007-02-09 2008-09-18 Olympus Imaging Corp Decoding method, decoding device, decoding program and electronic camera
US8638243B2 (en) 2010-03-03 2014-01-28 Mitsubishi Electric Corporation Data compression device, data compression method, and medium
JP2012147248A (en) * 2011-01-12 2012-08-02 Mitsubishi Electric Corp Entropy encoding apparatus, entropy decoding apparatus, entropy encoding method and entropy decoding method

Also Published As

Publication number Publication date
JP3124887B2 (en) 2001-01-15

Similar Documents

Publication Publication Date Title
EP0154860B1 (en) Model driven data compression/decompression system for data transfer
US7365658B2 (en) Method and apparatus for lossless run-length data encoding
US5818877A (en) Method for reducing storage requirements for grouped data values
JP4905562B2 (en) Data compression apparatus and data restoration apparatus
JP4479530B2 (en) Data compression apparatus and data restoration apparatus
US5710562A (en) Method and apparatus for compressing arbitrary data
US5572206A (en) Data compression method and system
US5389922A (en) Compression using small dictionaries with applications to network packets
JP3627016B2 (en) Huffman encoding / decoding method
KR100300789B1 (en) Method and apparatus for improving data compression efficiency of adaptive data compressor
JP3258552B2 (en) Data compression device and data decompression device
EP0903866B1 (en) Method and apparatus for data compression
US5594435A (en) Permutation-based data compression
US5392036A (en) Efficient optimal data recopression method and apparatus
KR100906041B1 (en) Font compression and retrieval
JPH07298062A (en) Data compression decoding system
JP3266419B2 (en) Data compression / decompression method
EP0494038A2 (en) Run-length encoding in extensible character sets
KR100481204B1 (en) Data compression method and apparatus with embedded run-length encoding
JP3073072B2 (en) Image data compression and decompression method
JP3100206B2 (en) Data compression method
JPH0644038A (en) Data compressing method, data restoring method, and data compressing/restoring method
JP3098046B2 (en) Image data compression apparatus and method
JP3181996B2 (en) Image data compression / decompression method
JPH06178124A (en) Image data compression and elongation device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071027

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081027

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091027

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101027

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees