JPH06169450A - High efficient encoder for digital video signal - Google Patents

High efficient encoder for digital video signal

Info

Publication number
JPH06169450A
JPH06169450A JP34311392A JP34311392A JPH06169450A JP H06169450 A JPH06169450 A JP H06169450A JP 34311392 A JP34311392 A JP 34311392A JP 34311392 A JP34311392 A JP 34311392A JP H06169450 A JPH06169450 A JP H06169450A
Authority
JP
Japan
Prior art keywords
data
circuit
value
encoding
digital video
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
JP34311392A
Other languages
Japanese (ja)
Other versions
JP3161110B2 (en
Inventor
Tetsujiro Kondo
哲二郎 近藤
Hideo Nakaya
秀雄 中屋
Kenji Takahashi
健治 高橋
Kunio Kawaguchi
邦雄 川口
Akiyoshi Noda
明美 野田
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 JP34311392A priority Critical patent/JP3161110B2/en
Publication of JPH06169450A publication Critical patent/JPH06169450A/en
Application granted granted Critical
Publication of JP3161110B2 publication Critical patent/JP3161110B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To provide flexibility by providing the interchangeability of a high efficient encoding system between the systems of two video signals whose resolution is different. CONSTITUTION:The sub-block of (2X2=4) picture elements is constituted under consideration of the ratio N(=4) of a resolution between a high vision signal and an NTSC signal. A blocking and mean value preparing circuit 2 prepares the weighted mean value (y) of each sub-block. Then, the weighted mean value of the (4X4) sub-block is encoded by a mean value encoding circuit 8. A difference value DELTAx between the data of each picture element and the weighted mean value is prepared by a subtracting circuit 7, and the difference value is encoded by a difference value encoding circuit 9.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、解像度が異なる二つ
の方式のディジタルビデオ信号の符号化の間で、互換性
を持つことができるディジタルビデオ信号の高能率符号
化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-efficiency coding apparatus for digital video signals, which is compatible with the coding of two types of digital video signals having different resolutions.

【0002】[0002]

【従来の技術】テレビジョン方式として、実用化されて
いるNTSC方式のような標準方式に比して、より解像
度が高い例えばハイビジョン方式が提案され、また、こ
の方式に関してVTR、ビデオカメラ等の周辺機器の開
発研究がされている。例えばディジタルデータの形態で
高解像度のビデオ信号を記録することも提案されてい
る。現在の標準の方式でさえも、ディジタルビデオ信号
の情報量が多く、高解像度のディジタルビデオ信号(H
D信号と称する)の場合には、より多くの情報量を記録
/再生する必要がある。このために、HD信号を記録す
る時には、記録データ量を圧縮するための高能率符号化
を採用するのが普通である。
2. Description of the Related Art As a television system, for example, a high-definition system, which has a higher resolution than a standard system such as a practically used NTSC system, has been proposed. Research and development of equipment is done. It has also been proposed to record high resolution video signals, for example in the form of digital data. Even with the current standard system, the amount of information in the digital video signal is large and the high resolution digital video signal (H
In the case of the D signal), it is necessary to record / reproduce a larger amount of information. For this reason, when recording HD signals, it is usual to employ high-efficiency coding for compressing the amount of recording data.

【0003】従来では、HD信号に対して適用される高
能率符号化と、標準のディジタルビデオ信号(SD信号
と称する)に対して適用される高能率符号化とは、独立
しており、両者の間で互換性が無かった。しかしなが
ら、複数の方式が混在している期間では、ディジタルV
TRの場合を考えると、HD信号用のディジタルVTR
(HD VTRと称する)で記録されたテープをSD信
号用のディジタルVTR(SD VTRと称する)で再
生できることが好ましい。また、これと逆に、SD V
TRで記録されたテープをHD VTRで再生できるこ
とが好ましい。VTRに限らず、ディジタルビデオ信号
の送受信に関しても、上述の双方向の互換性は、符号化
装置、復号装置の共通化を図り、ハードウエアの規模を
小さくする面で有効である。
Conventionally, the high-efficiency coding applied to an HD signal and the high-efficiency coding applied to a standard digital video signal (referred to as an SD signal) are independent. There was no compatibility between. However, during the period when a plurality of methods are mixed, the digital V
Considering the case of TR, a digital VTR for HD signals
It is preferable that the tape recorded by (HD VTR) can be reproduced by a digital VTR for SD signal (called SD VTR). On the contrary, SD V
It is preferable that the tape recorded by TR can be reproduced by HD VTR. The bidirectional compatibility described above is effective not only for VTRs but also for transmission / reception of digital video signals in that the encoding device and the decoding device are commonly used and the scale of hardware is reduced.

【0004】そこで、本願出願人は、HD信号とSD信
号との間で、双方向の互換性を有するディジタルビデオ
信号の高能率符号化装置を提案している。この符号化装
置は、SD信号とHD信号の解像度の比に略等しいN個
例えば4個の画素データを平均化し、16個の平均化デ
ータをブロック化してブロック符号化し、また、4個の
HD信号の画素データと平均化データとの差分のデータ
を符号化し、平均化データの符号化出力と差分データの
符号化出力とを記録するものである。この方法では、S
D VTRがHD VTRで記録されたテープの平均値
情報を再生することで、再生画像を得ることができる。
HD VTRは、SD VTRで記録されたテープの各
画素データを復号することで、再生画像を得ることがで
きる。
Therefore, the applicant of the present application has proposed a high-efficiency coding apparatus for digital video signals having bidirectional compatibility between HD signals and SD signals. This encoding device averages N pieces of pixel data, for example, 4 pieces, which are approximately equal to the resolution ratio of SD signals and HD signals, blocks 16 pieces of averaged data, and block-encodes them. The difference data between the pixel data of the signal and the averaged data is encoded, and the encoded output of the averaged data and the encoded output of the difference data are recorded. In this method, S
A reproduced image can be obtained by the D VTR reproducing the average value information of the tape recorded by the HD VTR.
The HD VTR can obtain a reproduced image by decoding each pixel data of the tape recorded by the SD VTR.

【0005】[0005]

【発明が解決しようとする課題】このように、上述の高
能率符号化装置では、単純平均値を使用している。しか
しながら、4個の画素データの間で確からしさが異なる
場合でも、4画素が同等に加算されてしまい、より確か
な画素データの重みを増加させることができなかった。
As described above, the above-mentioned high efficiency coding apparatus uses the simple average value. However, even if the probabilities of the four pieces of pixel data are different, the four pixels are added equally, and it is not possible to increase the weight of more reliable pixel data.

【0006】また、差分データを伝送する時に、同じ平
均値データを形成するための例えば4個のデータの中の
一つを省略して、伝送データ量をより少なくすることが
できる。しかしながら、この場合には、伝送されない差
分データが量子化歪みの影響を集中的に受ける問題があ
った。
Further, when transmitting the differential data, one of, for example, four data for forming the same average value data can be omitted to reduce the transmission data amount. However, in this case, there is a problem that the non-transmitted differential data is intensively affected by the quantization distortion.

【0007】さらに、平均値データおよび差分データを
符号化するために、ADRCを使用することができる
が、ADRCにより符号化した時に発生するダイナミッ
クレンジ情報のデータ量が比較的多く、圧縮効率が向上
できない問題があった。
Further, although ADRC can be used for encoding the average value data and the difference data, the data amount of the dynamic range information generated when encoding by ADRC is relatively large and the compression efficiency is improved. There was a problem I couldn't do.

【0008】従って、この発明の一つの目的は、単純平
均に代えて加重平均を用いるようにした高能率符号化装
置を提供することにある。
Therefore, one object of the present invention is to provide a high-efficiency coding apparatus which uses a weighted average instead of a simple average.

【0009】この発明の他の目的は、量子化歪みの影響
が低減された高能率符号化装置を提供することにある。
Another object of the present invention is to provide a high efficiency coding apparatus in which the influence of quantization distortion is reduced.

【0010】この発明のさらに他の目的は、符号化とし
てADRCを使用した時に、圧縮の効率をより向上でき
る高能率符号化装置を提供することにある。
Still another object of the present invention is to provide a high efficiency coding apparatus capable of further improving the compression efficiency when ADRC is used for coding.

【0011】[0011]

【課題を解決するための手段】請求項1の発明は、第1
の標準ビデオ信号よりも解像度の高い第2の標準ビデオ
信号が供給され、この信号をディジタル化した後に圧縮
符号化して伝送するようにしたディジタルビデオ信号の
高能率符号化装置において、ディジタルビデオ信号の第
1および第2の標準ビデオ信号の解像度の比に略等しい
N個の画素データを加重平均する平均化回路と、平均化
手段からの複数の加重平均データをブロック化してブロ
ック符号化する第1の符号化回路と、N個の画素データ
と加重平均データとのそれぞれの差分のデータを符号化
する第2の符号化回路と、第1および第2の符号化回路
の出力を伝送する手段とを有してなるディジタルビデオ
信号の高能率符号化装置である。
The invention according to claim 1 is the first
The second standard video signal having a higher resolution than that of the standard video signal is supplied, and this signal is digitized and then compression-encoded for transmission. An averaging circuit for weighted averaging N pixel data that is approximately equal to the ratio of resolutions of the first and second standard video signals, and a plurality of weighted average data from the averaging means are block-coded into blocks. Coding circuit, a second coding circuit for coding the difference data between the N pixel data and the weighted average data, and means for transmitting the outputs of the first and second coding circuits. It is a high-efficiency encoder for digital video signals having the following.

【0012】請求項2の発明は、請求項1のディジタル
ビデオ信号の高能率符号化装置において、第2の符号化
回路は、第1の符号化回路により符号化された平均デー
タを局部復号して得られたデータを使用するものであ
る。
According to a second aspect of the present invention, in the high-efficiency encoding apparatus for a digital video signal according to the first aspect, the second encoding circuit locally decodes the average data encoded by the first encoding circuit. The data obtained is used.

【0013】請求項3の発明は、請求項1のディジタル
ビデオ信号の高能率符号化装置において、第1の符号化
回路は、ブロックの最大値および最小値を付加コードと
するnビットADRC符号化回路を有し、第2の符号化
回路は、第1の符号化回路から発生する最大値および最
小値を使用して差分データをmビットで符号化するもの
である。
According to a third aspect of the present invention, in the high-efficiency encoding apparatus for a digital video signal according to the first aspect, the first encoding circuit is an n-bit ADRC encoding in which the maximum value and the minimum value of the block are additional codes. The second encoding circuit has a circuit and encodes the difference data with m bits by using the maximum value and the minimum value generated from the first encoding circuit.

【0014】[0014]

【作用】単純平均値ではなく、加重平均値が形成され
る。加重平均値と画素データとの差分が形成される。
A weighted average value is formed instead of a simple average value. The difference between the weighted average and the pixel data is formed.

【0015】差分データを形成するのに用いる加重平均
値として、局部復号して得られた加重平均値を使用する
ので、その量子化歪みが復号された画素データの全てに
影響することを防止できる。
Since the weighted average value obtained by local decoding is used as the weighted average value used to form the difference data, it is possible to prevent the quantization distortion from affecting all the decoded pixel data. .

【0016】符号化としてADRCを使用する時に、平
均値データをADRC符号化した時に発生する付加デー
タを差分データのADRC符号化に利用することで、付
加データの削減を図ることができる。
When ADRC is used as the encoding, the additional data generated when the average value data is ADRC encoded is used for the ADRC encoding of the difference data, whereby the additional data can be reduced.

【0017】[0017]

【実施例】以下、この発明の一実施例について、図面を
参照して説明する。この一実施例は、HD信号例えばハ
イビジョン信号を回転ヘッドにより磁気テープ上に記録
するディジタルビデオ信号記録装置の例である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. This embodiment is an example of a digital video signal recording apparatus for recording an HD signal, for example, a high-definition signal on a magnetic tape by a rotary head.

【0018】図1は、記録回路内に設けられる符号化回
路を示す。図1において、1は、記録すべきHD信号の
入力端子であり、このビデオ信号は、各画素が8ビット
にディジタル化されている。HD信号がブロック化およ
び平均値発生回路2に供給される。この回路2では、T
で表すサンプリング周期の遅延回路とHで表すライン周
期の遅延回路とで、(2×2)の4画素のデータx1、
x2、x3およびx4が同時化される。
FIG. 1 shows an encoding circuit provided in the recording circuit. In FIG. 1, reference numeral 1 is an input terminal of an HD signal to be recorded, and each pixel of this video signal is digitized into 8 bits. The HD signal is supplied to the block formation and average value generation circuit 2. In this circuit 2, T
The sampling cycle delay circuit represented by and the line cycle delay circuit represented by H include (2 × 2) 4-pixel data x1,
x2, x3 and x4 are synchronized.

【0019】この一実施例では、図2に示すように、H
D信号を(2画素×2ライン)のサブブロックに分割す
る。サブブロック内には、画素データx1、x2、x
3、x4が含まれる。サブブロックの大きさは、HD信
号とSD信号との解像度或いはデータ量の比に略対応し
ている。例えばHD信号の一つである、ハイビジョン信
号は、現行のNTSC方式と比して、水平方向の画素数
および垂直方向のライン数が略2倍であり、解像度で
は、略4倍である。従って、サブブロックが4個の画素
から構成されている。
In this embodiment, as shown in FIG.
The D signal is divided into (2 pixels × 2 lines) sub-blocks. Within the sub-block, pixel data x1, x2, x
3 and x4 are included. The size of the sub-block substantially corresponds to the resolution or the data amount ratio of the HD signal and the SD signal. For example, a high-definition signal, which is one of HD signals, has approximately twice the number of pixels in the horizontal direction and the number of lines in the vertical direction as compared with the current NTSC system, and has approximately four times the resolution. Therefore, the sub-block is composed of four pixels.

【0020】これらの画素データが重み付け回路によっ
て、w1、w2、w3、w4の重み付け係数によりそれ
ぞれ重み付けされた後に、加算回路3において加算され
る。加算回路3からは、次式で表される画素データの加
重平均値が生成される。従って、図2の(8画素×8ラ
イン)の領域から図3の(4×4=16)個の加重平均
値が形成される。加重平均値をyとすると、 y=Σwi i (1) (Σは、i=1からi=4までの合計を意味する。)と
なる。但し、Σwi =1である。
These pixel data are weighted by the weighting circuits by the weighting factors of w1, w2, w3 and w4, respectively, and then added by the adding circuit 3. From the adder circuit 3, a weighted average value of pixel data represented by the following equation is generated. Therefore, (4 × 4 = 16) weighted average values of FIG. 3 are formed from the area of (8 pixels × 8 lines) of FIG. If the weighted average value is y, then y = Σw i x i (1) (Σ means the sum from i = 1 to i = 4). However, Σw i = 1.

【0021】平均値yは、レジスタ5を介して減算回路
7および平均値符号化回路8に供給される。画素データ
x1〜x4は、スイッチング回路6を介して減算回路7
に順次供給される。この減算回路7から各画素に関する
差分データΔxi が発生する。HD信号の加重平均値y
からのそれぞれの画素の差分値をΔiとすると、 Δi =xi −y (2) である。
The average value y is supplied to the subtraction circuit 7 and the average value encoding circuit 8 via the register 5. The pixel data x1 to x4 are transferred to the subtraction circuit 7 via the switching circuit 6.
Are sequentially supplied. The subtraction circuit 7 produces difference data Δx i for each pixel. Weighted average value y of HD signal
Let Δi be the difference value of each pixel from Δi = Δ i = x i −y (2).

【0022】ここで、 Σwi Δxi =Σwi (xi −y) =Σwi i −yΣwi =0 (3) となる。従って、y、Δx1、Δx2、Δx3が既知で
あれば、 Δx4=−(1/w4)(Σ´wi Δxi ) (4) (Σ´は、i=1からi=3までの合計を意味する。)
により、Δx4を求めることができる。従って、Δx4
の伝送を省略して、伝送データ量を低減できる。勿論、
Δx4に限らず、4個の差分値の任意の一つの伝送を省
略することができる。
Here, Σw i Δx i = Σw i (x i −y) = Σw i x i −y Σw i = 0 (3) Therefore, if y, Δx1, Δx2, and Δx3 are known, Δx4 = − (1 / w4) (Σ′w i Δx i ) (4) (Σ ′ is the total from i = 1 to i = 3. means.)
Thus, Δx4 can be obtained. Therefore, Δx4
It is possible to reduce the amount of data to be transmitted by omitting the transmission of. Of course,
Not limited to Δx4, transmission of any one of the four difference values can be omitted.

【0023】平均値yは、レジスタ5を介して減算回路
7および平均値符号化回路8に供給される。画素データ
x1〜x4は、スイッチング回路6を介して減算回路7
に順次供給される。この減算回路7から各画素に関する
差分データΔxi が発生する。差分データが差分値符号
化回路9に供給される。符号化回路8および9は、平均
値データおよび差分値データのデータ量を圧縮するため
のもので、例えば各データを再量子化により圧縮する量
子化回路、後述のADRC符号化回路等を使用できる。
平均値符号化回路8の符号化出力SDDTと差分値符号
化回路9の符号化出力HDDTとが図示せずも、フレー
ム化回路に供給される。フレーム化回路において、エラ
ー訂正符号化、シンクブロックで構成される記録データ
へのデータ構造の変換等の処理がされる。
The average value y is supplied to the subtraction circuit 7 and the average value encoding circuit 8 via the register 5. The pixel data x1 to x4 are transferred to the subtraction circuit 7 via the switching circuit 6.
Are sequentially supplied. The subtraction circuit 7 produces difference data Δx i for each pixel. The difference data is supplied to the difference value encoding circuit 9. The encoding circuits 8 and 9 are for compressing the data amount of the average value data and the difference value data, and for example, a quantizing circuit for compressing each data by requantization, an ADRC encoding circuit described later, or the like can be used. .
Although not shown, the coded output SDDT of the average value coding circuit 8 and the coded output HDDT of the difference value coding circuit 9 are supplied to the framing circuit. In the framing circuit, processing such as error correction coding and conversion of the data structure into recording data composed of sync blocks is performed.

【0024】フレーム化回路から出力される記録データ
がチャンネル符号化回路、記録アンプ等を介して回転ヘ
ッドに供給され、磁気テープ上に記録される。磁気テー
プへのデータの記録方法として、例えば図4のトラック
パターンのものを採用できる。すなわち、回転ヘッド装
置としては、近接して二つのギャップを有するダブルア
ジマスヘッドを180°の対向で、ドラム上に一対設け
られたものを使用する。一方のダブルアジマスヘッドに
よって、同時にテープ上に二つのトラックA、Bが形成
され、次に、他方のダブルアジマスヘッドによって、二
つのトラックA′、B′が形成される。トラックAおよ
びA′として、差分値符号化回路9から発生したデータ
HDDTを記録し、トラックBおよびB′として、平均
値符号化回路8から発生したデータSDDTを記録す
る。
The recording data output from the framing circuit is supplied to the rotary head via the channel encoding circuit, recording amplifier, etc., and recorded on the magnetic tape. As a method of recording data on the magnetic tape, for example, the track pattern of FIG. 4 can be adopted. That is, as the rotary head device, a device in which a pair of double azimuth heads having two gaps close to each other and facing each other by 180 ° are provided on the drum is used. Two tracks A and B are simultaneously formed on the tape by one double azimuth head, and then two tracks A ′ and B ′ are formed by the other double azimuth head. The data HDDT generated from the differential value encoding circuit 9 is recorded as tracks A and A ', and the data SDDT generated from the average value encoding circuit 8 is recorded as tracks B and B'.

【0025】HD VTRの場合は、かかるトラックパ
ターンのデータを全て再生し、復号処理によってHD信
号を再生できる。SD VTRは、図4のトラックパタ
ーンのうち、トラックBおよびB′のみを再生する。そ
して、再生されたデータSDDTを復号することによ
り、平均値データを得ることができる。この平均値デー
タからSD画像を復元する。
In the case of the HD VTR, all the data of the track pattern can be reproduced and the HD signal can be reproduced by the decoding process. The SD VTR reproduces only tracks B and B'of the track pattern of FIG. Then, by decoding the reproduced data SDDT, average value data can be obtained. An SD image is restored from this average value data.

【0026】図5は、ディジタルVTRの再生回路に設
けられる復号回路の一例の構成を示す。テープから再生
され、チャンネル復号、エラー訂正等の処理がされた再
生データの内、平均値符号化データSDDTが加重平均
値復号回路21に供給され、また、再生データの内の差
分値符号化データHDDTが差分値復号回路22に供給
される。差分値復号回路22の復号出力が差分値演算回
路23に供給される。差分値演算回路23は、上述のよ
うに、伝送が省略された一つの差分値を他の差分値から
求める。平均値復号回路21からの復号加重平均値と差
分値演算回路23の出力とが加算回路24に供給され
る。この加算回路24によって、4個のHD信号の画素
の復号値が形成される。また、加重平均値復号回路21
からは、4画素の加重平均値の復号データ(SD信号)
が取り出される。
FIG. 5 shows an example of the configuration of a decoding circuit provided in the reproducing circuit of the digital VTR. Of the reproduction data reproduced from the tape and subjected to the processing such as channel decoding and error correction, the average value encoded data SDDT is supplied to the weighted average value decoding circuit 21, and the difference value encoded data in the reproduced data is also supplied. The HDDT is supplied to the difference value decoding circuit 22. The decoded output of the difference value decoding circuit 22 is supplied to the difference value calculation circuit 23. As described above, the difference value calculation circuit 23 obtains one difference value for which transmission is omitted from other difference values. The decoding weighted average value from the average value decoding circuit 21 and the output of the difference value calculating circuit 23 are supplied to the adding circuit 24. The addition circuit 24 forms decoded values of four pixels of the HD signal. In addition, the weighted average value decoding circuit 21
From, the decoded data (SD signal) of the weighted average value of 4 pixels
Is taken out.

【0027】次に、この発明の他の実施例について説明
しよう。他の実施例は、加重平均値の符号化歪みが4画
素の全てに反映する問題を解決するものである。すなわ
ち、xi の復号値を^xi と表記し、yの復号値を^y
と表記すると、復号回路の差分値加算回路24では、 ^xi =Δ^xi +^y (5) によって、復号値^xi を形成する。このように、加重
平均値yの量子化歪みが4画素の復号値に影響する。
Next, another embodiment of the present invention will be described. Another embodiment solves the problem that the coding distortion of the weighted average value is reflected in all four pixels. That is, the decoded value of the x i is denoted by ^ x i, the decoding value of y ^ y
In the differential value adding circuit 24 of the decoding circuit, the decoded value ^ x i is formed by: ^ x i = Δ ^ x i + ^ y (5) In this way, the quantization distortion of the weighted average value y affects the decoded value of 4 pixels.

【0028】この問題を解決するために、他の実施例で
は、図6に示すように、加重平均値符号化回路8からの
符号化平均値を局部復号回路10に供給し、局部復号値
^yを形成する。この局部復号値^yを差分値演算回路
7′に供給する。差分値演算回路7′は、この復号値^
yを使用して差分値Δxi を形成する。すなわち、 Δxi =xi −^y (6)
In order to solve this problem, in another embodiment, as shown in FIG. 6, the coded average value from the weighted average value coding circuit 8 is supplied to the local decoding circuit 10 so that the local decoded value ^ form y. This locally decoded value ^ y is supplied to the difference value calculation circuit 7 '. The difference value calculation circuit 7'uses the decoded value ^
y is used to form the difference value Δx i . That is, Δx i = x i − ^ y (6)

【0029】この差分値が符号化回路9により符号化さ
れ、再生側では、上述の図5と同様の構成によって復号
される。再生側で復号される加重平均値は、局部復号値
^yと等しいので、(5)式の演算によって復号した時
に、加重平均値の量子化歪みが全ての画素の復号に影響
することを防止できる。
This difference value is encoded by the encoding circuit 9, and is decoded on the reproducing side by the same configuration as that shown in FIG. Since the weighted average value decoded on the reproduction side is equal to the locally decoded value ^ y, it is possible to prevent the quantization distortion of the weighted average value from affecting the decoding of all the pixels when the decoding is performed by the calculation of the equation (5). it can.

【0030】他の実施例は、単純平均値を使用する場合
にも適用できる。さらに、他の実施例を拡張して、加重
平均値yを形成するのに使用するデータの一部として、
実データの代わりに局部復号された画素データを使用し
ても良い。この結果、一つのデータの伝送を省略した時
に、そのデータに他の差分データの復号値に生じた量子
化歪みが集中することを防止できる。
Another embodiment is applicable when using a simple mean value. Further extending another embodiment, as part of the data used to form the weighted average y,
Locally decoded pixel data may be used instead of the actual data. As a result, when the transmission of one data is omitted, it is possible to prevent the quantization distortion generated in the decoded value of the other difference data from concentrating on that data.

【0031】次に、この発明のさらに他の実施例につい
て説明する。さらに他の実施例は、図1中の平均値符号
化回路8あるいは差分値符号化回路9に対して、ADR
C(ダイナミックレンジ適応符号化)方式を適用したも
のである。ADRC符号化は、本願出願人の提案による
もので、ADRCブロック内の画素データの最大値とそ
の最小値との差であるダイナミックレンジに適応した符
号化である。この例では、(4×4)のデータをADR
Cブロックとしている。
Next, still another embodiment of the present invention will be described. In another embodiment, the average value encoding circuit 8 or the difference value encoding circuit 9 in FIG.
The C (dynamic range adaptive coding) method is applied. The ADRC encoding is proposed by the applicant of the present application and is an encoding adapted to the dynamic range which is the difference between the maximum value and the minimum value of the pixel data in the ADRC block. In this example, (4 × 4) data is ADR
It is a C block.

【0032】図7は、加重平均値データに対して適用さ
れるADRC符号化回路の一例である。入力端子31か
らブロックの順序の平均値データyが供給され、検出回
路32によって、ブロック毎に最大値Maxおよび最小
値Minが検出される。減算回路33において、(Ma
x−Min+1=DR)によりダイナミックレンジDR
が演算される。また、入力データがタイミング合わせ用
の遅延回路34を介して減算回路35に供給される。減
算回路35において、入力データから最小値Minが減
算され、最小値除去後のデータが得られる。
FIG. 7 shows an example of an ADRC encoding circuit applied to the weighted average value data. The average value data y in the order of blocks is supplied from the input terminal 31, and the detection circuit 32 detects the maximum value Max and the minimum value Min for each block. In the subtraction circuit 33, (Ma
x-Min + 1 = DR), the dynamic range DR
Is calculated. Further, the input data is supplied to the subtraction circuit 35 via the delay circuit 34 for timing adjustment. In the subtraction circuit 35, the minimum value Min is subtracted from the input data, and the data after the removal of the minimum value is obtained.

【0033】最小値除去後のデータとダイナミックレン
ジDRとが量子化回路36に供給され、ダイナミックレ
ンジDRに適応してデータがnビット長のコード信号に
量子化される。量子化は、量子化値をQjとし、入力デ
ータyをXjと置き換えると、 Qj=〔(Xj−Min+0.5)×(2n /DR)〕切捨て (7) である。
The data after the removal of the minimum value and the dynamic range DR are supplied to the quantizing circuit 36, and the data is quantized into a code signal having an n-bit length in accordance with the dynamic range DR. The quantization is Qj = [(Xj-Min + 0.5) × (2 n / DR)] rounded down (7) when the quantized value is Qj and the input data y is replaced with Xj.

【0034】ここで、あらためて MAX′=Y(Q=2n-1 ) MIN′=Y(Q=0) DR′=MAX′−MIN′ と定義しなおすと、 Qj=〔(Xj−MIN') ×(2n −1) /DR' +0.5 )〕切捨て (8) となる。但し、Y(Q=i)は、Q=iを満足するYの
平均を意味する。
Here again, if MAX '= Y (Q = 2 n-1 ) MIN' = Y (Q = 0) DR '= MAX'-MIN' is defined again, Qj = [(Xj-MIN ' ) × (2 n −1) / DR ′ +0.5)] rounded down (8). However, Y (Q = i) means the average of Y satisfying Q = i.

