JPH0233283A - High efficiency coding device - Google Patents

High efficiency coding device

Info

Publication number
JPH0233283A
JPH0233283A JP63183781A JP18378188A JPH0233283A JP H0233283 A JPH0233283 A JP H0233283A JP 63183781 A JP63183781 A JP 63183781A JP 18378188 A JP18378188 A JP 18378188A JP H0233283 A JPH0233283 A JP H0233283A
Authority
JP
Japan
Prior art keywords
block
circuit
frequency distribution
dynamic range
amount
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
JP63183781A
Other languages
Japanese (ja)
Other versions
JP2827221B2 (en
Inventor
Tetsujiro Kondo
哲二郎 近藤
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 JP18378188A priority Critical patent/JP2827221B2/en
Publication of JPH0233283A publication Critical patent/JPH0233283A/en
Application granted granted Critical
Publication of JP2827221B2 publication Critical patent/JP2827221B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To attain buffering processing of a transmission data white suppressing the deterioration in decoded picture quality by not only varying a threshold value in the level direction but also varying a threshold value for the frame omission processing in the timewise direction. CONSTITUTION:A detection circuit 3 obtains a maximum value, a minimum value of plural picture element data included in a block comprising areas belonging to plural frames of a digital picture signal and its dynamic range. Moreover, the detection circuit 3 detects the movement quantity for each block. A three- dimension frequency distribution generating circuit 5 sums the frequency occurrence for each block for a prescribed period and an integration type frequency distribution generating circuit 6 obtains an integration type frequency distribution. A movement discrimination circuit 10 and an averaging circuit 12 apply frame omission processing as to blocks whose movement is less than a prescribed quantity, and a three-dimension ADRC encoder 11 and a two-dimension ADRC encoder 13 apply compression coding to plural picture element data in a block in response to the dynamic range of the block.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、画像信号に適用される高能率符号化装置、
特に、ディジタルビデオ信号を磁気テープに記録する場
合に、記録されるデータの伝送レートを伝送路と対応し
た所定の値に制御するのに適用される高能率符号化装置
に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a high-efficiency encoding device applied to an image signal,
In particular, the present invention relates to a high-efficiency encoding device that is applied to control the transmission rate of recorded data to a predetermined value corresponding to a transmission path when recording a digital video signal on a magnetic tape.

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

この発明では、ダイナミックレンジに応じて符号化ビッ
ト数が可変の可変長符号化を行う時に、発生情報量が伝
送路の伝送容量を超えないように制御する高能率符号化
装置において、動き量を導入した度数分布が形成され、
符号化ビット数を定めるだめのレベル方向のしきい値の
みならず、駒落とし処理のための動きしきい値も変えら
れて、発生情報量の制御がなされ、量子化誤差を増加さ
せずに、発生情報量の制御が良好になされる。
In this invention, when performing variable-length encoding in which the number of encoded bits is variable according to the dynamic range, a high-efficiency encoding device that controls the amount of generated information so that it does not exceed the transmission capacity of the transmission path, reduces the amount of motion. The introduced frequency distribution is formed,
Not only the threshold value in the level direction that determines the number of encoded bits, but also the motion threshold value for frame dropping processing is changed to control the amount of generated information, without increasing quantization error. The amount of generated information is well controlled.

〔従来の技術〕[Conventional technology]

本願出願人は、特願昭59−266407号明細書に記
載されているような、2次元ブロック内に含まれる複数
画素の最大値及び最小値の差であるダイナミックレンジ
を求め、このダイナミックレンジに適応した符号化を行
う高能率符号化装置を提案している。また、特願昭60
−232789号明細書に記載されているように、複数
フレームに各々含まれる領域の画素から形成された3次
元ブロックに関してダイナミックレンジに適応した符号
化を行う高能率符号化装置が提案されている。更に、特
願昭60−268817号明細書に記載されているよう
に、量子化を行った時に生じる最大歪みが一定となるよ
うに、ダイナミックレンジに応じてビット数が変化する
可変長符号化方法が提案されている。
The applicant of this application calculates the dynamic range, which is the difference between the maximum and minimum values of multiple pixels included in a two-dimensional block, as described in Japanese Patent Application No. 59-266407, and calculates the dynamic range based on this dynamic range. A high-efficiency encoding device that performs adaptive encoding is proposed. Also, a special request in 1986
As described in Japanese Patent No. 232,789, a high-efficiency encoding device has been proposed that performs encoding adapted to the dynamic range of a three-dimensional block formed from pixels in areas included in each of a plurality of frames. 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. is proposed.

上述のダイナミックレンジに適応した高能率符号化(A
DRCと称する)は、伝送すべきデータ量を大幅に圧縮
できるので、ディジタルVTRに適用して好適である。
High-efficiency encoding (A
DRC) is suitable for application to digital VTRs because it can significantly compress the amount of data to be transmitted.

特に、可変長ADRCは、圧縮率を高くすることができ
る。しかし、可変長ADRCは、伝送データの量が画像
の内容によって変動するため、所定量のデータを1トラ
ツクとして記録するディジタルVTRのような固定レー
トの伝送路を使用する時には、バッファリングの処理が
必要である。
In particular, variable length ADRC can increase the compression rate. However, with variable length ADRC, the amount of data to be transmitted varies depending on the image content, so 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 required. is necessary.

可変長ADRCのバッファリングの方式として、本願出
願人は、特願昭61−257586号明細書に記載され
ているように、積算型のダイナミックレンジ度数分布を
形成し、この度数分布に対して、予め用意されているし
きい値のセットを適用し、所定期間例えばlフレーム期
間の発生データ量を求め、発生データ量が目標値を超え
ないように、制御するものを提案している。
As a buffering method for variable length ADRC, the applicant of the present application forms an integrated type dynamic range frequency distribution as described in Japanese Patent Application No. 61-257586, and for this frequency distribution, It has been proposed that a set of threshold values prepared in advance is applied, the amount of generated data is determined for a predetermined period, for example, one frame period, and the amount of generated data is controlled so as not to exceed a target value.

第11図は、上記の出願に示された積算型の度数分布グ
ラフを示す、第11図の横軸がダイナミックレンジDR
であり、縦軸がブロック単位の発生度数である。横軸に
記入されたT1〜T4がしきい値である。このしきいI
TI〜T4により、量子化ビット数が決定される。即ち
、(最大値〜Tl)の範囲のダイナミックレンジDRの
場合には、量子化ビット数が4ビツトとされ、(Tl−
1〜T2)の範囲の場合には、量子化ビット数が3ビツ
トとされ、(T2−1〜T3)の範囲の場合には、量子
化ビット数が2ビツトとされ、(T3−1〜T4)の範
囲の場合には、量子化ビット数が1ビツトとされ、(7
4−1〜最小値)の範囲の場合には、量子化ビット数が
0ビツト(コード信号が伝送されない)とされる。
FIG. 11 shows an integrated type frequency distribution graph shown in the above-mentioned application, and the horizontal axis of FIG. 11 is the dynamic range DR.
, and the vertical axis is the frequency of occurrence in blocks. T1 to T4 written on the horizontal axis are threshold values. This threshold I
The number of quantization bits is determined by TI to T4. That is, in the case of a dynamic range DR in the range of (maximum value to Tl), the number of quantization bits is set to 4 bits, and (Tl-
1 to T2), the number of quantization bits is set to 3 bits, and in the range of (T2-1 to T3), the number of quantization bits is set to 2 bits, and (T3-1 to T3), the number of quantization bits is set to 3 bits. T4), the number of quantization bits is set to 1 bit, and (7
4-1 to the minimum value), the number of quantization bits is set to 0 bits (no code signal is transmitted).

積算型の度数分布は、1フレ一ム期間内のダイナミック
レンジDRの度数分布を求める場合、最大値からしきい
値Tl迄のダイナミックレンジDRの発生度数に対して
、しきい値(Tl〜1)からしきい値Tl迄の発生度数
を積算する0次のしきい値(T2−1)からしきい値T
3迄の発生度数も同様に積算する。以下、同様の処理を
繰り返す、従って、ダイナミックレンジDRが最小値の
発生度数は、1フレーム内に含まれるブロックの総数(
MXN)と等しくなる。
In the cumulative type frequency distribution, when calculating the frequency distribution of the dynamic range DR within one frame period, the threshold value (Tl ~ 1 ) to the threshold value Tl.
The frequencies of occurrence up to 3 are also accumulated in the same way. Hereafter, the same process is repeated. Therefore, the frequency of occurrence of the minimum value of dynamic range DR is the total number of blocks included in one frame (
MXN).

このように、積算型の度数分布を形成すると、しきい値
Tl迄の積算度数がXlとなり、しきい値Tl迄の積算
度数が(x++x2)となり、しきい値T3迄の積算度
数が(XI 十Xt +Xs )となり、しきい値T4
迄の積算度数が(X、 +Xt + x 3 + x 
a )となる、従って、lフレーム期間の発生情報量(
合計ビット数)は、次式で示すものとなる。
In this way, when a cumulative frequency distribution is formed, the cumulative frequency up to the threshold Tl becomes Xl, the cumulative frequency up to the threshold Tl becomes (x++x2), and the cumulative frequency up to the threshold T3 becomes (XI 10Xt +Xs), and the threshold value T4
The cumulative frequency up to (X, +Xt + x 3 + x
a ), therefore, the amount of information generated in l frame period (
The total number of bits) is expressed by the following formula.

