JP2547479B2 - Image coding control system - Google Patents

Image coding control system

Info

Publication number
JP2547479B2
JP2547479B2 JP51150090A JP51150090A JP2547479B2 JP 2547479 B2 JP2547479 B2 JP 2547479B2 JP 51150090 A JP51150090 A JP 51150090A JP 51150090 A JP51150090 A JP 51150090A JP 2547479 B2 JP2547479 B2 JP 2547479B2
Authority
JP
Japan
Prior art keywords
output
code
block
length
variable
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 - Fee Related
Application number
JP51150090A
Other languages
Japanese (ja)
Inventor
崇 浜野
潔 酒井
喜一 松田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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
Priority claimed from JP1214822A external-priority patent/JPH0379182A/en
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP51150090A priority Critical patent/JP2547479B2/en
Application granted granted Critical
Publication of JP2547479B2 publication Critical patent/JP2547479B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 技術分野 本発明は、入力画像信号を高能率符号化する画像符号
化制御システムに関するものである。
Description: TECHNICAL FIELD The present invention relates to an image coding control system for highly efficiently coding an input image signal.

動画等について画像信号のビットレートを低減する為
に、1画面を複数に分割した処理ブロックごとに直交変
換符号化を行って高能率符号化する方式が知られてい
る。このような高能率符号化方式に於ける回路規模を小
さくすることが要望されている。
In order to reduce the bit rate of an image signal of a moving image or the like, a method of performing high efficiency coding by performing orthogonal transform coding for each processing block obtained by dividing one screen into a plurality of blocks is known. It is desired to reduce the circuit scale in such a high efficiency coding system.

背景技術 第1図は従来例の要部ブロック図である。動画等につ
いての画像信号は直交変換符号化器1に加えられる。こ
の直交変換符号化器1は、フーリェ変換(Fourier Tran
sform)、アダマール(Hadamard)変換、離散コサイン
(Discrete Cosine)変換(DCT)等による構成とするこ
とができるものであり、またフレーム間符号化等の予測
符号化と組合せた構成とすることもできる。最近は、離
散コサイン変換(DCT)による構成が実用化されてい
る。また、直交変換符号化を行う処理ブロックの大きさ
は、例えば、1次元の場合は8〜16画素程度、2次元の
場合は8×8画素〜16×16画素程度としている。
BACKGROUND ART FIG. 1 is a block diagram of a main part of a conventional example. The image signal for a moving image or the like is applied to the orthogonal transform encoder 1. The orthogonal transform encoder 1 is a Fourier transform (Fourier Transform).
sform), Hadamard transform, Discrete Cosine transform (DCT), or the like, or can be combined with predictive coding such as interframe coding. . Recently, a structure based on the discrete cosine transform (DCT) has been put into practical use. Further, the size of the processing block for performing the orthogonal transform coding is, for example, about 8 to 16 pixels in the case of one-dimensional, and about 8 × 8 to 16 × 16 pixels in the case of two-dimensional.

画素信号は直交変換符号化器1において処理ブロック
ごとに直交変換符号化されて、可変長符号化器2に加え
られ、生起確率の高い信号に短い符号を割当てる可変長
符号に変換しバッファメモリ3のデータ幅に揃えられて
バッファメモリ3に加えられる。このバッファメモリ3
から読出されたデータは伝送路等へ送出される。
The pixel signal is subjected to orthogonal transform coding for each processing block in the orthogonal transform encoder 1 and added to the variable length encoder 2 to be converted into a variable length code which assigns a short code to a signal having a high occurrence probability, and the buffer memory 3 The data width of the data is aligned and added to the buffer memory 3. This buffer memory 3
The data read from is transmitted to a transmission line or the like.

可変長符号信号の受信側では、可変長復号化器におい
て可変長符号を固定長符号に変換し、直交変換復号化器
において直交変換符号化と逆の処理により画像信号を再
生し、表示装置等に加えて画像を表示することになる。
On the receiving side of the variable-length code signal, the variable-length decoder converts the variable-length code into a fixed-length code, and the orthogonal transform decoder reproduces the image signal by a process reverse to that of the orthogonal transform coding. In addition to that, the image will be displayed.

前述の従来例の画像符号化システムにおいては、例え
ばn×m画素(n,mは任意の整数)を処理ブロックとし
て直交変換符号化を行い、変換係数が0でない有効係数
の総てを可変長符号化器2において可変長符号出力に変
換するものであり、従って、可変長符号化器2は、最大
n×m個の信号を可変長符号化しバッファメモリ3のデ
ータ幅に揃える能力が必要となる。従って、回路規模が
大きくなる。
In the image coding system of the conventional example described above, for example, orthogonal transform coding is performed using n × m pixels (n and m are arbitrary integers) as a processing block, and all effective coefficients whose transform coefficients are not 0 are variable length. The encoder 2 converts the variable-length code output to a variable-length code. Therefore, the variable-length encoder 2 needs to have the ability to perform variable-length coding on a maximum of n × m signals and make the data width of the buffer memory 3 uniform. Become. Therefore, the circuit scale becomes large.

また、直交変換により高周波成分側の変換係数が0に
なる傾向があり、従って、低周波成分側の変換係数につ
いてだけ処理することにより、回路規模を縮小すること
が考えられるが、高周波成分の処理の可能性が全くなく
なるので、再生画質が大きく劣化する場合がある。
Further, the transformation coefficient on the high-frequency component side tends to be 0 due to the orthogonal transformation. Therefore, it is possible to reduce the circuit scale by processing only the transformation coefficient on the low-frequency component side. Since there is no possibility of this, the reproduced image quality may be greatly deteriorated.

発明の開示 本発明は上記問題点を改善した画像符号化制御システ
ムを提供することを目的とする 本発明の目的をより特定すれば、符号化特性を低下さ
せることなく高能率符号化を行うと共に、回路規模を縮
小可能とする画像符号化制御システムを提供することに
ある。
DISCLOSURE OF THE INVENTION It is an object of the present invention to provide an image coding control system in which the above problems have been improved. More specifically, the object of the present invention is to perform high-efficiency coding without degrading coding characteristics. An object of the present invention is to provide an image coding control system capable of reducing the circuit scale.

上記目的は、入力画像信号の1画面を複数に分割して
得られるブロックごとに直交変換符号化を行う直交変換
符号化手段,前記各ブロックは複数の画素に関する変換
係数を有する;ブロックごとに得られる可変長符号語が
所定数以下となるように前記直交変換符号化手段から出
力される変換係数のうちの有効係数の個数が所定数とな
るまで変換係数を出力するよう制御する符号制御手段;
該符号制御手段から出力される変換ブロックごとに可変
長符号化出力に変換する可変長符号化手段;及び該可変
長符号化手段から出力されるブロックごとの可変長符号
化出力を一時蓄積するバッファメモリ手段を有する画像
符号化制御システムで達成される。
The above-mentioned object is an orthogonal transform coding means for performing orthogonal transform coding for each block obtained by dividing one screen of an input image signal into a plurality of blocks, each block having transform coefficients for a plurality of pixels; Code control means for controlling the output of transform coefficients until the number of effective coefficients of the transform coefficients output from the orthogonal transform coding means reaches a predetermined number so that the number of variable-length codewords to be used becomes a predetermined number or less;
Variable length coding means for converting each conversion block output from the code control means into a variable length coding output; and a buffer for temporarily storing the variable length coding output for each block output from the variable length coding means This is accomplished with an image coding control system having memory means.

また、前述した目的は、アナログ画像信号をディジタ
ル画像信号に変換するアナログ・ディジタル変換手段;
該ディジタル画像信号をl個(lは任意の整数)の入力
画像信号に時分割で分割する分割手段、各l個の入力画
像信号の周波数は前記ディジタル画像信号の周波数より
低い;l個の入力信号ごとに設けられ、対応する前記入力
画像信号の1画面を複数に分割して得られるブロックご
とに直交変換符号化を行うl個の直交変換符号化手段、
前記各ブロックは複数の画素に関する変換係数を有す
る;l個の直交変換符号化手段ごとに設けられ、ブロック
ごとに得られる可変長符号語が所定数以下となるように
前記対応する直交変換符号化手段から出力される変換係
数のうちの有効係数の個数が所定数となるまで変換係数
を出力するよう制御するl個の符号制御手段;l個の符号
制御手段ごとに設けられ、対応する符号制御器から出力
される変換係数から前記可変長符号化出力を規定するデ
ータをブロックごとに生成する係数処理手段;前記l個
の係数処理手段で生成されたデータを時分割で選択して
データ列を出力する選択手段;該データ列中の各データ
から前記可変長符号化出力を生成する変換手段;及び該
変換手段から出力されるブロックごとの可変長符号化出
力を一時蓄積するバッファメモリ手段とを有する画像符
号化制御システムで達成される。
Further, the above-mentioned object is an analog / digital conversion means for converting an analog image signal into a digital image signal;
Dividing means for time-divisionally dividing the digital image signal into l (l is an arbitrary integer) input image signal, the frequency of each l input image signal is lower than the frequency of the digital image signal; l inputs L orthogonal transform coding means provided for each signal and performing orthogonal transform coding for each block obtained by dividing one screen of the corresponding input image signal into a plurality of screens;
Each of the blocks has a transform coefficient for a plurality of pixels; the corresponding orthogonal transform coding is provided for each of the l orthogonal transform coding means, and the variable length codeword obtained for each block is equal to or less than a predetermined number. L code control means for controlling to output the transform coefficients until the number of effective coefficients among the transform coefficients output from the means reaches a predetermined number; provided for each l code control means, and corresponding code control Coefficient processing means for generating, for each block, data defining the variable-length coded output from the transform coefficient output from the converter; the data generated by the l coefficient processing means is selected in time division to form a data string. Selecting means for outputting; converting means for generating the variable length coded output from each data in the data string; and a buffer for temporarily storing the variable length coded output for each block output from the converting means. Image coding control system having a far memory means.