【0035】このときの量子化ステップ幅dは、 d=DR′/(2n −1) (9) である。従って、平均値をADRC符号化した時の1ブ
ロック当りの情報量ISDは、 ISD=8+8+16n (10) となる。
The quantization step width d at this time is d = DR '/ (2 n -1) (9). Therefore, the information amount ISD per block when the average value is ADRC encoded is ISD = 8 + 8 + 16n (10).

【0036】差分データの符号化回路9に対しても、上
述のようなADRCを適用することができる。しかしな
がら、符号化出力信号として、ダイナミックレンジ情報
の割合が比較的大きく、圧縮の効率がそれによって低下
する問題がある。この発明のさらに他の実施例は、AD
RCを使用した時のかかる効率の低下の問題を解決しよ
うとするものである。
The ADRC as described above can also be applied to the differential data encoding circuit 9. However, as a coded output signal, the ratio of the dynamic range information is relatively large, which causes a problem that the compression efficiency is reduced. Yet another embodiment of the present invention is an AD.
The present invention is intended to solve the problem of such a reduction in efficiency when using RC.

【0037】ここで、平均値データを求めた過程を考え
ると、平均値データのダイナミックレンジは、もとのH
D信号のダイナミックレンジと等しいか、あるいはこれ
より小さい関係がある。図11には、(n=3)の場合
において、SD信号とHD信号のダイナミックレンジ、
量子化ステップ幅の関係を示している。差分値を符号化
する場合、SD信号のダイナミックレンジ情報から決定
される、SD信号用の量子化ステップをそのまま用いる
と、非常に粗い量子化が行われてしまう。そこで、差分
値に対する量子化ステップ幅d′をより細かくする。
Considering the process of obtaining the average value data, the dynamic range of the average value data is
The relationship is equal to or smaller than the dynamic range of the D signal. FIG. 11 shows the dynamic range of the SD signal and the HD signal in the case of (n = 3),
The relationship between the quantization step widths is shown. When encoding the difference value, if the quantization step for the SD signal, which is determined from the dynamic range information of the SD signal, is used as it is, very coarse quantization will be performed. Therefore, the quantization step width d'for the difference value is made finer.