4 (x+   O)+3 ((XI +X! )  
 XI )+2 ((x+ +xt +X3)   (
x+ +Xz ))+1 ((x+ +x、+X、+X
4 )−(x+ +xz +Xs ) ) −41+ 
+3 X寞+2xs十x4上述の発生情報量が目標値を
超えないように、しきい値T1〜T4が設定される。し
きい値を変えて、最適なしきい値を求める場合、しきい
値に応じて上記のx1〜x4の値が変えられ、各しきい
値のセット毎に発生情報量の算出がなされる。
4 (x+ O)+3 ((XI +X!)
XI )+2 ((x+ +xt +X3) (
x+ +Xz ))+1 ((x+ +x, +X, +X
4)-(x+ +xz +Xs) ) -41+
+3 X+2xs+4 Threshold values T1 to T4 are set so that the amount of generated information described above does not exceed the target value. When changing the threshold value to find an optimal threshold value, the values of x1 to x4 described above are changed according to the threshold value, and the amount of generated information is calculated for each set of threshold values.

従って、−旦、積算型の度数分布表を作成しておけば、
発生情報量の算出が迅速に行うことができる。
Therefore, if you create a cumulative frequency distribution table,
The amount of generated information can be calculated quickly.

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

上述のように、レベル方向の例えば4個のしきい値を変
えて、伝送データのレートを目標値に収束させる方式は
、量子化雑音等の歪みを低減させる面で、性能上、不十
分であった。
As mentioned above, the method of converging the transmission data rate to a target value by changing, for example, four thresholds in the level direction, is insufficient in terms of performance in terms of reducing distortions such as quantization noise. there were.

従って、この発明の目的は、レベル方向のしきい値を変
えるのみならず、時間方向の駒落とし処理のためのしき
い値をも変えて、復元画質の劣化を抑えながら伝送デー
タのバッファリング処理を達成できる高能率符号化装置
を提供することにある。
Therefore, an object of the present invention is to not only change the threshold value in the level direction, but also change the threshold value for frame drop processing in the time direction, and to buffer transmission data while suppressing deterioration of restored image quality. The object of the present invention is to provide a highly efficient encoding device that can achieve the following.

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

この発明では、ディジタル画像信号の複数フレームに属
する領域からなるブロック内に含まれる複数の画素デー
タの最大値MAX3、最小値MIN3及びダイナミック
レンジDR3を求める回路3と、 各ブロック毎の動き量を検出する回路3と、ブロック毎
のダイナミックレンジDR3及び動き量をアドレスとし
てブロック毎の度数をメモリに入力し、所定期間におい
て度数を集計し度数分布を求める回路5と、 度数分布からダイナミックレンジDR3のアドレス方向
及び動き量のアドレス方向に度数を順次積算して積算型
度数分布を求める回路6と、所定の動き量以下のブロッ
クについて、複数フィールド間の対応画素データの平均
をとり駒落とし処理を行う回路10,12と、 ブロック内の複数の画素データをそのブロックのダイナ
ミックレンジDR3に応じて圧縮符号化する回路11.
13と、 積算型度数分布と伝送路の伝送容量に応じて、所定の動
き量及び符号化ビット数を設定する回路6.7と が備えられている。
This invention includes a circuit 3 that calculates the maximum value MAX3, minimum value MIN3, and dynamic range DR3 of a plurality of pixel data contained in a block consisting of areas belonging to a plurality of frames of a digital image signal, and a circuit 3 that detects the amount of motion for each block. a circuit 5 which inputs the frequency of each block into the memory using the dynamic range DR3 and motion amount of each block as an address, and calculates the frequency distribution by summing the frequencies over a predetermined period; and the address of the dynamic range DR3 from the frequency distribution. A circuit 6 that calculates an integrated frequency distribution by sequentially accumulating frequencies in the address direction of direction and motion amount, and a circuit that performs frame drop processing by averaging corresponding pixel data between multiple fields for blocks whose motion amount is less than a predetermined amount. 10, 12, and a circuit 11 for compressing and encoding a plurality of pixel data in a block according to the dynamic range DR3 of the block.
13, and a circuit 6.7 for setting a predetermined amount of motion and the number of encoding bits according to the cumulative frequency distribution and the transmission capacity of the transmission path.

C作用〕 この発明では、高能率符号化を行う時に、発生情報量が
伝送路の伝送容量を超えないように、制御する高能率符
号化装置において、1枚の画像が多数の3次元ブロック
に分割され、各ブロックに含まれる画素データの最大(
IEMAX3、最小値MIN3及びダイナミックレンジ
DR3が求められ、また、時間的に異なり、且つ同一の
ブロックに含まれる画素データから動き量(例えば最大
フレーム差ΔF)が検出される。この動き量が小さい静
止ブロックでは、駒落とし処理によって発生情報量が減
少される。
Effect C] In this invention, when high-efficiency encoding is performed, one image is divided into many three-dimensional blocks in a high-efficiency encoding device that controls the amount of generated information so that it does not exceed the transmission capacity of the transmission path. The maximum pixel data contained in each block (
IEMAX3, minimum value MIN3, and dynamic range DR3 are determined, and the amount of motion (for example, maximum frame difference ΔF) is detected from pixel data that are temporally different and included in the same block. In a stationary block with a small amount of movement, the amount of generated information is reduced by frame drop processing.

発生情報量を求める場合、ダイナミックレンジDR3と
動き量を軸とする度数分布表が形成される。この度数分
布表は、ダイナミックレンジDR3及び動き量を夫々ア
ドレスとしてブロック毎の度数をメモリに書き込み、所
定期間例えば2フレ一ム期間において度数を集計するこ
とで形成される。この度数分布表は、ダイナミックレン
ジDR3の方向と動き量の方向との夫々に関して集計さ
れることにより、積算型の度数分布表に変換される。
When determining the amount of generated information, a frequency distribution table with the dynamic range DR3 and the amount of movement as axes is formed. This frequency distribution table is formed by writing the frequency for each block into a memory using the dynamic range DR3 and the amount of motion as addresses, respectively, and summing up the frequencies over a predetermined period, for example, two frame periods. This frequency distribution table is converted into an integrated frequency distribution table by being aggregated in the direction of the dynamic range DR3 and the direction of the amount of motion.

積算型の度数分布表を用いて、発生情報量が目標値を超
えないようなレベル方向のしきい値T1〜T4及び動き
しきい値MTHが決定される。この動きしきい値MTH
に対するブロックの動き量の大小関係に応じて駒落とし
処理がなされる。また、レベル方向のしきい値T1〜T
4によって、可変長の高能率符号化例えばADRCにお
ける符号化ビット数が制御される。そして、可変長AD
RCによって得られた符号化データが磁気テープに記録
される。
Using the cumulative frequency distribution table, threshold values T1 to T4 in the level direction and motion threshold MTH are determined so that the amount of generated information does not exceed the target value. This motion threshold MTH
Frame drop processing is performed depending on the magnitude of the amount of movement of the block relative to the block. In addition, threshold values T1 to T in the level direction
4 controls the number of encoding bits in variable length high efficiency encoding, for example ADRC. And variable length AD
Encoded data obtained by RC is recorded on a magnetic tape.

この発明では、駒落とし処理を行うかどうかの判定の基
準となる動きしきい値MTHも動かしているので、レベ
ル方向のしきい値の変化だけでは、達成できなかった良
好なバッファリングを行うことができる。
In this invention, since the motion threshold value MTH, which is the standard for determining whether or not to perform frame drop processing, is also changed, it is possible to perform good buffering, which could not be achieved by changing the threshold value in the level direction alone. I can do it.

〔実施例〕〔Example〕

以下、この発明の一実施例について図面を参照し、下記
の順序に従って説明する。
Hereinafter, one embodiment of the present invention will be described in the following order with reference to the drawings.

a、記録側の構成 り、ADRCエンコーダ c、3次元度数分布表の形成 d、3次元度数分布発生回路、積算型度数分布発生回路
及びしきい値決定回路の一例 a、記録側の構成 第1図は、この発明の一実施例の記録側の構成を示し、
第1図において、1で示す入力端子には、例えば1サン
プルが8ビツトに量子化されたディジタルビデオ信号が
供給される。このディジタルビデオ信号がブロック化回
路2に供給される。ブロック化回路2により、テレビジ
ョン走査の順序のデータがブロックの順序のデータに変
換される。
a, Configuration of recording side, ADRC encoder c, Formation of three-dimensional frequency distribution table d, Example of three-dimensional frequency distribution generation circuit, integration type frequency distribution generation circuit and threshold value determination circuit a, Configuration of recording side 1st The figure shows the configuration of the recording side of an embodiment of the present invention,
In FIG. 1, a digital video signal in which one sample is quantized to 8 bits, for example, is supplied to an input terminal indicated by 1. This digital video signal is supplied to the blocking circuit 2. The blocking circuit 2 converts television scanning order data into block order data.

ブロック化回路2では、例えば(520ライン×720
画素)の1フレームの画面が第2図に示すように、(M
XN)ブロックに細分化される。1ブロツクは、例えば
第3図に示すように、(4ライン×4画素)の大きさの
2個の領域からなる。各領域は、時間的に連続する二つ
のフレームに属する。また、第4図に示すように、サン
プリングパターンがサブサンプリングにより、ブロック
間でオフセットを有するものとされている。第4図にお
いて、Oが伝送される画素を示し、Δが伝送されない画
素を示し、次の2フレーム後の空間的に対応するブロッ
クでは、伝送及び間引きの画素が逆の関係とされる。こ
のようなサンプリングパターンは、受信側で間引かれた
画素の補間を行う場合、静止領域で良好な補間を可能と
する。ブロック化回路2からは、BII+  BIz+
  BI31  ・・・・BMNのブロックの順序に変
換されたディジタルビデオ信号が発生する。
In the blocking circuit 2, for example, (520 lines x 720 lines
As shown in Figure 2, one frame screen of (M pixels)
XN) is subdivided into blocks. One block consists of two areas each having a size of (4 lines x 4 pixels), as shown in FIG. 3, for example. Each region belongs to two temporally consecutive frames. Further, as shown in FIG. 4, the sampling pattern has an offset between blocks due to subsampling. In FIG. 4, O indicates a pixel that is transmitted, Δ indicates a pixel that is not transmitted, and in a spatially corresponding block two frames later, the transmitted and thinned out pixels have an inverse relationship. Such a sampling pattern enables good interpolation in a still area when interpolating thinned out pixels on the receiving side. From blocking circuit 2, BII+ BIz+
BI31...A digital video signal converted into the BMN block order is generated.

ブロック化回路2の出力信号が検出回路3及び遅延回路
4に供給される。検出回路3は、各ブロックの最大値M
AX3及び最小値MIN3を検出すると共に、ブロック
の最大フレーム差ΔFを検出する。上述のように、この
例では、ブロックが2フレームに各々属する二つの領域
からなるので、この二つの領域の最大フレーム差ΔFが
検出される。1ブロツクを構成する二つの領域の間で、
同一位置の画素のデータ同士の差が求められ、この各画
素の差が絶対値に変換され、絶対値に変換された差の中
の最大値が最大フレーム差ΔFとされる。
The output signal of the blocking circuit 2 is supplied to a detection circuit 3 and a delay circuit 4. The detection circuit 3 detects the maximum value M of each block.
AX3 and the minimum value MIN3 are detected, and the maximum frame difference ΔF of the block is detected. As described above, in this example, since the block consists of two regions each belonging to two frames, the maximum frame difference ΔF between these two regions is detected. Between the two areas that make up one block,
The difference between the data of pixels at the same position is determined, the difference between each pixel is converted into an absolute value, and the maximum value of the differences converted into absolute values is set as the maximum frame difference ΔF.

検出回路3からの最大値MAX3.最小値MIN3.最
大フレーム差ΔFが3次元度数分布発生回路5に供給さ
れる。この3次元度数分布発生回路5は、後述するよう
に、ダイナミックレンジDR3(−MAX3−MIN3
+1)を縦軸とし、最大フレーム差ΔFを横軸とし、ブ
ロックの発生度数を2フレ一ム期間で集計する。このよ
うに形成された度数分布表が積算型度数分布発生回路6
に供給され、積算型の度数分布表が形成される。
Maximum value MAX3 from detection circuit 3. Minimum value MIN3. The maximum frame difference ΔF is supplied to the three-dimensional frequency distribution generation circuit 5. This three-dimensional frequency distribution generating circuit 5 has a dynamic range DR3 (-MAX3-MIN3) as described later.
+1) is taken as the vertical axis, and the maximum frame difference ΔF is taken as the horizontal axis, and the frequency of block occurrence is totaled in a two-frame period. The frequency distribution table formed in this way is used in the cumulative frequency distribution generation circuit 6.
is supplied to form an integrated frequency distribution table.

