JPH0813132B2 - Blocked entropy encoder - Google Patents
Blocked entropy encoderInfo
- Publication number
- JPH0813132B2 JPH0813132B2 JP60255940A JP25594085A JPH0813132B2 JP H0813132 B2 JPH0813132 B2 JP H0813132B2 JP 60255940 A JP60255940 A JP 60255940A JP 25594085 A JP25594085 A JP 25594085A JP H0813132 B2 JPH0813132 B2 JP H0813132B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- run length
- huffman
- event
- code
- 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.)
- Expired - Lifetime
Links
Landscapes
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
Description
【発明の詳細な説明】 〔概要〕 画像信号の帯域圧縮の為のブロック化エントロピー符
号化装置において、有効なデータ圧縮を可能とするた
め、入力信号列をブロックに区分し、特有事象(例えば
0)のみの第1ブロックはこのブロックを識別する2値
中の1ビットよりなる識別符号のみを出力するほか、非
特有事象(例えば0以外の信号)を含む第2ブロックに
ついては、第2ブロック内の特有事象についてはランレ
ングス符号化し、非特有事象につていはハフマン符号化
し、さらに第2ブロックを識別する2値中の1ビットよ
りなる識別信号を付加出力する。DETAILED DESCRIPTION [Outline] In a blocked entropy coding apparatus for band compression of an image signal, in order to enable effective data compression, an input signal sequence is divided into blocks and a specific event (for example, 0 ) Only outputs the identification code consisting of 1 bit in the binary value that identifies this block, and the second block containing a non-specific event (for example, a signal other than 0) is in the second block. The peculiar event is subjected to run length coding, the non-specific event is subjected to Huffman coding, and an identification signal consisting of 1 bit in the binary value for identifying the second block is additionally output.
本発明は、画像信号の帯域圧縮における予測誤差出力
の如く、特有事象(0)又は非特有事象(0以外の信
号)の信号の平均ラン長が長い場合の、ブロック化エン
トロピー符号化装置(可変長符号化装置)の改良に関す
る。The present invention provides a blocked entropy coding device (variable when the average run length of a signal of a specific event (0) or a non-specific event (a signal other than 0) is long, such as a prediction error output in band compression of an image signal. Long coding device).
上記ブロック化エントロピー符号化装置では、より有
効なデータ圧縮が可能なことが望ましい。It is desirable that the blocked entropy coding apparatus be capable of more effective data compression.
従来のブロック化エントロピー符号化装置として、画
像信号の予測誤差出力の場合を例にとり、第2図を用い
て説明する。As a conventional block entropy coding device, a case of outputting a prediction error of an image signal will be described as an example with reference to FIG.
DPCM回路1の出力である画像信号の予測誤差出力の特
有事象(0)又は非特有事象(0以外)の信号は、有効
・無効ブロック判別回路2に入力し、ここで、ブロック
に区切られ、特有事象(0)のみのブロックである第1
ブロックとしての無効ブロッククか、非特有事象(0以
外)の信号を含む第2ブロックとしての有効ブロックか
を判別し、有効・無効ブロック情報を多重化回路4及び
セレクタ5に入力する。The signal of the peculiar event (0) or the non-peculiar event (other than 0) of the prediction error output of the image signal which is the output of the DPCM circuit 1 is input to the valid / invalid block discrimination circuit 2, where it is divided into blocks. The first block, which is a unique event (0) only
It is determined whether the block is an invalid block or a valid block that is a second block including a signal of a non-specific event (other than 0), and valid / invalid block information is input to the multiplexing circuit 4 and the selector 5.
又予測誤差出力は、ハフマン符号器(発生頻度に応じ
た最適の符号長を与える符号器)3に入力し、全ての信
号はハフマン符号化され多重化回路4に入力する。The prediction error output is input to a Huffman encoder (encoder that gives an optimum code length according to the occurrence frequency) 3, and all signals are Huffman encoded and input to a multiplexing circuit 4.
多重化回路4では、有効・無効ブロック判別情報によ
り、第2ブロック(有効ブロック)毎のハフマン符号器
3の出力のハフマン符号に識別符号として1ビットの1
の符号が多重化されセレクタ5に入力する。In the multiplexing circuit 4, according to the valid / invalid block discrimination information, the Huffman code output from the Huffman encoder 3 for each second block (valid block) is a 1-bit 1 as an identification code.
Are multiplexed and input to the selector 5.
セレクタ5では、有効・無効ブロック情報により、第
1ブロックとしての無効ブロックの時には1ブロックに
対し識別符号として1ビットの0の符号を出力し、第2
ブロックとしての有効ブロックの時は多重化回路4の出
力である第2ブロック毎に識別符号の1の符号とハフマ
ン符号が出力する。According to the valid / invalid block information, the selector 5 outputs a 1-bit code of 0 as an identification code for one block when the block is an invalid block as the first block.
When the block is an effective block, the identification code 1 and the Huffman code are output for each second block which is the output of the multiplexing circuit 4.
しかしながら、画像信号の予測誤差出力は、第2ブロ
ック(有効ブロック)内の特有事象(0)の信号の平均
ラン長は長いにもかかわらず、全信号につきハフマン符
号化して出力されるので、第1ブロック内に信号がn個
あれば、信号1個につき、1ビット与えたとしても、累
算値はn個になり、十分なデータ圧縮が行なわれない問
題点がある。However, since the prediction error output of the image signal is Huffman-encoded for all the signals, the average run length of the signal of the specific event (0) in the second block (effective block) is output, If there are n signals in one block, even if 1 bit is given to each signal, the accumulated value will be n, and there is a problem that sufficient data compression cannot be performed.
上記問題点は本発明により、信号列について所定ビッ
ト数のブロック単位に区切って特有事象のみよりなる第
1ブロックか、非特有事象を含む第2ブロックかを判別
し、判別結果を出力する第1手段と、信号列の各ビット
の特有,非特有を判別する第2手段と、第2ブロック中
の特有事象のみのラン長を検出し、ランレングス符号化
する第3手段と、信号列についてハフマン符号化するハ
フマン符号器と、第1,第2,第3手段及びハフマン符号器
よりの各出力にもとずいて、第1ブロックについてはそ
れを識別する2値中の1ビットよりなる識別符号を、第
2ブロックについては、特有事象のラン長のランレング
ス符号、非特有事象のハフマン符号及び第2ブロックを
識別する2値中の1ビットよりなる識別符号を選択出力
する出力選択手段とよりなることを特徴とするブロック
化エントロピー符号化装置によって解決される。According to the present invention, the above-mentioned problem is determined by dividing the signal sequence into blocks each having a predetermined number of bits to determine whether the first block is composed of only specific events or the second block including non-specific events, and outputs a determination result. Means, second means for discriminating between peculiarity and non-uniqueness of each bit of the signal sequence, third means for detecting the run length of only the peculiar event in the second block and performing run length coding, and Huffman for the signal sequence An identification code consisting of 1 bit in the binary value for identifying the first block based on the outputs from the Huffman encoder to be encoded and the first, second and third means and the Huffman encoder. For the second block, it is called an output selection means for selectively outputting a run length code of the run length of the peculiar event, a Huffman code of the non-specific event, and an identification code consisting of 1 bit in a binary value for identifying the second block. It is solved by a blocked entropy coder.
本発明によれば、第2ブロック(有効ブロック)内の
特有事象(0)の平均ラン長が長い点に着目し、第2ブ
ロック内の特有事象(0)について、ランレングス符号
化し、非特有事象(0以外の信号)については、ハフマ
ン符号化するので、従来に比し、特有事象(0)の符号
長は著しく短くなり、より有効なデータ圧縮が可能とな
る。According to the present invention, attention is paid to the fact that the average run length of the peculiar event (0) in the second block (effective block) is long, and the peculiar event (0) in the second block is run-length encoded and non-unique. Since the Huffman coding is performed on the event (a signal other than 0), the code length of the special event (0) is remarkably shorter than that in the conventional case, and more effective data compression is possible.
第1図は本発明の実施例のブロック図である。 FIG. 1 is a block diagram of an embodiment of the present invention.
図中2は第1手段としての有効・無効ブロック判別回
路、6は第2手段としての零・非零判別回路、また7の
零ラン長検出器と8の零ランレングス符号器とは第3手
段を構成し、3はハフマン符号器であり、出力選択手段
はセレクタ9、多重化回路4及びセレクタ5から構成さ
れる。In the figure, 2 is a valid / invalid block discriminating circuit as the first means, 6 is a zero / non-zero discriminating circuit as the second means, and the zero run length detector 7 and the zero run length encoder 8 are the third. 3 is a Huffman encoder, and the output selection means is composed of a selector 9, a multiplexing circuit 4 and a selector 5.
尚全図を通じ同一符号は同一機能のものを示す。 The same reference numerals indicate the same functions throughout the drawings.
第1図も第2図に対応した画像信号の予測誤差出力の
符号化装置である。FIG. 1 is also an encoding device for the prediction error output of the image signal corresponding to FIG.
第1図で第2図と異なる点は、第2手段である零・非
零判別回路6、第3手段を構成する零ラン長検出器7及
び零ランレングス符号器8、及び出力選択手段中にセレ
クタ9を設け、またこれに伴って出力選択手段の機能が
変化した点である。1 is different from FIG. 2 in that the zero / non-zero discriminating circuit 6 as the second means, the zero run length detector 7 and the zero run length encoder 8 constituting the third means, and the output selecting means are included. Is that the selector 9 is provided and the function of the output selecting means is changed accordingly.
この点を主にして説明すると、DPCM回路1の出力であ
る予測誤差出力の特有事象(例えば0)と非特有事象
(0以外)の信号を、第2手段の零・非零判別回路6に
て判別し、特有事象の場合は0レベル、非特有事象の場
合は1レベルの信号を出力し、この零・非零判別情報は
セレクタ9及び零ラン長検出器7に入力する。Explaining mainly this point, the signals of the peculiar event (for example, 0) and the non-peculiar event (other than 0) of the prediction error output which is the output of the DPCM circuit 1 are sent to the zero / non-zero discriminating circuit 6 of the second means. The signal of 0 level is output in the case of a peculiar event, and the signal of 1 level is output in the case of a non-specific event. The zero / non-zero discrimination information is input to the selector 9 and the zero run length detector 7.
零ラン長検出器7では、第1手段の有効・無効ブロッ
ク判別器2よりの有効・無効ブロック情報も入力してお
り、第2ブロック(有効ブロック)内の特有事象のラン
長を検出し零ランレングス符号器8に入力する。In the zero run length detector 7, valid / invalid block information from the valid / invalid block discriminator 2 of the first means is also inputted, and the run length of the specific event in the second block (valid block) is detected to be zero. Input to the run length encoder 8.
零ランレングス符号器8では特有事象のラン長をラン
レングス符号化し、出力選択手段中のセレクタ9に入力
する。第2手段よりの判別結果により、第2ブロックの
非特有事象のハフマン符号もセレクタ9に入力する。In the zero run length encoder 8, the run length of the peculiar event is run length encoded and input to the selector 9 in the output selection means. The Huffman code of the non-specific event of the second block is also input to the selector 9 according to the determination result of the second means.
従ってセレクタ9からは零・非零判別情報により、第
2ブロック(有効ブロック)につい特有事象のランレン
グス符号と非特有事象のハフマン符号が出力され、多重
化回路4に入力する。また多重化回路4には、第1手段
よりの有効・無効ブロック判別情報にて、第2ブロック
(有効ブロック)についてのブロック識別符号として1
ビットの1が入力される。従って多重化回路4からは第
2ブロックのブロック識別符号とセレクタ9からの入力
が出力され、セレクタ5に入力される。Therefore, the selector 9 outputs the run length code of the peculiar event and the Huffman code of the non-peculiar event for the second block (effective block) according to the zero / non-zero discrimination information, which is input to the multiplexing circuit 4. Further, the multiplexing circuit 4 uses the valid / invalid block discrimination information from the first means as a block identification code for the second block (valid block).
Bit 1 is input. Therefore, the multiplexing circuit 4 outputs the block identification code of the second block and the input from the selector 9, and inputs them to the selector 5.
一方セレクタ5には第1手段からの判別時により、第
1ブロック(無効ブロック)について1ビットのブロッ
ク識別符号が入力される。On the other hand, a 1-bit block identification code for the first block (invalid block) is input to the selector 5 depending on the determination made by the first means.
従ってセレクタ5からは、第1ブロックについての1
ビットのブロック識別符号と、第2ブロックについての
1ビットのブロック識別符号と、第2ブロックにおける
特有事象のランレングス符号と非特有事象のハフマン符
号が出力される。Therefore, from the selector 5, 1 for the first block
The bit block identification code, the 1-bit block identification code for the second block, the run length code of the specific event and the Huffman code of the non-specific event in the second block are output.
従って、従来に比し、第1ブロック(無効ブロック)
では符号長は同じであるが、第2ブロック(有効ブロッ
ク)の0特有事象の符号長は著しく短くなるので、より
十分なデータ圧縮を行なうことが出来るようになる。Therefore, compared to the conventional case, the first block (invalid block)
However, the code length is the same, but the code length of the 0-specific event in the second block (effective block) is significantly shortened, so that more sufficient data compression can be performed.
以上詳細に説明せる如く本発明によれば、従来に比
し、第1ブロックとしての無効ブロックでは符号長は同
じであるが、第2ブロックとしての有効ブロックの特有
事象(0)の連続部分の符号長は著しく短くなるので、
より十分なデータ圧縮を行なうことが出来る効果があ
る。As described in detail above, according to the present invention, the code length of the invalid block as the first block is the same as that of the conventional one, but the continuous event of the specific event (0) of the valid block as the second block is the same. Since the code length becomes significantly shorter,
There is an effect that more sufficient data compression can be performed.
第1図は本発明の実施例のブロック図、 第2図は従来例のブロック図である。 図において、 1はDPCM回路、 2は第1手段としての有効・無効ブロック判別回路器、 3はハフマン符号器、 4の多重化回路、5,9のセレクタは共に出力選択手段の
構成、 6は第2手段としての零・非零判別回路、 7の零ラン長検出器、8は零ランレングス符号器は第3
手段の構成を示す。FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional example. In the figure, 1 is a DPCM circuit, 2 is a valid / invalid block discriminating circuit device as a first means, 3 is a Huffman encoder, 4 is a multiplexing circuit, 5 and 9 selectors are both output selecting means configurations, and 6 is Zero / non-zero discriminating circuit as second means, zero run length detector 7 and zero run length encoder 3
The structure of a means is shown.
Claims (1)
位に区切って特有事象のみよりなる第1ブロックか、非
特有事象を含む第2ブロックかを判別し、判別結果を出
力する第1手段と、 信号列の各ビットの特有,非特有を判別する第2手段
と、 第2ブロック中の特有事象のみのラン長を検出し、ラン
レングス符号化する第3手段と、 信号列についてハフマン符号化するハフマン符号器と、 第1,第2,第3手段及びハフマン符号器よりの各出力にも
とずいて、第1ブロックについてはそれを識別する2値
中の1ビットよりなる識別符号を、第2ブロックについ
ては、特有事象のラン長のランレングス符号、非特有事
象のハフマン符号及び第2ブロックを識別する2値中の
1ビットよりなる識別符号を選択出力する出力選択手段
とよりなることを特徴とするブロック化エントロピー符
号化装置。1. A first means for determining whether a signal block is divided into blocks each having a predetermined number of bits to determine whether it is a first block including only specific events or a second block including non-specific events, and outputting a determination result. Second means for discriminating between peculiarity and non-uniqueness of each bit of the signal sequence, third means for detecting the run length of only the peculiar event in the second block and performing run length coding, and Huffman coding for the signal sequence Based on the outputs from the Huffman encoder, the first, second and third means and the Huffman encoder, the first block is identified by a 1-bit identification code for identifying the first block. The two blocks are composed of a run length code having a run length of a specific event, a Huffman code of a non-specific event, and an output selecting means for selectively outputting an identification code consisting of 1 bit in a binary value for identifying the second block. Blocking entropy coding apparatus characterized.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60255940A JPH0813132B2 (en) | 1985-11-15 | 1985-11-15 | Blocked entropy encoder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60255940A JPH0813132B2 (en) | 1985-11-15 | 1985-11-15 | Blocked entropy encoder |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62116089A JPS62116089A (en) | 1987-05-27 |
| JPH0813132B2 true JPH0813132B2 (en) | 1996-02-07 |
Family
ID=17285684
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60255940A Expired - Lifetime JPH0813132B2 (en) | 1985-11-15 | 1985-11-15 | Blocked entropy encoder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0813132B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10471348B2 (en) | 2015-07-24 | 2019-11-12 | Activision Publishing, Inc. | System and method for creating and sharing customized video game weapon configurations in multiplayer video games via one or more social networks |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6465980A (en) * | 1987-09-07 | 1989-03-13 | Hitachi Ltd | Entropy coding system |
| US4827336A (en) * | 1987-12-18 | 1989-05-02 | General Electric Company | Symbol code generation processing from interframe DPCM of TDM'd spatial-frequency analyses of video signals |
| JPH04312089A (en) * | 1991-04-10 | 1992-11-04 | Victor Co Of Japan Ltd | Data compressor and its expander device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5731243A (en) * | 1980-08-04 | 1982-02-19 | Nec Corp | Coder |
| JPS5944175A (en) * | 1982-09-06 | 1984-03-12 | Mitsubishi Electric Corp | Data encoder and data decoder |
-
1985
- 1985-11-15 JP JP60255940A patent/JPH0813132B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10471348B2 (en) | 2015-07-24 | 2019-11-12 | Activision Publishing, Inc. | System and method for creating and sharing customized video game weapon configurations in multiplayer video games via one or more social networks |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62116089A (en) | 1987-05-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA1119303A (en) | Transmission and/or recording of digital signals | |
| EP0663774B1 (en) | Adaptive bit stream demultiplexing apparatus in a decoding system | |
| US5166684A (en) | Variable length encoder having sign bit separation | |
| US5463699A (en) | Data compression | |
| DE3685000D1 (en) | HIGHLY EFFECTIVE ENCODER. | |
| RU94046112A (en) | METHOD FOR REDUCING THE DATA NUMBER WHEN TRANSMITTING AND / OR ACCUMULATING DIGITAL SIGNALS COMING FROM MULTIPLE RELATED CHANNELS | |
| KR950033895A (en) | Start code detector | |
| EP2251981B1 (en) | Method and apparatus for coding and decoding | |
| JPH0813132B2 (en) | Blocked entropy encoder | |
| JPH0813134B2 (en) | Blocked entropy encoder | |
| EP0135255A2 (en) | Inter-frame encoding/decoding equipment provided with a system for detecting a transmission error | |
| JPH0513435B2 (en) | ||
| JP2510456B2 (en) | Image coding device | |
| JPH06237184A (en) | Variable length coding circuit | |
| JPS62108663A (en) | Entropy recording system | |
| JPH0526396B2 (en) | ||
| KR910005690A (en) | Image data coding device | |
| JPH0813133B2 (en) | Blocked entropy encoder | |
| JPH0813131B2 (en) | Blocked entropy encoder | |
| GB1570914A (en) | Method and apparatus for bandwidth compression | |
| JPH04270569A (en) | Data compression system for picture processor | |
| KR960036695A (en) | Object encoder | |
| KR0162209B1 (en) | Image signal encoding apparatus combining two-channel combined quantization technique and superimposed orthogonal transformation technique | |
| JPH01158825A (en) | Adaptive type coding control system | |
| KR100196870B1 (en) | High frequency band encoding device of band division coding system |