図面の簡単な説明 第1図は従来の画像符号化制御システムのブロック
図; 第2図は本発明の画像符号化制御システムの基本構成
を示すブロック図; 第3図は第2図に示す画像符号化制御システムの一実
施例を示すブロック図; 第4図は2次元可変長符号を用いた場合の第3図に示
す符号制御器の構成を示すブロック図; 第5A図は2次元可変長符号を用いた場合の従来の画像
符号化処理を示す図; 第5B図は2次元可変長符号を用いた場合の本発明によ
る画像符号化処理を示す図; 第6図は2次元可変長符号を用いた場合の第4図に示
す符号制御器の動作を示す図; 第7図は2次元可変長符号を用いた場合の第3図に示
す可変長符号化器の構成を示すブロック図; 第8図は第7図に示す可変長符号化器の動作を示す
図; 第9A図は第7図に示すROMの入出力関係を示す図; 第9B図は第7図に示す符号化テーブルの入出力関係を
示す図; 第10図は第7図に示す回転器を示すブロック図; 第11図はランレングス符号を用いた場合の第3図に示
す符号制御器の構成を示す図; 第12A図はランレングス符号を用いた場合の従来の画
像符号化処理を示す図; 第12B図はランレングス符号を用いた場合の本発明に
よる画像符号化処理を示す図; 第13図は第11図に示す符号制御器の動作を示す図; 第14図は第11図に示すROMの入出力関係を示す図; 第15図はランレングス符号を用いた場合の第3図に示
す可変長符号化器の構成を示す図; 第16図は第15図に示すROMの入出力関係を示す図; 第17図は第15図に示す可変長符号化器の動作を示す
図; 第18A図は第15図に示す符号化テーブル中のゼロ列に
関する入出力関係を示す図; 第18B図は第15図に示す符号化テーブル中の有効係数
に関する入出力関係を示す図; 第19A図は並列構成を有する従来の画像符号化システ
ムのブロック図; 第19B図は並列構成を有する本発明の第2の実施例の
画像符号化システムのブロック図; 第20A図は第18A図に示す従来の並列構成を有する画像
符号化制御システムを有する伝送システムを示すブロッ
ク図; 第20B図は第18B図に示す本発明の第2の実施例の並列
構成を有する画像符号化制御システムを有する伝送シス
テムを示すブロック図; 第21図は本発明の第3の実施例の画像符号化制御シス
テムを示すブロック図; 第22A図は第1,第2及び第3の実施例で生ずる可能性
のある問題点を示す図; 第22B図は第22A図に示す問題点を解決することを示す
図;及び 第23図は本発明の第4の実施例の画像符号化システム
の構成を示すブロック図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a conventional image coding control system; FIG. 2 is a block diagram showing a basic configuration of an image coding control system of the present invention; and FIG. 3 is an image shown in FIG. FIG. 4 is a block diagram showing an embodiment of an encoding control system; FIG. 4 is a block diagram showing the configuration of the code controller shown in FIG. 3 when a two-dimensional variable length code is used; FIG. 5B is a diagram showing a conventional image coding process when a code is used; FIG. 5B is a diagram showing an image coding process according to the present invention when a two-dimensional variable length code is used; and FIG. 6 is a two-dimensional variable length code. FIG. 7 is a diagram showing the operation of the code controller shown in FIG. 4 in the case of using; FIG. 7 is a block diagram showing the configuration of the variable length encoder shown in FIG. 3 in the case of using a two-dimensional variable length code; 8 is a diagram showing the operation of the variable length encoder shown in FIG. 7; FIG. 9A is shown in FIG. FIG. 9B is a diagram showing the input / output relationship of the ROM; FIG. 9B is a diagram showing the input / output relationship of the encoding table shown in FIG. 7; FIG. 10 is a block diagram showing the rotator shown in FIG. 7; FIG. 12 is a diagram showing a configuration of the code controller shown in FIG. 3 when a length code is used; FIG. 12A is a diagram showing a conventional image coding process when a run length code is used; FIG. 12B is a run length code. FIG. 13 is a diagram showing an image encoding process according to the present invention in the case of using; FIG. 13 is a diagram showing the operation of the code controller shown in FIG. 11; FIG. 14 is a diagram showing the input / output relationship of the ROM shown in FIG. FIG. 15 is a diagram showing the configuration of the variable length encoder shown in FIG. 3 when a run length code is used; FIG. 16 is a diagram showing the input / output relation of the ROM shown in FIG. 15; FIG. 18 is a diagram showing the operation of the variable length encoder shown in FIG. 15; FIG. 18B is a diagram showing an input / output relationship regarding effective coefficients in the coding table shown in FIG. 15; FIG. 19A is a block diagram of a conventional image coding system having a parallel configuration; FIG. 20A is a block diagram of an image coding system having a parallel configuration according to a second embodiment of the present invention; FIG. 20A is a block diagram showing a transmission system having a conventional image coding control system having a parallel configuration shown in FIG. 18A; FIG. 20B is a block diagram showing a transmission system having an image coding control system having the parallel configuration of the second embodiment of the present invention shown in FIG. 18B; FIG. 21 is an image of the third embodiment of the present invention. FIG. 22A is a block diagram showing an encoding control system; FIG. 22A is a diagram showing problems that may occur in the first, second and third embodiments; FIG. 22B is a solution for the problems shown in FIG. 22A. And FIG. 23 shows a fourth embodiment of the present invention. Is a block diagram showing the configuration of an image encoding system.

発明の実施するための最良の形態 本発明の画像符号化制御システムは、ブロックごとに
得られる可変長符号の数を或る一定数以下となるように
制御するものであり、第2図を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION The image coding control system of the present invention controls the number of variable-length codes obtained for each block so as to be a certain number or less, see FIG. And explain.

本発明の画像符号化制御システムは直交変換符号化器
10,可変長符号化器12,バッファメモリ13及び符号制御器
14を有する。直交変換符号化器10は、入力画像信号の1
画面分を複数に分割した処理ブロックごとに直交変換符
号化を行う。符号制御器14は可変長符号化器12で処理ブ
ロックごとに得られる可変長符号語の数が所定数以下と
なるように直交変換符号化器10の出力を制御する。可変
長符号化器12は符号制御器14の出力信号を可変長符号化
しバッファメモリ13のデータ幅に揃える。バッファメモ
リ13は可変長符号化器12の可変長符号化出力を一時蓄積
する。直交変換符号化器10からの直交変換符号化信号
は、画像信号と符号制御器14の出力を用いて符号化され
て、符号制御器14に与えられる。
The image coding control system of the present invention is an orthogonal transform encoder.
10, variable length encoder 12, buffer memory 13 and code controller
Have 14. Orthogonal transform encoder 10 outputs 1 of the input image signal.
Orthogonal transform coding is performed for each processing block obtained by dividing the screen portion into a plurality of blocks. The code controller 14 controls the output of the orthogonal transform encoder 10 so that the number of variable-length code words obtained by the variable-length encoder 12 for each processing block is equal to or less than a predetermined number. The variable-length encoder 12 performs variable-length encoding on the output signal of the code controller 14 and aligns it with the data width of the buffer memory 13. The buffer memory 13 temporarily stores the variable-length coded output of the variable-length encoder 12. The orthogonal transform coded signal from the orthogonal transform encoder 10 is encoded using the image signal and the output of the code controller 14 and is given to the code controller 14.

直交変換符号化器10による処理ブロックごとの有効係
数は一般に複数個となる。符号制御器14は、可変長符号
化器12で処理ブロックごとに得られる可変長符号語の数
が所定数以下となるように、直交変換符号化器10の出
力、すなわち変換係数を制御する。この構成により、可
変長符号化器12は所定数以下の可変長符号語を処理でき
る能力を有する回路規模で済むので、従来例に比較して
縮小することができる。また、直交変換符号化により低
周波成分側の有効係数が少なく、高周波成分側の有効係
数が多い場合でも、その高周波成分側の処理が可能とな
り、再生画質の劣化を抑制することができる。
Generally, there are a plurality of effective coefficients for each processing block by the orthogonal transform encoder 10. The code controller 14 controls the output of the orthogonal transform encoder 10, that is, the transform coefficient, so that the number of variable-length code words obtained by the variable-length encoder 12 for each processing block is equal to or less than a predetermined number. With this configuration, the variable-length encoder 12 has a circuit scale capable of processing a predetermined number or less of variable-length codewords, so that the size can be reduced as compared with the conventional example. Further, even if the low-frequency component side has a small number of effective coefficients and the high-frequency component side has a large number of effective coefficients due to the orthogonal transform coding, the high-frequency component side can be processed, and the deterioration of the reproduced image quality can be suppressed.

第3図は、第2図に示す画像符号化制御システムのよ
り詳細な構成を示すブロック図である。図示する画像符
号化制御システムは離散コサイン変換ブロック(DCT)2
1,減算器22,量子化器23,符号制御器24,可変長符号化器2
5,バッファメモリ26,逆量子化器27,加算器28,フレーム
メモリ29,量子化制御器30を有する。この実施例は、第
2図に於ける直交変換符号化器10を、離散コサイン変換
部21、フレーム間符号化を行う減算器22,量子化器23,逆
量子化器27,加算器28,フレームメモリ29等とにより構成
した場合を示す。
FIG. 3 is a block diagram showing a more detailed configuration of the image coding control system shown in FIG. The image coding control system shown is a discrete cosine transform block (DCT) 2
1, subtractor 22, quantizer 23, code controller 24, variable length encoder 2
5, it has a buffer memory 26, an inverse quantizer 27, an adder 28, a frame memory 29, and a quantization controller 30. In this embodiment, the orthogonal transform encoder 10 shown in FIG. 2 is replaced by a discrete cosine transform unit 21, a subtractor 22, a quantizer 23, an inverse quantizer 27, an adder 28, which performs interframe coding. The case where it is configured by the frame memory 29 and the like is shown.

入力画像信号は、離散コサイン変換器21において処理
ブロックごとに離散コサイン変換され、減算器22におい
て前フレームの変換係数との差が求められて量子化器23
に加えられ、その差が量子化されて符号制御器24に加え
られる。この符号制御器24は、処理ブロックごとに量子
化器23から入力される量子化出力を制御して、可変長符
号化器25で得られる可変長符号語の所定数以下とする。
ここで、可変長符号語は2次元可変長符号とランレング
ス符号の2種類に大別される。符号制御器24はどちらの
可変長符号語を用いるかでその構成が異なる。符号制御
器24の構成は後で詳述する。
The input image signal is subjected to a discrete cosine transform in each processing block in a discrete cosine transformer 21, and a difference from the transform coefficient of the previous frame is obtained in a subtractor 22 to obtain a quantizer 23.
, And the difference is quantized and applied to the sign controller 24. The code controller 24 controls the quantized output input from the quantizer 23 for each processing block so that the quantized output is equal to or less than a predetermined number of variable-length codewords obtained by the variable-length coder 25.
Here, the variable length codewords are roughly classified into two types: two-dimensional variable length codes and run length codes. The code controller 24 has a different configuration depending on which variable-length code word is used. The configuration of the code controller 24 will be described in detail later.

可変長符号化器25の可変長符号化出力はバッファメモ
リ26に一旦蓄積され、後述する構成により読出されて、
伝送路等へ送出される。また、量子化制御器30ではバッ
ファメモリ26の占有量を監視して、オーバフロー又はア
ンダーフローが生じないように、量子化器23及び逆量子
化器27の量子化ステップを制御するものでありその量子
化ステップの制御情報は、可変長符号化出力と共に受信
側へ送信される。
The variable-length coded output of the variable-length encoder 25 is temporarily stored in the buffer memory 26 and read by the configuration described later,
It is sent to the transmission line. The quantization controller 30 monitors the occupied amount of the buffer memory 26 and controls the quantization steps of the quantizer 23 and the inverse quantizer 27 so that overflow or underflow does not occur. The control information of the quantization step is transmitted to the receiving side together with the variable length coded output.

逆量子化器27により逆量子化された変換係数の差分
は、前フレーム(ブロック)の内容と加算器28において
加算されて、フレームメモリ29に加えられて、次のフレ
ームを処理するときに読出される。
The difference between the transform coefficients inversely quantized by the inverse quantizer 27 is added to the contents of the previous frame (block) in the adder 28, added to the frame memory 29, and read when the next frame is processed. To be done.

第4図は2次元可変長符号を用いた場合の符号制御器
24の構成(第1の実施例)を示すブロック図である。符
号制御器24は比較器101,計数器102,比較器103,遅延器10
4及び選択器105を有する。比較器101は、量子化器23
(第3図)からの量子化出力(変換係数)と0とを比較
し、0以外の時カウントアップを指示する信号(パルス
信号)を計数器102に出力する。計数器102はカウントア
ップを指示されている間、カウントアップを指示するパ
ルス信号を計数する。計数器102はブロックの区切れを
示すブロック同期信号によりクリアされる。すなわち、
計数器102はブロックごとに、カウントアップを指示す
るパルス信号を計数する。比較器103は計数器102のカウ
ント値が所定のしきい値TH1を越えたとき、選択器105が
0を選択するためのセレクト信号を出力する。遅延器10
4はセレクト信号の発生と量子化出力との同期をとるた
めに、量子化出力を遅延させる。選択器105と比較器103
からのセレクト信号が与えられている間0を選択し、そ
れ以外のときは遅延器104からの量子化出力(変換係
数)を選択する。
FIG. 4 is a code controller using a two-dimensional variable length code.
It is a block diagram which shows the structure of 24 (1st Example). The code controller 24 includes a comparator 101, a counter 102, a comparator 103, and a delay device 10.
4 and selector 105. The comparator 101 includes a quantizer 23.
The quantized output (transformation coefficient) from (FIG. 3) is compared with 0, and when it is other than 0, a signal (pulse signal) instructing the count-up is output to the counter 102. While being instructed to count up, the counter 102 counts the pulse signal instructing to count up. The counter 102 is cleared by the block synchronization signal indicating the block break. That is,
The counter 102 counts the pulse signal instructing the count-up for each block. The comparator 103 outputs a select signal for the selector 105 to select 0 when the count value of the counter 102 exceeds a predetermined threshold value TH1. Delay device 10
Numeral 4 delays the quantized output in order to synchronize the generation of the select signal with the quantized output. Selector 105 and comparator 103
0 is selected while the select signal from (1) is given, and the quantized output (transformation coefficient) from the delay device 104 is selected otherwise.