最大フレーム差ΔFの方向とダイナミックレンジDR3
の方向との両者に関して、度数を積算する処理により、
積算型の度数分布表が得られる。
Direction of maximum frame difference ΔF and dynamic range DR3
By the process of integrating the degrees with respect to both the direction of
A cumulative frequency distribution table is obtained.

積算型の度数分布表を使用して、しきい値決定回路7が
最適なしきい値(レベルに関するしきい値T1〜T4及
び動きしきい値MTH)を決定する。
Using the cumulative frequency distribution table, the threshold determining circuit 7 determines optimal thresholds (level thresholds T1 to T4 and motion threshold MTH).

最適なしきい値とは、2フレーム当たりの合計ビット数
が伝送路の伝送容量を超えないように、符号化を行うこ
とが可能なしきい値を意味する。この最適なしきい値は
、動きしきい値MTHをパラメータとして求まる。しき
い値決定回路7と関連して、ROM8が設けられている
。このROMBには、最適なしきい値を求めるためのプ
ログラムが格納されている。
The optimal threshold value means a threshold value that allows encoding to be performed so that the total number of bits per two frames does not exceed the transmission capacity of the transmission path. This optimal threshold value is determined using the motion threshold value MTH as a parameter. A ROM 8 is provided in association with the threshold value determining circuit 7. This ROMB stores a program for finding an optimal threshold value.

遅延回路4を介された画素データPDは、フレーム差検
出回路9に供給される。このフレーム差検出回路9は、
前述の検出回路3と同様にして、最大フレーム差ΔFを
検出する。フレーム差検出回路9からの最大フレーム差
ΔF及び画素データPDが動き判定回路10に供給され
る。この動き判定回路10は、しきい値決定回路7から
の動きしきい値MTHと最大フレーム差ΔFとを比較し
、処理しようとするブロックが動きブロックか、又は静
止ブロックかを判定する。
The pixel data PD passed through the delay circuit 4 is supplied to a frame difference detection circuit 9. This frame difference detection circuit 9 is
The maximum frame difference ΔF is detected in the same manner as the detection circuit 3 described above. The maximum frame difference ΔF and pixel data PD from the frame difference detection circuit 9 are supplied to the motion determination circuit 10. The motion determination circuit 10 compares the motion threshold MTH from the threshold determination circuit 7 with the maximum frame difference ΔF, and determines whether the block to be processed is a motion block or a still block.

(最大フレーム差ΔF〉動きしきい値MTH)の関係に
あるブロックが動きブロックと判定され、(最大フレー
ム差ΔF≦動きしきい値MTH)の関係にあるブロック
が静止ブロックと判定される。
A block having the relationship (maximum frame difference ΔF>motion threshold MTH) is determined to be a moving block, and a block having the relationship (maximum frame difference ΔF≦motion threshold MTH) is determined to be a stationary block.

動きブロックの画素データは、3次元ADRCエンコー
ダ11に供給される。また、静止ブロックの画素データ
は、平均化回路12に供給される。
The pixel data of the motion block is supplied to a three-dimensional ADRC encoder 11. Furthermore, the pixel data of the still block is supplied to the averaging circuit 12.