【0038】すなわち、差分データの量子化ビット数を
mビットで表すと、 d′=((MAX'−MIN') /2)/2m-1 (11) とする。(n=m)であっても、DR′の1/2をベー
スとして差分値に対する量子化ステップ幅d′を決めて
いるので、量子化ステップ幅をより細かくできる。若
し、(n>m)であれば、(MAX′−MIN′)/k
(k>2)をベースに量子化ステップ幅d′を決定すれ
ば良い。
That is, when the number of quantization bits of the difference data is represented by m bits, d '= ((MAX'-MIN') / 2) / 2 m-1 (11). Even with (n = m), the quantization step width d'for the difference value is determined based on 1/2 of DR ', so that the quantization step width can be made finer. If (n> m), (MAX'-MIN ') / k
The quantization step width d ′ may be determined based on (k> 2).

【0039】従って、差分値の符号化値QHDは、次式で
表される。 QHD=〔(Δxi ×(k/MAX'−MIN')×(2m-1 −1)±0.5 )〕切捨て (12) ここで、±0.5の符号は、Δxi が正の値のときは+
0.5、これが負の値のときは、−0.5となる。
Therefore, the coded value Q HD of the difference value is expressed by the following equation. Q HD = [(Δx i × (k / MAX'-MIN ') × (2 m-1 -1) ± 0.5)] rounding down (12) where ± x i is positive + For value
0.5, and when this is a negative value, it becomes -0.5.

【0040】さて、復号時の処理について説明すると、
平均値データの復元値は、次式で表される。 ^Xj=〔Qj×(MAX'−MIN')/(2n −1)+MIN'+0.5 〕切捨て (13) そして、差分値の復元値は、 ^Δxi =〔QHD×(MAX'−MIN')/k×1/(2m-1 −1))+^Xj+0. 5 〕切捨て (14)
Now, the processing at the time of decoding will be described.
The restored value of the average value data is expressed by the following equation. ^ Xj = [Qj × (MAX'-MIN ') / (2 n -1) + MIN' + 0.5 ] truncated (13) Then, the restored value of the difference value, ^ [Delta] x i = [Q HD × (MAX ' -MIN ') / k × 1 / (2 m-1 -1)) + ^ Xj + 0.5] rounded down (14)

【0041】ビット数の関係として(n<m)という条
件があるならば、(12)式および(14)式は、下記のように
修正される。 QHD=〔(Δxi ×2m-1 −1/(MAX'−MIN')±0.5 )〕切捨て (15) ^Δxi =〔QHD×(MAX'−MIN')/(2m-1 −1))+^Xj+0.5 〕切捨 て (16)
If the condition of the number of bits is (n <m), the equations (12) and (14) are modified as follows. Q HD = [(Δx i × 2 m-1 −1 / (MAX'-MIN ') ± 0.5)] rounded down (15) ^ Δx i = [Q HD × (MAX'-MIN') / (2 m- 1 -1)) + ^ Xj + 0.5] rounded down (16)

