JPH02117289A - Variable length encoding device - Google Patents

Variable length encoding device

Info

Publication number
JPH02117289A
JPH02117289A JP63271178A JP27117888A JPH02117289A JP H02117289 A JPH02117289 A JP H02117289A JP 63271178 A JP63271178 A JP 63271178A JP 27117888 A JP27117888 A JP 27117888A JP H02117289 A JPH02117289 A JP H02117289A
Authority
JP
Japan
Prior art keywords
length encoding
block
variable length
variable
data
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
JP63271178A
Other languages
Japanese (ja)
Other versions
JP2845461B2 (en
Inventor
Tatsuro Shigesato
達郎 重里
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP27117888A priority Critical patent/JP2845461B2/en
Publication of JPH02117289A publication Critical patent/JPH02117289A/en
Application granted granted Critical
Publication of JP2845461B2 publication Critical patent/JP2845461B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To prevent the generation of overflow by shuffling a picture signal in a specified range, after that, blocking the picture signal and executing variable length encoding for the unit of the block so that a fixed length can be obtained. CONSTITUTION:The shuffling is executed in a shuffling part to the picture signal which is inputted from an input part 1. In a blocking part 3, the output of a shuffling part 2 is partitioned for each certain specified block and blocked. In a variable length encoding part 4, blocked data are completed in each block and the variable length encoding is executed so that the fixed length can be obtained. Then, the data are outputted to an output part 5. Thus, since the information quantity of a picture is dispersed by shuffling the data to be inputted, the information quantity to be included in each block is made almost equal. Accordingly, since the sum of a code length is almost equal in a case that the variable length encoding is executed for each block, data quantity control to fix the data quantity in each block can be easily executed as well.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、画像情報を高能率符号化する際に用いる可変
長符号化装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a variable length encoding device used for highly efficient encoding of image information.

従来の技術 画像信号のディジタル化にともなって高能率符号化技術
が重要になってきている。高能率符号化の効率を上げる
ためには、情報量の大きいところに多くのビットを割り
当て、小さいところに少ないビットを割り当てる必要が
ある。このため可変長符号化がよく用いられる。表1は
3ビツトのデータ(0,1,、、、、?)に対する可変
長符号化の対応表である。
BACKGROUND OF THE INVENTION High-efficiency encoding technology has become important as image signals are digitized. In order to increase the efficiency of high-efficiency encoding, it is necessary to allocate more bits to areas with a large amount of information and fewer bits to areas where the amount of information is small. For this reason, variable length coding is often used. Table 1 is a correspondence table of variable length encoding for 3-bit data (0, 1, , , ?).

表1 この例では、0,1に対して2ビツト、2,3に対して
3ビツト、4. 5. 6. 7に対して4ビツトを割
り当てている。0,10発生確率が4゜5、 6. 7
に比べてかなり大きい場合には、符号化された後の平均
ビット数が3ビツトより小さくなるため、可変長符号化
の効果が現われる。
Table 1 In this example, 2 bits are used for 0 and 1, 3 bits are used for 2 and 3, and 4. 5. 6. 4 bits are assigned to 7. 0.10 occurrence probability is 4°5, 6. 7
If it is considerably larger than , the average number of bits after encoding will be less than 3 bits, and the effect of variable length encoding will appear.

従来の可変長符号化では、直交変換された信号や予測誤
差信号に対して人力される順番に可変長符号化していた
。このためデータ量の制御は、可変長符号化された符号
語を一度バッフ7−に蓄積し、そのバッファーのデータ
量を検出して特定の範囲でデータ量が一定になるように
符号化を制御していた。またその制御方法としてはバッ
ファー内のデータが増加してきた場合には、符号化時の
まるめを大きくし、データ量が減少してきた場合にはま
るめを小さくすることによって制御できる。
In conventional variable length encoding, orthogonally transformed signals and prediction error signals are manually encoded in the order in which they are input. Therefore, to control the amount of data, variable-length encoded code words are stored in the buffer 7-, the amount of data in the buffer is detected, and the encoding is controlled so that the amount of data is constant within a specific range. Was. Further, as a control method, when the data in the buffer increases, the rounding at the time of encoding is increased, and when the amount of data decreases, the rounding is decreased.

発明が解決しようとする課題 しかしながら可変長符号化では、1ビツトでも誤りが発
生すると語同期がはずれるため、その誤り以降の全ての
情報が消失してしまう。このため特定の小さな範囲(ブ
ロック)で一定長になるように制御して、誤り伝搬をそ
の範囲内でリセットする必要がある。
Problems to be Solved by the Invention However, in variable length coding, if even a single bit error occurs, word synchronization is lost, and all information after that error is lost. Therefore, it is necessary to control the length to be constant within a specific small range (block) and reset error propagation within that range.

ところが従来例のような構成でブロックの大きさを小さ
くすると、ブロック毎の画像の持つ情報量の分散が大き
くなってしまう。このため大きい情報量を持つブロック
は、伝送すべきデータ量がオーバーフローしてしまい、
大きく歪んでしまう。
However, if the size of the blocks is reduced in a configuration like the conventional example, the dispersion of the amount of information contained in the image for each block becomes large. For this reason, blocks with a large amount of information will overflow the amount of data to be transmitted.
It becomes greatly distorted.

逆に情報量の小さいブロックでは伝送すべきデータ量が
少なすぎるため、ダミーデータを伝送しなければならな
くなる。
Conversely, in a block with a small amount of information, the amount of data to be transmitted is too small, so dummy data must be transmitted.

本発明はこのような従来の可変長符号化装置の課題を解
決することを目的とする。
It is an object of the present invention to solve the problems of such conventional variable length encoding devices.

課題を解決するための手段 請求項1の本発明は、画像信号を可変長符号化する際に
、画像信号を特定の範囲でシャフリングしてからブロッ
ク化するブロック化手段と、前記ブロック化手段で得ら
れたブロックに対しそのブロック単位で一定長になるよ
うに可変長符号化する可変長符号化手段とを備えること
を特徴とする可変長符号化装置である。
Means for Solving the Problems The present invention as claimed in claim 1 provides a blocking means for shuffling an image signal in a specific range and then forming blocks when variable-length encoding an image signal; and the blocking means. This is a variable length encoding device characterized by comprising variable length encoding means for variable length encoding the blocks obtained in the above so that each block has a constant length.

請求項2の本発明は、コンポーネント画像信号を可変長
符号化する際に、輝度信号と色差信号またはR,G、 
 B信号を特定の割合でまとめてブロック化するブロッ
ク化手段と、前記ブロック化手段で得られたブロックに
対しそのブロック単位で一定長になるように可変長符号
化する可変長符号化手段とを備えることを特徴とする可
変長符号化装置である。
The present invention according to claim 2 provides a method for variable-length encoding a component image signal using a luminance signal and a color difference signal or R, G,
A blocking means for collectively forming blocks of B signals at a specific ratio, and a variable length encoding means for variable length encoding the blocks obtained by the blocking means so that each block has a constant length. A variable length encoding device is characterized by comprising:

作用 本発明は前記した構成により、画像信号なシャフリング
してからブロック化するため、各ブロックにおける情報
型が分散されてほぼ一定になる。
Effect of the Invention With the above-described configuration, the present invention shuffles the image signal and then blocks it, so the information type in each block is distributed and becomes almost constant.

このため、小さなブロックで可変長符号化しても各ブロ
ックの情報量が一定であるため上記のような問題は発生
しない。
Therefore, even if variable length coding is performed using small blocks, the amount of information in each block is constant, so the above problem does not occur.

また通常の画像では、輝度信号の情報量と色差信号の情
報量は必ずしも比例していない。このため前記のように
輝度信号と色差信号をまとめてブロック化することによ
り、両者の情報量を互いに補い会うことがTIT能とな
るため、小さなブロックでも効率よく符号化することが
できる。
Further, in a normal image, the amount of information of the luminance signal and the amount of information of the color difference signal are not necessarily proportional. Therefore, by combining the luminance signal and the color difference signal into a block as described above, the amount of information of both signals complement each other, which becomes the TIT function, and even small blocks can be efficiently encoded.

実施例 以下に、本発明の詳細な説明する。Example The present invention will be explained in detail below.

第1図は、本発明の可変長符号化装置の第1の実施例で
ある。第1図の1は本発明の人力部分、2はシャフリン
グ部分、3はブロック化部分、4は可変長符号化部分、
5はこの装置の出力部分である。この装置では、人力部
分1から入力される画像信号に対して、シャフリング部
分2てシャフリングを行なう。シャフリングとは、人力
されるデータを一度RAMに記憶し、読みだし時にでき
るだけ人力時に連続していたデータが分散して出力され
るようにランダマイズすることである。ブロック化部分
3では、シャフリング部分2の出力をある一定区間ずつ
区切ってブロック化する。そして可変長符号化部分4で
はブロック化されたデータを各ブロックで完結し一定長
になるよう可変長符号化を行ない出力部分5へ出力する
FIG. 1 shows a first embodiment of a variable length encoding device of the present invention. In FIG. 1, 1 is the manual part of the present invention, 2 is the shuffling part, 3 is the blocking part, 4 is the variable length coding part,
5 is the output part of this device. In this device, a shuffling section 2 performs shuffling on an image signal input from a human-powered section 1. Shuffling refers to once storing manually input data in a RAM, and then randomizing it so that data that was continuous when manually input is output in a dispersed manner as much as possible when read. In the blocking section 3, the output of the shuffling section 2 is divided into certain intervals and divided into blocks. Then, in the variable length encoding section 4, the block data is variable length encoded so that each block is completed and has a constant length, and is outputted to the output section 5.

第1図に装置では、人力されるデータなシャフリングす
ることにより、画像の情報量が分散されるため各ブロッ
クに含まれの情報量はだいたい等しくなる。従って、各
ブロックを可変長符号化した場合の符号長の和もだいた
い等しくなるため、ブロック毎にデータ量を一定にする
データ量制御も容易になる。このためオーバーフローも
発生しにくくなる。
In the apparatus shown in FIG. 1, the amount of information in the image is distributed by manual data shuffling, so that the amount of information contained in each block is approximately equal. Therefore, since the sum of the code lengths when each block is variable-length encoded is approximately equal, data amount control to keep the data amount constant for each block is also facilitated. Therefore, overflow is less likely to occur.

第2図は、本発明の第2の実施例である。第2図の6は
本発明の人力部分、7は輝度信号と色差信号を一定の割
合で混合する部分、8はブロック化部分、9は可変長符
号化部分、10はこの装置の出力部分である。この装置
では、人力部分6から輝度信号と色差信号が分離して人
力される。輝度信号・色差信号混合部分7では、輝度信
号と色差信号をある一定の割合で混合して出力する。こ
こで混合されたデータは、ブロック化部分8である一定
区間ずつ区切ってブロック化される。そして可変長符号
化部分9ではブロック化されたデータを各ブロックで完
結し一定長になるよう可変長符号化を行ない出力部分1
0へ出力する。
FIG. 2 shows a second embodiment of the invention. In FIG. 2, 6 is the manual part of the present invention, 7 is the part that mixes the luminance signal and color difference signal at a fixed ratio, 8 is the blocking part, 9 is the variable length coding part, and 10 is the output part of this device. be. In this device, a luminance signal and a color difference signal are separated and manually input from a human input section 6. The luminance signal/chrominance signal mixing section 7 mixes the luminance signal and the chrominance signal at a certain ratio and outputs the mixed signal. The mixed data is divided into blocks by predetermined intervals, which are blocking portions 8 . Then, in the variable-length encoding part 9, variable-length encoding is performed so that the block data is completed in each block and has a constant length, and the output part 1
Output to 0.

通常の画像では、輝度信号の情報量と色差信号の情In
は必ずしも比例しない。例えは白黒の画像では輝度信号
が大きな情報量を持っている場合でも色差信号はほとん
ど情報量を持たない。またこの逆のような例も考えられ
る。このため第2図の装置のように、輝度信号と色差信
号をまとめてブロック化することにより、輝度信号の情
報量が大きく色差信号の情報量の小さい場合には互いの
情報量を補いあうことができる。もちろん輝度信号の情
報面が小さく色差信号の情報量が大きい場合においても
同様である。これにより小さいブロックにおいても効率
よく符号化することができる。
In a normal image, the amount of information in the luminance signal and the information in the color difference signal are
are not necessarily proportional. For example, in a black and white image, even if the luminance signal has a large amount of information, the color difference signal has almost no amount of information. The opposite example is also possible. For this reason, as in the device shown in Fig. 2, by combining the luminance signal and color difference signal into a block, when the amount of information in the luminance signal is large and the amount of information in the color difference signal is small, it is possible to compensate for each other's information amount. Can be done. Of course, the same applies when the information surface of the luminance signal is small and the information amount of the color difference signal is large. Thereby, even small blocks can be encoded efficiently.

またこの方式は輝度信号と色差信号だけでなくR。Also, this method uses not only luminance signals and color difference signals, but also R signals.

C,B信号にも同様に適応できる。It can be applied to C and B signals as well.

以L2つの実施例を用いて説明したが、これら2つの回
路を同時に利用することも可能である。
Although the explanation has been made using two embodiments, it is also possible to use these two circuits simultaneously.

発明の効果 本発明は前記した構成により、画像信号をシャフリング
してからブロック化するため、各ブロックにおける情報
量が分散されてほぼ一定になる。
Effects of the Invention According to the present invention, with the above-described configuration, the image signal is shuffled and then divided into blocks, so that the amount of information in each block is distributed and becomes approximately constant.

このため、小さなブロックで可変長符号化しても各ブロ
ックの情報量が一定であるためオーバーフローなどの問
題があまり発生しない。
Therefore, even if variable length coding is performed using small blocks, the amount of information in each block is constant, so problems such as overflow do not occur much.

また通常の画像では、輝度信号の情報量と色差信号の情
報量は必ずしも比例していない。このため前記のように
輝度信号と色差信号をまとめてブロック化することとこ
より、両者の情報量を互いに補い会うことが可能となる
ため、小さなブロックでも効率よく符号化することがで
きる。
Further, in a normal image, the amount of information of the luminance signal and the amount of information of the color difference signal are not necessarily proportional. Therefore, by combining the luminance signal and the color difference signal into a block as described above, it is possible to complement each other in their information amounts, and even small blocks can be efficiently encoded.

これらによって小さい範囲で可変長符号化を完結できる
ため、伝送路で誤りが発生した場合においても誤り伝搬
の影響を小さくてきる。
These allow variable length coding to be completed within a small range, thereby reducing the influence of error propagation even if an error occurs on the transmission path.

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

第1図は本発明の第1の実施例のブロック図、第2図は
本発明の第2の実施例のブロック図てある。 291.シャフリング部分、3.、、ブロック化部分、
4.、、可変長符号化部分、7.、、輝度信号色差信号
混合部分
FIG. 1 is a block diagram of a first embodiment of the invention, and FIG. 2 is a block diagram of a second embodiment of the invention. 291. Shuffling part, 3. ,,blocking part,
4. , , variable length encoded part, 7. ,,luminance signal color difference signal mixing part

Claims (2)

【特許請求の範囲】[Claims] (1)画像信号を可変長符号化する際に、画像信号を特
定の範囲でシャフリングしてからブロック化するブロッ
ク化手段と、前記ブロック化手段で得られたブロックに
対しそのブロック単位で一定長になるように可変長符号
化する可変長符号化手段とを備えることを特徴とする可
変長符号化装置。
(1) When variable-length encoding an image signal, a blocking means that shuffles the image signal within a specific range and then blocks it, and a block unit that is constant for the blocks obtained by the blocking means. 1. A variable-length encoding device comprising: variable-length encoding means for performing variable-length encoding such that the length of the variable-length encoding device becomes long.
(2)コンポーネント画像信号を可変長符号化する際に
、輝度信号と色差信号またはR、G、B信号を特定の割
合でまとめてブロック化するブロック化手段と、前記ブ
ロック化手段で得られたブロックに対しそのブロック単
位で一定長になるように可変長符号化する可変長符号化
手段とを備えることを特徴とする可変長符号化装置。
(2) Blocking means for collectively forming blocks of luminance signals and color difference signals or R, G, and B signals at a specific ratio when variable-length encoding component image signals; 1. A variable-length encoding device comprising variable-length encoding means for variable-length encoding a block so that each block has a constant length.
JP27117888A 1988-10-27 1988-10-27 Variable length coding device Expired - Lifetime JP2845461B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27117888A JP2845461B2 (en) 1988-10-27 1988-10-27 Variable length coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27117888A JP2845461B2 (en) 1988-10-27 1988-10-27 Variable length coding device

Publications (2)

Publication Number Publication Date
JPH02117289A true JPH02117289A (en) 1990-05-01
JP2845461B2 JP2845461B2 (en) 1999-01-13

Family

ID=17496432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27117888A Expired - Lifetime JP2845461B2 (en) 1988-10-27 1988-10-27 Variable length coding device

Country Status (1)

Country Link
JP (1) JP2845461B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0499303A2 (en) * 1991-02-13 1992-08-19 Ampex Systems Corporation Method and apparatus for shuffling and deshuffling data
EP0508606A2 (en) * 1991-03-13 1992-10-14 Mitsubishi Denki Kabushiki Kaisha Video-audio digital recording/reproducing apparatus
US5440706A (en) * 1990-07-20 1995-08-08 Matsushita Electric Industrial Co., Ltd. Data shuffling apparatus possessing reduced memory
US5550640A (en) * 1992-02-19 1996-08-27 Hitachi, Ltd. Digital video signal recording and reproducing apparatus and method for setting a number of compression blocks according to different operational modes
US5734783A (en) * 1992-03-24 1998-03-31 Kabushiki Kaisha Toshiba Variable length code recording/playback apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62132485A (en) * 1985-12-04 1987-06-15 Matsushita Electric Ind Co Ltd High-efficiency encoding device
JPS62253277A (en) * 1986-04-25 1987-11-05 Sony Corp Digital video signal recorder
JPS63215278A (en) * 1987-03-04 1988-09-07 Sony Corp Sequence converting circuit for video signal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62132485A (en) * 1985-12-04 1987-06-15 Matsushita Electric Ind Co Ltd High-efficiency encoding device
JPS62253277A (en) * 1986-04-25 1987-11-05 Sony Corp Digital video signal recorder
JPS63215278A (en) * 1987-03-04 1988-09-07 Sony Corp Sequence converting circuit for video signal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5440706A (en) * 1990-07-20 1995-08-08 Matsushita Electric Industrial Co., Ltd. Data shuffling apparatus possessing reduced memory
EP0499303A2 (en) * 1991-02-13 1992-08-19 Ampex Systems Corporation Method and apparatus for shuffling and deshuffling data
JPH0583674A (en) * 1991-02-13 1993-04-02 Ampex Corp Method and apparatus for shuffling and deshuffling data
KR100290983B1 (en) * 1991-02-13 2001-06-01 존 지이 메사로스 Data reconstruction method and apparatus for mixing and unmixing data
EP0508606A2 (en) * 1991-03-13 1992-10-14 Mitsubishi Denki Kabushiki Kaisha Video-audio digital recording/reproducing apparatus
EP0508606A3 (en) * 1991-03-13 1994-07-06 Mitsubishi Electric Corp Video-audio digital recording/reproducing apparatus
US5550640A (en) * 1992-02-19 1996-08-27 Hitachi, Ltd. Digital video signal recording and reproducing apparatus and method for setting a number of compression blocks according to different operational modes
US5734783A (en) * 1992-03-24 1998-03-31 Kabushiki Kaisha Toshiba Variable length code recording/playback apparatus
US5751893A (en) * 1992-03-24 1998-05-12 Kabushiki Kaisha Toshiba Variable length code recording/playback apparatus
US5862295A (en) * 1992-03-24 1999-01-19 Kabushiki Kaisha Toshiba Variable length code recording/playback apparatus
US6009230A (en) * 1992-03-24 1999-12-28 Kabushiki Kaisha Toshiba Variable length code recording playback apparatus
US6038371A (en) * 1992-03-24 2000-03-14 Kabushiki Kaisha Toshiba Variable length code recording/playback apparatus

Also Published As

Publication number Publication date
JP2845461B2 (en) 1999-01-13

Similar Documents

Publication Publication Date Title
US5890124A (en) Windowing method for decoding of MPEG audio data
KR930009262A (en) Variable length coding method and apparatus
JPH02117289A (en) Variable length encoding device
JPS59200593A (en) Method of encoding digital color video signal by compressionof bit rate
DE69230047T2 (en) Television system for the transmission of image signals in a digital format
JP2738136B2 (en) Blocking device
US4791476A (en) Device for the composition of color component signals from luminance and chrominance signals and video display device comprising the application thereof
JPS592495A (en) Color encoder
JPH02243080A (en) Television signal coding circuit
KR950004121B1 (en) Image signal coder
JPH01140883A (en) Data coding method
JPS63160495A (en) Coded transmission for image
JPH04154374A (en) Image data encoding device
Hung A generalization of DPCM for digital image compression
JPS62283776A (en) Color picture input/output device
KR100476389B1 (en) Binary Data Encoding Method of Image Signal
JPH02292959A (en) Color picture encoding system
JPS60105373A (en) Image variable power device
EP0257162B1 (en) Device for the composition of colour component signals from luminance and chrominance signals and video display device comprising the application thereof
JPH02200061A (en) Encoder
JPH02174489A (en) Color picture coding system
JPS6096963A (en) Color picture signal coding system
JPH06291672A (en) Band dividing and encoding device
JPH0310464A (en) Encoding and decoding device for picture signal
Lameillieure et al. Vector quantization based on visual masking functions for the DPCM and HDPCM coding of coloured pictures

Legal Events

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

Free format text: PAYMENT UNTIL: 20081030

Year of fee payment: 10

EXPY Cancellation because of completion of term