この平均化回路12は、1ブロツクに含まれる二つの領
域の同一位置の画素のデータ同士を加算してから%にし
て、元の1ブロツクの画素数の2の画素数のブロックを
形成する。このような処理は、駆落とし処理と称される
。平均化回路12の出力信号が2次元ADRCエンコー
ダ13に供給される。これらのエンコーダ11及び13
には、しきい値決定回路7からしきい(!:T1〜T4
が供給されている。
This averaging circuit 12 adds the data of pixels at the same position in two areas included in one block, and then converts the data to % to form a block with a number of pixels equal to 2 of the original number of pixels in one block. Such processing is referred to as evacuation processing. The output signal of the averaging circuit 12 is supplied to a two-dimensional ADRC encoder 13. These encoders 11 and 13
, the threshold (!: T1 to T4
is supplied.

3次元ADRCエンコーダ11では、(4ライン×4画
素×2フレーム)の計32個の画素データの中の最大値
MAX3.最小値MIN3が検出され、(MAX3−M
IN3+1−DR3)によりダイナミックレンジDR3
が求められる。このブロックのダイナミックレンジDR
3としきい値T1〜T4との関係から、コード信号DT
3のビット数が定まる。即ち、(DR3≧Tl)のブロ
ックでは、4ビツトのコード信号が形成され、(TI>
DR3≧T2)のブロックでは、3ビツトのコード信号
が形成され、(T2>DR3≧T3)のブロックでは、
2ビツトのコード信号が形成され、(T3>DR3≧7
4)のブロックでは、1ビツトのコード信号が形成され
、(T4>DR3)のブロックでは、Oビット、即ち、
コード信号が伝送されない。
The three-dimensional ADRC encoder 11 selects the maximum value MAX3. out of a total of 32 pixel data (4 lines x 4 pixels x 2 frames). The minimum value MIN3 is detected and (MAX3-M
Dynamic range DR3 due to IN3+1-DR3)
is required. Dynamic range DR of this block
3 and the threshold values T1 to T4, the code signal DT
The number of bits of 3 is determined. That is, in the block where (DR3≧Tl), a 4-bit code signal is formed, and (TI>
In the block where DR3≧T2), a 3-bit code signal is formed, and in the block where (T2>DR3≧T3), a 3-bit code signal is formed.
A 2-bit code signal is formed, and (T3>DR3≧7
In the block 4), a 1-bit code signal is formed, and in the block (T4>DR3), O bits, that is,
No code signal is transmitted.

例えば4ピツト量子化の符号化の場合には、検出された
ダイナミックレンジDR3が16(=24)分割され、
画素データの各々の最小値MIN3を除去した後のデー
タのレベルが属する範囲に対応した4ビツトのコード信
号DT3が発生される。
For example, in the case of 4-pit quantization encoding, the detected dynamic range DR3 is divided into 16 (=24),
A 4-bit code signal DT3 is generated corresponding to the range to which the level of the data after removing the minimum value MIN3 of each pixel data belongs.

2次元ADRCエンコーダ13では、上述の3次元AD
RCエンコーダ11と同様の動作により、最大値MAX
2.最小値MIN2.ダイナミックレンジDR2の検出
がされ、コード信号DT2が形成される。但し、符号化
の対象となるのは、前段の平均化回路12により、画素
数がηとされたデータである。
In the two-dimensional ADRC encoder 13, the above-mentioned three-dimensional AD
By the same operation as the RC encoder 11, the maximum value MAX
2. Minimum value MIN2. Dynamic range DR2 is detected and code signal DT2 is formed. However, what is to be encoded is data whose number of pixels has been set to η by the averaging circuit 12 at the previous stage.

3次元ADRCエンコーダ11の出力信号(DR3,M
IN3.DT3)と2次元ADRCエンコーダ13の出
力信号(DR2,MIN2.DT2)がセレクタ14に
供給される。セレクタ14は、動き判定回路10からの
判定信号SJにより制御される。即ち、動きブロックの
場合には、3次元ADRCエンコーダ11の出力信号を
セレクタ14が選択し、静止ブロックの場合には、2次
元ADRCエンコーダ13の出力信号をセレクタ14が
選択する。このセレクタ14の出力信号がフレーム化回
路15に供給される。
The output signal of the three-dimensional ADRC encoder 11 (DR3, M
IN3. DT3) and the output signal (DR2, MIN2.DT2) of the two-dimensional ADRC encoder 13 are supplied to the selector 14. The selector 14 is controlled by a determination signal SJ from the motion determination circuit 10. That is, in the case of a motion block, the selector 14 selects the output signal of the three-dimensional ADRC encoder 11, and in the case of a still block, the selector 14 selects the output signal of the two-dimensional ADRC encoder 13. The output signal of this selector 14 is supplied to a framing circuit 15.

フレーム化回路15には、セレクタ14の出力信号の他
に、しきい値セットを指定するしきい値コードPiと判
定コードSJが供給される。しきい値コードPiは、2
フレ一ム単位で変化するもので、判定コードSJは、1
ブロック単位で変化する。フレーム化回路15は、人力
信号をフレーム構造の記録データに変換する。フレーム
化回路15では、必要に応じて、エラー訂正符号の符号
化の処理がなされる。フレーム化回路15の出力端子1
6に得られた記録データが図示せずも、記録アンプ、回
転トランス等を介して回転ヘッドに供給され、磁気テー
プに記録される。
In addition to the output signal of the selector 14, the framing circuit 15 is supplied with a threshold code Pi specifying a threshold set and a determination code SJ. The threshold code Pi is 2
It changes on a frame-by-frame basis, and the judgment code SJ is 1.
Changes in block units. The framing circuit 15 converts the human input signal into recorded data having a frame structure. The framing circuit 15 performs error correction code encoding processing as necessary. Output terminal 1 of framing circuit 15
The recorded data obtained in step 6 is supplied to a rotary head via a recording amplifier, a rotary transformer, etc. (not shown), and is recorded on a magnetic tape.

b、ADRCエンコーダ 第5図は、3次元ADRCエンコーダ11の一例の構成
を示す、第5図において、21が入力端子を示し、この
入力端子21には、最大値検出回路22.最小値検出回
路23及び遅延回路24が接続されている。最大値検出
回路22により検出された最大値MAX3が減算回路2
5に供給される。最小値検出回路23により検出された
最小値MIN3が減算回路25に供給され、この減算回
路25の出力信号が+1加算回路27に供給される。+
1加算回路27から(MAX3−MINa+1)で表さ
れるダイナミックレンジDR3が得られる。
b. ADRC Encoder FIG. 5 shows the configuration of an example of the three-dimensional ADRC encoder 11. In FIG. A minimum value detection circuit 23 and a delay circuit 24 are connected. The maximum value MAX3 detected by the maximum value detection circuit 22 is detected by the subtraction circuit 2.
5. The minimum value MIN3 detected by the minimum value detection circuit 23 is supplied to a subtraction circuit 25, and the output signal of this subtraction circuit 25 is supplied to a +1 addition circuit 27. +
A dynamic range DR3 expressed as (MAX3-MINa+1) is obtained from the 1 addition circuit 27.

遅延回路24を介された画素データが減算回路26に供
給される。この減算回路26には、最小値MIN3が供
給され、減算回路26から最小値除去後の画素データP
DIが発生する。この画素データPDIが量子化回路3
0に供給される。ダイナミックレンジDR3は、出力端
子31に取り出されると共に、ROM28に供給される
。ROM28には、端子29からしきい値決定回路7で
発生したしきい値コードPiが供給されている。
Pixel data passed through the delay circuit 24 is supplied to a subtraction circuit 26. The subtraction circuit 26 is supplied with the minimum value MIN3, and the pixel data P after the minimum value is removed from the subtraction circuit 26.
DI occurs. This pixel data PDI is transferred to the quantization circuit 3.
0. The dynamic range DR3 is taken out to the output terminal 31 and also supplied to the ROM 28. The ROM 28 is supplied with a threshold code Pi generated by the threshold determining circuit 7 from a terminal 29.

このROM28からは、量子化ステップΔ及びビット数
を示すビット数コードNbが発生する。
This ROM 28 generates a bit number code Nb indicating the quantization step Δ and the number of bits.

量子化回路30には、量子化ステップΔが供給され、最
小値除去後のデータPDIと量子化ステップΔからコー
ド信号DT3が形成される。このコード信号DT3が出
力端子34に取り出される。
The quantization step Δ is supplied to the quantization circuit 30, and a code signal DT3 is formed from the minimum value removed data PDI and the quantization step Δ. This code signal DT3 is taken out to the output terminal 34.

これらの出力端子31,32,33.34に発生する出
力信号がフレーム化回路15に供給される。
Output signals generated at these output terminals 31, 32, 33, and 34 are supplied to a framing circuit 15.

ビット数コードNbは、フレーム化回路15において、
有効なビットを選択するのに使用される。
The bit number code Nb is determined by the framing circuit 15.
Used to select valid bits.

上述の量子化回路30におけるコード信号DT3の形成
について説明する。一般的に、nビットを割り当てる符
号化の場合では、原データPDのレベルをLi、量子化
コードをQi と表すと、で求められる。〔〕の記号は
、切り捨てを意味する。
The formation of the code signal DT3 in the above-mentioned quantization circuit 30 will be explained. Generally, in the case of encoding in which n bits are allocated, the level of the original data PD is expressed as Li, and the quantization code is expressed as Qi. The symbol [ ] means truncation.

また、復号側では、復元レベルをLiと表すと、i、 
i = (DR3/ 2” ) X (Qi +0.5
 )+MIN3=ΔX (Qi +0.5 ) +M 
I N 3の処理がなされる。
Also, on the decoding side, if the restoration level is expressed as Li, i,
i = (DR3/2”) X (Qi +0.5
)+MIN3=ΔX (Qi +0.5) +M
I N 3 processing is performed.

c、  3次元度数分布表の作成 3次元度数分布発生回路5においてなされる3次元度数
分布表の作成について、第6図を参照して説明する。第
6図において、縦軸がダイナミックレンジDR3を示し
、横軸が最大フレーム差ΔFを示す、これらのダイナミ
ックレンジDR3及び最大フレーム差ΔFは、検出回路
3において検出されたものである。最大フレーム差ΔF
は、(0〜255)の範囲の値をとりうる。処理の簡単
化のために所定値以上の最大フレーム差を全て所定値に
置き換えても良い。
c. Creation of a three-dimensional frequency distribution table The creation of a three-dimensional frequency distribution table performed by the three-dimensional frequency distribution generation circuit 5 will be explained with reference to FIG. In FIG. 6, the vertical axis shows the dynamic range DR3, and the horizontal axis shows the maximum frame difference ΔF. These dynamic range DR3 and the maximum frame difference ΔF are those detected by the detection circuit 3. Maximum frame difference ΔF
can take values in the range (0-255). To simplify the process, all maximum frame differences greater than or equal to a predetermined value may be replaced with a predetermined value.

検出回路3で検出された各ブロックのダイナミックレン
ジDR3と最大フレーム差ΔFとで規定される位置に、
発生度数が書き込まれ、2フレ一ム期間、度数が集計さ
れる。後述のように、度数分布表は、メモリ内で形成さ
れる。第6図において、図示が省略されている領域の発
生度数は、簡単のため全て0としている。
At the position defined by the dynamic range DR3 of each block detected by the detection circuit 3 and the maximum frame difference ΔF,
The frequency of occurrence is written, and the frequency is totaled for two frame periods. As discussed below, the frequency table is formed in memory. In FIG. 6, the frequencies of occurrence in areas that are not shown are all set to 0 for simplicity.

積算型度数分布発生回路6では、2フレ一ム期間に渡っ
て集計された度数分布表が積算型に変換される。積算は
、最大フレーム差ΔF及びダイナミックレンジDR3の
両者の方向でなされる。第7図Aに示す表は、第6図に
示す表に関して、最大フレーム差ΔFの255からOに
向かう方向に積算した結果、得られるものである。次に
、ダイナミックレンジDR3の255からOに向かう方
向に第7図Aの表が積算されることにより、第7図Bに
示す表が得られる。第7図Bに示す表が積算型の度数分
布表である。(ΔF−0.DR3=0)の時の度数(第
7図Bでは、47)が2フレ一ム期間のブロックの総数
である。度数分布表を積算型へ変換するのは、発生情報
量を直ぐに求めることを容易とするためである。
In the cumulative type frequency distribution generation circuit 6, the frequency distribution table compiled over two frame periods is converted into a cumulative type. Integration is performed in both directions of maximum frame difference ΔF and dynamic range DR3. The table shown in FIG. 7A is obtained by integrating the maximum frame difference ΔF in the direction from 255 to O with respect to the table shown in FIG. Next, the table shown in FIG. 7A is integrated in the direction from 255 to O in the dynamic range DR3, thereby obtaining the table shown in FIG. 7B. The table shown in FIG. 7B is a cumulative type frequency distribution table. The frequency (47 in FIG. 7B) when (ΔF-0.DR3=0) is the total number of blocks in a two-frame period. The purpose of converting the frequency distribution table to the cumulative type is to facilitate the immediate determination of the amount of generated information.

しきい値決定回路7は、積算型の度数分布表を用いて最
適なしきい値のセット及び動きしきい値MTHを決定す
る。この決定の方法としては、動きしきい値MTHとし
て、復元画像にジャーキネスが発生しない程度の初期値
を与え、レベル方向のしきい値を動かすことにより、発
生情報量(合計ビット数)が目標値を超えないしきい値
セットを決定する。若し、目標値に追い込めない場合に
は、動きしきい値MTHを動かして、再び、目標値を超
えないしきい値セットが探される。このしきい値セット
を決定する処理がROM8に格納されているプログラム
に従ってなされる。
The threshold determination circuit 7 determines an optimal threshold set and motion threshold MTH using a cumulative frequency distribution table. The method for determining this is to set an initial value for the motion threshold MTH that does not cause jerkiness in the restored image, and then move the threshold in the level direction to bring the generated information amount (total number of bits) to the target value. Determine a threshold set that does not exceed . If the target value cannot be reached, the motion threshold MTH is moved and a threshold set that does not exceed the target value is searched again. Processing for determining this threshold set is performed according to a program stored in the ROM 8.

第8図Aを参照して、第6図に示す度数分布表を使用し
て発生情報量を算出する処理について説明する。
With reference to FIG. 8A, a process for calculating the amount of generated information using the frequency distribution table shown in FIG. 6 will be described.

動きしきい値MTHが与えられる時に、(ΔF≦MT)
I)の範囲が静止ブロックとして扱われ、(ΔF>MT
H)の範囲が動きブロックとして扱われる。
When the motion threshold MTH is given, (ΔF≦MT)
The range of I) is treated as a stationary block, and (ΔF>MT
The range of H) is treated as a motion block.

静止ブロックに関しては、16個の画素の符号化コード
信号DT2が発生し、動きブロックに関しては、32個
の画素の符号化コード信号DT3が発生する。
For a still block, an encoded code signal DT2 of 16 pixels is generated, and for a motion block, an encoded code signal DT3 of 32 pixels is generated.

レベル方向のしきい値T1〜T4が与えられる時に、下
記のように、符号化ビット数が割り当てられる。
When threshold values T1 to T4 in the level direction are given, the number of encoding bits is allocated as follows.

(T4>DR3)の時、0ビツト (T3>DR3≧T4)の時、1ビツト(T2>DR3
≧73)の時、2ビツト(Tl>DR3≧T2)の時、
3ビツト(DR3≧Tl)の時、4ビツト 動きしきい値MTHとレベル方向のしきい値T1〜T4
とにより、度数分布表は、第8図Aに示すように10個
の領域に分割される。各領域に含まれる度数の合計をM
OO〜M41として表すと、コード信号に関しての2フ
レ一ム期間のデータ量DA■(ビット数)は、次式で算
出される。
When (T4>DR3), 0 bit (T3>DR3≧T4), 1 bit (T2>DR3)
≧73), 2 bits (Tl>DR3≧T2),
When 3 bits (DR3≧Tl), 4 bit motion threshold MTH and level direction thresholds T1 to T4
Accordingly, the frequency distribution table is divided into 10 regions as shown in FIG. 8A. The total number of frequencies included in each area is M
When expressed as OO to M41, the data amount DA■ (number of bits) for two frame periods regarding the code signal is calculated by the following equation.

DAv=IX16XM10+IX32XM112X16
XM20+2X32XM21 3X16XM30+3X32XM31 4X16XM40+4X32XM41 =16 (M10+ 2 M11+ 2 M20+ 4
 M21+ 3 M30+ 6 M31+ 4 M40
+ 8 M41)=16 ((M10+M11+M20
+M21+M30+M31+M40+M41) + (M11+M21+M31+M41)+ (M20
+M21+M30+M31+M40+M41)+ (M
21+M31+M41) + (M30+M31+M40+M41)+ (M31
+M41) + (M40+M41) + (M41) ) 2フレ一ム期間の発生情報量は、上式のダイナミックレ
ンジに応じて可変のデータ量DAvに対して、固定のデ
ータ量DAf(ビット数)を加算したものである。固定
のデータ量DAfは、DR3及びMIN3と判定コード
SJとを加算した17ビツトにブロックの総数を乗じた
ビット数である。
DAv=IX16XM10+IX32XM112X16
XM20+2X32XM21 3X16XM30+3X32XM31 4X16XM40+4X32XM41 =16 (M10+ 2 M11+ 2 M20+ 4
M21+ 3 M30+ 6 M31+ 4 M40
+ 8 M41)=16 ((M10+M11+M20
+M21+M30+M31+M40+M41) + (M11+M21+M31+M41)+ (M20
+M21+M30+M31+M40+M41)+ (M
21+M31+M41) + (M30+M31+M40+M41)+ (M31
+M41) + (M40+M41) + (M41)) The amount of information generated in a two-frame period is calculated by adding the fixed data amount DAf (number of bits) to the variable data amount DAv according to the dynamic range in the above formula. This is what I did. The fixed data amount DAf is the number of bits obtained by multiplying 17 bits, which is the sum of DR3 and MIN3 and the determination code SJ, by the total number of blocks.

上述の式から分るように、複数の領域の度数M00〜M
4Lを選択的に積算することでデータ量DAVが算出さ
れる。上式の()で括られた度数の積算値は、積算型度
数分布発生回路6で得られる第7図Bに示される積算型
の度数分布表から直ちに得ることができる。
As can be seen from the above formula, the frequencies of multiple regions M00~M
The data amount DAV is calculated by selectively integrating 4L. The integrated value of the frequencies enclosed in parentheses in the above equation can be immediately obtained from the integrated frequency distribution table shown in FIG. 7B obtained by the integrated frequency distribution generating circuit 6.

第8図Bは、積算型の度数分布表において、上式の()
で括られた積算値NIO〜N41の位置を示す、これら
の積算値は、下記のように対応する。
Figure 8B shows the above equation () in the cumulative frequency distribution table.
These integrated values, which indicate the positions of integrated values NIO to N41 bracketed by , correspond to each other as shown below.

Nl0− (M10+M11+M20+M21+M30
+M31+M40+M41) Nll−(MIL+M21+M31+M41)N20−
 (M20+M21+M30+M31+M40+M41
)N21− (M21+M31+M41)N30= (
M30+M31+M40+M41)N31− (M31
+M41) N40= (M40+M41) N41=  (M41) 従って、積算型度数分布表を使用してデータ量DAvを
算出するには、 DAv=16 (N10+N11+N20+N21+N
30+N31+N40+N4N の処理がなされる。後述のように、積算型度数分布表は
、メモリ内に作成されるので、しきい値MTH及びT1
〜T4をアドレスとして、8箇所の度数を読み出して加
算すれば、情報量DAvが求められる。
Nl0- (M10+M11+M20+M21+M30
+M31+M40+M41) Nll- (MIL+M21+M31+M41) N20-
(M20+M21+M30+M31+M40+M41
)N21- (M21+M31+M41)N30= (
M30+M31+M40+M41)N31- (M31
+M41) N40= (M40+M41) N41= (M41) Therefore, to calculate the data amount DAv using the cumulative frequency distribution table, DAv=16 (N10+N11+N20+N21+N
30+N31+N40+N4N processing is performed. As described later, since the cumulative frequency distribution table is created in memory, the threshold values MTH and T1
By using ~T4 as an address, reading out the frequencies at eight locations and adding them, the amount of information DAv can be obtained.

d、3次元度数分布発生回路、積算型度数分布発生回路
及びしきい値決定回路の一例 3次元度数分布発生回路5、積算型度数分布発生回路6
及びしきい値決定回路7は、−例として、第9図に示す
構成とされている。第9図において、41で示す入力端
子から最大値MAX3がアドレスコントローラ44に供
給され、42で示す入力端子から最小値MIN3がアド
レスコントローラ44に供給され、43で示す入力端子
から最大値フレーム差ΔFがアドレスコントローラ44
に供給される。
d. Examples of three-dimensional frequency distribution generation circuit, cumulative frequency distribution generation circuit, and threshold value determination circuit Three-dimensional frequency distribution generation circuit 5, cumulative frequency distribution generation circuit 6
The threshold value determination circuit 7 has a configuration shown in FIG. 9, for example. In FIG. 9, the maximum value MAX3 is supplied from the input terminal 41 to the address controller 44, the minimum value MIN3 is supplied from the input terminal 42 to the address controller 44, and the maximum value frame difference ΔF is supplied from the input terminal 43. is the address controller 44
supplied to

アドレスコントローラ44は、RAM45!、Jjする
水平方向(上位)及び垂直方向(下位)のアドレスを発
生する。このRAM45は、垂直方向に(0〜255)
のアドレスを有し、水平方向に(0〜255)のアドレ
スを有し、初期状態では、記憶内容が全てクリアされる
。RAM45の一つのアドレスには、複数ビットのデー
タが格納可能とされている。このビット数は、2フレ一
ム期間のブロックの個数を表現できるのに充分な数であ
る。RAM45の垂直方向のアドレスがダイナミックレ
ンジDR3と対応し、RAM45の水平方向のアドレス
が最大フレーム差ΔFと対応する。
The address controller 44 is RAM45! , Jj in the horizontal direction (upper) and vertical direction (lower). This RAM 45 is arranged vertically (0 to 255).
It has addresses (0 to 255) in the horizontal direction, and all stored contents are cleared in the initial state. Multiple bits of data can be stored in one address of the RAM 45. This number of bits is sufficient to represent the number of blocks in two frame periods. The vertical address of the RAM 45 corresponds to the dynamic range DR3, and the horizontal address of the RAM 45 corresponds to the maximum frame difference ΔF.

最大フレーム差ΔFが255より少ない数例えば31に
制限される時には、RAM45の水平方向のアドレスも
減少する。
When the maximum frame difference ΔF is limited to a number less than 255, for example 31, the horizontal addresses of RAM 45 are also reduced.

RAM45から読み出されたデータが出力制御機能を持
つレジスタ52を介して加算回路46に供給され、加算
回路46の出力データがレジスタ47.48を介してR
AM45に供給される。RAM45には、ダイナミック
レンジDR3及び最大フレーム差ΔFに応じたアドレス
が供給されることにより、度数分布表が貯えられる。つ
まり、RAM45の出力データがレジスタ52を介して
加算回路46に供給され、この加算回路46の出力デー
タがレジスタ47.48を介してRAM45の同一アド
レスに書き込まれる。
The data read from the RAM 45 is supplied to the adder circuit 46 via the register 52 having an output control function, and the output data of the adder circuit 46 is sent to R via the registers 47 and 48.
Supplied to AM45. A frequency distribution table is stored in the RAM 45 by being supplied with an address corresponding to the dynamic range DR3 and the maximum frame difference ΔF. That is, the output data of the RAM 45 is supplied to the adder circuit 46 via the register 52, and the output data of the adder circuit 46 is written to the same address in the RAM 45 via the registers 47 and 48.

加算回路46には、レジスタ49を介して+1発生回路
50の出力が供給される。上記のレジスタ52と加算回
路46とレジスタ47.48.49と+1発生回路50
により、2フレ一ム期間の度数分布表(第6図参照)が
作成され、RAM45に格納される。
The output of the +1 generating circuit 50 is supplied to the adding circuit 46 via a register 49. The above register 52, addition circuit 46, registers 47, 48, 49, and +1 generation circuit 50
As a result, a frequency distribution table (see FIG. 6) for two frame periods is created and stored in the RAM 45.

次に、レジスタ51.52が出力可能状態とされ、レジ
スタ49が出力不可能状態とされ、積算型の度数分布表
の作成がなされる。RAM45には、最大フレーム差Δ
Fの255からスタートして0までディクリメントする
水平方向アドレス(上位アドレス)とダイナミックレン
ジDR3の255から(−1)づつディクリメントする
垂直方向アドレス(下位アドレス)とが供給される。
Next, the registers 51 and 52 are set to an output enabled state, and the register 49 is set to an output disabled state, and a cumulative frequency distribution table is created. The maximum frame difference Δ is stored in the RAM 45.
A horizontal address (upper address) that starts from 255 of F and decrements to 0 and a vertical address (lower address) that decrements by (-1) from 255 of dynamic range DR3 are supplied.

このアドレスにより、RAM45から読み出されたデー
タが加算回路46において、レジスタ51に貯えられて
いる以前のデータと加算される。
Based on this address, the data read from the RAM 45 is added to the previous data stored in the register 51 in the adder circuit 46.

RAM45には、加算回路46の出力データが読み出し
アドレスと同一アドレスに書き込まれるので、RAM4
5には、積算型の度数分布表が貯えられる。
The output data of the adder circuit 46 is written to the same address as the read address in the RAM 45.
5 stores an integrated frequency distribution table.

そして、発生情報量の算出を行うために、アドレスコン
トローラ44からレベル方向のしきい値T1〜T4が下
位のアドレス信号としてRAM45に順次供給される。
Then, in order to calculate the amount of generated information, the threshold values T1 to T4 in the level direction are sequentially supplied from the address controller 44 to the RAM 45 as lower address signals.

上位のアドレス信号は、動きしきい値MTH又は(ΔF
−0)で定まる。最初に(ΔF−0)とされた状態でし
きい値T4〜T1が順次アドレスとしてRAM45に供
給されると、度数NIO,N20. N30. N40
が読み出される。
The upper address signal is the motion threshold MTH or (ΔF
-0). When the threshold values T4 to T1 are sequentially supplied to the RAM 45 as addresses in a state where they are initially set to (ΔF-0), the frequencies NIO, N20, . N30. N40
is read out.

次に、(ΔF=MTH)とされた状態でしきい値T4〜
T1が順次アドレスとしてRAM45に供給されると、
度数Nil、 N21. N31. N41が読み出さ
れる。このように、順次度数が読み出されると、加算回
路54の出力は、 (N10+N11+N20+N21 +N30+N31+N40+N41) となる、この加算回路54の出力は、しきい値T1〜T
4及びMTHと対応するデータfi D A vを16
倍した値に他ならない。
Next, in a state where (ΔF=MTH), the threshold value T4~
When T1 is sequentially supplied to the RAM 45 as an address,
Frequency Nil, N21. N31. N41 is read. In this way, when the frequencies are read out sequentially, the output of the adder circuit 54 becomes (N10+N11+N20+N21 +N30+N31+N40+N41).
4 and MTH and corresponding data fi D A v to 16
It is nothing but the multiplied value.

比較回路56は、上記のデータ量が端子57からの基準
値(目標値)を超える時に“O”となり、基準値をデー
タ量が超えない時に“1”となる比較出力信号を発生す
る。この比較出力信号がアドレスコントローラ44に端
子5日を通じて供給される。アドレスコントローラ44
は、比較出力が“l”になると、しきい値の更新を停止
し、その時のしきい値(Tl〜T4及びMTH)を示す
しきい値コードptを出力端子53に発生する。
The comparison circuit 56 generates a comparison output signal that becomes "O" when the amount of data exceeds the reference value (target value) from the terminal 57, and becomes "1" when the amount of data does not exceed the reference value. This comparison output signal is supplied to the address controller 44 through terminal 5. Address controller 44
When the comparison output becomes "L", it stops updating the threshold value and generates a threshold code pt indicating the current threshold value (Tl to T4 and MTH) at the output terminal 53.

上述の度数分布表を積算型に変換する処理及び最適なし
きい値を決定する処理は、垂直ブランキング期間におい
て行うことができる。
The process of converting the frequency distribution table into an integrated type and the process of determining the optimal threshold value can be performed during the vertical blanking period.

第10図は、アドレスコントローラ44の一例の構成を
示す。第10図において、41及び42で各々示す入力
端子に最大値MAX3、最小値MIN3が供給され、減
算回路61の出力信号が+1発生回路75に供給される
ことにより、ダイナミックレンジDR3が算出される。
FIG. 10 shows an example configuration of the address controller 44. As shown in FIG. In FIG. 10, the maximum value MAX3 and the minimum value MIN3 are supplied to the input terminals indicated by 41 and 42, respectively, and the output signal of the subtraction circuit 61 is supplied to the +1 generation circuit 75, whereby the dynamic range DR3 is calculated. .

このダイナミックレンジDR3が出力制御機能を持つレ
ジスタ62を介して出力端子63に取り出される。この
出力端子63に発生するアドレスは、RAM45の垂直
方向(下位)アドレスである。
This dynamic range DR3 is taken out to an output terminal 63 via a register 62 having an output control function. The address generated at this output terminal 63 is a vertical (lower) address of the RAM 45.

また、O〜255の出力信号を順次発生する積算カウン
タ64が設けられ、積算カウンタ64の出力信号が出力
制御機能を持つレジスタ65を介して出力端子63にア
ドレス信号として取り出される。
Further, an integration counter 64 is provided which sequentially generates output signals of 0 to 255, and the output signal of the integration counter 64 is taken out as an address signal to an output terminal 63 via a register 65 having an output control function.

更に、66.67.6B、69ば、各々ROMを示し、
ROM66には、例えば11通りのしきい値T1が格納
されており、他のROM67.68.69には、同様に
11通りのしきいイ直T2゜T3.T4が格納されてい
る。ROM66〜69には、アドレス発生回路74で発
生したしきい値コードPiがアドレスとして供給される
Further, 66.67.6B and 69 respectively indicate ROM,
The ROM 66 stores, for example, 11 threshold values T1, and the other ROMs 67, 68, and 69 store similarly 11 threshold values T2, T2, T3, . T4 is stored. The ROMs 66-69 are supplied with the threshold code Pi generated by the address generation circuit 74 as an address.

このアドレス発生回路74には、端子58から比較回路
56の出力信号が供給され、比較出力が“0″期間では
、所定周期で変化するアドレスがROM66〜69に供
給される。ROM66〜69からは、発生情報量が基準
値以下になる迄、即ち、比較出力信号が“l”になる迄
、しきい値が順次読み出される。ROM66〜69の各
々から読み出されたしきい値は、出力制御機能を持つレ
ジスタ70.71,72.73を各々介して出力端子6
3に取り出される。このレジスタ70〜73により、し
きい値が順番に出力される。
The address generation circuit 74 is supplied with the output signal of the comparator circuit 56 from a terminal 58, and when the comparison output is "0", addresses that change at a predetermined period are supplied to the ROMs 66-69. The threshold values are sequentially read from the ROMs 66 to 69 until the amount of generated information becomes less than the reference value, that is, until the comparison output signal becomes "1". The threshold values read from each of the ROMs 66 to 69 are sent to the output terminal 6 via registers 70.71 and 72.73, each having an output control function.
It is taken out on 3rd. The registers 70 to 73 sequentially output threshold values.

アドレス発生回路74において、発生した最適なしきい
値を指定するためのしきい値コードPiは、出力端子5
3に取り出される。このしきい値コードPiがADRC
符号化のために使用されると共に、伝送される。
In the address generation circuit 74, the threshold code Pi for specifying the optimal threshold value generated is output from the output terminal 5.
It is taken out on 3rd. This threshold code Pi is ADRC
It is used for encoding and is also transmitted.

RAM45の水平方向(上位)のアドレスは、出力端子
83に発生する。上述の出力端子63に発生するアドレ
スは、ダイナミックレンジDR3に関するアドレスであ
るのに対して、出力端子83に発生するアドレスは、最
大フレーム差ΔFに関するアドレスである。
The horizontal (upper) address of the RAM 45 is generated at the output terminal 83. The address generated at the output terminal 63 described above is an address related to the dynamic range DR3, whereas the address generated at the output terminal 83 is an address related to the maximum frame difference ΔF.

最大フレーム差ΔFは、入力端子43から供給され、出
力制御機能を持つレジスタ85を介して出力端子83に
取り出される。81は、積算カウンタを示し、この積算
カウンタ81により形成された(0〜255)に変化す
るアドレスが出力制御機能を持つレジスタ82を介して
出力端子83に取り出される。積算カウンタ81は、度
数分布表を形成する時のアドレスを発生する。
The maximum frame difference ΔF is supplied from the input terminal 43 and taken out to the output terminal 83 via a register 85 having an output control function. Reference numeral 81 indicates an integration counter, and an address that changes from 0 to 255 formed by this integration counter 81 is taken out to an output terminal 83 via a register 82 having an output control function. The integration counter 81 generates an address when forming a frequency distribution table.

また、ROM84が設けられ、ROM84の出力が出力
制御機能を持つレジスタ85を介して出力端子83に取
り出される。このROM84には、アドレス発生回路7
4の出力信号が供給されており、データ量を算出する時
に、ROM84から読み出される動きしきい値MTHが
用いられる。
Further, a ROM 84 is provided, and the output of the ROM 84 is taken out to an output terminal 83 via a register 85 having an output control function. This ROM 84 includes an address generation circuit 7.
The motion threshold value MTH read from the ROM 84 is used when calculating the data amount.

更に、(ΔF;0)の時のアドレスを発生する0発生回
路87が設けられ、0発生回路87の出力が出力制御機
能を持つレジスタ88を介して出力端子83に取り出さ
れる。
Further, a 0 generation circuit 87 is provided which generates an address when (ΔF; 0), and the output of the 0 generation circuit 87 is taken out to an output terminal 83 via a register 88 having an output control function.

上述のアドレスコントローラ44において、度数分布表
の作成の時には、レジスタ86及び62がONする。
In the address controller 44 described above, registers 86 and 62 are turned on when creating a frequency distribution table.

積算型の度数分布表の作成の時には、レジスタ82及び
65がONする。最大フレーム差ΔFの方向の積算の時
には、積算カウンタ64の出力が255の期間内で積算
カウンタ81の出力が255からOに向かって変化し、
次に、積算カウンタ64の出力が254の期間内で積算
カウンタ81の出力が255から0に向かって変化する
。以下、同様の動作が繰り返され、積算カウンタ64の
出力がOの期間内で積算カウンタ81の出力が255か
らOに向かって変化することで、最大フレーム差ΔFの
方向の積算が完了する。
When creating a cumulative frequency distribution table, registers 82 and 65 are turned ON. During integration in the direction of the maximum frame difference ΔF, the output of the integration counter 81 changes from 255 to O within a period in which the output of the integration counter 64 is 255;
Next, within a period in which the output of the integration counter 64 is 254, the output of the integration counter 81 changes from 255 to 0. Thereafter, similar operations are repeated, and the output of the integration counter 81 changes from 255 toward O within the period in which the output of the integration counter 64 is O, thereby completing the integration in the direction of the maximum frame difference ΔF.

ダイナミックレンジDR3の方向の積算の時には、積算
カウンタ81の出力が255の期間内で積算カウンタ6
4の出力が255から0に向かって変化し、次に、積算
カウンタ81の出力が254の期間内で積算カウンタ6
4の出力が255から0に向かって変化する。以下、同
様の動作が繰り返され、積算カウンタ81の出力がOの
期間内で積算カウンタ64の出力が255から0に向か
って変化することで、ダイナミックレンジDR3の方向
の積算が完了し、積算型の度数分布表が作成される。
When integrating in the direction of the dynamic range DR3, the output of the integration counter 81 reaches the output of the integration counter 6 within a period of 255.
The output of the integration counter 81 changes from 255 to 0, and then the output of the integration counter 81 changes from 255 to 0 within the period of 254.
The output of 4 changes from 255 to 0. Thereafter, the same operation is repeated, and the output of the integration counter 64 changes from 255 to 0 within the period in which the output of the integration counter 81 is O, so that the integration in the direction of the dynamic range DR3 is completed, and the integration type A frequency distribution table is created.

また、発生情報量の演算の時には、レジスタ85.88
.70〜73がONする。レジスタ88がONL、、(
ΔF−0)の期間で、レジスタ70〜73が順次ONL
、、しきい値T1〜T4が発生することで、度数NIO
〜N40が得られ、レジスタ85がONL、、(ΔF−
MTH)の期間で、レジスタ70〜73が順次ONL、
、度数Ni1−N41が得られる。
Also, when calculating the amount of generated information, registers 85 and 88
.. 70 to 73 are turned on. Register 88 is ONL, (
During the period ΔF-0), registers 70 to 73 are sequentially turned ONL.
,, By the occurrence of threshold values T1 to T4, the frequency NIO
~N40 is obtained, and the register 85 is ONL, , (ΔF-
MTH), registers 70 to 73 are sequentially ONL,
, the frequency Ni1-N41 is obtained.

以上の第9図及び第10図に示す構成により、3次元度
数分布表が形成され、この度数分布表が積算型のものに
変換され、更に、最適なしきい値の決定がなされる。ま
た、アドレスコントローラ44からは、図示せずも、最
適なしきい値を決定する時の動きしきい値MTHが発生
され、この動きしきい値MTIIが動き判定回路10に
供給され、駒落とし処理がなされる。
With the configuration shown in FIGS. 9 and 10 above, a three-dimensional frequency distribution table is formed, this frequency distribution table is converted into an integral type table, and an optimal threshold value is determined. Further, although not shown, the address controller 44 generates a motion threshold MTH for determining the optimal threshold, and this motion threshold MTII is supplied to the motion determination circuit 10 to perform frame dropping processing. It will be done.

なお、第1図においては、検出回路3と別にフレーム差
検出回路9を設けているが、検出回路3で得られた最大
フレーム差ΔFを記憶しておき、この最大フレーム差を
用いて、動き判定を行うようにしても良い、また、3次
元ADRCエンコーダ11と2次元ADRCエンコーダ
13とは、共通の回路構成とすることが出来る。
In FIG. 1, a frame difference detection circuit 9 is provided separately from the detection circuit 3, but the maximum frame difference ΔF obtained by the detection circuit 3 is stored, and this maximum frame difference is used to detect the movement. The determination may be made, and the three-dimensional ADRC encoder 11 and the two-dimensional ADRC encoder 13 may have a common circuit configuration.

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

この発明は、3次元ブロックの可変長ADRCのような
高能率符号化装置において、静止領域では、駒落とし処
理により、伝送情報量が圧縮されることを考慮して、発
生情報量を目標値より小さいものに抑える場合に、ダイ
ナミックレンジDRのみならず、動きしきい値をも導入
している。従って、動きしきい値を動かすことで、静止
ブロックとして扱われる領域が増え、その分、レベル方
向のしきい値を厳しくしなくても良い。従って、この発
明によれば、復元画像の量子化雑音を低減できる。
In a high-efficiency encoding device such as a three-dimensional block variable length ADRC, the amount of generated information is reduced from a target value in consideration of the fact that the amount of transmitted information is compressed by frame drop processing in the still area. In order to keep it small, not only the dynamic range DR but also a motion threshold is introduced. Therefore, by changing the motion threshold, the area treated as a stationary block increases, and the threshold in the level direction does not need to be made stricter accordingly. Therefore, according to the present invention, quantization noise in a restored image can be reduced.

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

第1図はこの発明の一実施例の記録側の構成を示すブロ
ック図、第2図、第3図及び第4図はブロックの構成の
説明のための路線図、第5図はADRCエンコーダの一
例のブロック図、第6図及び第7図は度数分布表の説明
のための路線図、第8図は発生情報量の算出の説明に用
いる路線図、第9図は3次元度数分布発生回路及びしき
い値決定回路の一例のブロック図、第10図は第9図の
一部であるアドレスコントローラの一例のブロック図、
第11図は先に提案されているバッファリング回路の説
明のための路線図である。 11:3次元ADRCエンコーダ、 12:平均化回路、 13:2次元ADRCエンコーダ。 代理人 弁理士 杉 浦 正 知 図面における主要な符号の説明 1:ディジタルビデオ信号の入力端子、2ニブロック化
回路、3:検出回路、 5:3次元度数分布発生回路、 6:積算型度数分布発生回路、 7:しきい値決定回路、
FIG. 1 is a block diagram showing the configuration of the recording side of an embodiment of the present invention, FIGS. 2, 3, and 4 are route diagrams for explaining the block configuration, and FIG. 5 is a diagram of the ADRC encoder. An example block diagram, Figures 6 and 7 are route maps for explaining the frequency distribution table, Figure 8 is a route map used for explaining the calculation of the amount of generated information, and Figure 9 is a three-dimensional frequency distribution generation circuit. and a block diagram of an example of a threshold value determination circuit; FIG. 10 is a block diagram of an example of an address controller which is a part of FIG. 9;
FIG. 11 is a route diagram for explaining the previously proposed buffering circuit. 11: 3-dimensional ADRC encoder, 12: averaging circuit, 13: 2-dimensional ADRC encoder. Agent: Patent Attorney Masatoshi Sugiura Explanation of the main symbols in the drawing 1: Digital video signal input terminal, 2-block conversion circuit, 3: Detection circuit, 5: 3-dimensional frequency distribution generation circuit, 6: Integrating frequency distribution Generation circuit, 7: Threshold determination circuit,

Claims (1)

【特許請求の範囲】 ディジタル画像信号の複数フレームに属する領域からな
るブロック内に含まれる複数の画素データの最大値、最
小値及びダイナミックレンジを求める手段と、 上記各ブロック毎の動き量を検出する手段と、上記ブロ
ック毎の上記ダイナミックレンジ及び上記動き量をアド
レスとしてブロック毎の度数をメモリに入力し、所定期
間において上記度数を集計し度数分布を求める手段と、 上記度数分布から上記ダイナミックレンジのアドレス方
向及び上記動き量のアドレス方向に度数を順次積算して
積算型度数分布を求める手段と、所定の上記動き量以下
のブロックについて、複数フィールド間の対応画素デー
タの平均をとり駒落とし処理を行う手段と、 上記ブロック内の複数の画素データをそのブロックのダ
イナミックレンジに応じて圧縮符号化する手段と、 上記積算型度数分布と伝送路の伝送容量に応じて、上記
所定の動き量及び符号化ビット数を設定する手段と を有することを特徴とする高能率符号化装置。
[Claims] Means for determining the maximum value, minimum value, and dynamic range of a plurality of pixel data included in a block consisting of regions belonging to a plurality of frames of a digital image signal, and detecting the amount of motion for each block. means for inputting the frequency of each block into a memory using the dynamic range and the amount of movement for each block as addresses, and calculating the frequency distribution by summing up the frequencies over a predetermined period; and calculating the dynamic range from the frequency distribution. A means for obtaining an integrated frequency distribution by sequentially accumulating frequencies in the address direction and the address direction of the above-mentioned amount of movement, and a frame dropping process that averages corresponding pixel data between multiple fields for blocks whose movement amount is less than a predetermined amount. means for compressing and encoding a plurality of pixel data in the block according to the dynamic range of the block; and means for compressing and encoding the plurality of pixel data in the block according to the dynamic range of the block; 1. A high-efficiency encoding device, comprising: means for setting the number of encoding bits.
JP18378188A 1988-07-23 1988-07-23 High efficiency coding apparatus and high efficiency coding method Expired - Lifetime JP2827221B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18378188A JP2827221B2 (en) 1988-07-23 1988-07-23 High efficiency coding apparatus and high efficiency coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18378188A JP2827221B2 (en) 1988-07-23 1988-07-23 High efficiency coding apparatus and high efficiency coding method

Publications (2)

Publication Number Publication Date
JPH0233283A true JPH0233283A (en) 1990-02-02
JP2827221B2 JP2827221B2 (en) 1998-11-25

Family

ID=16141828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18378188A Expired - Lifetime JP2827221B2 (en) 1988-07-23 1988-07-23 High efficiency coding apparatus and high efficiency coding method

Country Status (1)

Country Link
JP (1) JP2827221B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0587397A2 (en) * 1992-09-07 1994-03-16 Fujitsu Limited Image data processing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62128621A (en) * 1985-11-29 1987-06-10 Sony Corp High-efficient coding device
JPS63111781A (en) * 1986-10-29 1988-05-17 Sony Corp Control circuit for quantity of information
JPS63155888A (en) * 1986-12-18 1988-06-29 Mitsubishi Electric Corp Picture coding control system
JPS63299587A (en) * 1987-05-29 1988-12-07 Sony Corp High efficient encode device
JPS63299588A (en) * 1987-05-29 1988-12-07 Sony Corp High efficient encode device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62128621A (en) * 1985-11-29 1987-06-10 Sony Corp High-efficient coding device
JPS63111781A (en) * 1986-10-29 1988-05-17 Sony Corp Control circuit for quantity of information
JPS63155888A (en) * 1986-12-18 1988-06-29 Mitsubishi Electric Corp Picture coding control system
JPS63299587A (en) * 1987-05-29 1988-12-07 Sony Corp High efficient encode device
JPS63299588A (en) * 1987-05-29 1988-12-07 Sony Corp High efficient encode device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0587397A2 (en) * 1992-09-07 1994-03-16 Fujitsu Limited Image data processing
EP0587397A3 (en) * 1992-09-07 1995-09-20 Fujitsu Ltd Image data processing

Also Published As

Publication number Publication date
JP2827221B2 (en) 1998-11-25

Similar Documents

Publication Publication Date Title
JP2508439B2 (en) High efficiency encoder
JP4144357B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JPH0846934A (en) Processor for digital picture signal
JP3804846B2 (en) Recording medium and image signal encoding apparatus
JP3671437B2 (en) Digital image signal processing apparatus and processing method
JPH07203456A (en) Coder, decoder and video recording device
JPH0233283A (en) High efficiency coding device
JP3111028B2 (en) Image signal processing apparatus and image signal processing method
JP2712343B2 (en) Image signal motion detection device
JP2508440B2 (en) High efficiency encoder
JP2827225B2 (en) Information amount control device for image signal
JP3896635B2 (en) Image data conversion apparatus and method, prediction coefficient generation apparatus and method
JP2003333370A (en) Signal processing apparatus
JP2827224B2 (en) High efficiency coding device
JP3170929B2 (en) Digital signal quantizer
JP2508483B2 (en) Digital image signal buffering device
JP3627256B2 (en) Apparatus and method for receiving / reproducing digital image signal
JP3661883B2 (en) Image signal decoding apparatus and image signal decoding method
JP3029195B2 (en) Image transmission apparatus and method
JP4123452B2 (en) Image processing apparatus and image processing method
JP3291786B2 (en) Transmission device for block transform coded data
JPH01114284A (en) Highly efficient coding device
JPH02105786A (en) Data compression circuit for electronic still camera
JP3286983B2 (en) Encoding device
JPH0818963A (en) Information quantity controller for quantized output

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term