【0042】図8は、上述したこの発明のさらに他の実
施例の構成を示し、加重平均値演算回路2からの加重平
均値yがADRC符号化回路8′に供給される。ADR
C符号化回路8′によって、平均値が符号化され、MA
X′、MIN′、Qjの符号化出力が発生する。コード
信号のビット数は、nである。これらは、データSDD
Tとして伝送される。一方、差分値演算回路7で形成さ
れた差分値ΔxiがADRC符号化回路9′に供給され
る。
FIG. 8 shows the configuration of still another embodiment of the present invention described above. The weighted average value y from the weighted average value calculation circuit 2 is supplied to the ADRC encoding circuit 8 '. ADR
The average value is coded by the C coding circuit 8'and MA
Coded outputs of X ', MIN', Qj are generated. The number of bits of the code signal is n. These are the data SDD
Transmitted as T. On the other hand, the difference value Δxi formed by the difference value calculation circuit 7 is supplied to the ADRC encoding circuit 9 '.

【0043】このADRC符号化回路9′は、ADRC
符号化回路8′で発生した付加データ(ダイナミックレ
ンジ情報)MAX′とMIN′とを使用して差分値を符
号化する。データHDDTとして伝送されるのは、mビ
ットのコード信号QHDであり、付加データが伝送されな
い。従って、データHDDTのデータ量が付加データの
ために増加することが回避される。
This ADRC encoding circuit 9'is composed of ADRC
The difference value is encoded using the additional data (dynamic range information) MAX 'and MIN' generated by the encoding circuit 8 '. What is transmitted as the data HDDT is the m-bit code signal Q HD , and no additional data is transmitted. Therefore, it is avoided that the data amount of the data HDDT increases due to the additional data.