第5A図(a)は、離散コサイン変換器11が出力する1
ブロック(入力画像信号の1画面分を複数に分割したも
の)が各々8×8画素で構成される場合に、量子化器23
が出力するあるブロックの量子化出力を示す。第5A図
(a)の8×8ブロックを矢印で示すようにジグザグス
キャンすることによって、第5A図(b)に示す2次元可
変長符号を構成する(ゼロラン、有効係数)の組合せが
得られる。すなわち、左上の直流成分の有効係数の5
は、ゼロラン(連続するゼロの数)が0であるから、
(0,5)で表され、次のジグザグスキャンにより得られ
る有効係数の7は、ゼロランが10であるから、(10,7)
で表される。以下、同様にして(3,2),(0,5),(3,
2),(7,15),(10,7)となる。これ以降の高周波成
分はすべて“0"なので、処理しない。これらのゼロラン
と有効係数から第5A図(b)に示す可変長符号語が得ら
れる(EOBは、ブロックの終りを示すためのエンド・オ
ブ・ブロック信号であり、ブロック同期信号がアクティ
ブな状態で出力される)。
FIG. 5A (a) shows 1 output from the discrete cosine transformer 11.
When each block (one screen of the input image signal is divided into a plurality) is composed of 8 × 8 pixels, the quantizer 23
Shows the quantized output of a block output by. By performing zigzag scanning on the 8 × 8 block in FIG. 5A (a) as indicated by the arrow, the combination of (zero run, effective coefficient) forming the two-dimensional variable-length code shown in FIG. 5A (b) is obtained. . That is, the effective coefficient of the DC component on the upper left is 5
Has zero run (number of consecutive zeros), so
It is represented by (0,5), and the effective coefficient 7 obtained by the next zigzag scan is 10 because the zero run is (10,7)
It is represented by. Similarly, (3,2), (0,5), (3,2)
2), (7,15), (10,7). The high frequency components after this are all "0", so they are not processed. The variable length code word shown in FIG. 5A (b) is obtained from these zero runs and effective coefficients (EOB is an end of block signal for indicating the end of the block, and the block synchronization signal is active). Output).

第5A図は従来の手法によるものである。図示する例の
場合、7個の可変長符号化出力が得られる。このような
場合、直流成分を含めて例えばEOBを除き6個の可変長
符号語(この場合、6個の有効係数)を用いても、再生
画質の劣化が少ないことが統計的に求められれば、7個
の可変長符号語をすべて伝達する必要はない。符号制御
器24は量子化出力に以下に述べる処理を施して、1つの
ブロックから得られる可変長符号語の数が所定数(統計
的に再生画質の劣化が少ないことが保証できる数)以下
になるようにする。
FIG. 5A is based on the conventional method. In the case of the example shown, seven variable length coded outputs are obtained. In such a case, if it is statistically obtained that the deterioration of the reproduced image quality is small even if 6 variable-length code words (in this case, 6 effective coefficients) including the DC component except EOB are used. , It is not necessary to convey all seven variable length codewords. The code controller 24 performs the following processing on the quantized output so that the number of variable-length code words obtained from one block is equal to or less than a predetermined number (a number that can statistically ensure that deterioration of reproduced image quality is small). To be

第5B図(a)は可変長符号語の数を6個以下に制限す
る場合の符号制御器24の動作を示す。第5A図(a)のブ
ロックに対し、ジグザグスキャンを行い、有効係数が6
個得られるとそれ以降の有効係数は0に置換えられ、第
5B図(a)を出力する。第5B図(a)をジグザグスキャ
ンすることによって第5B図(b)が得られる。
FIG. 5B (a) shows the operation of the code controller 24 when the number of variable-length codewords is limited to 6 or less. A zigzag scan is performed on the block in FIG.
Once obtained, the effective coefficient after that is replaced with 0,
Output Figure 5B (a). Zigzag scanning of FIG. 5B (a) yields FIG. 5B (b).

第4図の符号制御器24の動作を、第6図を参照して説
明する。第6図(A)に示す量子化出力は比較器101に
入力する。最初に入力するデータは有効係数“5"であ
る。この場合、比較器101はカウントアップを指示する
1つのパルス信号を出力する。計数器102はこれをカウ
ントし、この結果、カウント値は1になる(これ以前に
EOB信号により計数器102はクリアされている)。カウン
ト値1は比較器103でしきい値TH1(たとえばTH1=6)
と比較される。この場合、カウント値は1なので比較器
103はセレクト信号を出力しない。これにより、遅延器1
04を介した量子化出力(有効係数5)がそのまま選択器
105を通り、符号制御出力として可変長符号化器25(第
3図)に与えられる(第6図(B))。
The operation of the code controller 24 shown in FIG. 4 will be described with reference to FIG. The quantized output shown in FIG. 6 (A) is input to the comparator 101. The first input data is the effective coefficient "5". In this case, the comparator 101 outputs one pulse signal instructing the count up. The counter 102 counts this, and as a result, the count value becomes 1 (before this)
The counter 102 is cleared by the EOB signal). The count value 1 is the threshold value TH1 (eg TH1 = 6) in the comparator 103.
Compared to. In this case, the count value is 1, so the comparator
103 does not output the select signal. This allows delay 1
Quantization output via 04 (effective coefficient 5) is the selector as it is
After passing through 105, it is given as a code control output to the variable length encoder 25 (FIG. 3) (FIG. 6 (B)).

次に“0"が比較器101に入力する。この場合、比較器1
01はパルス信号を生成しない。したがって、計数器102
のカウント値は1のままである。
Next, “0” is input to the comparator 101. In this case, comparator 1
01 does not generate a pulse signal. Therefore, the counter 102
The count value of 1 remains 1.

その後、いくつかの“0"が連続して入力した後、有効
計数7が比較器101に与えられる。この場合、計数器102
は1つのカウントアップし、カウント値は2となる。以
下、有効係数が入力されるごとに、計数器102は1だけ
カウントアップする。比較器103はカウント値がしきい
値(TH1=6)を越えた時点でセレクト信号を選択器105
に出力する。このセレクト信号を受けて、選択器105は
“0"を選択出力する。この結果、計数器102がブロック
同期信号(EOB信号)によりクリアされるまで、選択器1
05は“0"を選択出力する(第6図(B))。
After that, after several “0” s are continuously input, the effective count 7 is given to the comparator 101. In this case, the counter 102
Counts up by 1 and the count value becomes 2. Thereafter, the counter 102 increments by 1 each time an effective coefficient is input. The comparator 103 selects the select signal when the count value exceeds the threshold value (TH1 = 6).
Output to. Upon receiving this select signal, the selector 105 selects and outputs "0". As a result, the selector 1 is selected until the counter 102 is cleared by the block synchronization signal (EOB signal).
05 selects and outputs "0" (Fig. 6 (B)).

第7図は、2次元可変長符号を用いた場合の第3図に
示す可変長符号化器25の構成を示すブロック図である。
可変長符号化器25は係数処理器111,符号化テーブル112
及び回転器113を有する。係数処理器111はROM114,遅延
器115,計数器116及びメモリ117を有する。ROM114は符号
制御器24からの符号制御出力が0以外のとき、メモリ11
7へ書込み指示する書込み指示信号を出力する。符号制
御出力が0のとき、ROMは114計数器116に1だけカウン
トアップするよう指示する。遅延器115はROM114が出力
する書込み指示信号を遅延させて処理の同期をとる。
FIG. 7 is a block diagram showing a configuration of the variable length encoder 25 shown in FIG. 3 when the two-dimensional variable length code is used.
The variable length encoder 25 includes a coefficient processor 111 and an encoding table 112.
And a rotator 113. The coefficient processor 111 has a ROM 114, a delay device 115, a counter 116, and a memory 117. The ROM 114 stores the memory 11 when the code control output from the code controller 24 is not 0.
Output the write instruction signal to instruct writing to 7. When the sign control output is 0, the ROM instructs the 114 counter 116 to count up by 1. The delay device 115 delays the write instruction signal output from the ROM 114 to synchronize the processing.

第9A図はROM114の動作を示す図である。ROM114のアド
レスとしてブロック同期信号と符号制御出力とを入力
し、書込み指示信号と計数器116へのデータを出力す
る、尚、“*”はdon′t care(任意)である。また、
書込み指示信号はローアクティブ信号である。
FIG. 9A is a diagram showing the operation of the ROM 114. A block sync signal and a code control output are input as an address of the ROM 114, and a write instruction signal and data to the counter 116 are output. Note that "*" is don't care (arbitrary). Also,
The write instruction signal is a low active signal.

第7図にもどり、メモリ117はバッファとして機能
し、書込み指示信号が与えられたとき(0(ロー)のと
き)、ブロック同期信号と計数器116のカウント値(0
の数)と有効係数とを書込む。符号化テーブル112はメ
モリ117からブロック同期信号とカウント値と有効係数
とを入力し、符号長と符号語を出力する。
Returning to FIG. 7, the memory 117 functions as a buffer, and when the write instruction signal is given (0 (low)), the block synchronization signal and the count value of the counter 116 (0.
Number) and the effective coefficient. The encoding table 112 inputs the block synchronization signal, the count value, and the effective coefficient from the memory 117, and outputs the code length and the code word.

第9B図は、符号化テーブル112の入出力関係を示す図
である。ブロック同期信号が0(ローレベル)のとき
の、符号語の最後の2ビット“10"はEOB信号(ローレベ
ルのブロック同期信号)を示す。
FIG. 9B is a diagram showing an input / output relationship of the encoding table 112. When the block synchronization signal is 0 (low level), the last two bits "10" of the code word indicate the EOB signal (low level block synchronization signal).

第7図にもどり、回転器113は符号化テーブル112が出
力する符号語をバッファメモリ26(第3図)のデータ幅
に揃えるために、符号化テーブル112からの符号長を参
照して符号語から可変長符号化出力を生成する。
Returning to FIG. 7, the rotator 113 refers to the code length from the encoding table 112 in order to align the code word output from the encoding table 112 with the data width of the buffer memory 26 (FIG. 3). To produce a variable length encoded output from.

第8図は第6図(B)の符号制御出力を入力した場合
の可変長符号化器25の動作を示す波形図である。第8図
(A)に示すブロック同期信号は1ブロックの終りで0
(EOB)になる。このとき、メモリ117には第8図(F)
に示すデータが書込まれる。尚、前述したように*はdo
n′t careを示す。最初に、符号制御出力“5"がROM114
に入力する。このとき、ブロック同期信号は1である。
従って、第9A図からわかるように、ローアクティブの書
込み指示信号は“0"になり、計数器116には“0"が出力
される。従って、第8図(F)に示すように、メモリ11
7にはブロック同期信号“1",カウント値“0"及び有効係
数“5"が書込まれる。
FIG. 8 is a waveform diagram showing the operation of the variable length encoder 25 when the code control output of FIG. 6 (B) is input. The block sync signal shown in FIG. 8 (A) is 0 at the end of one block.
Become (EOB). At this time, the memory 117 is shown in FIG.
The data shown in is written. As mentioned above, * means do
Indicates n't care. First, the code control output “5” is ROM114
To enter. At this time, the block synchronization signal is 1.
Therefore, as can be seen from FIG. 9A, the low-active write instruction signal becomes "0", and "0" is output to the counter 116. Therefore, as shown in FIG.
A block synchronization signal “1”, a count value “0”, and an effective coefficient “5” are written in 7.

