JP2730035B2 - Information amount control circuit - Google Patents

Information amount control circuit

Info

Publication number
JP2730035B2
JP2730035B2 JP3160888A JP3160888A JP2730035B2 JP 2730035 B2 JP2730035 B2 JP 2730035B2 JP 3160888 A JP3160888 A JP 3160888A JP 3160888 A JP3160888 A JP 3160888A JP 2730035 B2 JP2730035 B2 JP 2730035B2
Authority
JP
Japan
Prior art keywords
value
amount
circuit
threshold value
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP3160888A
Other languages
Japanese (ja)
Other versions
JPH01205765A (en
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP3160888A priority Critical patent/JP2730035B2/en
Publication of JPH01205765A publication Critical patent/JPH01205765A/en
Application granted granted Critical
Publication of JP2730035B2 publication Critical patent/JP2730035B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、可変長符号化がされたディジタルビデオ
信号を磁気テープに記録する場合に、記録されるデータ
の伝送レートを伝送路と対応した所定の値に制御するの
に適用される情報量制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a case where a variable-length coded digital video signal is recorded on a magnetic tape and a transmission rate of data to be recorded corresponds to a transmission path. The present invention relates to an information amount control circuit applied to control to a predetermined value.

〔従来の技術〕[Conventional technology]

本願出願人は、特願昭59−266407号明細書に記載され
ているような、2次元ブロック内に含まれる複数画素の
最大値及び最小値により規定されるダイナミックレンジ
を求め、このダイナミックレンジに適応した符号化を行
う高能率符号化装置を提案している。また、特願昭60−
232789号明細書に記載されているように、複数フレーム
に夫々含まれる領域の画素から形成された3次元ブロッ
クに関してダイナミックレンジに適応した符号化を行う
高能率符号化装置が提案されている。更に、特願昭60−
268817号明細書に記載されているように、量子化を行っ
た時に生じる最大歪が一定となるようなダイナミックレ
ンジに応じてビット数が変化する可変長符号化方法が提
案されている。
The present applicant obtains a dynamic range defined by a maximum value and a minimum value of a plurality of pixels included in a two-dimensional block as described in Japanese Patent Application No. 59-266407, and this dynamic range A high-efficiency coding apparatus that performs adaptive coding has been proposed. In addition, Japanese Patent Application No. 60-
As described in the specification of Japanese Patent No. 232789, there has been proposed a high-efficiency coding apparatus that performs coding suitable for a dynamic range with respect to a three-dimensional block formed from pixels in regions included in a plurality of frames. Furthermore, Japanese Patent Application No. 60-
As described in the specification of Japanese Patent No. 268817, there has been proposed a variable length coding method in which the number of bits changes according to a dynamic range in which the maximum distortion generated when performing quantization is constant.

上述のダイナミックレンジに適応した高能率符号(AD
RCと称する)は、伝送すべきデータ量を大幅に圧縮でき
るので、ディジタルVTRに適用して好適である。特に、
可変長ADRCは、圧縮率を高くすることができる。しか
し、可変長ADRCは、伝送データの量が画像の内容によっ
て変動するため、所定量のデータを1トラックとして記
録するディジタルVTRのような固定レートの伝送路を使
用する時には、バッファリングの処理が必要である。
High-efficiency code (AD
RC) is suitable for application to a digital VTR because it can significantly reduce the amount of data to be transmitted. Especially,
The variable length ADRC can increase the compression ratio. However, in the variable-length ADRC, the amount of transmission data varies depending on the content of an image. Therefore, when using a fixed-rate transmission path such as a digital VTR that records a predetermined amount of data as one track, buffering processing is not performed. is necessary.

従来では、可変長の符号化回路の出力データが制御制
限回路に供給され、情報制限回路の出力データがバッフ
ァメモリに供給され、バッファメモリにおいては、伝送
データのデータ量が監視され、伝送路の伝送レートを伝
送データが超えないように制御するための制御信号が情
報量制限回路に対してバッファメモリから帰還され、発
生情報量が制御されていた。
Conventionally, output data of a variable length encoding circuit is supplied to a control limiting circuit, output data of an information limiting circuit is supplied to a buffer memory, and in the buffer memory, a data amount of transmission data is monitored, and A control signal for controlling the transmission rate so as not to exceed the transmission data is fed back from the buffer memory to the information amount limiting circuit, and the generated information amount is controlled.

従来のバッファリングは、帰還量に対する感度を上げ
過ぎると、目標値付近で発振し、逆に感度を下げ過ぎる
と、収束に時間がかかる問題が生じる。収束に時間がか
かる時には、バッファメモリの容量を増やす必要があ
る。このように、従来のバッファリング処理は、実用に
当たっては、相当のノウハウが必要な欠点があった。
In the conventional buffering, if the sensitivity to the feedback amount is too high, oscillation occurs near the target value, and if the sensitivity is too low, convergence takes time. When it takes time to converge, it is necessary to increase the capacity of the buffer memory. As described above, the conventional buffering processing has a drawback that requires considerable know-how in practical use.

この問題を解決するために、本願出願人は、特願昭61
−257586号明細書に記載されているように、フィードフ
ォワード形のバッファリング装置であって、積算形の度
数分布表を使用するものを提案している。
In order to solve this problem, the applicant of the present application filed Japanese Patent Application No.
As described in -257586, there is proposed a feed-forward type buffering device which uses an integrated frequency distribution table.

このバッファリング装置は、ブロック内のダイナミッ
クレンジの度数分布を積算形のものに変更し、度数分布
に対して、割り当てビット数を規定するために、複数の
しきい値を適用し、その結果分る発生情報量が目標値以
下となるように、しきい値を可変するものである。
This buffering device changes the frequency distribution of the dynamic range in the block to an integrated type, applies a plurality of thresholds to the frequency distribution to regulate the number of allocated bits, and as a result, The threshold value is varied so that the amount of generated information becomes equal to or less than the target value.

このバッファリング装置に依れば、発生情報量の算出
を迅速且つ容易に行うことにより、バッファリングの収
束時間を短縮化できる。
According to this buffering device, the convergence time of buffering can be reduced by quickly and easily calculating the amount of generated information.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

発生情報量が目標値以下となるように、しきい値を動
かす場合、動かし方が経験的で難しく、あまり大きなし
きい値とすると、ブロック歪みのような復元画像の劣化
が見える問題があった。即ち、各しきい値毎に劣化が認
知される限界が存在していて、例えば0ビット割り当て
のしきい値が或るレベル以上となると、ブロック歪みが
見えて来る。発生情報量を抑えるあまり、しきい値を大
きくすると、ブロック歪み等の劣化が認知されることに
なる。
When moving the threshold value so that the amount of generated information is equal to or less than the target value, it is empirical and difficult to move the threshold value, and if the threshold value is too large, there is a problem that deterioration of the restored image such as block distortion is seen. . That is, there is a limit at which deterioration is recognized for each threshold value. For example, when the threshold value of 0-bit allocation exceeds a certain level, block distortion becomes visible. If the threshold is increased too much to suppress the amount of generated information, deterioration such as block distortion is recognized.

従って、この発明の目的は、各しきい値には、これ以
上大きくできない限界があることに注目し、許容限界迄
のしきい値の値でもって、発生情報量を目標値以下に抑
えることができ、従って、復元画像の画質が良好な情報
量制御装置を提供することにある。
Therefore, an object of the present invention is to note that each threshold has a limit that cannot be increased any more, and that the amount of generated information can be suppressed to a target value or less by using a threshold value up to an allowable limit. Accordingly, it is an object of the present invention to provide an information amount control device capable of achieving a high quality of restored image.

〔問題点を解決するための手段〕[Means for solving the problem]

この発明は、デジタル画像信号の同一フィールド又は
時間的に連続する複数フィールドに属する領域からなる
ブロックを構成し、ブロック内の複数の画素データ毎に
可変長符号化を行い、符号化により発生する情報量を制
御する情報量制御回路において、 データの各値の所定周期内の発生度数を集計する度数
集計回路と、 複数のしきい値からなるしきい値のセットの複数個を
有し、データの各値に対してしきい値のセットを設定す
るしきい値設定回路と、 設定されたしきい値のセットと度数集計回路の出力に
基づいて発生情報量を演算する演算回路と、 演算手段の出力と目標値を比較し、比較出力に応じ
て、しきい値のセットを順次変化させた時の所定の期間
における発生情報量が目標値を超えない範囲における量
子化歪みが最小のしきい値のセットを決定するように、
しきい値設定回路を制御する制御回路と、 ブロック内の複数のデータを決定されたしきい値のセ
ットに基づく量子化ビット数によって量子化する量子化
回路と、 しきい値のセットの中で、発生情報量を最小とするも
のを限界しきい値として与える限界しきい値設定回路と
を備え、 制御回路によってしきい値のセットを限界しきい値に
規定しても、発生情報量が目標値を超える場合には、量
子化回路に限界しきい値を与えると共に、量子化回路に
対して入力される信号レベルを圧縮するようにしたこと
を特徴とする情報量制御回路である。
The present invention constitutes a block consisting of regions belonging to the same field or a plurality of temporally continuous fields of a digital image signal, performs variable length coding for each of a plurality of pixel data in the block, and generates information generated by the coding. An information amount control circuit for controlling an amount, comprising: a frequency counting circuit for counting the number of occurrences of each value of data within a predetermined period; and a plurality of threshold value sets each including a plurality of threshold values. A threshold setting circuit for setting a set of thresholds for each value; an arithmetic circuit for calculating the amount of generated information based on the set threshold and the output of the frequency counting circuit; The output is compared with the target value, and the threshold for minimizing the quantization distortion in a range where the amount of generated information does not exceed the target value during a predetermined period when the set of thresholds is sequentially changed according to the comparison output. To determine a set of values,
A control circuit that controls the threshold setting circuit; a quantization circuit that quantizes a plurality of data in the block by a quantization bit number based on the determined set of thresholds; And a limit threshold setting circuit for providing a threshold value that minimizes the amount of generated information as a limit threshold value. An information amount control circuit characterized in that when the value exceeds the threshold value, a limit threshold value is given to the quantization circuit and the signal level input to the quantization circuit is compressed.

〔作用〕[Action]

発生情報量を算出する場合、複数のしきい値によって
分けられたデータ例えばダイナミックレンジの範囲毎に
度数の総和を求め、この度数の総和に重み(ビット数)
が乗じられることにより、発生情報量が算出され、この
複数の範囲の発生情報量が加算される。従って、しきい
値を変える毎に一連の演算が必要とされる。しかし、発
生度数の積算表が形成されていれば、しきい値を変えた
場合でも、しきい値と対応する度数が直ぐに分かり、夫
々の度数にビット数を乗じることにより、ただちに発生
情報量を知ることができる。従って、バッファリング処
理の収束時間を短縮化でき、また、ハードウエァを簡単
と出来る。
When calculating the amount of generated information, a total sum of frequencies is obtained for each of data divided by a plurality of threshold values, for example, a dynamic range, and the total sum of the frequencies is weighted (number of bits).
Is multiplied to calculate the generated information amount, and the generated information amounts in the plurality of ranges are added. Therefore, every time the threshold is changed, a series of calculations is required. However, if an occurrence frequency accumulation table is formed, even if the threshold value is changed, the frequency value corresponding to the threshold value is immediately known, and the generated information amount is immediately obtained by multiplying each frequency value by the number of bits. You can know. Therefore, the convergence time of the buffering process can be shortened, and the hardware can be simplified.

この発明では、復元画像の劣化が認知される限界のし
きい値(限界値)が設定され、限界値より小さいしきい
値で、発生情報量が目標値以下にできる時には、入力デ
ータのレベルを圧縮しない。しかし、限界値では、発生
情報量が目標値を超える時には、この限界値を固定した
ままで、入力レベルを圧縮することにより、発生情報量
が減少される。従って、限界値よりしきい値が小さくな
らず、復元画像の劣化が防止される。即ち、入力レベル
をα(α<1)倍することにより、圧縮すれば、ダイナ
ミックレンジの度数分布を0の側に近づけることがで
き、しきい値を小さいものに変えなくとも、発生情報量
を減少することができる。この圧縮係数αは、所定周期
毎に決定される。
According to the present invention, a limit threshold value (limit value) at which deterioration of a restored image is recognized is set. When the amount of generated information can be reduced to a target value or less with a threshold value smaller than the limit value, the level of input data is reduced. Do not compress. However, at the limit value, when the amount of generated information exceeds the target value, the amount of generated information is reduced by compressing the input level while keeping the limit value fixed. Therefore, the threshold value does not become smaller than the limit value, and deterioration of the restored image is prevented. That is, by compressing the input level by α (α <1), the frequency distribution of the dynamic range can be made closer to 0 by compression, and the amount of generated information can be reduced without changing the threshold value to a small value. Can be reduced. This compression coefficient α is determined at predetermined intervals.

〔実施例〕〔Example〕

この発明が適用されたディジタルVTRについて図面を
参照して詳細に説明する。この説明は、下記の項目に従
ってなされる。
A digital VTR to which the present invention is applied will be described in detail with reference to the drawings. This description is made in accordance with the following items.

a.送信側及び受信側の構成 b.可変長量子化とバッファリング c.バッファリング回路 d.変形例 なお、ディジタルVTRの場合では、送信側が記録側に
対応し、受信側が再生側に対応する。
a. Configuration of the transmitting and receiving sides b. Variable-length quantization and buffering c. Buffering circuit d. Modifications In the case of a digital VTR, the transmitting side corresponds to the recording side, and the receiving side corresponds to the reproducing side. .

a.送信側及び受信側の構成 第1図において、1で示す入力端子にアナログビデオ
信号が供給され、このビデオ信号がA/D変換器2に供給
され、A/D変換器2から例えば1サンプルが8ビットに
量子化されたディジタルビデオ信号が得られる。ディジ
タルビデオ信号がブロック化回路3に供給される。ブロ
ック化回路3により、入力ディジタルビデオ信号が符号
化の単位である2次元ブロック毎に連続する信号に変換
される。ブロック化回路3では、例えば(488ライン×7
20画素)の1フレームの画面が多数のブロックに細分化
される。1ブロックは、例えば第2図に示すように、
(4ライン×4画素)の大きさとされている。ブロック
化回路3からは、ブロックの順序に変換されたディジタ
ルビデオ信号が発生する。
a. Configuration of the transmitting side and the receiving side In FIG. 1, an analog video signal is supplied to an input terminal indicated by 1, and this video signal is supplied to the A / D converter 2, and the A / D converter 2 outputs, for example, 1 A digital video signal in which the samples are quantized to 8 bits is obtained. The digital video signal is supplied to the blocking circuit 3. The blocking circuit 3 converts the input digital video signal into a continuous signal for each two-dimensional block which is a unit of encoding. In the blocking circuit 3, for example, (488 lines × 7
A screen of one frame (20 pixels) is subdivided into many blocks. One block is, for example, as shown in FIG.
(4 lines × 4 pixels). From the blocking circuit 3, a digital video signal converted in the order of blocks is generated.

ブロック化回路3の出力信号が最大値MAXをブロック
毎に検出する最大値検出回路4、最小値MINをブロック
毎に検出する最大値検出回路5及び遅延回路6に供給さ
れる。検出された最大値MAX及び最小値MINが減算回路7
に供給され、最大値MAX及び最小値MINの差であるダイナ
ミックレンジDRが減算回路7から得られる。遅延回路6
は、最大値MAX及び最小値MINを検出するために必要な時
間及び圧縮係数αを決定する時間、データを遅延させ
る。
The output signal of the blocking circuit 3 is supplied to a maximum value detection circuit 4 for detecting the maximum value MAX for each block, a maximum value detection circuit 5 for detecting the minimum value MIN for each block, and a delay circuit 6. The detected maximum value MAX and minimum value MIN are subtracted by the subtraction circuit 7.
And the dynamic range DR, which is the difference between the maximum value MAX and the minimum value MIN, is obtained from the subtraction circuit 7. Delay circuit 6
Delays the data by the time required to detect the maximum value MAX and the minimum value MIN and the time required to determine the compression coefficient α.

遅延回路6からのビデオデータが圧縮回路14に供給さ
れる。この圧縮回路14には、後述するバッファリング回
路9からアドレスコードPiが供給され、アドレスコード
Piに対応する圧縮係数α(≦1)が乗じられた出力信号
が圧縮回路14から得られる。アドレスコードPiが(P0〜
P15)の範囲では、(α=1)とされ、アドレスコードP
iが(P16〜P31)の範囲では、(α<1)とされる。圧
縮回路14は、例えば入力データ及び圧縮係数αがアドレ
スとして供給されるROMにより構成されている。
The video data from the delay circuit 6 is supplied to the compression circuit 14. The compression circuit 14 is supplied with an address code Pi from a buffering circuit 9 to be described later.
An output signal multiplied by a compression coefficient α (≦ 1) corresponding to Pi is obtained from the compression circuit 14. If the address code Pi is (P0 ~
In the range of (P15), (α = 1) is set, and the address code P
When i is in the range of (P16 to P31), (α <1) is set. The compression circuit 14 is constituted by, for example, a ROM to which input data and a compression coefficient α are supplied as addresses.

圧縮回路14の出力信号が最大値MAXをブロック毎に検
出する最大値検出回路15,最小値MINをブロック毎に検出
する最小値検出回路16及び遅延回路17に供給される。検
出された最大値MAX及び最小値MINが減算回路18に供給さ
れ、最大値MAX及び最小値MINの差であるダイナミックレ
ンジDRが減算回路18から得られる。遅延回路17は、最大
値MAX及び最小値MINを検出するために必要な時間、デー
タを遅延させる。
The output signal of the compression circuit 14 is supplied to a maximum value detection circuit 15 for detecting the maximum value MAX for each block, a minimum value detection circuit 16 for detecting the minimum value MIN for each block, and a delay circuit 17. The detected maximum value MAX and minimum value MIN are supplied to the subtraction circuit 18, and a dynamic range DR that is a difference between the maximum value MAX and the minimum value MIN is obtained from the subtraction circuit 18. The delay circuit 17 delays data for a time necessary to detect the maximum value MAX and the minimum value MIN.

遅延回路17の出力信号から最小値MINが減算回路19に
おいて減算され、減算回路19からは、最小値除去後のデ
ータPDIが得られる。最小値除去後のデータPDIが符号化
回路20に供給される。符号化回路20は、データPDIを量
子化する可変長のADRC符号化を行う。即ち、符号化回路
20では、ブロック内の画素データが共有する最小値MIN
が除去された画素データPDIが量子化幅Δiで除算した
時の値に対応するコード信号DTが形成される。符号化回
路20には、バッファリング回路9からのアドレスコード
Pi及び減算回路18からのダイナミックレンジDRが供給さ
れている。この符号化回路20には、アドレスコードPiか
らしきい値を発生するしきい値テーブルが含まれてい
る。
The minimum value MIN is subtracted from the output signal of the delay circuit 17 in the subtraction circuit 19, and the subtraction circuit 19 obtains the data PDI from which the minimum value has been removed. The data PDI from which the minimum value has been removed is supplied to the encoding circuit 20. The encoding circuit 20 performs variable-length ADRC encoding for quantizing the data PDI. That is, the encoding circuit
In 20, the minimum value MIN shared by the pixel data in the block
A code signal DT corresponding to a value obtained by dividing the pixel data PDI from which is removed by the quantization width Δi is formed. The encoding circuit 20 has an address code from the buffering circuit 9.
The dynamic range DR from Pi and the subtraction circuit 18 is supplied. The encoding circuit 20 includes a threshold value table for generating a threshold value from the address code Pi.

ブロック内のビデオ信号は、2次元的相関及び3次元
的相関を有しているので、ダイナミックレンジDRは、元
のデータの値に比して小さくなり、8ビットより少ない
0ビット,1ビット,2ビット,3ビット又は4ビットのビッ
ト数で量子化しても、量子化歪が目立たない。符号化回
路20は、しきい値テーブルが格納されたROMと画素デー
タPDI,ダイナミックレンジDR及び上述のしきい値からコ
ード信号DTを発生するROMとで構成される。
Since the video signal in the block has a two-dimensional correlation and a three-dimensional correlation, the dynamic range DR is smaller than the value of the original data, and 0 bits, 1 bits, less than 8 bits. Even when quantization is performed with the number of bits of 2, 3, or 4 bits, quantization distortion is not conspicuous. The encoding circuit 20 includes a ROM in which a threshold table is stored, and a ROM that generates a code signal DT from the pixel data PDI, the dynamic range DR, and the above-described threshold.

ディジタルVTRでは、記録されるデータの伝送レート
が一定であるため、伝送データ量を制限しないと、一部
のデータを記録できなかったり、必要以上に圧縮率を高
くして再生画像の質が劣化したりする。そこで、バッフ
ァリング回路9が設けられ、ADRC符号化されようとする
1画面の全ブロックのダイナミックレンジDRの度数分布
が調べられ、最適な可変長符号化がなされる。
With a digital VTR, the transmission rate of the recorded data is constant, so if the amount of transmitted data is not limited, some data cannot be recorded or the compression rate will be higher than necessary and the quality of the reproduced image will deteriorate. Or Therefore, a buffering circuit 9 is provided, and the frequency distribution of the dynamic range DR of all the blocks of one screen to be ADRC-coded is examined, and optimal variable-length coding is performed.

減算回路7により検出されたブロック毎のダイナミッ
クレンジDRが度数分布発生回路8に供給され、積算形の
度数分布表が形成される。この度数分布表がバッファリ
ング回路9に端子10を通じて供給される。バッファリン
グ回路9には、端子11及び12から例えば2フレーム周期
のリセット信号及び発生情報量の目標値が供給される。
バッファリング回路9では、伝送データのレートが一定
となるようなしきい値T1,T2,T3,T4が求められ、このし
きい値と対応するアドレスコードPiが端子13から出力さ
れる。
The dynamic range DR for each block detected by the subtraction circuit 7 is supplied to the frequency distribution generating circuit 8 to form an integrated frequency distribution table. This frequency distribution table is supplied to the buffering circuit 9 through the terminal 10. The buffering circuit 9 is supplied with, for example, a reset signal in a two-frame cycle and a target value of the generated information amount from the terminals 11 and 12.
In the buffering circuit 9, thresholds T 1, T 2, T 3, and T 4 for obtaining a constant transmission data rate are obtained, and an address code Pi corresponding to these thresholds is output from a terminal 13.

バッファリング回路9からのアドレスコードPiとダイ
ナミックレンジDR及び最小値MINと符号化回路20からの
コード信号DTとがフレーム化回路21に供給される。フレ
ーム化回路21は、可変長データとしてのコード信号DT及
び固定長データとしての付加コードPi,DR,MINにエラー
訂正用の符号化を施したり、同期信号の付加を行う。フ
レーム化回路21の出力端子22に送信データが得られる。
2フレームで1個のアドレスコードPiが伝送され、1ブ
ロック毎にDR,MINのデータが伝送され、1画素毎にコー
ド信号DTが伝送される。
The address code Pi from the buffering circuit 9, the dynamic range DR and the minimum value MIN, and the code signal DT from the encoding circuit 20 are supplied to the framing circuit 21. The framing circuit 21 performs error correction encoding on the code signal DT as variable-length data and the additional codes Pi, DR, and MIN as fixed-length data, and adds a synchronization signal. Transmission data is obtained at the output terminal 22 of the framing circuit 21.
One address code Pi is transmitted in two frames, DR and MIN data are transmitted for each block, and a code signal DT is transmitted for each pixel.

受信されたデータは、第3図において31で示す入力端
子に供給され、フレーム分解回路32により、アドレスコ
ードPi、ダイナミックレンジDR、コード信号DT、最小値
MINの夫々に分解される。復号化回路33は、ADRCエンコ
ーダの符号化回路20と逆にコード信号DTを復元レベルに
変換する。この復号化回路33は、例えばROMにより構成
されている。復号化回路33からの復元レベルが加算回路
34に供給され、遅延回路35を介された最小値MINが復元
レベルに加算され、加算回路34からの復元データがブロ
ック分解回路36に供給される。ブロック分解回路36の出
力端子にテレビジョン信号と同様の順序の出力データが
得られる。この復元された信号がD/A変換器37に供給さ
れ、D/A変換器37から出力端子38に再生されたアナログ
ビデオ信号が取り出される。
The received data is supplied to an input terminal indicated by reference numeral 31 in FIG. 3, and the address code Pi, dynamic range DR, code signal DT, minimum value
Decomposed into each of MIN. The decoding circuit 33 converts the code signal DT to a restoration level, as opposed to the coding circuit 20 of the ADRC encoder. The decoding circuit 33 is constituted by, for example, a ROM. The restoration level from the decoding circuit 33 is an addition circuit
The minimum value MIN supplied to the delay circuit 35 is supplied to the restoration level, and the restoration data from the addition circuit 34 is supplied to the block decomposition circuit 36. Output data in the same order as the television signal is obtained at the output terminal of the block decomposition circuit 36. The restored signal is supplied to the D / A converter 37, and the analog video signal reproduced at the output terminal 38 is extracted from the D / A converter 37.

b.可変長量子化とバッファリング 第5図は、符号化回路20においてなされる可変長量子
化を説明するもので、T1,T2,T3,T4が夫々割り当てビッ
ト数を決定するしきい値である。これらのしきい値は、
(T4<T3<T2<T1)の関係にある。
b. Variable-Length Quantization and Buffering FIG. 5 illustrates variable-length quantization performed in the encoding circuit 20. T1, T2, T3, and T4 are threshold values that determine the number of allocated bits. is there. These thresholds are
(T4 <T3 <T2 <T1).

ダイナミックレンジDR(=MAX−MIN)が(DR=T4−
1)の時には、第5図Aに示すように、最大値MAXと最
小値MINのみが伝送され、受信側では、両者の中間のレ
ベルL0が復元レベルとされる。従って、第5図Aに示す
ように、ダイナミックレンジDRが(T4−1)の時には、
量子化幅がΔ0となる。ダイナミックレンジDRが(0≦
DR≦T4−1)の場合には、割り当てビット数が0ビット
である。
When the dynamic range DR (= MAX−MIN) is (DR = T4−
In the case of 1), as shown in FIG. 5A, only the maximum value MAX and the minimum value MIN are transmitted, and on the receiving side, the intermediate level L0 between them is set as the restoration level. Therefore, as shown in FIG. 5A, when the dynamic range DR is (T4-1),
The quantization width becomes Δ0. When the dynamic range DR is (0 ≦
When DR ≦ T4-1), the number of allocated bits is 0.

第5図Bは、ダイナミックレンジDRが(T3−1)の場
合を示す。ダイナミックレンジDRが(T4≦DR≦T3−1)
の時には、割り当てビット数が1ビットとされる。従っ
て検出されたダイナミックレンジDRが2つのレベル範囲
に分割され、ブロックの最小値除去後の画素データPDI
が属するレベル範囲が量子化幅Δ1を用いて求められ、
レベル範囲と対応する“0"又は“1"の一方のコード信号
が割り当てられ、復元レベルがL0又はL1とされる。
FIG. 5B shows a case where the dynamic range DR is (T3-1). Dynamic range DR is (T4 ≦ DR ≦ T3-1)
In the case of, the number of allocated bits is one bit. Therefore, the detected dynamic range DR is divided into two level ranges, and the pixel data PDI after removing the minimum value of the block.
Is determined using the quantization width Δ1,
One of the code signals “0” or “1” corresponding to the level range is assigned, and the restoration level is set to L0 or L1.

第5図に示される可変長符号化は、ダイナミックレン
ジが大きくなるほど、量子化幅Δiが(Δ0<Δ1<Δ
2<Δ3<Δ4)と大きくされる非直線量子化が行われ
る。非直線量子化は、量子化歪が目立ち易いダイナミッ
クレンジが小さいブロックでは、最大歪を小さくし、逆
に、ダイナミックレンジが大きいブロックでは、最大歪
を大きくするもので、圧縮率がより高くされる。
In the variable length coding shown in FIG. 5, as the dynamic range becomes larger, the quantization width Δi becomes (Δ0 <Δ1 <Δ
Non-linear quantization that is increased to 2 <Δ3 <Δ4) is performed. The non-linear quantization reduces the maximum distortion in a block having a small dynamic range in which quantization distortion is conspicuous, and increases the maximum distortion in a block having a large dynamic range.

ダイナミックレンジDRが(T2−1)の場合には、第5
図Cに示すように、検出されたダイナミックレンジDRが
4個のレベル範囲に分割され、レベル範囲の夫々に対し
て、2ビット(00)(01)(10)(11)が割り当てら
れ、各レベル範囲の中央のレベルが復元レベルL0,L1,L
2,L3とされる。従って、量子化幅Δ2を用いてデータPD
Iの属するレベル範囲が求められる。ダイナミックレン
ジDRが(T3≦DR≦T2−1)の場合では、割り当てビット
数が2ビットとされる。
When the dynamic range DR is (T2-1), the fifth
As shown in FIG. C, the detected dynamic range DR is divided into four level ranges, and two bits (00) (01) (10) (11) are assigned to each of the level ranges. The level in the middle of the level range is the restoration level L0, L1, L
2, L3. Therefore, the data PD is calculated using the quantization width Δ2.
The level range to which I belongs is required. When the dynamic range DR is (T3 ≦ DR ≦ T2-1), the number of allocated bits is 2 bits.

また、ダイナミックレンジDRが(T1−1)の場合で
は、第5図Dに示すように、検出されたダイナミックレ
ンジDRが8個のレベル範囲に分割され、レベル範囲の夫
々に対して、3ビット(000)(001)・・・(111)が
割り当てられ、各レベル範囲の中央のレベルが復元レベ
ルL0,L1・・・L7とされる。従って量子化幅がΔ3とな
る。ダイナミックレンジDRが(T2≦DR≦T1−1)の場合
では、割り当てビット数が3ビットとされる。
When the dynamic range DR is (T1-1), as shown in FIG. 5D, the detected dynamic range DR is divided into eight level ranges, and each of the level ranges has 3 bits. (000), (001),... (111) are assigned, and the center level of each level range is set as a restoration level L0, L1,. Therefore, the quantization width becomes Δ3. When the dynamic range DR is (T2 ≦ DR ≦ T1-1), the number of allocated bits is 3 bits.

更に、ダイナミックレンジが最大の255の場合には、
第5図Eに示すように、検出されたダイナミックレンジ
DRが16個のレベル範囲に分割され、レベル範囲の夫々に
対して、4ビット(0000)(0001)・・・(1111)が割
り当てられ、各レベル範囲の中央のレベルが復元レベル
L0,L1・・・L15とされる。従って、量子化幅がΔ4とな
る。ダイナミックレンジDRが(T1≦DR<256)の場合で
は、割り当てビット数が4ビットとされる。
Furthermore, if the dynamic range is the maximum of 255,
As shown in FIG. 5E, the detected dynamic range
The DR is divided into 16 level ranges, and 4 bits (0000) (0001)... (1111) are assigned to each of the level ranges, and the center level of each level range is the restoration level.
L0, L1,..., L15. Therefore, the quantization width is Δ4. When the dynamic range DR is (T1 ≦ DR <256), the number of allocated bits is 4 bits.

第6図は、(0〜255)の範囲のダイナミックレンジD
Rを横軸とし、発生度数を縦軸とした度数分布の一例で
ある。x1,x2,x3,x4,x5の夫々は、前述のように、しきい
値T1〜T4によって分けられたダイナミックレンジDRの五
個の範囲に含まれるブロック数を表している。(T4−
1)以下のダイナミックレンジDRを持つブロックは、0
ビットが割り当てられるので、ブロック数x5は、発生情
報量に寄与しない。従って、発生情報量は、 4x1+3x2+2x3+x4 で求まる。この発生情報量がデータしきい値と比較さ
れ、データしきい値を超える時には、より大きいしきい
値のセットが適用され、同様にして発生情報量が算出さ
れる。上式の演算を行うには、設定されたしきい値のセ
ット毎に各範囲で度数分布の和を求め、この和に割り当
てビット数を乗じて加算する処理が必要である。しかし
ながら、しきい値のセットを変更する都度、上記の処理
を行うと、最適なしきい値のセットが求まる迄に時間が
かかる問題が生じる。
FIG. 6 shows a dynamic range D in the range of (0 to 255).
It is an example of a frequency distribution in which R is the horizontal axis and the frequency of occurrence is the vertical axis. x 1, x 2, x 3 , x 4, each of the x 5, as described above, represents the number of blocks included five pieces of the dynamic range DR separated by threshold T1~T4 . (T4−
1) A block having the following dynamic range DR is 0
Since bits are allocated, the number of blocks x 5 does not contribute to the amount of information generated. Thus, generation amount of information, obtained in 4x 1 + 3x 2 + 2x 3 + x 4. This amount of generated information is compared with the data threshold, and if it exceeds the data threshold, a larger set of thresholds is applied, and the amount of generated information is calculated in a similar manner. In order to perform the calculation of the above equation, it is necessary to perform a process of obtaining the sum of the frequency distributions in each range for each set of the set thresholds, multiplying the sum by the number of allocated bits, and adding the sum. However, if the above processing is performed every time the set of thresholds is changed, it takes a long time until an optimal set of thresholds is determined.

この一実施例では、度数分布発生回路8において、第
6図に示す度数分布が求められ、次に、第6図に示す度
数分布が第7図に示す積算型の度数分布に変換される。
積算型の度数分布に変換することにより、異なるしきい
値のセットと対応する発生情報量がより高速に算出で
き、従って、最適なしきい値のセットが得られる迄の収
束時間が短縮される。
In this embodiment, the frequency distribution shown in FIG. 6 is obtained by the frequency distribution generating circuit 8, and then the frequency distribution shown in FIG. 6 is converted into an integrated frequency distribution shown in FIG.
By converting to an integrated frequency distribution, the amount of generated information corresponding to a different set of thresholds can be calculated more quickly, and thus the convergence time until an optimal set of thresholds is obtained is reduced.

第7図から理解されるように、ダイナミックレンジDR
が最大の発生度数からスタートして、より小さいダイナ
ミックレンジDRの発生度数が順次積算されて積算型の度
数分布グラフが得られる。従って、しきい値T1迄の積算
度数がx1となり、しきい値T2迄の積算度数が(x1+x2
となり、しきい値T3迄の積算度数が(x1+x2+x3)とな
り、しきい値T4迄の積算度数が(x1+x2+x3+x4)とな
る。
As can be understood from FIG. 7, the dynamic range DR
Starts from the maximum occurrence frequency, the occurrence frequencies of the smaller dynamic range DR are sequentially integrated, and an integrated frequency distribution graph is obtained. Therefore, the integration degree is x 1 next up threshold T1, the accumulated power up threshold T2 (x 1 + x 2)
Next, the accumulated power up threshold T3 is (x 1 + x 2 + x 3) , and the the accumulated power up threshold T4 (x 1 + x 2 + x 3 + x 4).

しきい値T1〜T4に対する発生情報量は、4(x1−0)
+3〔(x1+x2)−x1〕+2〔(x1+x2+x3)−(x1
x2)〕+1〔(x1+x2+x3+x4)−(x1+x2+x3)=4x
1+3x2+2x3+1x4 と求まる。第7図に示される積算型の度数分布グラフ
(積算型度数分布表)を一旦、作成すれば、しきい値の
セットを更新した時に、四個の数の和により直ちに発生
情報量を求めることができる。
Generated information quantity for threshold T1~T4 is, 4 (x 1 -0)
+3 [(x 1 + x 2) -x 1 ] + 2 [(x 1 + x 2 + x 3) - (x 1 +
x 2)] + 1 [(x 1 + x 2 + x 3 + x 4) - (x 1 + x 2 + x 3) = 4x
Obtained a 1 + 3x 2 + 2x 3 + 1x 4. Once the cumulative frequency distribution graph (cumulative frequency distribution table) shown in FIG. 7 is created, when the set of thresholds is updated, the amount of generated information is immediately obtained by summing the four numbers. Can be.

この一実施例では、圧縮回路14が設けられ、この圧縮
回路14により、入力レベルがα倍される。このことは、
最大値MAX及び最小値MINも圧縮されることになり、ダイ
ナミックレンジDRもα倍に圧縮され、第6図において、
ダイナミックレンジDRの分布が0の方へ動くことを意味
する。従って、しきい値のセットを限界値に固定した状
態でも、αを小さくすれば、発生情報量をより少ないも
のに制御することができる。
In this embodiment, a compression circuit 14 is provided, and the compression circuit 14 multiplies the input level by α. This means
The maximum value MAX and the minimum value MIN are also compressed, and the dynamic range DR is also compressed by α times. In FIG.
This means that the distribution of the dynamic range DR moves toward zero. Therefore, even if the set of thresholds is fixed at the limit value, the amount of generated information can be controlled to be smaller by reducing α.

各しきい値の限界値は、各しきい値を徐々に小さくし
た時に、復元画像の劣化が認知される直前の値であり、
かかる限界値は、シュミレーション等により予め設定す
ることができる。しかし、圧縮係数αの値は、入力デー
タにより異なっているので、バッファリング回路9にお
いて、決定される。即ち、限界しきい値まで、しきい値
を小さくしても、発生情報量が目標値以下にならない時
に、最適な圧縮係数αを求めるために、しきい値のセッ
トT1〜T4が同時に(1/α)倍とされて、発生情報量が求
められる。
The limit value of each threshold is a value immediately before deterioration of a restored image is recognized when each threshold is gradually reduced,
Such a limit value can be set in advance by simulation or the like. However, since the value of the compression coefficient α differs depending on the input data, it is determined in the buffering circuit 9. In other words, when the amount of generated information does not fall below the target value even if the threshold value is reduced to the limit threshold value, the threshold value sets T1 to T4 are simultaneously set to (1 / α) times and the amount of generated information is obtained.

c.バッファリング回路 第4図は、バッファリング回路9の一例を示す。第4
図において、41は、しきい値テーブルが格納されたROM
を示す。ROM41には、アドレスカウンタ42からアドレス
コードPiが供給される。アドレスカウンタ42には、端子
11から2フレーム毎にリセット信号が供給される。アド
レスカウンタ42から発生したアドレスコードPiが出力端
子13に取り出され、符号化回路20及び符号化回路21に供
給される。
c. Buffering Circuit FIG. 4 shows an example of the buffering circuit 9. 4th
In the figure, 41 is a ROM storing a threshold value table
Is shown. The address code Pi is supplied to the ROM 41 from the address counter 42. The address counter 42 has a terminal
A reset signal is supplied every 11 to 2 frames. The address code Pi generated from the address counter 42 is taken out to the output terminal 13 and supplied to the encoding circuit 20 and the encoding circuit 21.

ROM41に格納されているしきい値テーブルの一例を第
8図に示す。ROM41は、アドレスコードとして(P0〜P3
1)を有し、例えば(P15)の時のしきい値(T4=l0,T3
=l1,T2=l2,T1=l3)が限界値とされている。この限界
値まで、圧縮係数は、(α=1)である。アドレスコー
ドPiが(P16,P17,・・・P31)とインクリメントするに
従って、圧縮係数αが(α16,α17・・・α31)と変化
させられる。但し、(1>α16>α17>・・・>α31)
の関係があり、全ブロックのダイナミックレンジDRが25
5とした時も、目標値を発生情報量が超えないようにす
るαが求められ、このαが最小の圧縮係数α31として設
定されている。このしきい値T1〜T4の変化の仕方や大き
さは、画質を見ながら設定される。最初のアドレスコー
ドP0のしきい値は、非常に小さい値とされている。ま
た、発生情報量を算出する場合に、アドレスコードをP3
1に向かって順次変化させた時に、発生情報量が単調減
少するようにされている。
FIG. 8 shows an example of the threshold value table stored in the ROM 41. The ROM 41 stores (P0 to P3
1), for example, the threshold value (T4 = 10, T3) at the time of (P15)
= L1, T2 = l2, T1 = l3) are the limit values. Up to this limit, the compression factor is (α = 1). As the address code Pi increments to (P16, P17,..., P31), the compression coefficient α is changed to (α16, α17,. However, (1>α16>α17>...> α31)
And the dynamic range DR of all blocks is 25
Even when the value is set to 5, α is determined so that the generated information amount does not exceed the target value, and this α is set as the minimum compression coefficient α31. The manner and magnitude of the change of the thresholds T1 to T4 are set while observing the image quality. The threshold value of the first address code P0 is a very small value. When calculating the amount of generated information, the address code is set to P3
When sequentially changing toward 1, the amount of generated information monotonically decreases.

これと共に、しきい値のセットが(Pi=P16)の時
に、(l0/α16,l1/α16,l2/α16,l3/α16)とされるよ
うに、(Pi≧P16)の範囲では、しきい値が(1/α)倍
されている。
At the same time, when the set of thresholds is (Pi = P16), the range is (Pi ≧ P16) so that (l0 / α16, l1 / α16, l2 / α16, 13 / α16). The threshold is multiplied by (1 / α).

ROM41から発生したしきい値テーブルが情報量演雑回
路43に供給される。情報量演算回路43には、端子10から
積算型の度数分布表が供給されている。前述のようにし
て、ROM41からのしきい値テーブルと対応する発生情報
量が情報量演算回路43により求められる。発生情報量が
比較回路44に供給される。比較回路44には、端子12から
目標値が供給されている。比較回路44の出力信号がアド
レスカウンタ42にクロックとして供給され、発生情報量
が目標値より大きい時に発生する比較回路44の出力信号
により、アドレスカウンタ42がインクリメントされる。
発生情報量が目標値以下になる時には、インクリメント
が停止される。
The threshold table generated from the ROM 41 is supplied to the information amount circuit 43. The information amount calculation circuit 43 is supplied from the terminal 10 with an integrated frequency distribution table. As described above, the amount of generated information corresponding to the threshold value table from the ROM 41 is obtained by the information amount calculation circuit 43. The generated information amount is supplied to the comparison circuit 44. The target value is supplied from the terminal 12 to the comparison circuit 44. The output signal of the comparison circuit 44 is supplied as a clock to the address counter 42, and the address counter 42 is incremented by the output signal of the comparison circuit 44 generated when the amount of generated information is larger than the target value.
When the amount of generated information falls below the target value, the increment is stopped.

上述のバッファリング回路9の情報量演算回路43で
は、積算型の度数分布表を用いて、しきい値テーブルの
しきい値のセットに対する発生情報量、即ち、選択され
たしきい値のセットを適用してADRC符号化を行った場合
のコード信号DTの全ビット数が算出される。この場合、
量子化歪が最小となるしきい値のセット(アドレスコー
ドP0で指定されるしきい値のセット)から発生情報量の
算出がスタートされる。
The information amount calculation circuit 43 of the buffering circuit 9 uses the integrated frequency distribution table to determine the amount of generated information for the set of thresholds in the threshold table, that is, the selected set of thresholds. The total number of bits of the code signal DT when ADRC encoding is performed by applying the above is calculated. in this case,
The calculation of the amount of generated information is started from a set of threshold values that minimize the quantization distortion (a set of threshold values specified by the address code P0).

求められた発生情報量と目標値とが比較回路44で比較
される。目標値は、送信データの伝送レートの最大値で
あり、例えば(2ビット/1画素)である。しきい値のセ
ットが限界値(l0〜l3)迄では、発生情報量が目標値以
下の場合に当該しきい値のセットを用いてADRCの量子化
がされる。このため、発生情報量が目標値以下になる時
のアドレスコードPiが符号化回路20に供給される。圧縮
係数は、(α=1)である。若し、発生情報量が目標値
を超える場合には、アドレスカウンタ42がインクリメン
トされ、しきい値のセットの更新がされ、次に、発生情
報量を少なくできる新たなしきい値のセットに関して、
上述と同様の処理が繰り返される。
The calculated amount of generated information and the target value are compared by the comparison circuit 44. The target value is the maximum value of the transmission rate of the transmission data, and is, for example, (2 bits / pixel). When the set of thresholds reaches the limit value (10 to 13), when the amount of generated information is equal to or less than the target value, quantization of ADRC is performed using the set of thresholds. Therefore, the address code Pi when the amount of generated information becomes equal to or less than the target value is supplied to the encoding circuit 20. The compression coefficient is (α = 1). If the amount of generated information exceeds the target value, the address counter 42 is incremented, the set of thresholds is updated, and then, for a new set of thresholds that can reduce the amount of generated information,
The same processing as described above is repeated.

しきい値のセットが限界値を超える場合(即ち、アド
レスコードPiがP16以上の場合)には、限界値が圧縮係
数αで除算されたしきい値セットに関して、発生情報量
の算出及び目標値との比較がなされる。発生情報量が目
標値以下となると、その時のアドレスコードPiが圧縮回
路14及び符号化回路20に供給される。従って、入力デー
タのレベルが圧縮係数αにより、圧縮される。一方、符
号化回路20では、アドレスコードがP15以上の時に、第
9図に示すように、限界値に固定されたしきい値を用い
て符号化がなされる。この第9図は、符号化回路20に設
けられているしきい値テーブルの一例である。しきい値
を限界値に固定して符号化を行っても、入力レベルが圧
縮されているので、発生情報量が目標値以下に制御され
る。
If the set of thresholds exceeds the limit value (that is, if the address code Pi is equal to or greater than P16), calculation of the amount of generated information and the target value And a comparison is made. When the amount of generated information falls below the target value, the address code Pi at that time is supplied to the compression circuit 14 and the encoding circuit 20. Therefore, the level of the input data is compressed by the compression coefficient α. On the other hand, in the encoding circuit 20, when the address code is equal to or larger than P15, as shown in FIG. 9, encoding is performed using a threshold value fixed to a limit value. FIG. 9 is an example of a threshold value table provided in the encoding circuit 20. Even when coding is performed with the threshold value fixed at the limit value, the amount of generated information is controlled to be equal to or less than the target value because the input level is compressed.

なお、コード信号DT以外にダイナミックレンジDR、最
小値MIN、アドレスコードPi及び誤り訂正コードの冗長
コードが伝送されるが、これらのデータは、固定長であ
るため、伝送データのレートを検査する際に、目標値に
オフセットを持たせることで無視することができる。
In addition to the code signal DT, a dynamic range DR, a minimum value MIN, an address code Pi, and a redundant code of an error correction code are transmitted, but since these data have a fixed length, when the rate of the transmission data is inspected. In addition, by giving the target value an offset, it can be ignored.

d.変形例 この発明は、3次元ブロックのADRCに対しても適用で
きる。3次元ブロックが例えば2フレームに夫々属する
2個の2次元領域で構成される場合、1ブロック内の画
素数が2倍となる。また、3次元ブロックのADRCでは、
圧縮率を高くする目的で、2個の2次元領域の間で動き
の有無を判定し、動きが有る時には、2個の2次元領域
の画素データ即ち、ブロック内の全画素データの符号化
を行い、動きが無い時には、1個の2次元領域の画素デ
ータを符号化する処理がなされる。従って、発生情報量
が静止部と動画部とで(1:2)となる。
d. Modifications The present invention can be applied to ADRC of a three-dimensional block. When the three-dimensional block is composed of, for example, two two-dimensional regions respectively belonging to two frames, the number of pixels in one block is doubled. In addition, in ADRC of three-dimensional block,
For the purpose of increasing the compression ratio, it is determined whether or not there is motion between the two two-dimensional regions, and when there is a motion, the pixel data of the two two-dimensional regions, that is, encoding of all the pixel data in the block is performed. When there is no motion, a process of encoding pixel data of one two-dimensional area is performed. Therefore, the amount of generated information is (1: 2) between the stationary part and the moving image part.

また、この発明は、上述の3次元ブロックのバッファ
リングにおいて、ブロック毎の最大フレーム差情報も加
味する場合にも適用でき、圧縮率を高くするためにサブ
サンプリングを行ってからADRCを行う場合にも適用でき
る。
In addition, the present invention can be applied to the case where the maximum frame difference information for each block is also taken into account in the above-described buffering of a three-dimensional block, and when ADRC is performed after performing sub-sampling to increase the compression ratio. Can also be applied.

更に、この発明は、高能率符号化方法と併用したバッ
ファリングに限らず、伝送データ量を一定に抑える目的
に広く使用できる。
Further, the present invention is not limited to buffering used in combination with a high-efficiency encoding method, and can be widely used for the purpose of keeping the amount of transmission data constant.

〔発明の効果〕〔The invention's effect〕

この発明では、発生情報量が多くなる時に、入力デー
タのレベルを圧縮してから符号化等の処理を行うので、
しきい値が限界値に固定された状態で発生情報量を目標
値以下に抑えることができる。従って、しきい値が限界
値より大きくなることがなく、復元画質でブロック歪み
等の劣化が目につくことを防止することができる。
According to the present invention, when the amount of generated information is large, processing such as encoding is performed after compressing the level of input data.
With the threshold value fixed at the limit value, the amount of generated information can be suppressed to a target value or less. Therefore, the threshold value does not become larger than the limit value, and it is possible to prevent the deterioration of the restored image quality such as block distortion from being noticeable.

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

第1図はこの発明の一実施例の送信側の構成を示すブロ
ック図、第2図はブロックの説明のための略線図、第3
図は受信側のブロック図、第4図はバッファリング回路
の一例のブロック図、第5図は可変長量子化の説明のた
めの略線図、第6図及び第7図は度数分布表の説明のた
めのブロック図、第8図はバッファリングに使用される
しきい値テーブルの一例の略線図、第9図は符号化に使
用されるしきい値テーブルの一例の略線図である。 図面における主要な符号の説明 1:アナログビデオ信号の入力端子、 3:ブロック化回路、 4,15:最大値検出回路、 5,16:最小値検出回路、 7,18,19:減算回路、20:符号化回路、 9:バッファリング回路、 41:しきい値テーブルが格納されたROM、 42:アドレスカウンタ、 43:情報量演算回路、44:比較回路。
FIG. 1 is a block diagram showing a configuration of a transmitting side according to an embodiment of the present invention, FIG. 2 is a schematic diagram for explaining blocks, and FIG.
FIG. 4 is a block diagram of a receiving side, FIG. 4 is a block diagram of an example of a buffering circuit, FIG. 5 is a schematic diagram for explaining variable-length quantization, and FIGS. 6 and 7 are frequency distribution tables. FIG. 8 is a block diagram for explanation, FIG. 8 is a schematic diagram of an example of a threshold table used for buffering, and FIG. 9 is a schematic diagram of an example of a threshold table used for encoding. . Explanation of main symbols in the drawing 1: input terminal of analog video signal, 3: blocking circuit, 4,15: maximum value detection circuit, 5,16: minimum value detection circuit, 7, 18, 19: subtraction circuit, 20 : Encoding circuit, 9: buffering circuit, 41: ROM storing a threshold table, 42: address counter, 43: information amount calculation circuit, 44: comparison circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】デジタル画像信号の同一フィールド又は時
間的に連続する複数フィールドに属する領域からなるブ
ロックを構成し、上記ブロック内の複数の画素データ毎
に可変長符号化を行い、符号化により発生する情報量を
制御する情報量制御回路において、 データの各値の所定周期内の発生度数を集計する度数集
計手段と、 複数のしきい値からなるしきい値のセットの複数個を有
し、上記データの各値に対して上記しきい値のセットを
設定するしきい値設定手段と、 上記設定されたしきい値のセットと上記度数集計手段の
出力に基づいて発生情報量を演算する演算手段と、 上記演算手段の出力と目標値を比較し、比較出力に応じ
て、上記しきい値のセットを順次変化させた時の上記所
定の期間における上記発生情報量が目標値を超えない範
囲における量子化歪みが最小の上記しきい値のセットを
決定するように、上記しきい値設定手段を制御する制御
手段と、 上記ブロック内の複数のデータを上記決定されたしきい
値のセットに基づく量子化ビット数によって量子化する
量子化手段と、 上記しきい値のセットの中で、上記発生情報量を最小と
するものを限界しきい値として与える限界しきい値設定
手段とを備え、 上記制御手段によってしきい値のセットを上記限界しき
い値に規定しても、発生情報量が上記目標値を超える場
合には、上記量子化手段に上記限界しきい値を与えると
共に、上記量子化手段に対して入力される信号レベルを
圧縮するようにしたことを特徴とする情報量制御回路。
1. A block comprising an area belonging to the same field or a plurality of temporally continuous fields of a digital image signal, wherein variable-length coding is performed for each of a plurality of pixel data in the block and generated by coding. An information amount control circuit for controlling the amount of information to be provided, comprising: frequency counting means for counting the number of occurrences of each value of data within a predetermined period; and a plurality of threshold value sets each including a plurality of threshold values, Threshold value setting means for setting the threshold value set for each value of the data; and calculation for calculating the amount of generated information based on the set threshold value set and the output of the frequency counting means. Means, comparing the output of the arithmetic means with a target value, and in accordance with the comparison output, the amount of generated information during the predetermined period when the set of thresholds is sequentially changed does not exceed the target value Control means for controlling the threshold value setting means so as to determine the set of the threshold values having the minimum quantization distortion in the range; and a set of the determined threshold values for a plurality of data in the block. And a limit threshold value setting means for setting, as a limit threshold value, a value that minimizes the amount of generated information in the set of threshold values. Even when the threshold value is set to the limit threshold value by the control means, when the amount of generated information exceeds the target value, the limit value is given to the quantization means, An information amount control circuit wherein a signal level input to a quantization means is compressed.
JP3160888A 1988-02-13 1988-02-13 Information amount control circuit Expired - Lifetime JP2730035B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3160888A JP2730035B2 (en) 1988-02-13 1988-02-13 Information amount control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3160888A JP2730035B2 (en) 1988-02-13 1988-02-13 Information amount control circuit

Publications (2)

Publication Number Publication Date
JPH01205765A JPH01205765A (en) 1989-08-18
JP2730035B2 true JP2730035B2 (en) 1998-03-25

Family

ID=12335917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3160888A Expired - Lifetime JP2730035B2 (en) 1988-02-13 1988-02-13 Information amount control circuit

Country Status (1)

Country Link
JP (1) JP2730035B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60106228A (en) * 1983-11-15 1985-06-11 Nec Corp System and circuit for nonlinear quantization and encoding
JP2543345B2 (en) * 1986-07-07 1996-10-16 株式会社リコー Speech coding system

Also Published As

Publication number Publication date
JPH01205765A (en) 1989-08-18

Similar Documents

Publication Publication Date Title
CA2011034C (en) A highly efficient coding apparatus
JP2728619B2 (en) Method and apparatus for suppressing blocking artifacts in encoding / decoding apparatus
KR100756596B1 (en) Video data encoder and video data encoding method
JPH0353780A (en) High efficiency coding device
JP2000125297A (en) Method for coding and decoding consecutive image
JPH0797753B2 (en) Encoding output data amount control method
JPH0821866B2 (en) Information control circuit
JP2950065B2 (en) Variable transfer rate coding device
JP2730035B2 (en) Information amount control circuit
JP2840678B2 (en) High efficiency coding device
JP2864501B2 (en) Information amount control circuit and control method
JP2789585B2 (en) High efficiency coding device
JP2864500B2 (en) Information amount control circuit
JP2864502B2 (en) Information amount control circuit
JP2668896B2 (en) Information control circuit
JP2712343B2 (en) Image signal motion detection device
JP2508483B2 (en) Digital image signal buffering device
JP2827225B2 (en) Information amount control device for image signal
JP2827224B2 (en) High efficiency coding device
JP3149662B2 (en) Video encoding device, video decoding device, and optical disk
JPH0239724A (en) Information quantity control circuit
JP2830112B2 (en) High efficiency coding device
KR0166728B1 (en) The image signal encoding apparatus for edge characteristics and the quantization level decision method
JP2861175B2 (en) High efficiency coding apparatus and coding method
JP2990768B2 (en) High-efficiency encoder for digital image signals.

Legal Events

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

Free format text: PAYMENT UNTIL: 20071219

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 11