【0044】図9に示すように、差分値演算回路7に対
してADRC復号器10′により局部復号された加重平
均値を供給し、この復号値を使用して差分値を求めるよ
うにしても良い。
As shown in FIG. 9, the weighted average value locally decoded by the ADRC decoder 10 'is supplied to the difference value calculation circuit 7, and the difference value is obtained using this decoded value. good.

【0045】図10は、図8あるいは図9に示す符号化
回路と対応する復号回路の構成である。再生されたデー
タSDDTがADRC復号回路21′に供給され、SD
DT中の付加データMAX′およびMIN′がADRC
復号回路22′に供給される。ADRC復号回路22′
には、再生されたデータHDDTが供給される。
FIG. 10 shows the configuration of a decoding circuit corresponding to the encoding circuit shown in FIG. 8 or 9. The reproduced data SDDT is supplied to the ADRC decoding circuit 21 ', and SD
The additional data MAX 'and MIN' in DT are ADRC
It is supplied to the decoding circuit 22 '. ADRC decoding circuit 22 '
Is supplied with the reproduced data HDDT.

【0046】ADRC復号回路21′は、MAX′、M
IN′およびQjから加重平均値を復号する。この復号
平均値データは、後段にSD信号として出力され、ま
た、差分値加算回路7に供給される。ADRC復号回路
22′は、MAX′、MIN′およびQHDから差分値デ
ータを復号する。差分値加算回路7は、復号差分値と復
号平均値とを加算し、HD信号を出力する。
The ADRC decoding circuit 21 'includes MAX', M
Decode the weighted average from IN 'and Qj. The decoded average value data is output to the subsequent stage as an SD signal and is also supplied to the difference value adding circuit 7. The ADRC decoding circuit 22 'decodes the difference value data from MAX', MIN 'and Q HD . The difference value adding circuit 7 adds the decoded difference value and the decoded average value and outputs an HD signal.