その後、符号制御出力は“0"が10個連続する。有効係
数“5"の次の“0"から順に計数器116はカウントアップ
して行く。この間、書込み指示信号はインアクティブ
(“1")である。有効係数“7"がROM114に入力すると、
ROM114から書込み指示信号が与えられる。このときの計
数器116のカウント値“10"は、有効係数“7"とブロック
同期信号“1"とともにメモリ117に書込まれる。前記書
込み指示信号は遅延器115で遅延され、計数器116に与え
られる。これにより、計数器116はクリアされる。
After that, 10 "0" s continue in the code control output. The counter 116 counts up in order from "0" next to the effective coefficient "5". During this period, the write instruction signal is inactive ("1"). When the effective coefficient “7” is input to ROM114,
A write instruction signal is given from the ROM 114. The count value “10” of the counter 116 at this time is written in the memory 117 together with the effective coefficient “7” and the block synchronization signal “1”. The write instruction signal is delayed by the delay unit 115 and given to the counter 116. As a result, the counter 116 is cleared.

以下、同様にしてメモリ117に第8図(F)に示すデ
ータが書込まれる。符号化テーブル112は第9B図に示す
テーブルを参照して、符号長と符号語を回転器113に出
力する。
Thereafter, similarly, the data shown in FIG. 8 (F) is written in the memory 117. The encoding table 112 refers to the table shown in FIG. 9B and outputs the code length and the code word to the rotator 113.

第10図は回転器113の構成を示すブロック図である。
回転器113はシフト回路121,加算器122及び遅延器123を
有する。第7図に示す符号化テーブル112からの符号長
は加算器122に入力する。加算器122の出力は遅延器123
で単位時間だけ遅延され、加算器122で入力する符号長
と加算される。加算結果がバッファメモリ26(第3図)
の所定データ幅を越えるときに、加算器122は桁上りを
生じる。この桁上りは書込み制御信号としてバッファメ
モリ26に与えられる。符号化テーブル112からの符号語
はシフト回路121で遅延器123の出力信号に基づいてシフ
トされる。シフトされた符号語は可変長符号化出力とし
てバッファメモリ26へ出力される。
FIG. 10 is a block diagram showing the configuration of the rotator 113.
The rotator 113 has a shift circuit 121, an adder 122, and a delay device 123. The code length from the coding table 112 shown in FIG. 7 is input to the adder 122. The output of the adder 122 is the delay device 123.
Is delayed by a unit time and added to the code length input by the adder 122. The addition result is the buffer memory 26 (Fig. 3).
When the data width exceeds the predetermined data width of, the adder 122 carries a carry. This carry is given to the buffer memory 26 as a write control signal. The code word from the encoding table 112 is shifted by the shift circuit 121 based on the output signal of the delay device 123. The shifted codeword is output to the buffer memory 26 as a variable length coded output.

次に、ランレングス符号を用いた場合の符号制御器24
及び可変長符号化器25の構成(第2の実施例)について
説明する。はじめに符号制御器24の構成について説明す
る。
Next, the code controller 24 when the run length code is used
The configuration of the variable length encoder 25 (second embodiment) will be described. First, the configuration of the code controller 24 will be described.

第11図は、ランレングス符号を用いた場合の符号制御
器24の構成を示すブロック図である。符号制御器24はRO
M131,計数器132,比較器133,遅延器134,遅延器135及び選
択器136を有する。ROM131は、量子化器(第3図)から
の量子化出力と1係数前の量子化出力が“0"であるか否
かを示す信号NZRとを入力し、量子化出力が“0"以外で
あるかまたはゼロランの先頭のとき、カウントアップを
指示するパルス信号を計数器132に出力する。
FIG. 11 is a block diagram showing the configuration of the code controller 24 when the run length code is used. Code controller 24 is RO
It has an M131, a counter 132, a comparator 133, a delay device 134, a delay device 135 and a selector 136. The ROM 131 inputs the quantized output from the quantizer (FIG. 3) and the signal NZR indicating whether the quantized output one coefficient before is "0", and the quantized output is other than "0". Or at the beginning of zero run, a pulse signal instructing the count-up is output to the counter 132.

第14図はROM131の入出力関係を示す図である。ROM131
のアドレスとして信号NZRと量子化出力が与えられ、計
数器132及び遅延器134にそれぞれデータを出力する。
FIG. 14 is a diagram showing the input / output relationship of the ROM 131. ROM131
The signal NZR and the quantized output are given as the address of the, and data is output to the counter 132 and the delay device 134, respectively.

第11図にもどり、計数器132はカウントアップが指示
されるごとに+1をカウントアップし、ブロック同期信
号によりクリアされる。比較器133は計数器132のカウン
ト値と所定の指定値TH2ときを比較し、カウント値がし
きい値TH2を越えたときに選択器136にセレクト信号を出
力する。しきい値TH2は、可変長符号化器25で1ブロッ
クごとに得られる可変長符号語が所定数以下となるよう
に選択される。遅延器134は処理の同期をとるために設
けられている。遅延器134はブロック同期信号によりク
リアされ、その出力は1(1係数前が“0"以外であるこ
とを示す)になる。遅延器135はセレクト信号と量子化
出力との同期をとる。選択器136はセレクト信号が出力
されると“0"を選択し、それ以外のときは遅延器135か
らの量子化出力を選択する。選択器135の出力は符号制
御出力として可変長符号化器25に与えられる。
Returning to FIG. 11, the counter 132 counts up by +1 each time the count-up is instructed, and is cleared by the block synchronization signal. The comparator 133 compares the count value of the counter 132 with a predetermined designated value TH2, and outputs a select signal to the selector 136 when the count value exceeds the threshold TH2. The threshold value TH2 is selected so that the variable length codeword obtained by the variable length encoder 25 for each block is equal to or less than a predetermined number. The delay device 134 is provided to synchronize the processing. The delay device 134 is cleared by the block synchronization signal, and its output becomes 1 (indicating that the coefficient one coefficient before is other than "0"). The delay device 135 synchronizes the select signal with the quantized output. The selector 136 selects “0” when the select signal is output, and otherwise selects the quantized output from the delay device 135. The output of the selector 135 is given to the variable length encoder 25 as a code control output.

第12A図(a)の1ブロックをジグザグスキャンする
ことで、第12A図(b)の有効係数と連続する“0"の数
が得られる。第12A図(b)中、0×10は“0"が10個連
続することを示している。従来の手段では1ブロック中
のすべての有効係数と各ゼロラン中の“0"の数を求め、
図示するような可変長符号語を出力する。これに対し、
本実施例では、可変長符号語の数が所定数以下となるよ
うに、符号制御器24が量子化出力を制御する。
By zigzag scanning one block in FIG. 12A (a), the number of “0” consecutive with the effective coefficient in FIG. 12A (b) can be obtained. In FIG. 12A (b), 0 × 10 indicates that 10 “0” s continue. In the conventional method, all effective coefficients in one block and the number of "0" in each zero run are calculated,
A variable length codeword as shown is output. In contrast,
In this embodiment, the code controller 24 controls the quantized output so that the number of variable-length codewords is equal to or less than a predetermined number.

第12B図(a)は可変長符号化出力を6個以下に制限
した場合の処理を示す。この場合、TH2=6である。有
効係数とゼロランの数が合計6になると、それ以降の有
効係数は0に置換される。第12B図の例では有効係数
“5"以降が切り捨てられる。
FIG. 12B (a) shows the processing when the variable length coded output is limited to 6 or less. In this case, TH2 = 6. When the total number of effective coefficients and zero runs reaches 6, the effective coefficients thereafter are replaced with 0. In the example of FIG. 12B, the effective coefficient "5" and later are truncated.

第13図は、第11図に示す符号制御器24の動作を示す図
である。ROM131は有効係数“5"を入力すると、計数器13
2にカウントアップを指示するパルス信号を出力する。
次に“0"がROM131に入力する。この“0"はゼロランの先
頭にあるので、ROM131は計数器132にパルス信号を出力
する。このようにして、有効係数又はゼロランの先頭の
“0"が入力するごとに計数器132は+1だけカウントア
ップする。計数器132のカウント値がしきい値TH2をこえ
ると、比較器133はセレクト信号を選択器136に出力す
る。このセレクト信号をうけると、選択器136はそれ以
降のブロック同期信号が出力されるまで“0"を出力す
る。
FIG. 13 is a diagram showing an operation of the code controller 24 shown in FIG. When the effective coefficient "5" is input to the ROM 131, the counter 13
Outputs a pulse signal that instructs 2 to count up.
Next, "0" is input to the ROM 131. Since this "0" is at the beginning of the zero run, the ROM 131 outputs a pulse signal to the counter 132. In this way, the counter 132 counts up by +1 each time the effective coefficient or "0" at the beginning of the zero run is input. When the count value of the counter 132 exceeds the threshold TH2, the comparator 133 outputs a select signal to the selector 136. When receiving this select signal, the selector 136 outputs "0" until the subsequent block synchronization signal is output.

第15図は、ランレングス符号を用いた場合の可変長符
号化器25の構成を示すブロックである。可変長符号化器
25は係数処理器141,符号化テーブル142及び回転器143を
有する。係数処理器141は遅延器141,ROM145,計数器146,
遅延器148,選択器149,メモリ150及び遅延器151を有す
る。
FIG. 15 is a block diagram showing the configuration of the variable length encoder 25 when the run length code is used. Variable length encoder
25 has a coefficient processor 141, an encoding table 142 and a rotator 143. The coefficient processor 141 includes a delay device 141, a ROM 145, a counter 146,
It has a delay device 148, a selector 149, a memory 150 and a delay device 151.

ROM145はブロック同期信号,符号制御出力及び遅延器
144から出力される1係数前の符号制御出力を入力し、
次のように動作する。ブロック同期信号がローのとき
(EOB信号)と符号制御出力が“0"以外のとき、計数器1
46をクリアする。遅延器144の出力が“0"以外のとき
と、遅延器144の出力が“0"でかつ符号制御出力が“0"
以外のとき、及びブロック同期信号がローのとき、メモ
リ150へ書込みを指示するとともに、選択器149にセレク
ト信号を出力する。第16図は上記ROM145の動作を示す図
である。
ROM145 is block sync signal, code control output and delay device
Input the code control output of the previous coefficient output from 144,
It works as follows. Counter 1 when block sync signal is low (EOB signal) and sign control output is not "0"
Clear 46. When the output of the delay device 144 is other than "0", the output of the delay device 144 is "0", and the code control output is "0".
In other cases, and when the block synchronization signal is low, the memory 150 is instructed to write, and the select signal is output to the selector 149. FIG. 16 is a diagram showing the operation of the ROM 145.

計数器146はクリア信号が与えられた後、次のクリア
信号が与えられるまで、カウントアップする。遅延器14
4及び148の出力はそれぞれ選択器149に与えられる。計
数器146のカウント値はゼロラン中の“0"の数を示す。
このゼロラン中の“0"の個数を示す値を有効数字と区別
するために、遅延器148は“0"とともに選択器149に与え
られ、遅延器144の出力は“1"ともともに選択器149に与
えられる。選択器149は、セレクト信号がない(ロー
“0")のとき、遅延器148の出力(ゼロの数)を“0"と
ともに選択し、セレクト信号が出力される(ハイ“1")
とき、遅延器144の出力(有効係数)を“1"とともに選
択する。遅延器151は、ブロック同期信号及び書込み指
示信号を遅延させて処理の同期をとる。メモリ150はバ
ッファとして機能し、遅延器151からの書込み指示信号
に同期して、遅延器151からのブロック同期信号及び選
択器149の出力を書込む。
The counter 146 counts up after the clear signal is applied until the next clear signal is applied. Delay device 14
The outputs of 4 and 148 are provided to selector 149, respectively. The count value of the counter 146 indicates the number of “0” in zero run.
In order to distinguish the value indicating the number of “0” s in this zero run from the significant figures, the delay device 148 is provided to the selector 149 together with “0”, and the output of the delay device 144 together with “1” is also to the selector 149. Given to. When there is no select signal (low “0”), the selector 149 selects the output (the number of zeros) of the delay device 148 together with “0”, and the select signal is output (high “1”).
At this time, the output (effective coefficient) of the delay device 144 is selected together with "1". The delay device 151 delays the block synchronization signal and the write instruction signal to synchronize the processing. The memory 150 functions as a buffer, and writes the block synchronization signal from the delay unit 151 and the output of the selector 149 in synchronization with the write instruction signal from the delay unit 151.

符号化テーブル142は、第18A図及び第18B図にそれぞ
れ示す符号化テーブルを有する。第18A図はランレング
スに関し、ブロック同期信号と選択器149の出力をアド
レスとして、符号長と符号語を出力する。この場合の選
択器149の出力は識別のためのデータ“0"とともに選択
された遅延器148の出力である。第18B図は有効係数に関
し、ブロック同期信号と選択器149の出力をアドレスと
して、符号長と符号語を出力する。この場合、選択器14
9の出力は識別のためのデータ“1"とともに選択された
遅延器144の出力である。回転器143は、前述の回転器11
3(第10図)と同一の構成であり、符号長を符号語に基
づきシフトさせて可変長符号化出力を生成し、また符号
長から書込み制御信号を生成する。
The coding table 142 has the coding tables shown in FIGS. 18A and 18B, respectively. Regarding the run length, FIG. 18A outputs the code length and the code word by using the block synchronization signal and the output of the selector 149 as an address. The output of the selector 149 in this case is the output of the delay 148 selected together with the data "0" for identification. In FIG. 18B, regarding the effective coefficient, the code length and the code word are output using the block synchronization signal and the output of the selector 149 as an address. In this case, selector 14
The output of 9 is the output of the delay 144 selected with the data "1" for identification. The rotator 143 is the rotator 11 described above.
It has the same configuration as in FIG. 3 (FIG. 10) and shifts the code length based on the code word to generate a variable length coded output, and also generates a write control signal from the code length.

第17図は、第15図の可変長符号化器25の動作を示すタ
イミング図である。第17図(A)及び(B)はそれぞ
れ、遅延器151で遅延された後のブロック同期信号及び
書込み指示信号を示す。符号制御出力“5"がROM145に入
力した時点では、前の1ブロックの最後の係数(図中
*)が識別データ“1"とともにメモリ141に書込まれ
る。符号制御出力“5"は遅延器144で1処理時間だけ遅
延され、識別データ“1"とともに選択器149に与えられ
る。このとき、有効係数“5"に続く“0"がROM145に入力
し、計数器146のカウント値は“1"になる。この時点で
は、ローアクティブの書込み指示信号が遅延器151から
メモリ150に与えられるので、メモリ150は選択器149の
出力を書込む。このとき、セレクト信号はハイなので、
遅延器144からの符号制御出力“5"を識別データ“1"と
ともにメモリ150に書込む。
FIG. 17 is a timing chart showing the operation of the variable length encoder 25 shown in FIG. FIGS. 17A and 17B show the block synchronization signal and the write instruction signal after being delayed by the delay device 151, respectively. At the time when the code control output “5” is input to the ROM 145, the last coefficient (* in the figure) of the previous one block is written in the memory 141 together with the identification data “1”. The code control output "5" is delayed by the delayer 144 for one processing time and is given to the selector 149 together with the identification data "1". At this time, "0" following the effective coefficient "5" is input to the ROM 145, and the count value of the counter 146 becomes "1". At this time point, the low-active write instruction signal is given from the delay unit 151 to the memory 150, so that the memory 150 writes the output of the selector 149. At this time, the select signal is high,
The code control output “5” from the delay unit 144 is written in the memory 150 together with the identification data “1”.

以下、“0"が連続してROM145に入力し、その都度計数
器146は+1カウントアップする。10個“0"が連続した
後、符号制御出力“7"がROM145に入力する。このとき、
遅延器151からの書込み指示信号はアクティブ(ロー)
になる。この時点での遅延器148の出力は10であり、ま
たセレクト信号はローである。従って、メモリ150には
選択器149で識別データ“0"とともに選択された遅延器1
48の出力“10"が書込まれる。この“10"は、有効係数
“5"と“7"の間の連続する“0"の数である。次のタイミ
ングでは、書込み指示信号はアクティブであり、セレク
ト信号はローからハイに変化する。従って、選択器149
は遅延器144の出力、すなわち有効係数“7"を識別デー
タ10とともに選択しメモリ150に書込む。
Hereinafter, "0" is continuously input to the ROM 145, and the counter 146 increments by 1 each time. After 10 consecutive "0" s, the code control output "7" is input to the ROM 145. At this time,
The write instruction signal from the delay device 151 is active (low)
become. The output of delay device 148 at this point is 10, and the select signal is low. Therefore, the delay unit 1 selected with the identification data “0” by the selector 149 is stored in the memory 150.
Output 48 “10” is written. This "10" is the number of consecutive "0" s between the effective coefficients "5" and "7". At the next timing, the write instruction signal is active and the select signal changes from low to high. Therefore, the selector 149
Selects the output of the delay unit 144, that is, the effective coefficient “7” together with the identification data 10 and writes it in the memory 150.

以上、説明したように、符号制御器24を設けたこと
で、可変長符号化器25は所定数の可変長符号語を生成で
きる構成であれば良い。本発明のこの利点を第19A図及
び第19B図を参照して説明する。
As described above, by providing the code controller 24, the variable length encoder 25 may have any configuration capable of generating a predetermined number of variable length codewords. This advantage of the present invention will be explained with reference to Figures 19A and 19B.

第19A図は、HDTV(高品位テレビジョン)の画像デー
タを伝送するための従来の画像符号器を構成を示すブロ
ック図である。いま、アナログ映像信号が64MHzでディ
ジタル化された場合を考える。64MHzのディジタル信号
をそのまま符号化して可変長符号化出力を得ることは処
理速度の点で困難である。従って、図示する構成はアナ
ログ映像信号をA/D変換器42で64MHzのディジタル信号に
変換した後、デマルチプレクサで16MHzの4つのディジ
タル信号に分離し、並列処理をする。このため、画像符
号化制御システム(送信機)は4つのソース符号化器43
a〜43d、4つの系統を有する可変長符号化器44及び4つ
のバッファメモリ45a〜45dを有する。各バッファメモリ
45からの出力は伝送路インタフェース46で伝送路速度に
変換される。各ソース符号化器43a〜43dは第1図の直交
変換符号化器1に相当する。可変長符号化器44は、4つ
の係数処理器47a〜47d、4つの符号化テーブル48a〜48d
及び4つの回転器49a〜49dを有する。図示するように、
従来の映像符号化システムでは、ソース符号化器43a〜4
3d及び可変長符号化器44を、16MHzのディジタル信号を
処理できるように構成しなければならない。従って、ハ
ードウェアの規模が大きくなる。
FIG. 19A is a block diagram showing a configuration of a conventional image encoder for transmitting image data of HDTV (High Definition Television). Now, consider the case where the analog video signal is digitized at 64 MHz. It is difficult in terms of processing speed to obtain a variable length coded output by directly encoding a 64 MHz digital signal. Therefore, in the configuration shown in the figure, after the analog video signal is converted into a 64 MHz digital signal by the A / D converter 42, it is separated into four 16 MHz digital signals by the demultiplexer for parallel processing. Therefore, the image coding control system (transmitter) has four source encoders 43.
a to 43d, a variable length encoder 44 having four systems and four buffer memories 45a to 45d. Each buffer memory
The output from 45 is converted into a transmission line speed by the transmission line interface 46. Each of the source encoders 43a to 43d corresponds to the orthogonal transform encoder 1 of FIG. The variable length encoder 44 includes four coefficient processors 47a to 47d and four encoding tables 48a to 48d.
And four rotators 49a-49d. As shown
In the conventional video encoding system, the source encoders 43a to 43a-4
The 3d and variable length encoder 44 must be configured to handle 16 MHz digital signals. Therefore, the scale of hardware increases.

これに対し、本発明により、8×8のブロックに対し
可変長符号語16に制御すれば、第19B図に示すように構
成できる。第19B図の画像符号化制御システムは4つの
ソース符号化器50a〜50d、4つの符号制御器51a〜51d及
び可変長符号化器52を有する。各ソース符号化器50a〜5
0dは第2図の直交変換符号化器10に相当し、各符号制御
器51a〜51dと、1つのセレクタ55と、1つの符号化テー
ブル56と、1つの回転器57で構成される。尚、第19B図
の構成は8×8のブロックに対し、可変長符号語16を処
理できれば良いので、その出力は4MHz(=16MHz÷(64/
16))のディジタル信号となる。セレクタ55は係数処理
器54a〜54dを順に選択し、選択した出力を符号化テーブ
ル56に出力する。この結果、1つの符号化テーブル56,1
つの回転器57及び1つのバッファメモリ53ですみ、ハー
ドウェアを小型化できる。
On the other hand, according to the present invention, if the variable length code word 16 is controlled for the 8 × 8 block, it can be configured as shown in FIG. 19B. The image coding control system shown in FIG. 19B has four source encoders 50a to 50d, four code controllers 51a to 51d and a variable length encoder 52. Each source encoder 50a-5
0d corresponds to the orthogonal transform encoder 10 in FIG. 2, and is composed of the respective code controllers 51a to 51d, one selector 55, one encoding table 56, and one rotator 57. Note that the configuration of FIG. 19B needs to be able to process the variable-length codeword 16 for an 8 × 8 block, so the output is 4 MHz (= 16 MHz ÷ (64 /
16)) digital signal. The selector 55 sequentially selects the coefficient processors 54a to 54d and outputs the selected output to the encoding table 56. As a result, one encoding table 56,1
Only one rotator 57 and one buffer memory 53 are needed, and the hardware can be downsized.

また、本発明によれば、処理速度が低くなるため、送
信側及び受信側で共通の回路を時分割で用いることがで
きる利点がある。これを第20A図及び第20B図を参照して
説明する。
Further, according to the present invention, since the processing speed becomes low, there is an advantage that a common circuit can be used on the transmitting side and the receiving side in a time division manner. This will be described with reference to FIGS. 20A and 20B.

第20A図は従来の送受信システムのブロック図であ
る。送信側は第19A図に示すように4系統設けられてい
るが、簡単化のために、1系統のみ図示し、各ブロック
をa〜dのサフィックスのない参照番号で示す。受信側
(復号側)も同じく4系統有するが1系統のみを示す。
受信側システムは1つの伝送路インタフェース61,4つの
バッファメモリ62(1つのみ図示),可変長符号化器6
3,4つのソース復号化器64(1つのみ図示)及びD/A変換
器65を有する。可変長符号化器63は4つの回転器66(1
つのみ図示),4つの復号化ケーブル67(1つのみ図示)
及び4つの係数処理器68(1つのみ図示)を有する。
FIG. 20A is a block diagram of a conventional transmission / reception system. The transmitting side is provided with four systems as shown in FIG. 19A, but for simplification, only one system is shown and each block is shown by reference numbers without suffixes a to d. The receiving side (decoding side) also has four systems, but only one system is shown.
The receiving side system has one transmission line interface 61, four buffer memories 62 (only one is shown), variable length encoder 6
It has three and four source decoders 64 (only one shown) and a D / A converter 65. The variable length encoder 63 has four rotators 66 (1
(Only one shown), 4 decryption cables 67 (only one shown)
And four coefficient processors 68 (only one shown).

第20B図は本発明による送受信システムのブロック図
である。第19B図に示す4系統ある構成部材は1系統の
みを示し、a〜dのサフィックスのない参照番号で示
す。また、可変長符号化器52のセレクタ55は省略してあ
る。受信側(復号側)の4系統ある構成部材も1系統の
み図示している。受信側システムは伝送路インタフェー
ス61,1つのバッファメモリ71,可変調復号化器73,4つの
ソース復号化器74(1つのみ図示)及びD/A変換器65を
有する。可変長符号化器73は、1つの復号化テーブル77
と4つの係数処理器78(1つのみ図示)を有する。
FIG. 20B is a block diagram of a transmission / reception system according to the present invention. The components having four systems shown in FIG. 19B show only one system and are indicated by reference numerals without suffixes a to d. Further, the selector 55 of the variable length encoder 52 is omitted. Only one system is shown among the four system components on the receiving side (decoding side). The receiving side system has a transmission line interface 61, one buffer memory 71, a modulatable decoder 73, four source decoders 74 (only one is shown) and a D / A converter 65. The variable length encoder 73 has one decoding table 77.
And four coefficient processors 78 (only one is shown).

送信機と受信機には共通に、可変長符号化/復号化共
通ブロック(以下、単に共通ブロックという)72が設け
られている。共通ブロック72はセレクタ75と回転器76を
有する。送信機と受信機は時分割で共通ブロック72を用
いる。送信機の符号化テーブル56の出力はセレクタ75を
介して回転器76に与えられ、回転器76の出力はセレクタ
75を介して送信機のバッファメモリ53に与えられる。受
信機のバッファメモリ71の出力はセレクタ75を介して回
転器76に与えられ、回転器76の出力はセレクタ75を介し
て復号化テーブル77に与えられる。このように、回転器
76を送信機と受信機で共通に用いることができるので、
送受信システム全体の規模を小さくすることができる。
A variable length coding / decoding common block (hereinafter, simply referred to as a common block) 72 is provided commonly to the transmitter and the receiver. The common block 72 has a selector 75 and a rotator 76. The transmitter and the receiver use the common block 72 in a time division manner. The output of the encoding table 56 of the transmitter is given to the rotator 76 via the selector 75, and the output of the rotator 76 is the selector.
It is given to the buffer memory 53 of the transmitter via 75. The output of the buffer memory 71 of the receiver is given to the rotator 76 via the selector 75, and the output of the rotator 76 is given to the decoding table 77 via the selector 75. Thus, the rotator
Since 76 can be used in both transmitter and receiver,
The scale of the entire transmission / reception system can be reduced.

第21図は、本発明の第3の実施例による画像符号化制
御システムのブロック図である。第21図において、第3
図と同一の構成要素には同一の参照番号を付してある。
第21図の構成は、第3図の構成に選択器80を付加したも
のである。選択器80は符号制御器24の比較器103(第4
図)が出力するセレクト信号に応じて、フレームメモリ
29の出力と“0"のいずれか一方を加算器28に出力する。
セレクト信号が出力されていないときは、選択器80はフ
レームメモリ29の出力を選択する。セレクト信号が出力
されたときは、選択器80は“0"を選択する。
FIG. 21 is a block diagram of an image coding control system according to the third embodiment of the present invention. In Figure 21, the third
The same components as those in the figure are designated by the same reference numerals.
The configuration shown in FIG. 21 is obtained by adding a selector 80 to the configuration shown in FIG. The selector 80 is the comparator 103 (fourth comparator) of the code controller 24.
Frame memory according to the select signal
Either the output of 29 or “0” is output to the adder 28.
When the select signal is not output, the selector 80 selects the output of the frame memory 29. When the select signal is output, the selector 80 selects “0”.

第22A図は、第3図に示す構成の動作を示す図であ
り、第22B図は第21図に示す構成の動作を示す図であ
る。第22A図(a)に示すXブロックのドット領域は変
換係数(有効係数と“0")が切り捨てられない範囲を示
す。すなわち、このXブロックの変換係数はすべて符号
制御器24(第3図)をそのまま通過する。続くX+1ブ
ロックでは、領域A1にある変換係数のみ符号制御器24を
通り、残りの変換係数は切り捨てられる。次のX+2ブ
ロックでは領域A2にある変換係数のみ符号制御器24を通
り残りの係数は切り捨てられる。
FIG. 22A is a diagram showing the operation of the configuration shown in FIG. 3, and FIG. 22B is a diagram showing the operation of the configuration shown in FIG. The dot area of the X block shown in FIG. 22A (a) shows a range in which the conversion coefficient (effective coefficient and “0”) is not truncated. That is, all the transform coefficients of this X block pass through the code controller 24 (FIG. 3) as they are. In the subsequent X + 1 block, only the transform coefficients in the area A1 pass through the code controller 24, and the remaining transform coefficients are truncated. In the next X + 2 block, only the transform coefficient in the area A2 passes through the code controller 24 and the remaining coefficients are truncated.

Xブロックの内容は第3図のフレームメモリ29を介し
て減算器22に出力され、X+1ブロックの内容との差が
算出される。従って、X+1ブロックの領域A1以外の領
域には、Xブロックの変換係数が現れる。同様に、X+
2ブロックの領域A2には部分的にXブロックの変換係数
に影響され、また領域A2以外の領域にもXブロックの変
換係数が現れる。この結果、再生された画質の劣化を引
き起こすことがある。すなわち、符号制御器24のしきい
値TH1又はTH2が小さい値に設定されていると、前フレー
ムの高周波成分が以降のフレームに残る可能性がある。
第21図の選択器80は、この問題点を解消するために設け
られている。
The contents of the X block are output to the subtractor 22 via the frame memory 29 of FIG. 3, and the difference from the contents of the X + 1 block is calculated. Therefore, the transform coefficient of the X block appears in the area other than the area A1 of the X + 1 block. Similarly, X +
The 2-block area A2 is partially affected by the X-block conversion coefficient, and the X-block conversion coefficient also appears in areas other than the area A2. As a result, reproduced image quality may be deteriorated. That is, if the threshold value TH1 or TH2 of the code controller 24 is set to a small value, the high frequency component of the previous frame may remain in the subsequent frames.
The selector 80 shown in FIG. 21 is provided to solve this problem.

第22B図(b)に示すように、X+1ブロックの領域A
1が処理されると、セレクト信号が符号制御器24から選
択器80に与えられる。この結果、X+1ブロックの領域
A1以外にはXブロックの変換係数に代えて“0"が書込ま
れる。同様に、X+2ブロックの領域A2意外には“0"が
書込まれる。この結果、前ブロックの高周波成分がこれ
に続くブロックに残ることはない。
As shown in FIG. 22B (b), the area A of the X + 1 block
When 1 is processed, the select signal is given from the code controller 24 to the selector 80. As a result, the area of X + 1 block
In addition to A1, "0" is written instead of the transform coefficient of the X block. Similarly, "0" is written in the area A2 of the X + 2 block. As a result, the high frequency component of the preceding block does not remain in the succeeding block.

第23図は本発明の第4の実施例による画像符号化制御
システムのブロックである。第23図中、第3図と同一の
構成要素には同一の参照番号を付している。第23図の実
施例は、直交変換を含む予測符号化の構成となるもの
で、入力画像信号と、それに対応する前フレームの内容
とが減算器22において減算されて、フレーム間差分が求
められ、離散コサイン変換器21において処理ブロックご
とに直交変換符号化され、量子化器23により変換係数が
量子化されて符号制御ブロック24に加えられ、この符号
制御器24により図示を省略した可変長符号化器へ加える
処理ブロックごとの信号数を一定数以下に制御するもの
である。
FIG. 23 is a block diagram of an image coding control system according to the fourth embodiment of the present invention. 23, the same components as those of FIG. 3 are designated by the same reference numerals. The embodiment of FIG. 23 has a configuration of predictive coding including orthogonal transformation, and the input image signal and the content of the corresponding previous frame are subtracted by the subtractor 22 to obtain the interframe difference. , The discrete cosine transformer 21 is subjected to orthogonal transform coding for each processing block, the quantizer 23 quantizes the transform coefficient and added to the code control block 24, and the variable length code not shown in the figure by the code controller 24. The number of signals for each processing block added to the rectifier is controlled to be a certain number or less.

また、この実施例においては、直交変換を含むループ
を形成する為に、逆量子化器27の出力信号を加える逆離
散コサイン変換器11Aを設け、離散コサイン変換器21に
よる直交変換符号を元に戻して、加算器28に加える構成
としている。
Further, in this embodiment, in order to form a loop including orthogonal transformation, an inverse discrete cosine transformer 11A that adds the output signal of the inverse quantizer 27 is provided, and based on the orthogonal transform code by the discrete cosine transformer 21. It is configured such that it is returned and added to the adder 28.

本発明は、前述の各実施例のみに限定されるものでは
なく、直交変換符号化器21は、フーリェ変化やアダマー
ル変換等の各種の直交変換手段のみにより構成すること
も可能であり、また、フィールド間符号化等の各種の予
測符号化手段との組合せによる構成とすることも可能で
ある。また、前述したしきい値TH1及びTH2は、処理ブロ
ックの大きさや直交変換手段の種類等に対応して選定す
ることができるものである。
The present invention is not limited to each of the above-mentioned embodiments, the orthogonal transform encoder 21 can be configured only by various orthogonal transform means such as Fourier transform and Hadamard transform, and It is also possible to adopt a configuration in combination with various predictive coding means such as inter-field coding. Further, the thresholds TH1 and TH2 described above can be selected according to the size of the processing block, the type of the orthogonal transformation means, and the like.

〔産業上の利用分野〕[Industrial applications]

本発明はHDTVなどの多量の画像データの伝送及びTV会
議,TV電話などの画像データの伝送に適用できる。
INDUSTRIAL APPLICABILITY The present invention can be applied to the transmission of a large amount of image data such as HDTV and the transmission of image data such as video conference and video telephone.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−246976(JP,A) 特開 昭63−132530(JP,A) 特開 平1−14273(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A 63-246976 (JP, A) JP-A 63-132530 (JP, A) JP-A 1-14273 (JP, A)

Claims (27)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力画像信号の1画面を複数に分割して得
られるブロックごとに直交交換符号化を行う直交変換符
号化手段、前記各ブロックは複数の画素に関する変換係
数を有する; ブロックごとに得られる可変長符号語が所定数以下とな
るよに前記直交変換符号化手段から出力される変換係数
のうちの有効係数の個数が所定数となるまで変換係数を
出力するよう制御する符号制御手段; 該符号制御手段から出力される変換係数をブロックごと
に可変長符号化出力に変換する可変長符号化手段;及び 該可変長符号化手段から出力されるブロックごとの可変
長符号化出力を一時蓄積するバッファメモリ手段を有す
る画像符号化制御システム。
1. An orthogonal transform coding means for performing orthogonal exchange coding for each block obtained by dividing one screen of an input image signal into a plurality of blocks, each block having transform coefficients for a plurality of pixels; Code control means for controlling the output of transform coefficients until the number of effective coefficients among the transform coefficients output from the orthogonal transform coding means reaches a predetermined number so that the obtained variable-length codeword becomes a predetermined number or less. A variable-length coding means for converting the transform coefficient output from the code control means into a variable-length coded output for each block; and a variable-length coded output for each block output from the variable-length coding means Image coding control system having buffer memory means for storing.
【請求項2】前記可変長符号語の前記所定数は、各ブロ
ックが有する画素に関する変換係数の数より小さい請求
項1記載の画像符号化制御システム。
2. The image coding control system according to claim 1, wherein the predetermined number of the variable-length codewords is smaller than the number of transform coefficients regarding pixels included in each block.
【請求項3】前記可変長符号語は2次元可変長符号であ
り; 前記符号制御手段は: 前記変換係数のうちの有効係数の個数をブロックごとに
計数する計数手段; 該計数手段で計数された有効計数の個数を所定のしきい
値と比較する比較手段;及び 前記直交変換符号化手段と前記可変長符号化手段との間
に設けられ、有効係数の個数が前記所定のしきい値以下
のときは前記直交変換符号化手段からの変換係数を選択
し、有効係数の数が所定のしきい値を越えるときは“0"
を選択する選択手段を有する請求項1記載の画像符号化
制御システム。
3. The variable-length code word is a two-dimensional variable-length code; the code control means: counting means for counting the number of effective coefficients of the transform coefficients for each block; and counting by the counting means. Comparing means for comparing the number of effective coefficients with a predetermined threshold value; and a number of effective coefficients provided between the orthogonal transform encoding means and the variable length encoding means and less than the predetermined threshold value. , The transform coefficient from the orthogonal transform coding means is selected, and when the number of effective coefficients exceeds a predetermined threshold value, “0” is selected.
The image coding control system according to claim 1, further comprising a selection unit for selecting.
【請求項4】前記所定のしきい値は前記可変長符号化語
の前記所定数に等しい請求項3記載の画像符号制御シス
テム。
4. The image code control system according to claim 3, wherein the predetermined threshold value is equal to the predetermined number of the variable length coded words.
【請求項5】前記可変長符号化手段は: 前記符号制御手段から出力される変換係数のうちの連続
する“0"の個数をブロックごとに計数する計数手段;及
び 該計数手段で計数された“0"の個数と前記符号制御手段
から出力される有効係数から前記可変長符号化語を生成
する変換手段; を有する請求項3記載の画像符号化制御システム。
5. The variable-length coding means includes: counting means for counting, for each block, the number of consecutive "0" s of the transform coefficients output from the code control means; and the counting means. The image coding control system according to claim 3, further comprising: a conversion unit that generates the variable-length coded word from the number of "0" s and the effective coefficient output from the code control unit.
【請求項6】前記変換手段は: 前記連続する“0"の個数と前記有効係数をアドレスと
し、これらの組み合わせに対応した符号語とその符号長
を記録するメモリ手段;及び 該メモリ手段から出力された符号語と符号長から前記可
変長符号化出力を生成する回転器手段; を有する請求項5記載の画像符号化制御システム。
6. The conversion means: a memory means for recording a code word and its code length corresponding to a combination of the number of consecutive "0" s and the effective coefficient as an address; and an output from the memory means. The image coding control system according to claim 5, further comprising: rotator means for generating the variable length coded output from the coded code and the code length.
【請求項7】前記可変長符号語はランレングス符号であ
り; 前記符号制御手段は: 前記変換係数のうちの有効係数の個数と連続する“0"か
らなるストリングの個数の合計個数をブロックごとに計
数する計数手段; 該計数手段で計数された合計個数を所定のしきい値と比
較する比較手段;及び 前記直交変換符号化変換手段と前記可変長符号化手段と
の間に設けられ、合計個数が前記所定のしきい値以下の
ときは前記直交変換符号化変換手段からの変換係数を選
択し、前記合計個数が前記所定のしきい値を越えるとき
は“0"を選択する選択手段; を有する請求項1記載の画像符号化制御システム。
7. The variable-length codeword is a run-length code; the code control means: For each block, the total number of strings of "0" that is continuous with the number of effective coefficients of the transform coefficients. Counting means for counting the total number counted by the counting means; comparison means for comparing the total number counted by the counting means with a predetermined threshold value; and totalizing means provided between the orthogonal transform coding transform means and the variable length coding means. Selecting means for selecting the transform coefficient from the orthogonal transform coding converting means when the number is less than or equal to the predetermined threshold value, and selecting "0" when the total number exceeds the predetermined threshold value; The image coding control system according to claim 1, further comprising:
【請求項8】前記所定のしきい値は前記可変長符号化出
力の前記所定数に等しい請求項7記載の画像符号化制御
システム。
8. The image coding control system according to claim 7, wherein the predetermined threshold value is equal to the predetermined number of the variable length coded outputs.
【請求項9】前記可変長符号化手段は: 前記符号制御手段から出力される変換係数のうち連続す
る“0"の個数をブロックごとに計数する計数手段; 該計数手段で計数された“0"の個数と前記符号制御手段
から出力される有効係数のいずれかを画素ごとに選択す
る選択手段;及び 該選択手段から画素ごとに選択された“0"の個数又は有
効係数から前記可変長符号化出力を生成する変換手段; を有する請求項7記載の画像符号化制御システム。
9. The variable-length coding means includes: counting means for counting, for each block, the number of consecutive "0" s out of the transform coefficients output from the code control means; "0" counted by the counting means. Selecting means for selecting, for each pixel, one of the number of "and the effective coefficient output from the code control means; and the variable length code from the number of" 0 "or the effective coefficient selected for each pixel from the selecting means The image coding control system according to claim 7, further comprising: a conversion unit that generates a coded output.
【請求項10】前記変換手段は: 前記“0"の個数に対応した符号語とその符号長を記憶す
る第1のテーブル及び前記有効係数に対応した符号語と
その符号長を記憶する第2のテーブルを有するメモリ手
段;及び 該メモリ手段から出力された符号語と符号長から前記可
変長符号化出力を生成する回転器手段; を有する請求項9記載の画像符号化制御システム。
10. The conversion means includes: a first table storing codewords corresponding to the number of “0” and code lengths thereof, and a second table storing codewords corresponding to the effective coefficient and code lengths thereof. 10. The image coding control system according to claim 9, further comprising: a memory unit having a table of 1 .; and a rotator unit for generating the variable length coded output from the code word and the code length output from the memory unit.
【請求項11】前記変換係数は2つの連続するフレーム
のブロック間の入力画像信号の残差信号であり; 前記画像符号化制御システムは更に、該残差信号を量子
化して前記変換係数に対応する量子化出力を生成する量
子化手段を有する請求項1記載の画像符号化制御システ
ム。
11. The transform coefficient is a residual signal of an input image signal between blocks of two consecutive frames; the image coding control system further quantizes the residual signal to correspond to the transform coefficient. 2. The image coding control system according to claim 1, further comprising a quantizing means for generating a quantized output for
【請求項12】前記画像符号化制御システムは更に: 前記符号制御手段からの前記変換係数をブロックごとに
逆量子化して逆量子化出力を生成する逆量子化手段; 該量子化手段が処理しているブロックよりも1つ前のフ
レームのブロックにおける逆量子化出力を記憶するフレ
ームメモリ手段; 現在のブロックにおける逆量子化出力と1つ前のフレー
ムのブロックにおける逆量子化出力とを加算する加算手
段;及び 現在のブロックに関する入力画像信号とフレームメモリ
手段からの1つ前のフレームのブロックに関する逆量子
化出力との差を求めて前記残差信号を出力する減算手
段; とを有する請求項11記載の画像符号化制御システム。
12. The image coding control system further includes: an inverse quantizing means for inversely quantizing the transform coefficient from the code controlling means for each block to generate an inverse quantized output; Frame memory means for storing the dequantized output in the block of the frame immediately preceding the current block; an addition for adding the dequantized output in the current block and the dequantized output in the block of the previous frame Means for calculating the difference between the input image signal for the current block and the dequantized output for the block of the previous frame from the frame memory means, and subtracting means for outputting the residual signal. The image coding control system described.
【請求項13】前記画像符号化制御システムはさらに、 前記フレームメモリ手段からの逆量子化出力と“0"とを
選択していずれか一方を前記加算手段に出力する選択手
段を有する請求項12記載の画像符号化制御システム。
13. The image coding control system further comprises a selection means for selecting the dequantized output from the frame memory means and “0” and outputting either one to the addition means. The image coding control system described.
【請求項14】前記可変長符号語は2次元可変長符号で
あり; 前記符号制御手段は: 前記変換係数のうちの有効係数の個数をブロックごとに
計数する計数手段; 該計数手段で計数された有効係数の個数を所定のしきい
値と比較する比較手段;及び 前記直交変換符号化手段と有効係数の個数が前記所定の
しきい値以下のときは前記直交変換符号化手段からの変
換係数を選択し、有効係数の数が所定のしきい値を越え
るときは“0"を選択する選択器を有し; 前記選択手段は前記選択器が“0"を選択するときに“0"
を選択し、前記選択器が前記直交変換符号化手段からの
変換係数を選択するときには前記フレームメモリ手段か
らの逆量子化出力を選択する請求項12記載の画像符号化
制御システム。
14. The variable length code word is a two-dimensional variable length code; the code control means: counting means for counting the number of effective coefficients of the transform coefficients for each block; and counting by the counting means. Comparing means for comparing the number of effective coefficients with a predetermined threshold; and the orthogonal transform coding means and the transform coefficient from the orthogonal transform coding means when the number of effective coefficients is less than the predetermined threshold. And a selector for selecting "0" when the number of effective coefficients exceeds a predetermined threshold value; the selecting means has "0" when the selector selects "0".
13. The image coding control system according to claim 12, wherein when the selector selects the transform coefficient from the orthogonal transform coding means, the dequantized output from the frame memory means is selected.
【請求項15】前記可変長符号語はランレングス符号で
あり; 前記符号制御手段は: 前記変換係数のうちの有効係数の個数と連続する“0"か
らなるストリングの個数の合計個数をブロックごとに計
数する計数手段; 該計数手段で計数された合成個数を所定のしきい値と比
較する比較手段;及び 前記直交変換符号化変換手段と前記可変長符号化手段と
の間に設けられ、合計個数が前記所定のしきい値以下の
ときは前記フレームメモリ手段からの逆量子化出力を選
択し、前記合計個数が前記所定のしきい値を越えるとき
は“0"を選択する選択手段; を有する請求項12記載の画像符号化制御システム。
15. The variable-length codeword is a run-length code; the code control means is: for each block, the total number of strings of "0" consecutive to the number of effective coefficients of the transform coefficients. Counting means for counting; a comparing means for comparing the combined number counted by the counting means with a predetermined threshold value; and a total number provided between the orthogonal transform coding transform means and the variable length coding means. Selecting means for selecting the dequantized output from the frame memory means when the number is less than or equal to the predetermined threshold value, and selecting "0" when the total number exceeds the predetermined threshold value; 13. The image encoding control system according to claim 12.
【請求項16】前記各ブロックはn×n(nは任意の整
数)の画素を有する請求項1の画像符号化制御システ
ム。
16. The image coding control system according to claim 1, wherein each block has n × n pixels (n is an arbitrary integer).
【請求項17】前記画像符号化制御システムは: 現在の入力画像信号と1つ前のフレームのブロックの入
力画像信号との差を求めて前記残差信号を生成する減算
手段、該残差信号が前記直交変換符号化手段に与えられ
る; 前記直交変換符号化手段から出力される直交変換符号化
された前記残差信号を量子化して前記変換係数に対応す
る量子化出力を生成する量子化手段; 前記直交変換符号化手段からの前記変換係数をブロック
ごとに逆量子化して逆量子化出力を生成する逆量子化手
段; 逆量子化出力を逆直交変換する逆直交変換符号化手段; 現在のブロックにおける逆直交変換符号化出力と1つ前
のフレームのブロックにおける逆直交変換符号化出力と
を加算する加算手段; 加算出力を記憶するフレームメモリ手段、 前記フレームメモリ手段から出力されるフレームメモリ
出力は前記減算手段に出力される請求項1記載の画像符
号化制御システム。
17. The image coding control system comprises: subtraction means for obtaining the residual signal by obtaining a difference between a current input image signal and an input image signal of a block of a frame immediately before, and the residual signal. Is given to the orthogonal transform coding means; Quantizing means for quantizing the orthogonal transform coded residual signal output from the orthogonal transform coding means to generate a quantized output corresponding to the transform coefficient. Dequantizing means for dequantizing the transform coefficient from the orthogonal transform coding means for each block to generate an inverse quantized output; inverse orthogonal transform coding means for inverse orthogonal transforming the dequantized output; Addition means for adding the inverse orthogonal transform coded output in the block and the inverse orthogonal transform coded output in the block of the preceding frame; frame memory means for storing the added output; The image coding control system according to claim 1, wherein a frame memory output output from the means is output to the subtraction means.
【請求項18】アナログ画像信号をディジタル画像信号
に変換するアナログ・ディジタル変換する手段; 該ディジタル画像信号をl個(lは任意の整数)の入力
画像信号に時分割で分割する分割手段、各l個入力画像
信号の周波数は前記ディジタル画像信号の周波数より低
い; l個の入力信号ごとに設けられ、対応する前記入力画像
信号の1画面を複数に分割して得られるブロックごとに
直交変換符号化を行うl個の直交変換符号化手段、前記
各ブロックは複数の画素に関する変換係数を有する; l個の直交変換符号化手段ごとに設けられ、ブロックご
とに得られる可変長符号語が所定数以下となるように前
記対応する直交変換符号化手段から出力される変換係数
のうちの有効係数の個数が所定数となるまで変換係数を
出力するよう制御するl個の符号制御手段; l個の符号制御手段ごとに設けられ、対応する符号制御
器から出力される変換係数から前記可変長符号化出力を
規定するデータをブロックごとに生成する係数処理手
段; 前記l個の係数処理手段で生成されたデータを時分割で
選択してデータ列を出力する選択手段; 該データ列中の各データから前記可変長符号化出力を生
成する変換手段;及び 該変換手段から出力されるブロックごとの可変長符号化
出力を一時蓄積するバッファメモリ手段とを有する画像
符号化制御システム。
18. An analog-to-digital conversion means for converting an analog image signal into a digital image signal; a dividing means for dividing the digital image signal into l (l is an arbitrary integer) input image signal by time division The frequency of the l input image signals is lower than the frequency of the digital image signals; an orthogonal transform code is provided for each block provided for each l input signals and obtained by dividing one screen of the corresponding input image signal into a plurality of blocks. Orthogonal transform coding means for performing coding, each block having transform coefficients relating to a plurality of pixels; a predetermined number of variable-length codewords provided for each of the orthogonal transform coding means and obtained for each block. Control is performed so that the transform coefficients are output until the number of effective coefficients among the transform coefficients output from the corresponding orthogonal transform coding means reaches a predetermined number as follows. l code control means; a coefficient processing means which is provided for each of the l code control means, and which generates, for each block, data defining the variable-length coded output from the transform coefficients output from the corresponding code controller; Selecting means for time-divisionally selecting the data generated by the l coefficient processing means and outputting a data string; converting means for generating the variable length coded output from each data in the data string; and the converting Image coding control system having buffer memory means for temporarily accumulating variable length coded output for each block outputted from the means.
【請求項19】前記可変長符号化出力を規定するデータ
は前記変換係数のうちの有効係数と連続する“0"の個数
を含む請求項18記載の画像符号化制御システム。
19. The image coding control system according to claim 18, wherein the data defining the variable-length coded output includes the number of “0” consecutive with the effective coefficient of the transform coefficients.
【請求項20】前記可変長符号語は2次元可変長符号で
あり; 前記符号制御手段は: 前記変換係数のうちの有効係数の個数をブロックごとに
計数する計数手段; 該計数手段で計数された有効係数の個数を所定のしきい
値と比較する比較手段;及び 前記直交符号化可変手段と前記符号制御手段との間に設
けられ、有効係数の個数が前記所定のしきい値以下のと
きは前記直交符号化変換手段からの変換係数を選択し、
有効係数の数が所定のしきい値を越えるときは“0"を選
択する選択手段を有する請求項18記載の画像符号化制御
システム。
20. The variable-length code word is a two-dimensional variable-length code; the code control means: counting means for counting the number of effective coefficients of the transform coefficients for each block; and counting by the counting means. Comparing means for comparing the number of effective coefficients with a predetermined threshold value; and, when the number of effective coefficients is less than or equal to the predetermined threshold value, provided between the orthogonal coding varying means and the code control means. Selects the transform coefficient from the orthogonal coding transform means,
19. The image coding control system according to claim 18, further comprising selection means for selecting "0" when the number of effective coefficients exceeds a predetermined threshold value.
【請求項21】前記可変長符号化出力はランレングス符
号であり; 前記符号制御手段は: 前記変換係数のうちの有効係数の個数と連続する“0"か
らなるストリングの個数の合計個数をブロックごとに計
数する計数手段; 該計数手段で計数された合計個数を所定のしきい値と比
較する比較手段;及び 前記直交変換符号化手段と前記符号制御手段との間に設
けられ、合計個数が前記所定のしきい値以下のときは前
記直交符号化変換符号化手段からの変換係数を選択し、
前記合計個数が前記所定のしきい値を越えるときは“0"
を選択する選択手段; を有する請求項18記載の画像符号化制御システム。
21. The variable-length coded output is a run-length code; the code control means: blocks the total number of strings of "0" that are consecutive with the number of effective coefficients of the transform coefficients. Counting means for counting each number; comparison means for comparing the total number counted by the counting means with a predetermined threshold value; and a total number provided between the orthogonal transform coding means and the code control means. When the predetermined threshold value or less, select the transform coefficient from the orthogonal coding transform coding means,
“0” when the total number exceeds the predetermined threshold
19. The image coding control system according to claim 18, further comprising: selecting means for selecting.
【請求項22】前記所定のしきい値は前記可変長符号化
出力の前記所定数に等しい請求項20記載の画像符号化制
御システム。
22. The image coding control system according to claim 20, wherein the predetermined threshold value is equal to the predetermined number of the variable length coded outputs.
【請求項23】前記所定のしきい値は前記可変長符号化
出力の前記所定数に等しい請求項21記載の画像符号化制
御システム。
23. The image coding control system according to claim 21, wherein the predetermined threshold value is equal to the predetermined number of the variable length coded outputs.
【請求項24】前記変換手段は: 前記連続する“0"の個数と前記有効係数をアドレスと
し、これらの組み合わせに対応した符号語とその符号長
を記憶するメモリ手段;及び 該メモリ手段から出力された符号語と符号長から前記可
変長符号化出力を生成する回転器手段; を有する請求項18記載の画像符号化制御システム。
24. The converting means: a memory means for storing a code word and its code length corresponding to a combination of the number of consecutive “0” s and the effective coefficient as an address; and an output from the memory means. 19. The image coding control system according to claim 18, further comprising: rotator means for generating the variable length coded output from the coded code word and the code length.
【請求項25】前記変換手段は: 前記“0"の個数に対応した符号語とにその符号長を記憶
する第1のテーブル及び前記有効係数に対応した符号語
とその符号長を記憶する第2のテーブルを有するメモリ
手段;及び 該メモリ手段から出力された符号語と符号長から前記可
変長符号化出力を生成する回転器手段; を有する請求項19記載の画像符号化制御システム。
25. A first table storing the code length corresponding to the number of “0” and the code length corresponding to the effective coefficient and storing the code length corresponding to the effective coefficient. 20. The image coding control system according to claim 19, further comprising: memory means having two tables; and rotator means for generating the variable length coded output from a codeword and a code length output from the memory means.
【請求項26】前記回転器手段は復号側と共用される請
求項24記載の画像符号化制御システム。
26. The image coding control system according to claim 24, wherein the rotator means is shared with a decoding side.
【請求項27】前記回転器手段は復号側と共用される請
求項24記載の画像符号化制御システム。
27. The image coding control system according to claim 24, wherein said rotator means is shared with a decoding side.
JP51150090A 1989-08-23 1990-08-21 Image coding control system Expired - Fee Related JP2547479B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51150090A JP2547479B2 (en) 1989-08-23 1990-08-21 Image coding control system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP1214822A JPH0379182A (en) 1989-08-23 1989-08-23 Image encoding control system
JP1-214822 1989-08-23
JP51150090A JP2547479B2 (en) 1989-08-23 1990-08-21 Image coding control system

Publications (1)

Publication Number Publication Date
JP2547479B2 true JP2547479B2 (en) 1996-10-23

Family

ID=26520521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51150090A Expired - Fee Related JP2547479B2 (en) 1989-08-23 1990-08-21 Image coding control system

Country Status (1)

Country Link
JP (1) JP2547479B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63132530A (en) * 1986-09-13 1988-06-04 フィリップス エレクトロニクス ネムローゼ フェンノートシャップ Method and apparatus for reducing bit-rate
JPS63246976A (en) * 1987-04-02 1988-10-13 Konica Corp Compression device for multilevel image data
JPH02194734A (en) * 1989-01-24 1990-08-01 Victor Co Of Japan Ltd Control system for quantity of encoded output data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63132530A (en) * 1986-09-13 1988-06-04 フィリップス エレクトロニクス ネムローゼ フェンノートシャップ Method and apparatus for reducing bit-rate
JPS63246976A (en) * 1987-04-02 1988-10-13 Konica Corp Compression device for multilevel image data
JPH02194734A (en) * 1989-01-24 1990-08-01 Victor Co Of Japan Ltd Control system for quantity of encoded output data

Similar Documents

Publication Publication Date Title
EP0439624B1 (en) Control system for encoding image
JP3406546B2 (en) Decoding method for continuous images
EP0987899B1 (en) Adaptive variable-length coding method for video data
CA2011034C (en) A highly efficient coding apparatus
JP2000013799A (en) Device and method for motion compensation encoding and decoding
JPH0818459A (en) High efficiency encoder and high efficiency decoder
US4887156A (en) Method and system for transform coding of video signals
JPH0355987A (en) Reducing apparatus of redundancy in block of digital video data in discrete cosine transformation coding
JP2547479B2 (en) Image coding control system
JP3017745B2 (en) Data transmission method
JP2000165873A (en) Compression method for moving picture information and its system
JPH0621830A (en) Two-dimension huffman coding method
JPS62284535A (en) Method and apparatus for encoding data by employing block list conversion
JP2785209B2 (en) Data transmission equipment
JP2518215B2 (en) High efficiency encoder
JP2623555B2 (en) Transform encoding device and encoding method
KR100242832B1 (en) Apparatus for generating quantization step value
JP2518223B2 (en) High efficiency encoder
JP3253132B2 (en) Image processing method and apparatus
JP2518214B2 (en) High efficiency encoder
JPH0646394A (en) Picture signal encoding device
JP2936576B2 (en) Encoding device
JPH0686255A (en) Picture encoder
JP2778629B2 (en) High efficiency coding device
JPH05236460A (en) Encoding circuit for video signal

Legal Events

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

Free format text: PAYMENT UNTIL: 20080808

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees