JPH0239725A - Information quantity control circuit - Google Patents

Information quantity control circuit

Info

Publication number
JPH0239725A
JPH0239725A JP63191542A JP19154288A JPH0239725A JP H0239725 A JPH0239725 A JP H0239725A JP 63191542 A JP63191542 A JP 63191542A JP 19154288 A JP19154288 A JP 19154288A JP H0239725 A JPH0239725 A JP H0239725A
Authority
JP
Japan
Prior art keywords
circuit
data
threshold
amount
bits
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP63191542A
Other languages
Japanese (ja)
Other versions
JP2864501B2 (en
Inventor
Tetsujiro Kondo
哲二郎 近藤
Kenji Takahashi
健治 高橋
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 JP19154288A priority Critical patent/JP2864501B2/en
Publication of JPH0239725A publication Critical patent/JPH0239725A/en
Application granted granted Critical
Publication of JP2864501B2 publication Critical patent/JP2864501B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To suppress a prepared information quantity by compressing a signal level besides the threshold of the assignment of respective bits. CONSTITUTION:By a blocking circuit 3, an input digital video signal is converted to a continuous signal for a two-dimensional block which is the unit of the encoding, supplied to a maximum value detecting circuit 4, a minimum value detecting circuit 5 and a delaying circuit 6 and a dynamic range DR is obtained from a subtracting circuit 7. At a threshold determining circuit 9, a compression coefficient alpha and thresholds T1, T2, T3 and T4 are obtained so that the rate of the transmission data can be constant. Since a video signal has a two-dimensional correlation and a three-dimensional correlation, the data are quantized by the number of the bits of a 0 bit, 1 bit, 2 bits, 3 bits or 4 bits smaller than 8 bits, and even then, the quantization distortion is not eminent.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、例えば可変長符号化がされたディジタルビ
デオ信号を磁気テープに記録する場合に、記録されるデ
ータの伝送レートを伝送路と対応した所定の値に制御す
るのに適用される情報量制御回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is directed to, for example, when recording a variable-length encoded digital video signal onto a magnetic tape, the transmission rate of recorded data is made to correspond to the transmission path. The present invention relates to an information amount control circuit applied to control the amount of information to a predetermined value.

〔発明の概要〕[Summary of the invention]

この発明は、データに対する複数のしきい値を設定し、
データの各個が属するしきい値の範囲に応じてそのデー
タに関連する信号を処理する処理回路を有するものであ
って、しきい値及びデータを圧縮するための係数αから
なる制御データを設定することにより、伝送データ量を
目標値以下にするものである。
The invention sets multiple thresholds for data,
It has a processing circuit that processes signals related to each piece of data according to the threshold range to which the data belongs, and sets control data consisting of the threshold value and a coefficient α for compressing the data. By doing so, the amount of transmitted data is kept below the target value.

制御データを最適な値に設定するために、複数の制御デ
ータからなるしきい値テーブルが例えばROMに格納さ
れている。このしきい値テーブルから順次制御データを
発生させ、各制御データに基づくデータ量が演算される
。この場合、データの各個の所定周期内の発生度数が集
計され、集計結果と制御データとに基づいて所定周期内
のデータ量の演算がなされ、この演算されたデータ量と
目標値とが比較される。この比較出力に応じてデータに
関連する信号に対する制御データ(即ち、複数のしきい
値及び係数α(α≦1))が決定される。
In order to set the control data to an optimal value, a threshold table consisting of a plurality of control data is stored, for example, in a ROM. Control data is sequentially generated from this threshold table, and the amount of data is calculated based on each control data. In this case, the frequency of occurrence of each piece of data within a predetermined period is aggregated, the amount of data within the predetermined period is calculated based on the aggregation result and the control data, and the calculated data amount is compared with a target value. Ru. Control data (ie, a plurality of threshold values and a coefficient α (α≦1)) for a signal related to the data is determined according to this comparison output.

つまり、しきい値発生回路からのしきい値が(1/α)
倍され、この(1/α)倍された複数のしきい値と上記
集計結果とに基づいてデータ量が演算され、この演算出
力と目標値とが比較され、この比較出力に応じてしきい
値発生回路が制御されて制御データが決定され、この決
定された制御データに基づいて圧縮されたデータに関連
する信号が処理されるもので、伝送しようとするデータ
量が多い場合に、画質の劣化を生じさせずに、データ量
の圧縮が図れる。
In other words, the threshold value from the threshold generation circuit is (1/α)
The amount of data is calculated based on the multiple thresholds multiplied by (1/α) and the above-mentioned aggregation results, this calculation output is compared with the target value, and the threshold is set according to this comparison output. A value generation circuit is controlled to determine control data, and signals related to compressed data are processed based on the determined control data.When the amount of data to be transmitted is large, the image quality is The amount of data can be compressed without causing deterioration.

〔従来の技術〕[Conventional technology]

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

上述のダイナミックレンジに適応した高能率符号(AD
RCと称する)は、伝送すべきデータ量を大幅に圧縮で
きるので、ディジタルVTRに適用して好適である。特
に、可変長ADRCは、圧縮率を高(することができる
。しかし、可変長ADRCは、伝送データの量が画像の
内容によって変動するため、所定量のデータを1トラツ
クとして記録するディジタルVTRのような固定レート
の伝送路を使用する時には、記録情報量を制御するバッ
ファリングの処理が必要である。
High-efficiency code (AD) adapted to the above-mentioned dynamic range
RC) is suitable for application to digital VTRs because it can significantly compress the amount of data to be transmitted. In particular, variable-length ADRC can achieve a high compression rate.However, variable-length ADRC is not suitable for digital VTRs that record a predetermined amount of data as one track, since the amount of transmitted data varies depending on the content of the image. When using such a fixed rate transmission path, buffering processing is required to control the amount of recorded information.

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

従来のバッファリングは、帰還量に対する感度を上げ過
ぎると、目標値付近で発振し、逆に感度を下げ過ぎると
、収束に時間がかかる問題が生じる。収束に時間がかか
る時には、バッファメモリの容量を増やす必要がある。
In conventional buffering, if the sensitivity to the amount of feedback is increased too much, it will oscillate around the target value, and if the sensitivity is decreased too much, convergence will take a long time. When convergence takes time, it is necessary to increase the buffer memory capacity.

このように、従来のバッファリング処理は、実用に当た
っては、相当のノウハウが必要な欠点があった。
As described above, the conventional buffering process has the drawback that it requires a considerable amount of know-how in practical use.

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

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

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

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

発生情報量が目標値以下となるように、しきい値を動か
す場合、動かし方が経験的で難しく、しきい値をあまり
大きくすると、ブロック歪みのような復元画像の劣化が
見える問題があった。即ち、割り当てビット数毎に劣化
が認知されるしきい値の限界が存在していて、例えば0
ビット割り当てのしきい値が成るレベル以上となると、
ブロック歪みが見えて来る。発生情報量を抑えるあまり
、しきい値を大きくすると、ブロック歪み等の劣化が認
知されることになる。
When changing the threshold so that the amount of generated information is below the target value, it is difficult to do so based on experience, and if the threshold is set too large, there is a problem in which deterioration of the restored image such as block distortion becomes visible. . In other words, there is a threshold limit at which deterioration is recognized for each number of allocated bits, for example 0.
When the bit allocation threshold reaches or exceeds the level where
Block distortion becomes visible. If the threshold value is made too large in order to suppress the amount of generated information, deterioration such as block distortion will become noticeable.

従って、この発明の目的は、各ビット割り当てのしきい
値の他に、信号レベルを圧縮することにより、発生情報
量を目標値以下に抑えることができる情報量制御回路を
提供することにある。
Therefore, an object of the present invention is to provide an information amount control circuit that can suppress the amount of generated information to a target value or less by compressing the signal level in addition to the threshold value of each bit allocation.

また、この発明の他の目的は、しきい値と圧縮係数との
組合せである制御データを予め用意し、簡単な制御と高
速な処理により、発生情報量を目標値以下に抑えること
ができる情報量制御回路を提供することにある。
Another object of the present invention is to prepare control data, which is a combination of a threshold value and a compression coefficient, in advance, and use simple control and high-speed processing to suppress the amount of generated information to below a target value. The object of the present invention is to provide a quantity control circuit.

〔課題を解決するための手段〕[Means to solve the problem]

この発明では、データの各便の所定周期内の発生度数を
集計する度数集計回路と、 データに関連した信号に対し、係数α(α≦1)を乗算
する圧縮回路と、 データの各便に対する複数のしきい値と係数αとからな
る制御データを発生するしきい値発生回路と、 しきい値発生回路からの複数のしきい値を(1/α)倍
したしきい値と度数集計手段の出力に基づいてデータ量
を演算する演算回路と、演算回路の出力と目標値を比較
し、データ量が目標値を超えないように、しきい値発生
回路からの制御データを設定する設定回路と、 圧縮回路からのデータに関連した信号を設定回路からの
制御データに基づいて処理する処理回路と が備えられている。
In this invention, a frequency aggregation circuit that aggregates the frequency of occurrence of each flight of data within a predetermined period, a compression circuit that multiplies a signal related to the data by a coefficient α (α≦1), and a A threshold generation circuit that generates control data consisting of a plurality of threshold values and a coefficient α, and a threshold value and frequency aggregation means that multiply the plurality of threshold values from the threshold generation circuit by (1/α). an arithmetic circuit that calculates the amount of data based on the output of the arithmetic circuit, and a setting circuit that compares the output of the arithmetic circuit with a target value and sets control data from the threshold generation circuit so that the amount of data does not exceed the target value. and a processing circuit that processes signals related to data from the compression circuit based on control data from the configuration circuit.

〔作用〕[Effect]

データ例えばダイナミックレンジの複数のしきい値によ
って分けられた範囲毎に度数の総和が求められ、この度
数の総和に重み(ビット数)が乗じられることにより、
各範囲の発生情報量が算出され、この複数の範囲の発生
情報量が加算されて全発生情報量が算出される。従って
、しきい値を変える毎に一連の演算が必要とされる。し
かし、発生度数の積算表が形成されていれば、しきい値
を変えた場合でも、しきい値と対応する度数が直ぐに分
かり、夫々の度数にビット数を乗じることにより、ただ
ちに発生情報量を知ることができる。
For example, the sum of frequencies is calculated for each range divided by multiple thresholds of the dynamic range, and this sum of frequencies is multiplied by a weight (number of bits).
The generated information amount for each range is calculated, and the generated information amounts for the plurality of ranges are added to calculate the total generated information amount. Therefore, a series of calculations is required each time the threshold value is changed. However, if an integration table of the frequency of occurrence is created, even if the threshold value is changed, the frequency corresponding to the threshold value can be immediately known, and by multiplying each frequency by the number of bits, the amount of information on the occurrence can be immediately calculated. You can know.

従って、バッファリング処理の収束時間を短縮化でき、
また、ハードウェアを簡単と出来る。
Therefore, the convergence time of buffering processing can be shortened,
Also, the hardware can be simplified.

この発明では、しきい値に基づく発生情報量の制御と共
に信号レベルを圧縮することにより、発生情報量の制御
がなされる。圧縮係数αとしきい値とが組合わされた制
御データがしきい値発生回路例えばROMに格納されて
いる。ROMから読み出された制御データを使用して発
生情報量が演算され、発生情報量と目標値とが比較され
る。この比較出力に基づいて、最適な制御データが求め
られる。つまり、制御データの内のしきい値が(1/α
)倍され、この(1/α)倍されたしきい値と度数分布
表とを使用して発生情報量が演算され、発生情報量と目
標値とが比較され、比較出力に応じて制御データの設定
がなされる。最適な制御データは、発生情報量を目標値
以下とすることができる範囲内で、最も復元画像の劣化
が少ない値である。この制御データは、所定周期毎に決
定される。
In this invention, the amount of generated information is controlled by controlling the amount of generated information based on a threshold value and compressing the signal level. Control data in which the compression coefficient α and the threshold value are combined is stored in a threshold generation circuit, such as a ROM. The amount of generated information is calculated using the control data read from the ROM, and the amount of generated information is compared with a target value. Based on this comparison output, optimal control data is determined. In other words, the threshold value in the control data is (1/α
) is multiplied by (1/α), the amount of generated information is calculated using the threshold value multiplied by (1/α) and the frequency distribution table, the amount of generated information is compared with the target value, and the control data is calculated according to the comparison output. settings are made. The optimal control data is a value that causes the least deterioration of the restored image within a range that allows the amount of generated information to be less than or equal to the target value. This control data is determined every predetermined period.

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

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

a、送信側及び受信側の構成 第1図において、1で示す入力端子にアナログビデオ信
号が供給され、このビデオ信号がA/D変換器2に供給
され、A/D変換器2から例えば1サンプルが8ビツト
に量子化されたディジタルビデオ信号が得られる。ディ
ジタルビデオ信号がブロック化回路3に供給される。
a. Configuration of transmitting side and receiving side In FIG. 1, an analog video signal is supplied to the input terminal indicated by 1, this video signal is supplied to the A/D converter 2, and from the A/D converter 2, for example, 1 is supplied. A digital video signal is obtained in which the samples are quantized to 8 bits. A digital video signal is supplied to a blocking circuit 3.

ブロック化回路3により、入力ディジタルビデオ信号が
符号化の単位である2次元ブロック毎に連続する信号に
変換される。ブロック化回路3では、例えば(488ラ
イン×720画素)の1フレームの画面が多数のブロッ
クに細分化される。■ブロックは、例えば第2図に示す
ように、(4ライン×4画素)の大きさとされている。
The blocking circuit 3 converts the input digital video signal into continuous signals for each two-dimensional block, which is a unit of encoding. The blocking circuit 3 subdivides one frame of screen, for example (488 lines x 720 pixels), into a large number of blocks. (2) A block has a size of (4 lines x 4 pixels), for example, as shown in FIG.

ブロック化回路3からは、ブロックの順序に変換された
ディジタルビデオ信号が発生する。
A blocking circuit 3 generates a digital video signal converted into a block order.

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

遅延回路6からのビデオデータが圧縮回路14に供給さ
れる。この圧縮回路14には、後述するしきい値決定回
路9から圧縮係数αが供給され、圧縮係数α(≦1)が
乗じられた出力信号が圧縮回路14から得られる。圧縮
回路14は、例えば人力データ及び圧縮係数αがアドレ
スとして供給されるROMにより構成されている。
Video data from delay circuit 6 is supplied to compression circuit 14 . This compression circuit 14 is supplied with a compression coefficient α from a threshold determination circuit 9, which will be described later, and an output signal multiplied by the compression coefficient α (≦1) is obtained from the compression circuit 14. The compression circuit 14 is constituted by, for example, a ROM to which human data and compression coefficient α are supplied as addresses.

しきい値決定回路9からの圧縮係数αがオフセット値発
生回路16に供給される。このオフセット値発生回路1
6からは、圧縮係数αに応じたオフセット値が発生する
。このオフセット値発生回路16は、圧縮係数αがアド
レスとして供給されるROMにより構成される。
The compression coefficient α from the threshold value determination circuit 9 is supplied to the offset value generation circuit 16. This offset value generation circuit 1
From 6 onwards, an offset value corresponding to the compression coefficient α is generated. This offset value generation circuit 16 is constituted by a ROM to which the compression coefficient α is supplied as an address.

圧縮回路14の出力信号とオフセット値発生回路16の
出力信号とが加算回路15に供給され、加算回路15か
らオフセット値が付加されたデータが発生する。オフセ
ット値の付加は、圧縮回路14の出力側に限らず、後述
の最小値検出回路18の出力側で行うことが可能である
The output signal of the compression circuit 14 and the output signal of the offset value generation circuit 16 are supplied to the addition circuit 15, and the addition circuit 15 generates data to which an offset value has been added. The offset value can be added not only to the output side of the compression circuit 14 but also to the output side of the minimum value detection circuit 18, which will be described later.

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

遅延回路19の出力信号から最小値MINが減算回路2
1において減算され、減算回路21からは、最小値除去
後のデータPDIが得られる。最小値除去後のデータP
CIが符号化回路22に供給される。また、符号化回路
22には、しきい値決定回路9からのしきい値セットT
i(T1〜′「4を意味する)及び減算回路20からの
ダイナミックレンジDRが供給されている。
The minimum value MIN is subtracted from the output signal of the delay circuit 19 by the circuit 2.
1, and the subtraction circuit 21 obtains data PDI after the minimum value has been removed. Data P after minimum value removal
CI is supplied to the encoding circuit 22. The encoding circuit 22 also receives a threshold set T from the threshold determining circuit 9.
i (T1~' means 4) and the dynamic range DR from the subtraction circuit 20 are supplied.

符号化回路22は、データPD[を量子化する可変長の
ADRC符号化を行う。即ち、符号化回路22では、ブ
ロック内の画素データが共有する最小値MINが除去さ
れた画素データPDIが量子化幅Δiで除算した時の値
に対応するコード信号DTが形成される。
The encoding circuit 22 performs variable length ADRC encoding to quantize the data PD[. That is, the encoding circuit 22 generates a code signal DT corresponding to the value obtained by dividing the pixel data PDI from which the minimum value MIN shared by the pixel data in the block is removed by the quantization width Δi.

ビデオ信号は、2次元的相関及び3次元的相関を有して
いるので、ブロック内のダイナミックレンジDRは、元
のデータの値に比して小さ(なり、8ビツトより少ない
Oビット 1ビツト、2ビツト 3ビツト又は4ビツト
のビット数でデータを量子化しても、量子化歪が目立た
ない。符号化回路22は、画素データPDI、ダイナミ
ックレンジDR及びしきい値セットTiからコード信号
DTを発生するROMとで構成される。
Since the video signal has two-dimensional correlation and three-dimensional correlation, the dynamic range DR within the block is small compared to the original data value (ie, less than 8 bits, 1 bit, Quantization distortion is not noticeable even when data is quantized with a bit number of 2 bits, 3 bits, or 4 bits.The encoding circuit 22 generates a code signal DT from the pixel data PDI, dynamic range DR, and threshold set Ti. It consists of a ROM and a ROM.

ディジタルVTRでは、記録されるデータの伝送レート
が一定であるため、伝送データ量を制限しないと、一部
のデータを記録できなかったり、必要以上に圧縮率を高
くして再生画像の質が劣化。
With digital VTRs, the transmission rate of recorded data is constant, so if the amount of transmitted data is not limited, some data may not be recorded, or the quality of the reproduced image will deteriorate due to unnecessarily high compression rates. .

したりする。そこで、バッファリング処理がなされ、最
適な可変長符号化がなされる。
I do things. Therefore, buffering processing is performed to perform optimal variable length encoding.

減算回路7により検出されたブロック毎のダイナミック
レンジDRが度数分布発生回路8に供給され、積算形の
度数分布表が形成される。この度数分布表がしきい値決
定回路9に端子10を通じて供給される。しきい値決定
回路9には、端子11及び12から例えば1フレ一ム周
期のリセット信号及び発生情報量の目標値が供給される
。しきい値決定回路9では、伝送データのレートが一定
となるように、圧縮係数α及びしきい値Tl、T’2、
’1’3.T4が求められる。圧縮係数αが出力端子1
3から出力され、しきい値セラ)Tiが端子25から出
力される。
The dynamic range DR for each block detected by the subtraction circuit 7 is supplied to a frequency distribution generation circuit 8, and an integrated frequency distribution table is formed. This frequency distribution table is supplied to the threshold determining circuit 9 through a terminal 10. The threshold value determination circuit 9 is supplied with a reset signal of one frame period and a target value of the amount of generated information from terminals 11 and 12, for example. The threshold value determination circuit 9 sets the compression coefficient α and the threshold values Tl, T'2,
'1'3. T4 is required. Compression coefficient α is output terminal 1
3, and the threshold value cellar) Ti is output from terminal 25.

しきい値決定回路9からのしきい値セラ1−Tjとダイ
ナミックレンジDR及び最小値MINと符号化回路22
からのコード信号DTとがフレーム化回路23に供給さ
れる。フレーム化回路23は、可変長データとしてのコ
ード信号DT及び固定長データとしての付加コードTi
、DR,MINにエラー訂正用の符号化を施したり、同
期信号の付加を行う。フレーム化回路23の出力端子2
4に送信データが得られる。1フレームのデータに関し
て1個のしきい値セットTiが伝送され、1ブロツク毎
にDR,MENのデータが伝送され、1画素毎にコード
信号DTが伝送される。
Threshold cell 1-Tj, dynamic range DR, minimum value MIN, and encoding circuit 22 from the threshold determining circuit 9
The code signal DT from is supplied to the framing circuit 23. The framing circuit 23 includes a code signal DT as variable length data and an additional code Ti as fixed length data.
, DR, and MIN are encoded for error correction and a synchronization signal is added. Output terminal 2 of framing circuit 23
4, the transmission data is obtained. One threshold set Ti is transmitted for one frame of data, DR and MEN data are transmitted for each block, and a code signal DT is transmitted for each pixel.

受信されたデータは、第3図において31で示す入力端
子に供給され、フレーム分解回路32により、しきい値
セットTi、ダイナミックレンジDR,コード信号DT
、最小値MINの夫々に分解される。フレーム分解回路
32からのしきい値セットTi1ダイナミックレンジD
R,コード信号DTが復号化回路33に供給される。
The received data is supplied to an input terminal indicated by 31 in FIG.
, minimum value MIN. Threshold set Ti1 dynamic range D from frame decomposition circuit 32
R, code signal DT is supplied to the decoding circuit 33.

復号化回路33は、ADRCエンコーダの符号化回路2
0と逆にコード信号DTを復元レベルに変換する。この
復号化回路33は、例えばROMにより構成されている
。復号化回路33からの復元レベルが加算回路34に供
給され、遅延回路35を介された最小値MINが復元レ
ベルに加算される。加算回路34からの復元データがブ
ロック分解回路36に供給される。ブロック分解回路3
6の出力端子にテレビジョン信号と同様の順序の出力デ
ータが得られる。この復元された信号がD/A変換器3
7に供給され、出力端子38に再生されたアナログビデ
オ信号が取り出される。
The decoding circuit 33 is the encoding circuit 2 of the ADRC encoder.
0, the code signal DT is converted to a restored level. This decoding circuit 33 is composed of, for example, a ROM. The restored level from the decoding circuit 33 is supplied to the adding circuit 34, and the minimum value MIN passed through the delay circuit 35 is added to the restored level. The restored data from the adder circuit 34 is supplied to the block decomposition circuit 36. Block decomposition circuit 3
Output data in the same order as the television signal is obtained at the output terminal 6. This restored signal is sent to the D/A converter 3.
7, and the analog video signal reproduced at the output terminal 38 is taken out.

b、可変長量子化とバッファリング 第5図は、符号化回路22においてなされる可変長に子
化を説明するものである。以下の説明において、Tl、
T2.T3.T’4が夫々割り当てビット数を決定する
しきい値で、ダイナミックレンジDRに対するものであ
る。これらのしきいイ直は、(T4<T3<T2<Tl
)の関係とされている。
b. Variable length quantization and buffering FIG. 5 explains variable length quantization performed in the encoding circuit 22. In the following description, Tl,
T2. T3. T'4 is a threshold value for determining the number of allocated bits, and is for the dynamic range DR. These threshold values are (T4<T3<T2<Tl
).

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

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

第5図に示される可変長符号化は、ダイナミックレンジ
が大きくなるほど、量子化幅Δiが(ΔO〈Δ1くΔ2
くΔ3くΔ4)と大きくされる非直線量子化が行われる
。非直fit子化は、量子化歪が目立ち易いダイナミッ
クレンジが小さいブロックでは、最大歪を小さくし、逆
に、ダイナミックレソンが大きいブロックでは、最大歪
を大きくするもので、圧縮率がより高くされる。
In the variable length encoding shown in FIG. 5, the larger the dynamic range, the smaller the quantization width Δi (ΔO<Δ1
Non-linear quantization is performed, which is increased as Δ3 Δ4). Non-direct fit reduces the maximum distortion for blocks with a small dynamic range where quantization distortion is easily noticeable, and conversely increases the maximum distortion for blocks with a large dynamic range, resulting in a higher compression ratio. .

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

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

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

第6図は、(0〜255)の範囲のダイナミックレンジ
DRを横軸とし、発生度数を縦軸とした度数分布の一例
である。XI、Xt、X3.X4.XSの夫々は、前述
のように、しきい値T1〜T4によって分けられたダイ
ナミックレンジDRの五個の範囲に含まれるブロック数
を表している。(T4−1)以下のダイナミックレンジ
DRを持つブロックは、0ビツトが割り当てられるので
、プロ・ンク数X、は、発生情報量に寄与しない。従っ
て、発生情報量は、 4X+ +3xt +2X、+X4 で求まる。この発生情報量が目標値と比較され、発生情
報量が目標値を超える時には、より大きいしきい値のセ
ットが適用され、同様にして発生情報量が算出される。
FIG. 6 is an example of a frequency distribution with the horizontal axis representing the dynamic range DR in the range (0 to 255) and the vertical axis representing the frequency of occurrence. XI, Xt, X3. X4. As described above, each of XS represents the number of blocks included in the five ranges of the dynamic range DR divided by the threshold values T1 to T4. Since 0 bits are assigned to blocks having a dynamic range DR of (T4-1) or less, the number of blocks X does not contribute to the amount of generated information. Therefore, the amount of generated information is determined by 4X+ +3xt +2X, +X4. This amount of generated information is compared with a target value, and when the amount of generated information exceeds the target value, a larger set of threshold values is applied and the amount of generated information is calculated in the same manner.

上式の演算を行うには、設定されたしきい値のセット毎
に各範囲で度数分布の和を求め、この和に割り当てビッ
ト数を乗じて加算する処理が必要である。しかしながら
、しきい値のセットを変更する都度、上記の処理を行う
と、最適なしきい値のセットが求まる迄に時間がかかる
問題が生じる。
To perform the above equation, it is necessary to calculate the sum of the frequency distributions in each range for each set of set threshold values, multiply this sum by the number of allocated bits, and add the sum. However, if the above process is performed every time the threshold set is changed, a problem arises in that it takes time to find the optimal threshold set.

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

第7図から理解されるように、ダイナミックレンジDR
が最大の発生度数からスタートして、より小さいダイナ
ミックレンジDRの発生度数が順次積算されて積算型の
度数分布グラフが得られる。
As understood from Fig. 7, the dynamic range DR
starts from the maximum frequency of occurrence, and the frequencies of occurrence of smaller dynamic ranges DR are successively integrated to obtain an integrated frequency distribution graph.

従って、しきい値Tl迄の積算度数がx、となり、しき
い値T2迄の積算度数が(x++xz)となり、しきい
値T3迄の積算度数が(x、+xt +X、)となり、
しきい値T4迄の積算度数が(Xl + Xz + X
s 十Xs )となる。
Therefore, the cumulative frequency up to the threshold Tl is x, the cumulative frequency up to the threshold T2 is (x++xz), and the cumulative frequency up to the threshold T3 is (x, +xt +X,),
The cumulative frequency up to threshold T4 is (Xl + Xz + X
s 1Xs ).

しきい値T1〜T4に対する発生情報量は、4 (x、
 −Q) +3 ((X、 十X2 ) −XI )+
2 ((x+ +Xz +X3 )   (XI +x
t ))+ 1 ((XI +Xt +x、 +xa 
)   (x+ +xt 十Xs ) =4 XI ”
3Xt +2X3 + I Xaと求まる。第7図に示
される積算型の度数分布グラフ(積算型度数分布表)を
−旦、作成すれば、しきい値のセットを更新した時に、
四個の数の和により直ちに発生情報量を求めることがで
きる。
The amount of generated information for the thresholds T1 to T4 is 4 (x,
-Q) +3 ((X, 10X2) -XI)+
2 ((x+ +Xz +X3) (XI +x
t )) + 1 ((XI +Xt +x, +xa
) (x+ +xt 1Xs) =4 XI”
It is found as 3Xt +2X3 + I Xa. If you first create the cumulative frequency distribution graph (cumulative frequency distribution table) shown in Figure 7, when you update the threshold set,
The amount of generated information can be immediately determined by the sum of the four numbers.

この一実施例では、圧縮回路14が設けられ、この圧縮
回路14により、入力レベルがα倍される。このことは
、第8図に示すように、最大値MAX及び最小値MIN
も圧縮されることになり、ダイナミックレンジDRもα
倍に圧縮され、第6図において、ダイナミックレンジD
Rの分布が0の方へ動(ことを意味する。従って、αを
小さくすれば、発生情報量をより少ないものに制御する
ことができる。
In this embodiment, a compression circuit 14 is provided, and the input level is multiplied by α. This means that the maximum value MAX and the minimum value MIN
will also be compressed, and the dynamic range DR will also be
In Fig. 6, the dynamic range D
This means that the distribution of R moves toward 0. Therefore, by decreasing α, the amount of generated information can be controlled to be smaller.

信号レベルの全体がα倍されるので、(α〈1)の時、
復元画像の輝度が低下することなる。
Since the entire signal level is multiplied by α, when (α<1),
The brightness of the restored image will decrease.

従って、画像の動き部分が増え、情報計が増大した時に
、急に輝度が低下する問題が生じる。
Therefore, when the moving part of the image increases and the information meter increases, the problem arises that the brightness suddenly decreases.

この実施例では、圧縮係数αに応じたオフセット値がデ
ータに付加されるので、第9図に示すように、信号のレ
ベルが全体的に上昇する。従って、復元画像の輝度の低
下が抑えられ、上述の問題の発生が防止される。また、
オフセット値は、αの値が小さいほど、従って、圧縮率
が大きいほど大きな値とされ、画像の全体の輝度が低下
する問題が効果的に抑えられる。
In this embodiment, since an offset value corresponding to the compression coefficient α is added to the data, the overall signal level increases as shown in FIG. Therefore, the reduction in brightness of the restored image is suppressed, and the above-mentioned problem is prevented from occurring. Also,
The offset value is set to a larger value as the value of α is smaller, and thus the compression ratio is larger, and the problem of lowering the overall brightness of the image can be effectively suppressed.

c、  L/きい値決定回路 第4図は、しきい値決定回路9の一例を示す。c, L/threshold value determination circuit FIG. 4 shows an example of the threshold value determination circuit 9.

第4図において、41は、しきい値セットTj及び圧縮
係数αからなる制御データ(しきい値のテーブル)が格
納されたROMを示す。ROM41には、アドレスカウ
ンタ42からアドレスコードPiが供給される。アドレ
スカウンタ42には、端子11から1フレ一ム周期のリ
セット信号が供給される。
In FIG. 4, reference numeral 41 indicates a ROM in which control data (a table of threshold values) consisting of a threshold set Tj and a compression coefficient α is stored. The ROM 41 is supplied with an address code Pi from an address counter 42 . The address counter 42 is supplied with a reset signal of one frame period from the terminal 11.

ROM41に格納されているしきい値テーブルの一例を
第10図に示す。第10図に示すように、制御データと
しては、アドレスコードP iの(O〜31)と夫々対
応する32種類のものが用意されている。しきい値テー
ブルは、発生情報量が最大のもの(Pi−0)から順に
発生情報量が減少し、(Pi=31)の時の制御データ
で発生情報量が最小となるように、構成されている。こ
のしきい値テーブルは、コンピュータを使用したシュミ
レーションで作成できる。また、圧縮係数αの変化の幅
が小さくされ、αが急激に変化することによる復元画像
の劣化が防止されている。
An example of the threshold table stored in the ROM 41 is shown in FIG. As shown in FIG. 10, 32 types of control data are prepared, each corresponding to (0 to 31) of the address code P i. The threshold table is configured such that the amount of generated information decreases in order from the one with the largest amount of generated information (Pi-0), and the amount of generated information is the smallest in the control data when (Pi=31). ing. This threshold table can be created by simulation using a computer. Furthermore, the width of change in the compression coefficient α is made small, thereby preventing deterioration of the restored image due to sudden changes in α.

ROM41のしきい値テーブルから読み出された制御デ
ータの内で、係数αが出力端子13に取り出されると共
に、しきい値セットT1が出力端子25に取り出される
。また、しきい値セットTiがこれを(1/α)倍する
演算回路43を介して情報量演算回路44に供給される
。演算回路43には、ROM41から同一の制御データ
に含まれる係数αが供給される。
Among the control data read from the threshold table in the ROM 41, the coefficient α is taken out to the output terminal 13, and the threshold set T1 is taken out to the output terminal 25. Further, the threshold set Ti is supplied to the information amount calculation circuit 44 via the calculation circuit 43 which multiplies it by (1/α). The arithmetic circuit 43 is supplied with the coefficient α included in the same control data from the ROM 41 .

情報量演算回路44には、端子■0から積算型の度数分
布表が供給されている。前述のように、演算回路43か
らの(1/α)倍された所定しきい値セットと対応する
発生情報量がこの情報量演算回路44により求められる
。入力データをα倍に圧縮したときの発生情報量は、し
きい値を(1/α)倍することで求められる。発生情報
量は、比較回路45に供給される。比較回路45には、
端子12からの目標値が供給されている。
The information amount calculation circuit 44 is supplied with an integral type frequency distribution table from the terminal (2)0. As described above, the information amount calculation circuit 44 determines the amount of generated information corresponding to the predetermined threshold set multiplied by (1/α) from the calculation circuit 43. The amount of information generated when input data is compressed by α times can be obtained by multiplying the threshold value by (1/α). The amount of generated information is supplied to a comparison circuit 45. The comparison circuit 45 includes
A target value from terminal 12 is supplied.

比較回路45の出力信号がアドレスカウンタ42にクロ
ックとして供給され、発生情報量が目標値より大きい時
に発生する比較回路45の出力信号でアドレスカウンタ
42がインクリメントされる。第10図に示すテーブル
において、発生情報量が順次減少され、発生情報量が目
標値以下になる時には、インクリメントが停止される。
The output signal of the comparison circuit 45 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 45 that is generated when the generated information amount is larger than the target value. In the table shown in FIG. 10, the amount of generated information is sequentially reduced, and when the amount of generated information becomes less than the target value, incrementing is stopped.

この時の制御データが最適なしきい値のセラt−Ti及
び圧縮係数αとして採用される。
The control data at this time is employed as the optimum threshold value t-Ti and compression coefficient α.

以上により、ROM41から発生する制御データが決定
される。制御データの中の係数αは、出力端子13から
圧縮回路14、オフセット値発生回路16に供給される
。オフセット値発生回路16からは、その係数αに応じ
たオフセット値が発生し、圧縮回路14の出力信号に加
算される。オフセット値は、レベル圧縮され、輝度が全
体的に低下することを補正する。また、制御データの中
のしきい値のセットTiが出力端子25から符号化回路
22に供給され、このしきい値セットTiを用いて符号
化回路22でADRCの符号化がされる。
As described above, the control data generated from the ROM 41 is determined. The coefficient α in the control data is supplied from the output terminal 13 to the compression circuit 14 and the offset value generation circuit 16. The offset value generation circuit 16 generates an offset value corresponding to the coefficient α, and is added to the output signal of the compression circuit 14. The offset value is level compressed to compensate for the overall reduction in brightness. Further, a threshold set Ti in the control data is supplied from the output terminal 25 to the encoding circuit 22, and ADRC encoding is performed in the encoding circuit 22 using this threshold set Ti.

以上のように、発生情報量が多い時、入力レベルが圧縮
されると共に、しきい値が大きくされるので、発生情報
量が目標値以下に制御される。ADRCの量子化は、こ
の圧縮係数αで圧縮された入力データに対して、同一の
制御データに含まれるしきい値セットを用いて行われる
。従って、単に、しきい値の制御で発生情報量を低減す
るのと比較して、復元画像でブロック歪みや、エツジビ
ジネス等の視覚的劣化が軽減される。
As described above, when the amount of generated information is large, the input level is compressed and the threshold value is increased, so that the amount of generated information is controlled to be below the target value. ADRC quantization is performed on input data compressed by this compression coefficient α using a threshold set included in the same control data. Therefore, compared to simply reducing the amount of generated information by controlling the threshold, visual deterioration such as block distortion and edge business is reduced in the restored image.

また、圧縮回路14でレベル圧縮がされるために、全体
の信号レベルが低下するが、圧縮比に応じたオフセット
値が加算されるので、復元画像では、輝度の低下が補正
される。
Furthermore, since the compression circuit 14 performs level compression, the overall signal level decreases, but since an offset value corresponding to the compression ratio is added, the decrease in brightness is corrected in the restored image.

なお、コード信号DT以外にダイナミックレンジDR,
最小値MIN、しきい値セントTi及び誤り訂正コード
の冗長コードが伝送されるが、これらのデータは、固定
長であるため、伝送データのレートを検査する際に、目
標値にオフセラI・を持たせることで無視することがで
きる。
In addition to the code signal DT, the dynamic range DR,
Minimum value MIN, threshold value cent Ti, and redundant code of error correction code are transmitted, but since these data have a fixed length, when checking the rate of transmitted data, off-seller I is added to the target value. You can ignore it by having it.

d、変形例 この発明は、3次元ブロックのADRCに対しても通用
できる。3次元ブロックが例えば2フレームに夫々属す
る2個の2次元領域で構成される場合、1ブロツク内の
画素数が2倍となる。また、3次元ブロックのADRC
では、圧縮率を高くする目的で、2個の2次元領域の間
で動きの有無を判定し、動きが有る時には、2個の2次
元領域の画素データ即ち、ブロック内の全画素データの
符号化を行い、動きが無い時には、1個の2次元領域の
画素データを符号化する処理がなされる。従って、発生
情報量が静止部と動画部とで(1:2)となる。
d. Modification This invention can also be applied to ADRC of three-dimensional blocks. For example, when a three-dimensional block is composed of two two-dimensional regions belonging to two frames, the number of pixels in one block is doubled. Also, ADRC of 3D block
In order to increase the compression rate, the presence or absence of movement is determined between two two-dimensional areas, and if there is movement, the pixel data of the two two-dimensional areas, that is, the code of all pixel data in the block, is determined. When there is no movement, the pixel data of one two-dimensional area is encoded. Therefore, the amount of generated information is (1:2) between the still part and the moving image part.

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

更に、しきい値セットTiを出力する代わりに、アドレ
スコードPiを出力するようにしても良い。
Furthermore, instead of outputting the threshold set Ti, the address code Pi may be output.

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

10図は制御データに関するテーブルの一例の路線図で
ある。
FIG. 10 is a route map of an example of a table regarding control data.

〔発明の効果〕〔Effect of the invention〕

こ、の発明では、発生情報量が多くなる時に、入力デー
タのレベルを圧縮してから符号化等の処理を行うので、
復元画質でブロック歪み等の劣化が目につくことを防止
することができる。また、この発明では、圧縮係数αと
しきい値セットTiとを同時に定めるので、制御が簡単
となり、高速の処理が可能となる。
In this invention, when the amount of generated information increases, the level of input data is compressed before processing such as encoding.
It is possible to prevent deterioration such as block distortion from becoming noticeable in restored image quality. Further, in the present invention, since the compression coefficient α and the threshold set Ti are determined at the same time, control becomes simple and high-speed processing becomes possible.

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

第1図はこの発明の一実施例の送信側の構成を示すブロ
ック図、第2図はブロックの説明のための路線図、第3
図は受信側のブロック図、第4図はしきい値決定回路の
一例のブロック図、第5図は可変長量子化の説明のため
の路線図、第6図及び第7図は度数分布表の説明のため
のブロック図、第8図はレベル圧縮の説明のための路線
図、第9図はオフセット値付加の説明のための路線図、
第図面における主要な符号の説明 1:アナログビデオ信号の入力端子、 3ニブロック化回路、 4.17:最大値検出回路、 5.18:最小値検出回路、 7.20,21:減算回路、22:符号化回路、9:し
きい値決定回路、 41:しきい値テーブルが格納されたROM。 42ニアドレスカウンタ、 43:(1/α)倍演算回路、 44:情報量演算回路、 45:比較回路。 代理人   弁理士 杉 浦 正 知 度数 T4 T2   T1 反委又分操グ°ラフ 槓廖型庄数分挿デ万 第1図 レベル/i縮 第8図 第9図 第10vli しさい4直テーフ゛ルの−1列
FIG. 1 is a block diagram showing the configuration of the transmitting side of an embodiment of the present invention, FIG. 2 is a route diagram for explaining the blocks, and FIG.
The figure is a block diagram of the receiving side, Figure 4 is a block diagram of an example of a threshold determination circuit, Figure 5 is a route diagram for explaining variable length quantization, and Figures 6 and 7 are frequency distribution tables. FIG. 8 is a route map for explaining level compression, FIG. 9 is a route map for explaining adding offset values,
Explanation of main symbols in the drawing 1: Analog video signal input terminal, 3-niblock circuit, 4.17: Maximum value detection circuit, 5.18: Minimum value detection circuit, 7.20, 21: Subtraction circuit, 22: Encoding circuit; 9: Threshold determining circuit; 41: ROM in which a threshold table is stored. 42 Near address counter, 43: (1/α) multiplication circuit, 44: Information amount calculation circuit, 45: Comparison circuit. Agent Patent Attorney Tadashi Sugiura Number of knowledge T4 T2 T1 Anti-commitment and division graph 槓廓形库显数 10,000 Figure 1 level / I reduction Figure 8 Figure 9 Figure 10 vli Small 4-direction table -1 row

Claims (1)

【特許請求の範囲】 データの各値の所定周期内の発生度数を集計する度数集
計手段と、 上記データに関連した信号に対し、係数α(α≦1)を
乗算する圧縮手段と、 上記データの各値に対する複数のしきい値と上記係数α
とからなる制御データを発生するしきい値発生手段と、 上記しきい値発生手段からの上記複数のしきい値を(1
/α)倍したしきい値と上記度数集計手段の出力に基づ
いてデータ量を演算する演算手段と、 上記演算手段の出力と目標値を比較し、上記データ量が
上記目標値を超えないように、上記しきい値発生手段か
らの制御データを設定する設定手段と、 上記圧縮手段からのデータに関連した信号を上記設定手
段からの制御データに基づいて処理する処理手段と を備えたことを特徴とする情報量制御回路。
[Scope of Claims] Frequency aggregation means for aggregating the frequency of occurrence of each value of data within a predetermined period; compression means for multiplying a signal related to the data by a coefficient α (α≦1); Multiple thresholds for each value and the above coefficient α
threshold generation means for generating control data consisting of (1) the plurality of thresholds from the threshold generation means;
/α) A calculation means that calculates the amount of data based on the multiplied threshold value and the output of the frequency aggregation means, and a calculation means that compares the output of the calculation means with a target value to ensure that the amount of data does not exceed the target value. and a processing means for processing a signal related to the data from the compression means based on the control data from the setting means. Characteristic information control circuit.
JP19154288A 1988-07-29 1988-07-29 Information amount control circuit and control method Expired - Lifetime JP2864501B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19154288A JP2864501B2 (en) 1988-07-29 1988-07-29 Information amount control circuit and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19154288A JP2864501B2 (en) 1988-07-29 1988-07-29 Information amount control circuit and control method

Publications (2)

Publication Number Publication Date
JPH0239725A true JPH0239725A (en) 1990-02-08
JP2864501B2 JP2864501B2 (en) 1999-03-03

Family

ID=16276406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19154288A Expired - Lifetime JP2864501B2 (en) 1988-07-29 1988-07-29 Information amount control circuit and control method

Country Status (1)

Country Link
JP (1) JP2864501B2 (en)

Also Published As

Publication number Publication date
JP2864501B2 (en) 1999-03-03

Similar Documents

Publication Publication Date Title
JP2969867B2 (en) High-efficiency encoder for digital image signals.
EP1006731B1 (en) Code amount control method and encoding apparatus for carrying it out
JPH0353780A (en) High efficiency coding device
JPS63299587A (en) High efficient encode device
JPH02156789A (en) Picture signal compression coding device and expansion reproducing device
US5491514A (en) Coding apparatus, decoding apparatus, coding-decoding apparatus for video signals, and optical disks conforming thereto
JPH0821866B2 (en) Information control circuit
JPH0239725A (en) Information quantity control circuit
JP2864502B2 (en) Information amount control circuit
JPH0353778A (en) High efficiency coding device
JP2864500B2 (en) Information amount control circuit
JPH0239724A (en) Information quantity control circuit
JP2789585B2 (en) High efficiency coding device
JP2730035B2 (en) Information amount control circuit
JP2668896B2 (en) Information control circuit
JPH03207190A (en) High-efficiency encoding device
JP2827319B2 (en) High efficiency coding apparatus and method
JP3170929B2 (en) Digital signal quantizer
JP3149662B2 (en) Video encoding device, video decoding device, and optical disk
JP2844861B2 (en) Highly efficient image signal encoding apparatus and encoding method
JP2597003B2 (en) Image signal compression coding device
JP2508483B2 (en) Digital image signal buffering device
JP2830112B2 (en) High efficiency coding device
JP2861175B2 (en) High efficiency coding apparatus and coding method
JPS61158218A (en) Signal transmitter

Legal Events

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

Free format text: PAYMENT UNTIL: 20071218

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 10