【0047】ADRCを使用する実施例は、加重平均値
に限らず、単純平均値の場合にも適用できる。
The embodiment using ADRC can be applied not only to the weighted average value but also to the simple average value.

【0048】[0048]

【発明の効果】この発明は、ビデオ信号の二つの方式の
解像度の比を考慮した大きさのブロックとし、符号化後
でのデータ量を両方式で略等しくできる。また、平均値
情報と差分値データとを別々に符号化しているので、平
均値情報および差分値情報を復号することで、HD画像
を構成でき、平均値情報のみを復号することでSD画像
を構成できる。
According to the present invention, a block having a size considering the resolution ratio of the two types of video signals is taken into consideration, and the data amount after encoding can be made substantially equal in both types. Further, since the average value information and the difference value data are encoded separately, an HD image can be constructed by decoding the average value information and the difference value information, and an SD image can be obtained by decoding only the average value information. Can be configured.

【0049】特に、この発明は、加重平均値を使用する
ので、画素の確からしさの程度の相違を重み付け係数に
反映させることができる。また、局部復号で得られたデ
ータを使用して差分値を符号化するので、復号時に平均
値データの量子化歪みが全ての画素の復号値に影響する
のを防止したり、歪みが伝送を省略した画素に集中する
ことを防止できる。さらに、ADRCによって平均値お
よび差分値を符号化する時に、平均値のダイナミックレ
ンジ情報を差分値の符号化に利用することによって、付
加データのデータ量を低減することができる。
In particular, since the present invention uses the weighted average value, it is possible to reflect the difference in the degree of certainty of pixels in the weighting coefficient. In addition, since the difference value is encoded using the data obtained by local decoding, it is possible to prevent the quantization distortion of the average value data from affecting the decoded values of all the pixels at the time of decoding, or to prevent the distortion from being transmitted. It is possible to prevent concentration of the omitted pixels. Further, when the average value and the difference value are encoded by ADRC, the data amount of the additional data can be reduced by using the dynamic range information of the average value for encoding the difference value.

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

【図1】この発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】HD信号で構成されるブロックを示す略線図で
ある。
FIG. 2 is a schematic diagram showing a block composed of HD signals.

【図3】HD信号の平均値で構成されるブロックを示す
略線図である。
FIG. 3 is a schematic diagram showing a block composed of average values of HD signals.

【図4】この一実施例のトラックパターンの一例を示す
略線図である。
FIG. 4 is a schematic diagram showing an example of a track pattern of this embodiment.

【図5】この一実施例の復号装置の一例のブロック図で
ある。
FIG. 5 is a block diagram of an example of a decoding device according to the embodiment.

【図6】この発明の他の実施例のブロック図である。FIG. 6 is a block diagram of another embodiment of the present invention.

【図7】符号化回路の一例としてのADRC符号化回路
のブロック図である。
FIG. 7 is a block diagram of an ADRC encoding circuit as an example of an encoding circuit.

【図8】この発明のさらに他の実施例のブロック図であ
る。
FIG. 8 is a block diagram of still another embodiment of the present invention.

【図9】この発明のさらに他の実施例の変形例のブロッ
ク図である。
FIG. 9 is a block diagram of a modified example of still another embodiment of the present invention.

【図10】この発明のさらに他の実施例の復号装置のブ
ロック図である。
FIG. 10 is a block diagram of a decoding device according to still another embodiment of the present invention.

【図11】この発明のさらに他の実施例の説明に用いる
略線図である。
FIG. 11 is a schematic diagram used to describe yet another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

2 ブロック化および平均値発生回路 7 減算回路 8 平均値符号化回路 9 差分値符号化回路 10 局部復号回路 2 Blocking and average value generation circuit 7 Subtraction circuit 8 Average value coding circuit 9 Difference value coding circuit 10 Local decoding circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 川口 邦雄 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 野田 明美 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Kunio Kawaguchi 6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Sony Corporation (72) Akemi Noda 6-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 第1の標準ビデオ信号よりも解像度の高
い第2の標準ビデオ信号が供給され、この信号をディジ
タル化した後に圧縮符号化して伝送するようにしたディ
ジタルビデオ信号の高能率符号化装置において、 上記ディジタルビデオ信号の上記第1および第2の標準
ビデオ信号の解像度の比に略等しいN個の画素データを
加重平均する平均化手段と、 上記平均化手段からの複数の加重平均データをブロック
化してブロック符号化する第1の符号化手段と、 上記N個の画素データと上記加重平均データとのそれぞ
れの差分のデータを符号化する第2の符号化手段と、 上記第1および第2の符号化手段の出力を伝送する手段
とを有してなるディジタルビデオ信号の高能率符号化装
置。
1. A high-efficiency coding of a digital video signal supplied with a second standard video signal having a resolution higher than that of the first standard video signal, digitized, and then compressed and coded for transmission. In the apparatus, an averaging means for weighted averaging N pixel data which is approximately equal to a resolution ratio of the first and second standard video signals of the digital video signal, and a plurality of weighted average data from the averaging means. And a second encoding means for encoding data of respective differences between the N pixel data and the weighted average data, and the first and the second encoding means. A high-efficiency encoder for digital video signals, comprising means for transmitting the output of the second encoding means.
【請求項2】 請求項1のディジタルビデオ信号の高能
率符号化装置において、上記第2の符号化手段は、上記
第1の符号化手段により符号化された平均データを局部
復号して得られたデータを使用することを特徴とするデ
ィジタルビデオ信号の高能率符号化装置。
2. A high-efficiency coding apparatus for digital video signals according to claim 1, wherein said second coding means is obtained by locally decoding the average data coded by said first coding means. A high-efficiency coding apparatus for digital video signals, characterized by using the recorded data.
【請求項3】 請求項1のディジタルビデオ信号の高能
率符号化装置において、上記第1の符号化手段は、ブロ
ックの最大値および最小値を付加コードとするnビット
ADRC符号化手段を有し、上記第2の符号化手段は、
上記最大値および最小値を使用して差分データをmビッ
トで符号化するようにしたことを特徴とするディジタル
ビデオ信号の高能率符号化装置。
3. The high-efficiency encoding apparatus for digital video signals according to claim 1, wherein the first encoding means has an n-bit ADRC encoding means using the maximum value and the minimum value of a block as additional codes. , The second encoding means,
A high-efficiency coding apparatus for digital video signals, characterized in that difference data is coded in m bits by using the maximum value and the minimum value.
JP34311392A 1992-11-30 1992-11-30 High-efficiency encoder for digital video signals. Expired - Lifetime JP3161110B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34311392A JP3161110B2 (en) 1992-11-30 1992-11-30 High-efficiency encoder for digital video signals.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34311392A JP3161110B2 (en) 1992-11-30 1992-11-30 High-efficiency encoder for digital video signals.

Publications (2)

Publication Number Publication Date
JPH06169450A true JPH06169450A (en) 1994-06-14
JP3161110B2 JP3161110B2 (en) 2001-04-25

Family

ID=18359041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34311392A Expired - Lifetime JP3161110B2 (en) 1992-11-30 1992-11-30 High-efficiency encoder for digital video signals.

Country Status (1)

Country Link
JP (1) JP3161110B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1132330A (en) * 1997-07-11 1999-02-02 Sony Corp Image coder, image coding method, image decoder and image decoding method, and image processing unit and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1132330A (en) * 1997-07-11 1999-02-02 Sony Corp Image coder, image coding method, image decoder and image decoding method, and image processing unit and image processing method

Also Published As

Publication number Publication date
JP3161110B2 (en) 2001-04-25

Similar Documents

Publication Publication Date Title
KR100251246B1 (en) A highly efficient coding apparatus
US4802005A (en) High efficiency encoding system
US5862295A (en) Variable length code recording/playback apparatus
JPH0793584B2 (en) Encoder
GB2173067A (en) Method and arrangement of coding digital image signals utilizing interframe correlation
US5532837A (en) Digital video signal processing apparatus
JPH06303592A (en) Encoding device for digital video signal
JP3161110B2 (en) High-efficiency encoder for digital video signals.
US6219157B1 (en) Image coding apparatus
KR100578258B1 (en) Digital video signal recording / playback apparatus and method
JP2643636B2 (en) Signal processing method
JP3161104B2 (en) High-efficiency encoder for digital video signals.
JP3364939B2 (en) Image coding device
EP0390471A2 (en) Predictive coding device
EP0523708A2 (en) Method and apparatus for recording digital video signals
JP3291785B2 (en) Transmission device for block transform coded data
JP2759939B2 (en) Image processing system
JP3326828B2 (en) Digital image signal receiving / reproducing device
US6507695B2 (en) Digital information signal recording apparatus for recording a digital information signal to a record medium and digital information signal reproducing apparatus for reproducing a digital information signal from a record medium
JP2692899B2 (en) Image coding device
JP3291786B2 (en) Transmission device for block transform coded data
JP3257155B2 (en) Image signal decoding device
JP2860401B2 (en) Encoding device
JPH05276484A (en) Recording and reproducing device for variable length code
JPH01162080A (en) Digital vtr

Legal Events

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

Free format text: PAYMENT UNTIL: 20080223

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090223

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100223

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100223

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110223

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120223

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130223

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130223

Year of fee payment: 12