JPH02216917A - Coding/decoding method - Google Patents

Coding/decoding method

Info

Publication number
JPH02216917A
JPH02216917A JP28357689A JP28357689A JPH02216917A JP H02216917 A JPH02216917 A JP H02216917A JP 28357689 A JP28357689 A JP 28357689A JP 28357689 A JP28357689 A JP 28357689A JP H02216917 A JPH02216917 A JP H02216917A
Authority
JP
Japan
Prior art keywords
data
block
encoding
prediction
input
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
JP28357689A
Other languages
Japanese (ja)
Other versions
JP2794842B2 (en
Inventor
Shiro Kato
加藤 士郎
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP28357689A priority Critical patent/JP2794842B2/en
Publication of JPH02216917A publication Critical patent/JPH02216917A/en
Application granted granted Critical
Publication of JP2794842B2 publication Critical patent/JP2794842B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To attain a coding method capable of highly effective transmission with no irregular error in simple constitution by transmitting an additional code including the estimating error information together with a coded remainder signal. CONSTITUTION:The maximum value SX and the minimum value SN of an estimating error being the difference between the input data on a block and its estimated value are obtained while using the block consisting of plural input data as a coding unit. When the prescribed value larger than (SX-SN) is defined as the divisor data OU, the remainder E obtained by dividing each input data of a block by the data OU is coded and transmitted together with an additional code including the estimating error information on the SX, SN and OU respectively. As a result, the reversible coding is made possible, therefore, an irregular error can be eliminated. Thus the decoding is also possible with no irregular error, and particularly the coding efficiency is further improved in a block which monotonously increases or decreases.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ディジタル伝送や記録のため、より少ないビ
ットレート(bit  rate)で映像信号、音声信
号などを符号化する高能率な符号化方法とその逆変換を
行う復号化方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a highly efficient encoding method for encoding video signals, audio signals, etc. at a lower bit rate for digital transmission and recording. The present invention relates to a decoding method that performs inverse transformation.

従来の技術 高能率な符号化方法としては各種方法が提案されている
。その中でディファレンシャル パルスコード モジュ
レーション(以下DPCMと略す)方式は、情報の圧縮
効率は低いものの回路構成が比較的簡単であり、再生し
た信号の品質が良いなどの特徴を持っている。
Conventional Techniques Various methods have been proposed as highly efficient encoding methods. Among them, the differential pulse code modulation (hereinafter abbreviated as DPCM) method has characteristics such as a relatively simple circuit configuration and good quality of the reproduced signal, although the information compression efficiency is low.

最近、DPCM方式に代わる新しい符号化方法としてラ
マムーシー(Ramamoorthy)氏らによって音
声用にモジュロ−ビーシーエム(Modu I o−P
CM(以下MPCMと略す))方式が下記文献〔1〕〜
〔3〕において提案されている。また萩原氏らによって
MPCMのための新しい復号器が文献〔4〕において提
案されている。
Recently, as a new encoding method to replace the DPCM method, Ramamoorthy et al.
CM (hereinafter abbreviated as MPCM)) method is shown in the following documents [1]~
It is proposed in [3]. Furthermore, a new decoder for MPCM has been proposed by Hagiwara et al. in Reference [4].

(文献) 〔1〕テイー、エリクソン アンド ヴイ、ラマムーシ
ー “モジュロ−ピーシ−エム:ア ニスソース コー
ディング スキーム、nインコンフ、、イントコンフ、
アコウスト、  スピーチ、シグナル プロモッシング
、アイシーニーニスニスビー′791ワシントン、デイ
−シー、 1979゜ビービー419−422゜ (T、Er1cson  and  V、Rasamo
orthy、”Modulo−PCM:Anew 5o
urce coding scheme、’in Co
nf、、Int、  Conf。
(References) [1] Tay, Erickson and V, Ramamoorthy “Modulo-PCM: Anissource Coding Scheme, n-Inconf, Into-Conf,
Acoust, Speech, Signal Promoting, Icy Nisnisbee '791 Washington, D.C., 1979゜Bebe 419-422゜ (T, Ercson and V, Rasamo
orthy, “Modulo-PCM: Anew 5o
source coding scheme,'in Co
nf,,Int,Conf.

Acoust、、5peect++Signal pr
ocessing、ICASSP’79゜Washin
gton、 DC+ 1979. pp419−422
.)〔2〕ヴイ、ラマムーシー、″スピーチ コーディ
ング ユージング モジュロ−ビーシーエムウィズ サ
イド インフォメーション、′インコンフ、レク1.イ
ンド、コンフ、アコウスト、。
Acoust,,5peect++Signal pr
ocessing, ICASSP'79゜Washin
gton, DC+ 1979. pp419-422
.. ) [2] V, Ramamoorthy, ``Speech Coding Using Modulo-BCM With Side Information, ``Inconf, Rec 1. India, Conf, Acoust.

スピーチ、シグナル プロセッシング、アイシーニーニ
スエスピー゛81.アトランタ、ジ−ニーマー、 19
81.  ビービー、832−835゜(V、Rama
moorthy、”5peech  coding  
using  Modulo−PCM with 5i
de information、”in Conf、 
Rec、、1nt。
Speech, Signal Processing, Icy Niss. 81. Atlanta, Jeannie Ma, 19
81. Beebe, 832-835° (V, Rama
moorthy,”5peech coding
using Modulo-PCM with 5i
de information,”in Conf,
Rec,, 1nt.

Conf、Acoust、、5peech、Signa
l  Processing、ICASSP’81+A
t1anta+G^、Mar、1981+pp、 83
2−835.)(3)ヴイ、ラマムーシー “ア ノー
ベル スピーチ コーダー フォー メディウム アン
ドハイ ビット レイト アプリケイシッンズ ユージ
ング モジエローピーシ−エム プリンシブルス、”ア
イイーイーイー トランス、アコウスト、スピーチ1 
シグナル プロセッシング、ポル、ニーニスエスピー3
3.ピーピー、 356−368゜ニービーアール、1
985゜ (V、Ramamoorthy、’^ Novel  
5peech  Coder  forMedium 
and High Bit Rate Applica
tions UsingModulo−PCM Pr1
nciples+’1EEE Trans、 Acou
st++5peech、Signal Process
ing+vo1.ASSP331pp、356368、
 Apr、 1985) 〔4〕萩原、中相、”Modulo−PCMのための新
しい復号器”、情報理論とその応用研究会第8回シンポ
ジウム+ (Nara+ j apan、 Dec、 
、 5−7.1985+pp517−522) MPCM方式は、DPCM方式とほぼ同程度の回路構成
であり、グラニュラ−雑音の存在に関してはDPCMと
同じであるが、過負荷雑音は存在しないという長所を持
っている。
Conf, Acoust, 5peech, Signa
l Processing, ICASSP'81+A
t1anta+G^, Mar, 1981+pp, 83
2-835. ) (3) V, Ramamoorthy “A Nobel Speech Coder for Medium and High Bit Late Applications Using Modsieropcm Principles,” Ieeeeee Trance, Acoust, Speech 1
Signal Processing, Pol, Ninis Sp3
3. PP, 356-368°NIB R, 1
985゜(V, Ramamoorthy,'^ Novel
5peech Coder for Medium
and High Bit Rate Applica
tions Using Modulo-PCM Pr1
nciples+'1EEE Trans, Acou
st++5peech, Signal Process
ing+vol1. ASSP331pp, 356368,
April, 1985) [4] Hagiwara, Nakaso, "New decoder for Modulo-PCM", Information Theory and Its Applications Research Group 8th Symposium+ (Nara+ j apan, Dec.
, 5-7.1985+pp517-522) The MPCM method has almost the same circuit configuration as the DPCM method, and is the same as the DPCM in terms of the presence of granular noise, but has the advantage of not having overload noise. There is.

まずMPCM方式について簡単に説明する。First, the MPCM method will be briefly explained.

MPCM方式の基本システムを第9図に示す。The basic system of the MPCM method is shown in FIG.

MPCM符号化装置は、剰余演算器7(11と量子化器
702とから成り立っている。
The MPCM encoding device consists of a remainder calculator 7 (11) and a quantizer 702.

ここでにサンプル目の入力信号をxKとする。Here, the sample input signal is xK.

剰余演算器は、図中に示されているように振幅dののこ
ぎり波状の入出力特性を持っている。そしてその出力(
(xK))は ((XK))−x *  d・((XK))と表すこと
ができる。ここで((XK))は、次の式(A)を満た
す任意定数である。
The remainder calculator has sawtooth input/output characteristics with an amplitude d, as shown in the figure. and its output (
(xK)) can be expressed as ((XK))−x*d·((XK)). Here, ((XK)) is an arbitrary constant that satisfies the following formula (A).

(−d/2)≦((x、))< (d/2)・・・・・
・(A) 剰余演算器の出力((X、))はLビットに量子化され
て伝送信号yKとなり、復号化装置へ伝送される。
(-d/2)≦((x,))<(d/2)・・・・・・
-(A) The output ((X, )) of the remainder calculator is quantized into L bits to become a transmission signal yK, which is transmitted to the decoding device.

このようにMPCM符号装置では、第10図にそれぞれ
の波形図を示しているが、同図(ハ)に示すように入力
音声信号を(−d/2.d/2)にバッキング(pac
king″)することにより情報圧縮を行う、これはP
CM方式において、下位ビットのみを伝送するのと等価
となる。
In this way, in the MPCM encoding device, the respective waveform diagrams are shown in FIG. 10, and as shown in FIG.
This is P
In the CM system, this is equivalent to transmitting only the lower bits.

復号化装置では、第9図に示すように1次の予測器によ
って、 八 xK〜ρ・xK (ρは予測係数) ・・・・・・(B
)とし、(k−1)サンプル点の(I!xKからにサン
プル点の値xKを予測する。モしてxKの値を第11図
に示すような特性で量子化し6倍することにより伝送し
なかった上位ビット成分d・〔[χえ〕〕を求め、これ
を伝送信号)lxに加えて、符号化装置の入力信号を再
生する。
In the decoding device, as shown in Fig. 9, the first-order predictor calculates
), and predict the value xK of the sample point from (I! The upper bit component d·[[χE]] which has not been transmitted is determined, and this is added to the transmission signal) lx to reproduce the input signal of the encoding device.

発明が解決しようとする課題 次にMPCM方式の大きな課題である変則誤差について
述べる。
Problems to be Solved by the Invention Next, irregular errors, which are a major problem in the MPCM system, will be described.

入力信号の差分値ΔX x =X KX *−1の絶対
値がd/2より大きくなると、復号器において上位ビッ
ト成分d・ 〔〔xK〕〕の予測が正しく行われなくな
る。第12図にその場合の波形図を示へ す、従って復号出力信号xKには、第12図(C)に示
すように波形が鋭く変化する点が数多く発生してしまっ
ている。これが変則誤差と呼ばれるMPCM方式特有の
誤差であり、これをいかに少なくするかがMPCM方式
の課題となっている。
If the absolute value of the input signal difference value ΔX x =X KX *−1 becomes larger than d/2, the decoder will not correctly predict the upper bit component d·[[xK]]. FIG. 12 shows a waveform diagram in that case. Therefore, the decoded output signal xK has many points where the waveform changes sharply, as shown in FIG. 12(C). This is an error unique to the MPCM method called an irregular error, and the challenge of the MPCM method is how to reduce this error.

そこでRamamoorthy氏らは、変則誤差の発生
をできるだけ抑える方法を2m提案しており、これを以
下に示す(文献(2)、(3))。
Therefore, Mr. Ramamoorthy et al. proposed a method of suppressing the occurrence of irregular errors as much as possible, which is shown below (References (2) and (3)).

方法1;これは符号化装置内に復号化装置を設け、この
復号化装置に変則誤差が発生するとこれを検出して変則
誤差を補正するための情報をサイド情報として別チャン
ネルで伝送するものである。
Method 1: In this method, a decoding device is installed in the encoding device, and when an irregular error occurs in this decoding device, it is detected and information for correcting the irregular error is transmitted as side information on a separate channel. be.

方法2:予測誤差が大きいときには変則誤差の発生頻度
が高いので、入力データをNサンプル毎にまとめてブロ
ックを構成し、ブロック毎に予測誤差の絶対値の最大値
EaNを求め、これに応じて剰余演算器のmodulo
の幅と量子化器の量子化ステップを制御している。実際
には最大値E、、Iを量子化し所定係数を掛けたものを
modul。
Method 2: When the prediction error is large, irregular errors occur frequently, so the input data is grouped into blocks every N samples, the maximum value EaN of the absolute value of the prediction error is determined for each block, and the modulo of remainder operator
controls the width of the quantizer and the quantization step of the quantizer. In reality, the maximum value E,,I is quantized and multiplied by a predetermined coefficient, which is called the modul.

の振幅dsNとし、このdlINをサイド情報として復
号化装置へ伝送する。
, and this dlIN is transmitted to the decoding device as side information.

しかしながら上記2つの方法は次のような課題を有する
However, the above two methods have the following problems.

方法1の場合、符号化された入力データのどのサンプル
に変則誤差が発生するかは不定であるので、完全に変則
誤差をなくすためには各入力サンプル毎に補正情報を送
る必要がある。これは量子化ビット数を増加させたのと
等価であり、符号化効率が低下する。量子化器の量子化
ビット数が多い場合は変則誤差の発生頻度が少ないので
、サイド情報を伝送するチャンネルのビットレートをサ
ンプル毎に補正する情報を伝送する場合より低くできる
が、この場合完全に変則誤差をなくすことはできない。
In the case of method 1, since it is uncertain which sample of the encoded input data an irregular error occurs, it is necessary to send correction information for each input sample in order to completely eliminate the irregular error. This is equivalent to increasing the number of quantization bits, and the encoding efficiency decreases. When the number of quantization bits of the quantizer is large, irregular errors occur less frequently, so the bit rate of the channel that transmits side information can be lower than that when transmitting information that corrects each sample. It is not possible to eliminate irregular errors.

方法2の場合、各種パラメータを最適化することにより
変則誤差の発生頻度が低くできるが、量子化器による量
子化誤差の影響などもあって根本的に変則誤差を除去す
るものではないので変則誤差を完全になくすことはでき
ない。
In the case of method 2, the frequency of occurrence of irregular errors can be lowered by optimizing various parameters, but it does not fundamentally eliminate irregular errors due to the influence of quantization errors caused by the quantizer, so irregular errors cannot be completely eliminated.

また萩原氏らは、サイド情報を送ることなく、復号化装
置側に新たな判定回路を設けることによって変則誤差を
補正する復号化装置を提案している。しかしながら変則
誤差のすべてを検出することはできないので、これも変
則誤差を完全になくすことはできない、(文献(4))
Furthermore, Hagiwara et al. have proposed a decoding device that corrects irregular errors by providing a new determination circuit on the decoding device side without sending side information. However, since it is not possible to detect all irregular errors, it is not possible to completely eliminate irregular errors (Reference (4)).
.

またMPCM方式の入力を画像信号とした場合、変則誤
差を視覚上目立つ画質劣化となるため、MPCM方式の
画像信号への適用は考えられていなかった。
Furthermore, when the input of the MPCM method is an image signal, irregular errors cause a visually noticeable deterioration in image quality, so application of the MPCM method to image signals has not been considered.

課題を解決するための手段 本発明は、複数の入力データで構成されるブロックを符
号化の単位とし、ブロックにおける入力データとその予
測値との差である予測誤差の最大値SXと最小値SNと
を求め(SX−SN)より大なる所定の値を除数データ
OUとするとき、前記ブロックの各入力データを前記除
数データOUで除算して得られる剰余Eを符号化し、前
記SX。
Means for Solving the Problems The present invention uses a block composed of a plurality of input data as a unit of encoding, and calculates a maximum value SX and a minimum value SN of prediction errors, which are the differences between the input data and its predicted value in the block. When a predetermined value larger than (SX-SN) is set as the divisor data OU, the remainder E obtained by dividing each input data of the block by the divisor data OU is encoded, and the remainder E obtained by dividing each input data of the block by the divisor data OU is encoded.

SN、OUに関する予測誤差情報を含む付加コードと前
記符号化したEとをともに伝送することを特徴とする符
号化方法である。
This encoding method is characterized in that an additional code containing prediction error information regarding SN and OU and the encoded E are transmitted together.

また本発明は上記符号化方法において原入力信号の予測
誤差のダイナミックレンジが所定数のブロック毎に所定
量以下になるように原入力信号を変換した信号を入力信
号として用いることを特徴とする符号化方法である。
The present invention also provides a code in which, in the above encoding method, a signal obtained by converting the original input signal so that the dynamic range of the prediction error of the original input signal is equal to or less than a predetermined amount for each predetermined number of blocks is used as the input signal. It is a method of conversion.

また本発明は、複数の入力データで構成されるブロック
を符号化の単位とし、ブロックにおける入力データとそ
の予測値との差である予測誤差の最大値SXと最小値S
Nとを求め、(SX−SN)より大なる所定の値を除数
データOUとするとき、前記ブロックの各入力データを
前記除数データOUで除算して得られる剰余Eを符号化
し、前記SX、SN、OUに関する予測誤差情報を含む
付加コードと前記符号化したEとをともに伝送する符号
化方法により符号化された信号を入力とし、伝送された
前記付加コードより前記除数データOUを得、伝送され
復号済みの剰余已に整数N倍の前記除数データOUを加
えて復号済みの復号データとし、前記復号データとその
予測値との差の予測誤差が伝送された前記付加コードよ
り得られる予測誤差範囲を満足するように前記整数Nを
決定することを特徴とする復号化方法である。
Further, the present invention uses a block composed of a plurality of input data as a unit of encoding, and provides a maximum value SX and a minimum value S of prediction errors, which are the differences between input data and its predicted value in the block.
N, and when a predetermined value larger than (SX-SN) is set as the divisor data OU, the remainder E obtained by dividing each input data of the block by the divisor data OU is encoded, and the SX, A signal encoded by a coding method that transmits both an additional code containing prediction error information regarding SN and OU and the encoded E is input, and the divisor data OU is obtained from the transmitted additional code and transmitted. A prediction error obtained by adding the divisor data OU multiplied by an integer N to the decoded remainder to obtain decoded data, and the prediction error of the difference between the decoded data and its predicted value is obtained from the transmitted additional code. The decoding method is characterized in that the integer N is determined so as to satisfy a range.

また本発明は、上記復号化方法において復号データが原
入力信号の変換されたものである場合、逆変換して原入
力信号を得ることを特徴とする復号化方法である。
Further, the present invention is a decoding method characterized in that, in the above-described decoding method, when the decoded data is converted from the original input signal, the original input signal is obtained by performing inverse transformation.

作用 本発明は、前記構成により可逆な符号化が行えるので完
全に変則誤差を排除できる。また一定レートの符号化を
行う場合、原入力信号に対し予測誤差のダイナミックレ
ンジが所定量以下になるような変換を行ってから可逆な
符号化を行っているので変則誤差なく復号化できる。ま
た除数データを予測誤差のダイナミックレンジにより定
めているので特に単調増加または単調減少のブロックに
おいてより符号化効率を改善できる。
Function: The present invention can perform reversible encoding with the above-mentioned configuration, so irregular errors can be completely eliminated. Furthermore, when constant rate encoding is performed, reversible encoding is performed after the original input signal is transformed so that the dynamic range of the prediction error becomes less than a predetermined amount, so that decoding can be performed without irregular errors. Furthermore, since the divisor data is determined based on the dynamic range of the prediction error, encoding efficiency can be further improved especially in monotonically increasing or monotonically decreasing blocks.

実施例 本発明の実施例について詳細な説明を行なう前にその原
理について説明する。
Embodiments Before giving detailed explanations of embodiments of the present invention, the principle thereof will be explained.

標本位置の近い複数の入力データ(DI、D2゜・・・
・・・、Dk)を符号化の単位としてブロックを構成す
るとき、ブロック内のに個の入力データを1つずつ取り
出してその差分をとれば、信号の相関性によりその差分
値は小さく、その差分値のダイナミックレンジ(最大値
と最小値の差)も入力データのダイナミックレンジより
小さいブロックがほとんどである。この差分値は前値予
測を行なった場合の予測誤差であるので以下予測誤差S
iと称する0本発明は、この予測誤差Slのダイナミッ
クレンジが入力データのダイナミックレンジに比べて小
さいブロックがほとんどであるという性質に基づき、従
来に比べより高能率な符号化を行なおうとするものであ
る。
Multiple input data with close sample positions (DI, D2゜...
..., Dk) as a unit of encoding, if you take out the input data in the block one by one and calculate the difference, the difference value will be small due to the correlation of the signals, and the In most blocks, the dynamic range of the difference value (the difference between the maximum value and the minimum value) is also smaller than the dynamic range of the input data. This difference value is the prediction error when predicting the previous value, so the prediction error S
The present invention is based on the property that the dynamic range of this prediction error Sl is smaller than the dynamic range of input data in most blocks, and attempts to perform more efficient encoding than conventional methods. It is.

ブロック内における前記予測誤差Siの最大値、最小値
、ダイナミックレンジをSX、SN、SDRとするとき
、次式 %式%(1) が成立する0次式 OU>SDR・・・・・・(2) を満足し、ダイナミックレンジSDRにより一意に定め
る所定の値を除数データOUとして定義する。
When the maximum value, minimum value, and dynamic range of the prediction error Si in the block are SX, SN, and SDR, the following formula % formula % (1) holds true: 0th order formula OU>SDR... 2) A predetermined value that satisfies the following and is uniquely determined by the dynamic range SDR is defined as the divisor data OU.

ブロック内の入力データDi (i−1,2,・・・・
・・、k)を除数データOUで除算して得られる商と剰
余をそれぞれにNi、Eiとするとき次式%式%(3) (但し Nlは整数) が成立する。
Input data Di in block (i-1, 2,...
When the quotient and remainder obtained by dividing .

式(3)を変形して次式 Ei =D I −0U−N i       ・・・
−(4)を得る。剰余Eiは、入力データDiよりOU
・Niなるオフセットを除去したものと見なせる。
Transforming the formula (3), the following formula Ei =D I -0U-N i...
-(4) is obtained. The remainder Ei is OU from the input data Di.
・It can be considered that the Ni offset has been removed.

オフセットをFiと表わすものとする。すなわちオフセ
ットFiは次式 %式%(5) で定義される。
Let the offset be expressed as Fi. That is, the offset Fi is defined by the following equation (5).

予測誤差のダイナミックレンジSDRは入力データのダ
イナミックレンジに比べて小さいブロックがほとんどで
あるので、式(2)において除数データOUを小さ(設
定すれば、除数データOUが前記入力データのダイナミ
ックレンジに比べて小さいブロックが、はとんどである
ようにできる、従って前記剰余データEiから入力デー
タDiが復元できれば、入力データDiの代わりに剰余
データElを符号化して伝送することによりより高能率
な符号化が行える0本発明の符号化方法はこれを実現し
たものである。
The dynamic range SDR of the prediction error is mostly blocks that are smaller than the dynamic range of the input data, so in Equation (2), if the divisor data OU is set to a small value, the divisor data OU will be smaller than the dynamic range of the input data. Therefore, if the input data Di can be restored from the residual data Ei, a more efficient code can be obtained by encoding and transmitting the residual data El instead of the input data Di. The encoding method of the present invention, which can perform 0 conversion, realizes this.

以下、剰余データElより入力データDIを求める。す
なわち復号する方法について説明する。
Hereinafter, input data DI is obtained from the residual data El. That is, the decoding method will be explained.

剰余データEiを入力データDiに戻すためにはオフセ
ット値Fis=0υ・NIを再生する事が必要である。
In order to return the surplus data Ei to the input data Di, it is necessary to reproduce the offset value Fis=0υ·NI.

入力データDiに対する予測値をPiとすれば、予測誤
差の最大値、最小値はSX。
If the predicted value for input data Di is Pi, the maximum value and minimum value of the prediction error are SX.

SNであるので次式 %式%(6) が成立し、入力データD+は式(3)で表わせるのでこ
れを、式【6)に代入して次式 Pi十SN−Ei≦OU・Ni≦Pi+5X−Ei・・
・・・・(7) を得る。予測値Pi (+=2.3.・・・・・・)は
復号して得られる入力データより順次求めることができ
る(7)でSX、SN、0U(7)他にPlまたはFl
(−0U−Nl)またはN1が既知であればよい。
Since it is SN, the following formula % formula % (6) holds true, and the input data D+ can be expressed by formula (3), so this is substituted into formula (6) and the following formula Pi + SN - Ei ≦ OU・Ni ≦Pi+5X-Ei...
...(7) is obtained. The predicted value Pi (+=2.3...) can be obtained sequentially from the input data obtained by decoding (7), and in addition to SX, SN, 0U (7), Pl or Fl
(-0U-Nl) or N1 may be known.

前値予測を行なっているので予測(!PIはすでに復号
の完了した隣接ブロック内のデータとすることができ、
必ずしも伝送する必要はない、したがって符号化装置は
剰余データEiとともにブロック毎に予測誤差に関する
情報であるSX、SN。
Since previous value prediction is performed, prediction (!PI can be data in the adjacent block that has already been decoded,
It is not necessarily necessary to transmit, therefore, the encoding device transmits information regarding prediction error SX and SN for each block along with the residual data Ei.

OUを伝送すれば式(7)によりオフセラ)F 1=O
U−Niが一意に決定でき、剰余データEiを加算する
ことによりデータDiが求まり、復号が完了する。さら
にブロック毎にPI、Fl、Nlのいずれかを付加して
伝送すれば、他のブロックの入力データは使用していな
いので、各ブロック毎独立して符号化、復号化でき、伝
送誤りに強くできる。
If OU is transmitted, off-sera) F 1=O according to equation (7)
U-Ni can be uniquely determined, data Di is obtained by adding the remainder data Ei, and decoding is completed. Furthermore, by adding PI, Fl, or Nl to each block and transmitting it, each block can be encoded and decoded independently because the input data of other blocks is not used, making it highly resistant to transmission errors. can.

オフセットFiが一意に定まるのはOUの定義により(
Pi+5n−Ei)と(P l+5X−E i)との差
がOUより小さいからである。従って0、U−Ni2(
P i+SN−E i)>OU・(Ni−1)・・・・
・・(8) を満足する0H−NlもオフセットFlであり、0U−
Ni5(P l+5X−E l)<OU・(Ni+1)
・・・・・・(9) を満足する0U−NiもオフセットFiである。
The offset Fi is uniquely determined by the definition of OU (
This is because the difference between Pi+5n-Ei) and (Pl+5X-Ei) is smaller than OU. Therefore, 0, U-Ni2(
P i+SN-E i)>OU・(Ni-1)...
...0H-Nl that satisfies (8) is also an offset Fl, and 0U-
Ni5(Pl+5X-El)<OU・(Ni+1)
......(9) 0U-Ni that satisfies the following is also an offset Fi.

すなわち式(7)、 (8)、 (9)のいずれを用い
ても同じオフセットFiが得られる。
That is, the same offset Fi can be obtained using any of equations (7), (8), and (9).

剰余データEiは入力データD+を除数データOUで除
算した剰余であるのでO以上除数データOU未満である
。従って剰余データEiの語長は除数データoUの大き
さによって定まり、ブロック単位で可変長となる。
Since the remainder data Ei is the remainder obtained by dividing the input data D+ by the divisor data OU, it is greater than or equal to O and less than the divisor data OU. Therefore, the word length of the remainder data Ei is determined by the size of the divisor data oU, and is variable in length for each block.

OUを表わすために必要など・ント敗は1υg20Uと
なり、OUが小さい程少なくなるが、この剰余データの
語長しは整数であるため次式 %式% を満足する(if 2 ”以下の値を除数データOUと
しても語長りは変わらず符号化効率は改善されない。
The number of points required to represent the OU is 1υg20U, which decreases as the OU becomes smaller. However, since the word length of this residual data is an integer, it satisfies the following formula (if 2 ” or less). Even if the divisor data OU is used, the word length remains unchanged and the encoding efficiency is not improved.

むしろ前記2Hを除数データOUとすることによりOU
を表わすために必要なビット数が少なくてすむ、オフセ
ットを求めるための回路(例えば除算器)が簡単になる
などの各種利点が得られる。
Rather, by using the 2H as the divisor data OU, the OU
Various advantages can be obtained, such as a smaller number of bits required to represent the offset, and a simpler circuit (for example, a divider) for determining the offset.

この点については後述する。This point will be discussed later.

復号化装置において剰余データEiからデータD+を得
るために必要なオフセット値Fiを決定する際にSX、
SN、0υが必要であることを述べたがSX、SN、O
Uの代わりに次式を満足する所定の値SXX、SNNと
OUを剰余データElとともに伝送し、これらを用いて
同様に復号に必要なオフセット4flFiを決定するこ
とが可能である。なぜなら次式 %式% (但し 左の等号はSNN−SNのとき、右の等号は5
xx−sxのとき成立する。)が成立するからである。
When determining the offset value Fi necessary for obtaining data D+ from the residual data Ei in the decoding device, SX,
I mentioned that SN, 0υ are necessary, but SX, SN, O
Instead of U, it is possible to transmit predetermined values SXX, SNN, and OU that satisfy the following equation together with the residual data El, and use these to similarly determine the offset 4flFi required for decoding. This is because the following formula % formula % (However, when the left equal sign is SNN-SN, the right equal sign is 5
This holds true when xx-sx. ) holds true.

SX、SN、SDR,OU、SXX、SNNは予測誤差
に関する情報であるので予測誤差情報と総称する事にす
る。SX、SN、OUまたはSXX。
Since SX, SN, SDR, OU, SXX, and SNN are information regarding prediction errors, they will be collectively referred to as prediction error information. SX, SN, OU or SXX.

SNN、OUの3つのデータの組合せにおいて1つは残
りの2つのデータより求めることができるので予測誤差
情報としては3つのデータの組合せの内どれか2つを直
接または間接的に伝送すればよい、また予測誤差のダイ
ナミックレンジSDRから1意に除数データOUが定ま
るので、除数データOUの代わりにSDR(−3X−S
N)を予測誤差情報の1つとして伝送してもよい。
Among the three data combinations of SNN and OU, one can be determined from the remaining two data, so any two of the three data combinations can be transmitted directly or indirectly as prediction error information. , and since the divisor data OU is uniquely determined from the dynamic range SDR of the prediction error, SDR (-3X-S
N) may be transmitted as one of the prediction error information.

以上の説明においては予測に前値予測を用いたが、より
高度な予測を用いてもよい。
In the above explanation, previous value prediction was used for prediction, but more advanced prediction may be used.

また前述の符号化方法によれば、符号化して得られる予
測誤差情報(SX、SN、OU)と剰余データとは、そ
れぞれブロック内のすべての入力データDiより前記除
数データOUの整数倍である一定値を除去して得られる
データに対して符号化を行なって得られる予測誤差情報
と剰余データとに等しくなる。なぜならすべての入力デ
ータより一定値を除去しても予測誤差は同じであり、前
記一定値が除数データOUの整数倍なら前記OUで除算
した剰余である剰余データも同じだからである。したが
ってつぎのような復号方法も可能である。すなわちブロ
ック内のすべての剰余データEi (1−1,2,・・
・・・・、k)と予測誤差情報(例えばSXとOU)が
あれば、初期値であるFl(またはPI、またはNl)
の入力が完了していなくてもFl−0として復号を進め
ていくことができ、この結果得られた(Di−Fl)に
、その後得られた初期値Flを加算して復号データDi
とするものである。
Further, according to the above-mentioned encoding method, the prediction error information (SX, SN, OU) and the residual data obtained by encoding are each an integral multiple of the divisor data OU than all the input data Di in the block. It is equal to the prediction error information obtained by encoding the data obtained by removing the constant value and the residual data. This is because even if a constant value is removed from all input data, the prediction error remains the same, and if the constant value is an integral multiple of the divisor data OU, the remainder data that is the remainder obtained by dividing by the OU will also be the same. Therefore, the following decoding method is also possible. In other words, all the residual data Ei (1-1, 2,...
..., k) and prediction error information (for example, SX and OU), the initial value Fl (or PI, or Nl)
Even if the input of is not completed, it is possible to proceed with decoding as Fl-0, and by adding the initial value Fl obtained thereafter to (Di-Fl) obtained as a result, the decoded data Di
That is.

第1図は本発明の第1の実施例における高能率な符号化
装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a highly efficient encoding device in a first embodiment of the present invention.

第1図において、1(11は標本化量子化された映像信
号である入力データの入力端子、102は映像信号の表
わす画面を小さなブロックに分割し、ブロック毎に入力
データDi  (i=1.2. ・・・・・・16)を
出力するブロック分割器、103はタイミング調整用で
1ブロック分入力データを時間遅延させる遅延器、10
4は遅延器103より出力される各ブロックの先頭デー
タD1を保持するレジスタ、1(15はブロック分割器
102からの出力を入力とするレジスタから成り1つ前
の入力データを予測値Piとして出力する予測器、10
6はブロック分割器102の出力より前記予測値Piを
減算して予測誤差Si  (1=2.3.・・・・・・
16)を得る減算器、1(17はブロック毎に減算器1
06からの予測誤差Siの最大値SXと最小値SNを求
め、ブロック毎に内部のレジスタに保持して出力する最
大最小検出器、108は前記最大値SXから前記最小値
SNを減算して予測誤差のダイナミックレンジSDRを
出力する減算器、109は前記ダイナミックレンジSD
Rを入力とし除数データOUを出力する除数データ生成
器、110は前記遅延器103からの入力データDiを
前記除数データOUで除算して剰余データBi(+−2
,3,・・・・・・、16)を得る剰余演算器、111
は前記除数データOUの大きさによって前記剰余データ
Eiを符号化して符号化データCiを得る剰余エンコー
ダ、112は前記符号化データCiの出力端子、113
は前記除数データOUの出力端子、114は前記予測誤
差の最大41SXの出力端子、115はブロック内の先
頭データDIの出力端子である。
In FIG. 1, 1 (11 is an input terminal for input data that is a sampled and quantized video signal, 102 is an input terminal for input data that is a sampled and quantized video signal, and 102 is a screen that the video signal represents is divided into small blocks, and input data Di (i=1. 2. 103 is a block divider that outputs .
4 is a register that holds the first data D1 of each block output from the delay device 103; 1 is a register that receives the output from the block divider 102, and outputs the previous input data as the predicted value Pi; Predictor, 10
6 subtracts the predicted value Pi from the output of the block divider 102 to obtain the prediction error Si (1=2.3...
16), 1 (17 is a subtractor 1 for each block)
A maximum/minimum detector calculates the maximum value SX and minimum value SN of the prediction error Si from 06, holds it in an internal register for each block, and outputs it. 108 subtracts the minimum value SN from the maximum value SX and makes a prediction. A subtracter 109 outputs the dynamic range SDR of the error, and 109 is the dynamic range SD.
A divisor data generator 110 which receives R as input and outputs divisor data OU divides input data Di from the delay unit 103 by the divisor data OU to generate remainder data Bi (+-2
, 3, ..., 16), 111
112 is a remainder encoder which encodes the remainder data Ei according to the size of the divisor data OU to obtain encoded data Ci; 112 is an output terminal for the encoded data Ci; 113
114 is an output terminal of the maximum 41SX of the prediction errors, and 115 is an output terminal of the first data DI in the block.

以上のように構成された本実施例の符号化装置について
、以下その動作を説明する。
The operation of the encoding device of this embodiment configured as described above will be described below.

標本化量子化された映像信号である入力データ(振幅レ
ベルθ〜255の語長8ビツト)は端子1(11よりブ
ロック分割器102に入力される。
Input data (word length 8 bits with amplitude level .theta..about.255), which is a sampled and quantized video signal, is input to the block divider 102 from terminal 1 (11).

ブロック分割回路102は内部にバッファメモリを備え
、バッファメモリに入力データを順番に書き込むと同時
にブロック単位で入力データD1(i=1.2.・・・
・・・、16)を読み出す。各ブロックより最初に出力
される入力データDiはレジスタ104によって保持さ
れ端子115より付加コードの1つとして出力される。
The block division circuit 102 has an internal buffer memory, and simultaneously writes input data into the buffer memory in order, and at the same time writes input data D1 (i=1.2...) in block units.
..., 16) is read out. Input data Di outputted first from each block is held by the register 104 and outputted from the terminal 115 as one of the additional codes.

予測器1(15に入力された入力データは予測値ptと
なって出力され減算器106に供給される。減算器10
6において入力データDiより前記予測値Piが減算さ
れて予測誤差Stが得られる。最大最小検出器1(17
においては前記予測誤差Siが入力されてブロック内に
おける前記予測誤差Stの最大値SXと最小値SNとが
出力される。前記最大値SXより前記最小値SNが減算
器108により滅算されて予測誤差のダイナミックレン
ジSDRを得る。除数データ生成器109に前記ダイナ
ミックレンジSDRが入力され、次式 %式% を満足する除数データOUが出力される。遅延器103
によりタイミング調整された入力データDiは、剰余演
算器110において、除数データ0υで除算されて剰余
データEi (i=2.3゜・・・・・・、16)とな
って出力される。OUは2Hであるので、(10未満で
ある剰余データE目よすべて語長Mビットで劣化なく表
わすことができる。
The input data input to the predictor 1 (15) is output as a predicted value pt and is supplied to the subtracter 106.
In step 6, the predicted value Pi is subtracted from the input data Di to obtain a prediction error St. Maximum minimum detector 1 (17
, the prediction error Si is input, and the maximum value SX and minimum value SN of the prediction error St within the block are output. The minimum value SN is subtracted from the maximum value SX by a subtracter 108 to obtain the dynamic range SDR of the prediction error. The dynamic range SDR is input to the divisor data generator 109, and divisor data OU satisfying the following formula % is output. Delay device 103
The input data Di whose timing has been adjusted by is divided by the divisor data 0υ in the remainder calculation unit 110 and outputted as remainder data Ei (i=2.3° . . . , 16). Since OU is 2H, all of the residual data E, which is less than 10, can be expressed with a word length of M bits without deterioration.

また剰余データE1は入力データDiより大きくなるこ
とはないのでその語長は8以下である。剰余エンコーダ
111において入力される剰余データEiは除数データ
OUの大きさによって定まるビット数J(但し M<9
のとき J−M、M−9のとき J=8)に符号化され
、可変長の符号化データCiとなって端子112より出
力される。
Further, since the remainder data E1 is never larger than the input data Di, its word length is 8 or less. The remainder data Ei input to the remainder encoder 111 has the number of bits J determined by the size of the divisor data OU (where M<9
When J-M, when M-9, J=8), the data is encoded as variable-length encoded data Ci and output from the terminal 112.

、符号化の際に剰余データEiに対して下位ビットの切
捨てなどの非線形な処理を行なっていないので、符号化
による剰余データEiの劣化は生じない、すなわち可逆
な符号化を行なっている。したがって符号化データCI
を復号して得られる剰余データEI°は元の剰余データ
E1に一敗する。
, since non-linear processing such as truncating lower bits is not performed on the residual data Ei during encoding, no deterioration of the residual data Ei occurs due to encoding, that is, reversible encoding is performed. Therefore, encoded data CI
The residual data EI° obtained by decoding is inferior to the original residual data E1.

予測誤差情報である除数データOU、予測誤差の最大値
SXはそれぞれ端子113,114より付加コードの1
つとして出力される。
The divisor data OU, which is prediction error information, and the maximum value SX of the prediction error are output from terminals 113 and 114, respectively, by the additional code 1.
output as one.

第2図にブロック構成を水平方向に16画素、垂直方向
に1ラインとした場合の入力データDi。
FIG. 2 shows input data Di when the block configuration is 16 pixels in the horizontal direction and 1 line in the vertical direction.

オフセフ)Fi、予測誤差St、剰余データEiの一例
を示す、このブロックにおける16個の入力データはD
lから順番に112.1(15,113゜121.13
6,160,175,2(11,2(17゜208.1
99,193,176.169,178゜190である
。このような1次元のブロック構成の場合、ブロック分
割器102は内部にバッファメモリを必要とせず、予測
器1(15は1つ前の入力データを保持する1つのレジ
スタのみでよいので符号化装置の構成はより簡単となる
The 16 input data in this block are D
112.1 (15,113°121.13
6,160,175,2 (11,2 (17°208.1
99,193,176.169,178°190. In the case of such a one-dimensional block configuration, the block divider 102 does not require an internal buffer memory, and since the predictor 1 (15) only needs one register to hold the previous input data, the encoder The configuration is simpler.

2次元構成のブロックからデータを取り出す順番、予測
方法については後述する。
The order in which data is extracted from two-dimensional blocks and the prediction method will be described later.

発生し得る予測誤差の最大値SXの最大債、最小値はそ
れぞれ255、−255であり、同様に予測誤差の最小
(a S Nの最大値、最小値もそれぞれ255.−2
55であるので、予測誤差の最大値SX、最小値SNの
語長は9ビツト必要である。
The maximum and minimum values of the maximum possible prediction error SX are 255 and -255, respectively, and the minimum and minimum prediction errors (a S N are also 255 and -2, respectively.
55, the word length of the maximum value SX and minimum value SN of the prediction error requires 9 bits.

予測誤差のダイナミックレンジSDRの最大値。Maximum value of dynamic range SDR of prediction error.

最小値はそれぞれ510.0となるので、ダイナミック
レンジSDRの語長は9ビツト必要となる。
Since the minimum value is 510.0, the word length of the dynamic range SDR needs to be 9 bits.

従って除数データOUの語長も一般的には9ビツト必要
となるが、本実施例では除数データOUが式QlIlを
満足する2のM乗となるように設定しているのでより少
ないビット数で表わすことが可能である。すなわち除数
データOUを直接伝送する代わりに2のべき乗表現にお
ける指数Mを伝送すればよいからである。前記指数Mは
0,1,2.・・・・・・、9の10通りであるからそ
の語長は4ビツトでよい、すなわち除数データOυを4
ビツトのコードMで伝送している。
Therefore, the word length of the divisor data OU generally needs to be 9 bits, but in this embodiment, the divisor data OU is set to be 2 to the M power that satisfies the formula QlIl, so a smaller number of bits is required. It is possible to represent That is, instead of directly transmitting the divisor data OU, it is sufficient to transmit the exponent M in a power-of-two representation. The index M is 0, 1, 2.・・・・・・Since there are 10 ways of 9, the word length only needs to be 4 bits, that is, the divisor data Oυ is 4 bits.
It is transmitted using the bit code M.

除数データOUは予測誤差のダイナミックレンジSDR
によって一意に定めるので、前記除数データ生成器10
9は9ビツト入力、4ビツト出力のROM (リードオ
ンリメモリ)で構成することができる。しかし除数デー
タOυが2のべき乗であるので、前記ダイナミックレン
ジSDRを表わすデータにおいて最上位ビットから連続
するOの数を検出する簡単な論理回路によって除数デー
タ生成器109を構成することが可能である。
Divisor data OU is the dynamic range of prediction error SDR
Since the divisor data generator 10 is uniquely determined by
9 can be configured with a 9-bit input, 4-bit output ROM (read only memory). However, since the divisor data Oυ is a power of 2, it is possible to configure the divisor data generator 109 with a simple logic circuit that detects the number of consecutive O's from the most significant bit in the data representing the dynamic range SDR. .

入力データを前記除数データOUで除算して剰余データ
Eiを得る前記剰余演算器110も一般的には、除算器
またはROMで構成することが可能である。しかし本実
施例では除数である前記OUを2のべき乗としているの
で、前記OUで除算した剰余Etは入力データDiの下
位Jビット(但し M<9のとき J−M、M−9のと
きJ−8)のみを取り出し、それ以外のビットは0とす
る簡単な論理回路で前記剰余演算器110が実現できる
The remainder arithmetic unit 110, which obtains remainder data Ei by dividing input data by the divisor data OU, can also generally be configured with a divider or a ROM. However, in this embodiment, the divisor OU is a power of 2, so the remainder Et after dividing by the OU is the lower J bits of the input data Di (J-M when M<9, J when M-9). The remainder arithmetic unit 110 can be realized by a simple logic circuit that extracts only the bits (-8) and sets the other bits to 0.

前記除数データOUの大きさによって定まる前記ビット
数Jに剰余データEiを符号化する剰余エンコーダ11
1は、剰余データEiの下位Jピットのみを取り出し、
不要な上位ビットは出力しない簡単な回路で実現できる
。符号化データCiの出力形態は各種考えられるが、本
実施例ではシリアルデータの形態で出力されるものとす
る。
a remainder encoder 11 that encodes the remainder data Ei into the number of bits J determined by the size of the divisor data OU;
1 extracts only the lower J pit of the residual data Ei,
This can be realized with a simple circuit that does not output unnecessary upper bits. There are various possible output formats for the encoded data Ci, but in this embodiment, it is assumed that the encoded data Ci is output in the form of serial data.

同図では省略しているが符号化装置の出力信号である付
加コード(DI、SX、OU) 、符号化データ(C2
,C3,・・・・・・、C16)は−旦バッファメモリ
に蓄えられ、誤り訂正用の符号化の処理等が行なわれた
後、例えばシリアルデータの信号形態で伝送路に出力さ
れる。
Although omitted in the figure, additional codes (DI, SX, OU), which are output signals of the encoding device, and encoded data (C2
, C3, . . . , C16) are stored in a buffer memory, subjected to error correction encoding processing, etc., and then output to a transmission line in the form of a serial data signal, for example.

本実施例の符号化装置においてlブロック当りの入力デ
ータDi(i=1.2.・・・・・・、16)の全ビッ
ト数は12B(=8X16)ピットであり、lブロック
当りの出力の全ビット数CDは固定語長の付加コード(
DI、SX、OU)の21(−8+9+4)ビットと可
変長の符号化データ(C2,C3,・・・・・・、C1
6)の15・Jビットとの和であり、次式%式%:1 で表わせる。前記符号化データCiの語長Jは0以上8
以下であるが、はとんどのブロックにおいて入力信号の
相関性により前記予測誤差が小さく前記語長Jが7以下
となるので、次式 %式% が成立し、lサンプル(1画素)当りの平均ビット数を
低減できる。なお、前記語長Jが8.9の時は符号化効
率が悪化するので入力データをそのまま伝送する方がよ
い、第2図に1次元構成のブロックにおける各データの
例を示しているが、同図によると除数データOUは64
となり、符号化データCiの語長Jは6となる。したが
ってこのブロックにおける符号化装置の全出力ピント数
CDは弐〇カにより111ピント(<128)となり、
lサンプル当りの平均ビット数は約6.9ビツトに低減
される。
In the encoding device of this embodiment, the total number of bits of input data Di (i = 1.2..., 16) per l block is 12B (=8 x 16) pits, and the output per l block is The total number of bits CD is an additional code of fixed word length (
21 (-8+9+4) bits of DI, SX, OU) and variable length encoded data (C2, C3,..., C1
6) with 15·J bits, and can be expressed by the following formula: %:1. The word length J of the encoded data Ci is 0 or more and 8
As shown below, in most blocks, the prediction error is small due to the correlation of the input signals, and the word length J is 7 or less, so the following formula % formula % is established, and the The average number of bits can be reduced. Note that when the word length J is 8.9, the encoding efficiency deteriorates, so it is better to transmit the input data as is. Fig. 2 shows an example of each data in a one-dimensional block. According to the figure, the divisor data OU is 64.
Therefore, the word length J of the encoded data Ci is 6. Therefore, the total output focus number CD of the encoding device in this block is 111 focus points (<128) due to the number 2.
The average number of bits per sample is reduced to approximately 6.9 bits.

第3図は本発明の第1の実施例における復号装置の構成
を示すブロック図であり、本復号装置は、第1図に示し
た符号化装置の逆変換を行なうものである。
FIG. 3 is a block diagram showing the configuration of a decoding apparatus according to the first embodiment of the present invention, and this decoding apparatus performs inverse transformation of the encoding apparatus shown in FIG.

第3図において、2(11は符号化データでCiの入力
端子、202は除数データOUの入力端子、203は予
測誤差の最大値SXの入力端子、204はブロック内の
先頭データD1の入力端子、2(15は第1図に示した
高能率な符号化装置内の剰余エンコーダ111と逆の変
換を行なうもので、前記符号化データCiを復号して剰
余データEi。
In FIG. 3, 2 (11 is the input terminal of encoded data Ci, 202 is the input terminal of divisor data OU, 203 is the input terminal of the maximum prediction error SX, and 204 is the input terminal of the first data D1 in the block. , 2 (15 is a unit that performs the inverse transformation of the remainder encoder 111 in the highly efficient encoding device shown in FIG. 1, and decodes the encoded data Ci to generate remainder data Ei.

を得る剰余デコーダ、206は前記予測誤差の最大値S
xを一方の入力とする加算器、2(17は前記加算器2
06の出力より前記剰余データEi’を減算する減算器
、208は前記減算器2(17の出力と前記除数データ
OUとを入力としオフセットFi’を出力するオフセッ
ト再生器、209は前記剰余データEi″と前記オフセ
ットFi゛とを加算して復号済みの復号データDi°を
得るオフセット付加器、210は前記オフセット付加器
209の出力と端子204からのデータD1とを入力と
し一方を選択するスイッチ、211は図1中の予測器1
(15と同一で前記復号データDi゛を入力とし、予測
値Piを前記加算器206の他方の入力に供給する予測
器、212は前記スイッチ210からの復号データDi
°を入力とし第1図中のブロック分割回路102と逆の
処理を行なうブロック分解器、213は復号データの出
力端子である。
A remainder decoder 206 obtains the maximum value S of the prediction error.
Adder 2 with x as one input (17 is the adder 2
208 is an offset regenerator that receives the output of the subtracter 2 (17 and the divisor data OU and outputs the offset Fi'); 209 is the offset regenerator that receives the output of the subtracter 2 (17) and the divisor data OU, and outputs the offset Fi';'' and the offset Fi' to obtain decoded data Di°; 210 is a switch that inputs the output of the offset adder 209 and the data D1 from the terminal 204 and selects one of them; 211 is predictor 1 in FIG.
(Same as 15, the predictor inputs the decoded data Di and supplies the predicted value Pi to the other input of the adder 206; 212 is the decoded data Di from the switch 210;
A block decomposer 213 which receives the signal .degree. and performs the opposite process to that of the block dividing circuit 102 in FIG. 1 is an output terminal for decoded data.

なお、付加コード入力は符号化データ入力に先行し、l
ブロック期間保持されているものとする。
Note that the additional code input precedes the encoded data input, and l
It is assumed that the block period is maintained.

以上のように構成された復号装置の動作について説明す
る。
The operation of the decoding device configured as above will be explained.

端子204からの入力データD1はスイッチ210を介
してそのまま復号済みのデータDI’として出力されブ
ロック分解器212及び予測器211に供給される。前
記データDI’ は予測器211において最初の剰余デ
ータE2’より復号データを求めるために必要な予測値
P2’ となる。
The input data D1 from the terminal 204 is outputted as decoded data DI' via the switch 210 and supplied to the block decomposer 212 and the predictor 211. The data DI' becomes a predicted value P2' necessary for the predictor 211 to obtain decoded data from the initial residual data E2'.

スイッチ210は入力データDIを出力した後、オフセ
ット付加器209からの入力を選択して復号データD2
’ 、D3°、・・・・・・、D16°を出力する。
After outputting the input data DI, the switch 210 selects the input from the offset adder 209 and outputs the decoded data D2.
' , D3°, ..., D16° are output.

端子2(11からの符号化データCI  (i=2゜3
、・・・・・・、16)は端子202からの除数データ
OUに基づいて剰余デコーダ2(15により剰余デ−タ
Eビに変換される。端子203からの予測誤差の最大値
SXと予測器211からの予測値Pビとが加算器206
により加算され、その加算結果より前記剰余データEi
°が減算器2(17により減算されて(Pビ+5X−E
ビ)が得られる。前記減算結果と除数データOUとはオ
フセット再生器208に入力され次式0式%) を満足するオフセットFi’=OU・Niが得られる。
Encoded data CI from terminal 2 (11 (i=2゜3
, . . . , 16) is converted into remainder data EBI by the remainder decoder 2 (15) based on the divisor data OU from the terminal 202. The maximum value SX of the prediction error from the terminal 203 and the prediction The predicted value Pbi from the adder 211 is added to the adder 206.
The remainder data Ei is added from the addition result.
° is subtracted by subtractor 2 (17
B) is obtained. The result of the subtraction and the divisor data OU are input to the offset regenerator 208, and an offset Fi'=OU·Ni that satisfies the following equation (%) is obtained.

オフセント付加器209において前記オフセン)F i
’ と前記剰余データEi“とが加算されて復号データ
Di  (i=2.3.・・・・・・、16)となり、
スイッチ210に供給される。
In the offset adder 209, the offset F i
' and the residual data Ei'' are added to become decoded data Di (i=2.3......, 16),
Supplied to switch 210.

スイッチ210の出力においてブロック内の復号データ
D i ’  (i = l 、 2.・・・・・・5
16)すべてが得られ予測器211とブロック分解器2
12に供給される。ブロック分解器212に入力された
前記復号データDi゛は本来の映像信号を標本化量子化
して得られるデータと同じ順番に取り出され端子213
より出力される。
At the output of the switch 210, the decoded data D i '(i = l, 2...5
16) All obtained predictor 211 and block decomposer 2
12. The decoded data Di'' input to the block decomposer 212 is extracted in the same order as the data obtained by sampling and quantizing the original video signal, and is extracted from the terminal 213.
It is output from

端子2(11よりシリアルデータの形態で入力される符
号化データCiは、その語長がブロック単位で可変長で
あるため、正しく符号化データCiを取り出すためには
その語長Jを知る必要がある。
The encoded data Ci input in the form of serial data from the terminal 2 (11) has a variable word length for each block, so in order to correctly extract the encoded data Ci, it is necessary to know the word length J. be.

前記符号化データCiの語長Jは除数データOUの大き
さを表わす指数Mにより前記符号化データCiの語長J
が決定できるので(但し M<9のとき J−M、M=
9のとき J=8)、正確に符号化データCiが取り出
すことができ、その上位ビットにOを付加することによ
り剰余データEi゛が得られる。従って剰余デコーダ2
(15は直並列変換用のシフトレジスタ、符号化データ
を保持するレジスタ、ピント数を数えるカウンタ、およ
び上位ビットにOを付加するゲート等の簡単な回路で実
現できる。第1図における剰余エンコーダ111は符号
化による劣化がなく、剰余デコーダ2(15は前記剰余
エンコーダ111の逆変換を行なっているので剰余デー
タEビは剰余データEiに一致する。
The word length J of the encoded data Ci is determined by the index M representing the size of the divisor data OU.
can be determined (however, when M<9, J-M, M=
9 (J=8), encoded data Ci can be extracted accurately, and residual data Ei' can be obtained by adding O to its upper bits. Therefore, remainder decoder 2
(15 can be realized with a simple circuit such as a shift register for serial-to-parallel conversion, a register for holding encoded data, a counter for counting the number of points in focus, and a gate for adding O to the upper bit.Remainder encoder 111 in FIG. There is no deterioration due to encoding, and the remainder decoder 2 (15) performs inverse transformation of the remainder encoder 111, so the remainder data Ebi matches the remainder data Ei.

減算器2(17の出力である(Pビ+SXE+’)を前
記除数データOUで除算して剰余を得、前記剰余を前記
(P i’ +5X−E i’ )から減算する事によ
り式(9)を満足するオフセットFi’=OU−Njが
得られる。しかし本実施例では除数データOUを2のM
乗としているので前記(Pi’ +5x−Ei’ )の
下位MビットをすべてOとするだけで前記オフセン)F
ビが得られる。従ってオフセット再生器208は簡単な
論理回路で実現できる。
By dividing (Pbi+SXE+'), which is the output of the subtracter 2 (17), by the divisor data OU to obtain a remainder, and subtracting the remainder from the (P i' +5X-E i'), equation (9) is obtained. ) is obtained.However, in this embodiment, the divisor data OU is set to M of 2.
Since it is a power of
can be obtained. Therefore, the offset regenerator 208 can be realized with a simple logic circuit.

復号化装置における剰余データEビ、予測値Pi’ は
第1図の符号化装置における剰余データEj、予測値P
iに等しいのでオフセットFiもオフセットFiに等し
く、復号データDi゛は入力データDIに一致する。
The residual data Ej and the predicted value Pi' in the decoding device are the residual data Ej and the predicted value P in the encoding device in FIG.
Since it is equal to i, the offset Fi is also equal to the offset Fi, and the decoded data Di' matches the input data DI.

以上に述べたように、本実施例によれば、MPCMのよ
うな量子化器を持たず、剰余データはそのまま符号化し
て伝送しており、また予測誤差の変化範囲、除数データ
OU (MPCM方式におけるmoduloO輻)を予
測誤差の変化範囲(ダイナミックレンジ)より大きく設
定しており、さらにこの除数データOUと予測誤差の変
化範囲の情報を付加コードとして伝送しているので、変
則誤差や量子化誤差のない、すなわち可逆な符号化とそ
の復号化が実現でき、その回路構成は極めて簡単である
As described above, according to this embodiment, there is no quantizer like MPCM, the residual data is encoded and transmitted as is, and the variation range of prediction error, divisor data OU (MPCM system modulo0) is set larger than the range of change (dynamic range) of the prediction error, and furthermore, this divisor data OU and information on the range of change of the prediction error are transmitted as additional codes, so irregular errors and quantization errors are avoided. In other words, reversible encoding and decoding can be realized, and the circuit configuration thereof is extremely simple.

また従来例においては符号化における除数データ(mo
duloの幅)を、固定もしくは予測誤差の絶対値の最
大値としていたが、本発明においては予測誤差の変化範
囲(ダイナミックレンジ)により定めているので、符号
化における除数を従来例より小さくできる。従って特に
入力データが単調増加または減少するブロックにおいて
従来例より効率のよい符号化が行える。画像信号を入力
とした場合、付加コードの一部(ブロックの先頭画素デ
ータ)のみを用いて粗い画像を再生できるので画像の検
索にも適した符号化とすることができる。
Furthermore, in the conventional example, divisor data (mo
dulo width) was fixed or the maximum absolute value of the prediction error, but in the present invention it is determined by the variation range (dynamic range) of the prediction error, so the divisor in encoding can be smaller than in the conventional example. Therefore, more efficient encoding can be performed than in the conventional example especially in blocks where input data monotonically increases or decreases. When an image signal is input, a rough image can be reproduced using only a part of the additional code (the data of the first pixel of the block), making it possible to perform encoding suitable for image retrieval.

ブロック内の特定位!の入力データの代わりにブロック
内の入力データの平均値DAを付加コードの1つとして
伝送する符号化方法も考えられる。
Specific position within the block! An encoding method may also be considered in which the average value DA of input data within a block is transmitted as one of the additional codes instead of the input data.

この場合の復号化方法としてはまずオフフットの初期値
F1−0として復号し、得られたデータ(Di−Fl)
の平均値DBを求める。伝送された平均(tI D A
より前記平均値DBを減算することによりオフセットの
初期値F1が得られる。前記データ(Di−Fl)に対
して前記得られた初期値Flを加算することにより復号
データDIが得られる。に個の剰余データEiすべてを
伝送すれば、剰余データに誤りを1つ生じても前記平均
値DAを用いることにより訂正が可能となる。また入力
が画像信号の場合前記平均値DAのみを用いて画像信号
の概要を表わすことができ、検索に適した符号化とでき
る。
In this case, the decoding method is to first decode the off-foot initial value F1-0, and the obtained data (Di-Fl)
Find the average value DB. Transmitted average (tI D A
By subtracting the average value DB, the initial value F1 of the offset can be obtained. Decoded data DI is obtained by adding the obtained initial value Fl to the data (Di-Fl). If all of the residual data Ei are transmitted, even if one error occurs in the residual data, it can be corrected by using the average value DA. Furthermore, when the input is an image signal, the outline of the image signal can be represented using only the average value DA, and encoding suitable for searching can be achieved.

次に伝送路上の符号化データの誤りが生した場合につい
て説明する。
Next, a case where an error occurs in encoded data on a transmission path will be explained.

伝送路上で符号誤りを生じてもDPCM方式のように次
のサンプルの復号に誤りが必ずしも伝播する訳ではない
、これは式(7)、 (8)、 (9)によるオフセッ
トFiの決定には予測誤差の最大値、最小値によって定
まるその判定の幅があるからである。
Even if a code error occurs on the transmission path, the error does not necessarily propagate to the decoding of the next sample as in the DPCM method. This is because there is a range of judgment determined by the maximum and minimum values of the prediction error.

しかしながらオフセットFlの決定に誤りを生じる場合
があり、この時以後の復号データにオフセットFiの誤
りが伝搬してしまう、しかし、予測値Piを得る際に他
のブロック内のデータを用いていない、すなわちブロッ
ク毎独立に符号化を行なっているので、誤りが隣のブロ
ックにまで伝搬することはない、また正しい復号データ
と誤りが伝搬することにより誤った復号データとの差は
除数データOUの整数倍となるので前記誤りの伝搬した
復号データとその隣にある正しい復号データとの相関を
判定することにより精度よく修正する事が可能である。
However, an error may occur in determining the offset Fl, and the error in the offset Fi is propagated to subsequent decoded data.However, when obtaining the predicted value Pi, data in other blocks is not used. In other words, since each block is encoded independently, errors will not propagate to neighboring blocks, and the difference between correct decoded data and incorrectly decoded data due to error propagation is an integer of the divisor data OU. Therefore, it is possible to accurately correct the error by determining the correlation between the decoded data in which the error has been propagated and the correct decoded data next to it.

その修正方法について述べる。誤りの発生した位置はエ
ラー訂正符号により検出できる0例えば第2図(C)に
示した9番目の剰余データに符号誤りが発生し、オフセ
ットFiの決定を誤ったとする。
We will explain how to correct it. The position where the error occurs can be detected by using an error correction code.For example, suppose that a code error occurs in the ninth residual data shown in FIG. 2(C) and the offset Fi is determined incorrectly.

これにより以後の10から16番目のデータの復号をも
誤ってしまう、そこで、誤りの伝播しない次のブロック
の先頭データである17番目のデータ(第2図には示し
ていない、)を起点として符号化時とは逆方向に予測し
ながら復号を行う。
As a result, the subsequent 10th to 16th data will also be decoded incorrectly, so the 17th data (not shown in Figure 2), which is the first data of the next block where the error will not propagate, is used as the starting point. Decoding is performed while predicting in the opposite direction to that used during encoding.

17番目のデータと16番目のデータとの差が予測誤差
のダイナミックレンジを超えない限り、これにより16
番目、15番目、・・・・・・10番目の入力データま
で正しく復号することができる。但し、符号化時と予測
方向が異なるので、予測誤差の符号が反転し、復号に用
いる最大値、最小値はそれぞれ付加コードにより伝送さ
れた最小値、最大値の符号を反転させたものとする必要
がある。9番目の入力データは8番目と10番目の復号
データの平均値などで修正できる。
As long as the difference between the 17th data and the 16th data does not exceed the dynamic range of the prediction error, this will result in 16
It is possible to correctly decode up to the 10th, 15th, . . . , 10th input data. However, since the prediction direction is different from that during encoding, the sign of the prediction error is inverted, and the maximum and minimum values used for decoding are the inverted signs of the minimum and maximum values transmitted by the additional code, respectively. There is a need. The 9th input data can be modified using the average value of the 8th and 10th decoded data.

また復号データを用いブロック境界をはさんで予測を行
なって得られる予測誤差(第2図の例では16番目と1
7番目のデータの差に相当)が、付加コードより求まる
予測誤差の範囲外となる領域は、伝送誤りの発生してい
る可能性が高いと判断できる。伝送誤りと判断できれば
、上記方法と同じく範囲外となっている領域を隣接ブロ
ック内の復号データを起点として復号時とは異なった方
向より予測して復号できる。
Also, the prediction error obtained by performing prediction across block boundaries using decoded data (in the example in Figure 2, the 16th and 1st
It can be determined that there is a high possibility that a transmission error has occurred in an area where the value (corresponding to the difference in the seventh data) is outside the range of the prediction error determined from the additional code. If it is determined that it is a transmission error, the out-of-range area can be predicted and decoded from a direction different from the direction used during decoding, starting from the decoded data in the adjacent block, as in the above method.

第2図の場合ブロック構成が1次元であったが、画像信
号のように2次元以上の場合、周囲の複数のブロック内
の復号データを用いて修正することが可能である。予測
誤差情報を表わす付加コードに伝送誤りを生じた場合は
隣接ブロックの付加コードを用いる修正方法が考えられ
る。さらに伝送誤り時にどの隣のブロックを修正時の利
用に適切かを符号化時に判定しておき、この情報を付加
コードの1つとして伝送する符号化方法も考えられ、こ
の場合より通°切な修正を行うことが可能となる。
In the case of FIG. 2, the block configuration is one-dimensional, but if it is two-dimensional or more like an image signal, it is possible to correct it using decoded data in a plurality of surrounding blocks. If a transmission error occurs in the additional code representing prediction error information, a correction method using the additional code of an adjacent block may be considered. Furthermore, in the event of a transmission error, an encoding method may be considered in which it is determined at the time of encoding which adjacent block is appropriate for use in correction, and this information is transmitted as one of the additional codes. It becomes possible to do this.

上記第1の実施例は、ブロック毎に符号化ビット数が変
化する可変長な符号化であり、実時間の伝送を必要とし
ない用途例えば静止画像、短文の音声などのファイル用
記録により適している。
The first embodiment described above is variable-length encoding in which the number of encoded bits changes for each block, and is more suitable for applications that do not require real-time transmission, such as file recording of still images, short audio, etc. There is.

次に通常のビットレート一定の伝送路に適合した本発明
の符号化方法についてまず簡単にその原理について説明
する。
Next, the principle of the encoding method of the present invention, which is suitable for a normal transmission line with a constant bit rate, will be briefly explained.

ビットレートを一定にするための1つの方法はブロック
毎の符号化ビット数を一定にすることである、符号化ビ
ット数を一定にするということは予測誤差のダイナミッ
クレンジを所定量以下にするということである0本発明
では入力信号に対して、その予測誤差のダイナミックレ
ンジを所定量以下にする変換を施して変換入力信号を得
、得られた変換入力信号に対して上記本発明の可逆な符
号化を行うものである。またその符号化出力に対して上
記本発明の復号化を行って、前記変換入力信号を再生し
、符号化時と逆の変換を行なって入力信号を再生するも
のである。
One way to keep the bit rate constant is to keep the number of encoded bits constant for each block. Keeping the number of encoded bits constant means that the dynamic range of prediction error is kept below a certain amount. In the present invention, the input signal is transformed to reduce the dynamic range of its prediction error to a predetermined amount or less to obtain a transformed input signal, and the reversible method of the present invention is applied to the obtained transformed input signal. It performs encoding. Further, the decoding according to the present invention described above is performed on the encoded output to reproduce the transformed input signal, and the input signal is reproduced by performing the reverse transformation to that during encoding.

前記変換入力信号を得るための最も簡単な方法は、入力
信号に対しブロック毎に所定数を掛けるものである。入
力信号に1より小さな所定数を掛けることによってダイ
ナミックレンジの小さくなった変換入力信号が得られ、
変換入力信号の予測誤差のダイナミックレンジを、入力
信号の予測誤差のダイナミックレンジのほぼ前記所定数
倍だけ小さくできる。これは、入力信号から予測誤差を
得る処理が線形だからである。
The simplest method for obtaining the transformed input signal is to multiply the input signal by a predetermined number for each block. By multiplying the input signal by a predetermined number smaller than 1, a converted input signal with a reduced dynamic range is obtained,
The dynamic range of the prediction error of the converted input signal can be reduced by approximately the predetermined number of times the dynamic range of the prediction error of the input signal. This is because the process of obtaining a prediction error from an input signal is linear.

第4図に本発明の第2の実施例における符号化装置及び
復号化装置のブロック構成図を示す、この符号化装置は
ブロック毎の符号化ビット数を一定とするものである。
FIG. 4 shows a block diagram of an encoding device and a decoding device according to a second embodiment of the present invention. This encoding device maintains a constant number of encoded bits for each block.

第4図に右いて4(11は標本化量子化された映像信号
(語長8ビツト0〜255レベル)である入力データの
入力端子、402はブロック毎の符号化データの語長を
一定とする符号化装置、403は符号化装置402の逆
変換を行う復号化装置、404は複合化された入力信号
の出力端子である。
On the right side of Fig. 4, 4 (11 is an input terminal for input data which is a sampled and quantized video signal (word length 8 bits, 0 to 255 levels), and 402 is an input terminal with a constant word length of encoded data for each block. 403 is a decoding device that performs inverse transformation of the encoding device 402, and 404 is an output terminal for the decoded input signal.

符号化装置402において102はブロック分割器(第
1図中のものと同一)、4(15,406゜4(17.
408はそれぞれ係数1/2.1/4゜1/8.1/1
6を入力信号に掛ける係数器、409.410,411
,412は第1図においてブロック分割器102を除去
した内部構成を有し可逆な符号化を行い付加コード、符
号化データを出力する符号化装置、413は符号化装置
409〜412の符号化装置の付加コード出力の一つで
除数データOUを入力とし変換情報を出力する検出器、
414は前記符号化装置409〜412及び係数器40
Bの出力を入力とし、前記変換情報により制御されて前
記符号化装置409〜412の出力よりその符号化デー
タ語長が4ビツトとなったものがあればその出力を選択
出力し、なければ係数器40Bの出力を選択出力するス
イッチである。
In the encoding device 402, 102 is a block divider (same as the one in FIG. 1), 4 (15,406°4 (17.
408 is a coefficient of 1/2.1/4°1/8.1/1 respectively
Coefficient multiplier that multiplies input signal by 6, 409.410,411
, 412 is an encoding device that has an internal configuration from which the block divider 102 is removed in FIG. a detector that receives divisor data OU as input and outputs conversion information as one of the additional code outputs;
414 the encoding devices 409 to 412 and the coefficient unit 40;
The output of B is input, and if there is an encoded data whose word length is 4 bits from among the outputs of the encoders 409 to 412 under the control of the conversion information, that output is selected and output; otherwise, the coefficient is This is a switch for selectively outputting the output of the device 40B.

復号化装置403において212はブロック分解器(第
3図中のものと同一)、415は第3図においてブロッ
ク分解器212を除去した内部構成を有する復号化装置
、416は復号化装置415の出力及び符号化データを
入力とし、伝送された前記変換情報により制御されて一
方を出力するスイッチ、417は伝送された前記変換情
報により制御されて所定係数を選択出力するスイッチ、
418はスイッチ416からの再生された前記変換信号
に、前記スイッチ417からの所定係数を掛けて入力信
号を再生する乗算器である。
In the decoding device 403, 212 is a block decomposer (same as the one in FIG. 3), 415 is a decoding device having an internal configuration from which the block decomposer 212 in FIG. 3 is removed, and 416 is the output of the decoding device 415. and a switch which inputs encoded data and outputs one of them under the control of the transmitted conversion information; 417 is a switch which selectively outputs a predetermined coefficient under the control of the transmitted conversion information;
A multiplier 418 multiplies the converted signal reproduced from the switch 416 by a predetermined coefficient from the switch 417 to reproduce the input signal.

以上のように構成された本実施例の符号化装置について
、以下その動作を説明する。
The operation of the encoding device of this embodiment configured as described above will be described below.

符号化装置402において、端子4(11からの入力信
号はブロック分割8102によりブロック毎の信号とな
る。ブロック毎の入力信号に対し係数器4(15〜40
8により、所定係数1/2゜1/4.1/8.1/16
を掛けて小数以下を丸めて語長8,7,6,5.4ビツ
トの変換入力信号(入力信号を含む)を作成し、それぞ
れを符号化装置409〜412により可逆な符号化を行
う。
In the encoding device 402, the input signal from the terminal 4 (11) becomes a signal for each block by block division 8102.
8, the predetermined coefficient 1/2°1/4.1/8.1/16
are multiplied and rounded to the nearest whole number to create converted input signals (including input signals) with word lengths of 8, 7, 6, and 5.4 bits, and each is reversibly encoded by encoding devices 409 to 412.

検出器413は、符号化データの語長が4ビツトとなっ
た符号化装置を検出する。スイッチ414は検出器41
3の出力により制御されて、符号化データの語長が4ビ
ツトとなった符号化装置の出力を選択し出力するが、符
号化データの語長が4ビツトとなった符号化装置が検出
できなかった場合、係数器408の出力を選択し、その
まま符号化データとして出力する。どの変換入力信号を
符号化して伝送したかを表す情報(3ビツト)を復号化
装置に知らせる必要があるので、これを変換情報として
、付加コードに含めて伝送する。なお、符号化装置40
9は符号化データ語長の下限値が4ビツトに設定されて
いるものとする。従って伝送する情報量は、付加コード
が変換情報3ビツト、ブロック先頭データ8ビツト(最
悪値)、予測誤差の最大値9ピント(最悪値)、符号化
データが4×15ビツトで合計80ビツトとなり、lN
素当り平均5ビツトとなる。
Detector 413 detects an encoding device whose encoded data has a word length of 4 bits. The switch 414 is the detector 41
The output of the encoding device whose encoded data has a word length of 4 bits is selected and output under the control of the output of step 3, but it is not possible to detect an encoding device whose encoded data has a word length of 4 bits. If not, the output of the coefficient unit 408 is selected and output as encoded data. Since it is necessary to inform the decoding device of information (3 bits) indicating which converted input signal was encoded and transmitted, this information is included in the additional code and transmitted as conversion information. Note that the encoding device 40
9 assumes that the lower limit value of the encoded data word length is set to 4 bits. Therefore, the amount of information to be transmitted is 80 bits in total, with the additional code being 3 bits of conversion information, 8 bits of block head data (worst value), the maximum prediction error being 9 bits (worst value), and the encoded data being 4 x 15 bits. ,lN
The average per bit is 5 bits.

復号装置403において、復号化装置415は伝送され
た符号化データを復号化して符号化装置における変換入
力信号を誤差なく復号する。復号された変換入力信号は
スイッチ416を介して乗算器418の入力となる。ス
イッチ417は伝送された変換情報に制御されて復号さ
れた変換入力信号を入力信号に変換するための逆変換係
数を選択出力する0乗算器41Bはスイッチ417から
の逆変換係数を前記変換入力信号に掛けて入力信号に変
換する。再生されたブロック毎の入力信号はブロック分
解器212によりブロックが分解されてブロック分割器
102の入力信号と同じデータ並びの入力信号が端子4
04より出力される。
In the decoding device 403, a decoding device 415 decodes the transmitted encoded data and decodes the converted input signal in the encoding device without error. The decoded converted input signal becomes an input to a multiplier 418 via a switch 416. The switch 417 selects and outputs an inverse transform coefficient for converting the decoded transform input signal into an input signal under the control of the transmitted transform information.The 0 multiplier 41B converts the inverse transform coefficient from the switch 417 into the transform input signal. Convert to input signal by multiplying by The reproduced input signal for each block is decomposed into blocks by a block decomposer 212, and an input signal having the same data arrangement as the input signal of the block divider 102 is sent to the terminal 4.
Output from 04.

なお伝送された符号化データが、伝送された変換情報に
より係数器40Bの出力であると検出された場合、符号
化データは変換入力信号そのものであるため、復号化装
置415を経ず、直接スイッチ416を経て乗算器41
Bの入力となる。
Note that if the transmitted encoded data is detected to be the output of the coefficient unit 40B based on the transmitted transformation information, the encoded data is the transformation input signal itself, so it is directly switched without going through the decoding device 415. Multiplier 41 via 416
This becomes the input of B.

以上のように入力信号を符号化し、所定の符号化データ
語長で符号化できない場合は、入力信号に所定係数を掛
けて予測誤差のダイナミックレンジの小さい変換入力信
号を作成し、これを符号化することにより、符号化デー
タ語長を一定にすることができる。変換信号の符号化は
第1の実施例と同じ符号化方法で可逆であるので、変則
誤差は発生しない、入力信号の予測誤差のダイナミック
レンジが大きい場合は入力信号に所定係数を掛けて変換
入力信号に変換して符号化しているので量子化が粗くな
る。予測誤差のダイナミックレンジが大きいところは入
力信号の変化の激しいところである。信号の変化の激し
いところは量子化を粗くしても信号劣化を感じないので
視覚特性にも合った実用的な符号化上できる。
When the input signal is encoded as described above and cannot be encoded with a predetermined encoded data word length, the input signal is multiplied by a predetermined coefficient to create a transformed input signal with a small dynamic range of prediction error, and this is encoded. By doing so, the encoded data word length can be kept constant. Since the encoding of the converted signal is reversible using the same encoding method as in the first embodiment, no irregular errors occur.If the dynamic range of the prediction error of the input signal is large, the input signal is multiplied by a predetermined coefficient and the converted signal is input. Since it is converted into a signal and then encoded, the quantization becomes coarse. Places where the dynamic range of prediction errors is large are places where the input signal changes rapidly. In areas where the signal changes rapidly, even if the quantization is coarsened, no signal deterioration will be felt, so it can be used for practical encoding that matches visual characteristics.

また説明を容易とするため4つ符号化装置409〜41
2を図示したが符号化装置内部において大部分の回路は
共用化できるので第1の実施例に比べ回路規模が大幅に
増加する訳ではない。
Also, for ease of explanation, there are four encoding devices 409 to 41.
Although most of the circuits inside the encoding device can be shared, the circuit size does not increase significantly compared to the first embodiment.

上記第2の実施例においては入力信号を変換入力信号に
変換するための変換係数が固定でその種類が少ないため
、符号化データのダイナミックレンジを育効に利用でき
ない場合がある。この!I題の解決された本発明の実施
例を次に示す。
In the second embodiment, the transformation coefficients for converting the input signal into the transformation input signal are fixed and there are only a few types, so the dynamic range of the encoded data may not be utilized effectively. this! An embodiment of the present invention that solves the problem will be shown below.

第5図に本発明の第3の実施例における符号化装置のブ
ロック構成図を示す。
FIG. 5 shows a block configuration diagram of an encoding device according to a third embodiment of the present invention.

第5図において5(11は標本化量子化された映像信号
である入力データの入力端子、102はブロック分vI
器(第1図中の102に同じ)、502は変換情報、変
換係数を生成し、前記変換係数を入力信号に掛けて変換
入力信号を出力する変換回路、503は符号化装置、5
04は前記変換情報(逆変換係数1/a)の出力端子、
5(15は変換入力信号のブロック内の先頭データd、
の出力端子、506は変換入力データに対する予測誤差
の最大値SXの出力端子、5(17は符号化データci
の出力端子である。
In FIG. 5, 5 (11 is an input terminal for input data which is a sampled and quantized video signal, 102 is a block vI
(same as 102 in FIG. 1), 502 is a conversion circuit that generates conversion information and conversion coefficients, multiplies the input signal by the conversion coefficient, and outputs a converted input signal; 503 is an encoding device;
04 is an output terminal of the transformation information (inverse transformation coefficient 1/a);
5 (15 is the first data d in the block of the conversion input signal,
506 is the output terminal of the maximum prediction error value SX for the converted input data, 5 (17 is the encoded data ci
This is the output terminal of

変換回路502において508は遅延器、509は予測
器、510は減算器、511は最大最小検出回路であり
、それぞれ第1図中の遅延器103、予測器1(15、
減算器106、最大最小検出回路1(17に等しく、5
12は最大最小検出回路511からの予測誤差の最大債
、最小値より変換入力信号を作成するための変換情報(
変換係数a、逆変換係数1/a)を出力する変換情報生
成回路、513は入力信号に前記変換係数を掛けて変換
入力信号を出力する乗算器である。
In the conversion circuit 502, 508 is a delay device, 509 is a predictor, 510 is a subtracter, and 511 is a maximum/minimum detection circuit, which corresponds to the delay device 103, predictor 1 (15,
subtractor 106, maximum/minimum detection circuit 1 (equal to 17, 5
12 is conversion information (
A conversion information generation circuit 513 outputs a conversion coefficient a, an inverse conversion coefficient 1/a), and a multiplier 513 multiplies the input signal by the conversion coefficient and outputs a converted input signal.

符号化装置503において第1図中と同一のものには同
じ番号をつけている。103は遅延器、104はレジス
タ、1(15は予測器、106は減算器、110は剰余
演算器、IIIは剰余エンコーダ、514は減算器10
6からの予測誤差のブロック毎の最大値を検出し、ブロ
ック毎に内部のレジスタに保持して出力する最大値検出
回路である。
Components in the encoding device 503 that are the same as those in FIG. 1 are given the same numbers. 103 is a delay device, 104 is a register, 1 (15 is a predictor, 106 is a subtracter, 110 is a remainder operator, III is a remainder encoder, 514 is a subtracter 10)
This is a maximum value detection circuit that detects the maximum value of the prediction error for each block from 6 and stores it in an internal register for each block and outputs it.

以上のように構成された本実施例の符号化装置について
、以下その動作を説明する。
The operation of the encoding device of this embodiment configured as described above will be described below.

標本化量子化された映像信号である入力データは端子5
(11より入力され、ブロック分割器102によりブロ
ック毎の信号となる。ブロック毎の入力信号は変換回路
502においてブロック毎に定まる変換係数aが掛けら
れ小数点以下が丸められて変換入力信号となる。変換係
数aの決定方法については後で説明する。
Input data, which is a sampled and quantized video signal, is sent to terminal 5.
11, and is converted into a signal for each block by the block divider 102.The input signal for each block is multiplied by a conversion coefficient a determined for each block in a conversion circuit 502, and the decimal parts are rounded to become a converted input signal. A method for determining the conversion coefficient a will be explained later.

変換入力信号は符号化装置503において第1図の本発
明の第1の実施例と同じ方法によって符号化される。こ
のとき変換入力信号は変換回路502により符号化装置
503で固定語長Lピントで可逆な符号化ができるよう
に変換されている。
The converted input signal is encoded in the encoding device 503 in the same manner as in the first embodiment of the invention in FIG. At this time, the converted input signal is converted by the conversion circuit 502 so that it can be reversibly encoded by the encoding device 503 with a fixed word length L focus.

従って除数データOUを新たに求める必要がないので符
号化装置503は第1図の符号化装置より減算器108
、オフセット生成器109が除去された構成となってお
り、また変換入力信号はすでにブロック毎の信号となっ
ているのでブロック分割器102も除去されている。符
号化データ語長しが一定すなわち除数データOUは常に
一定であるので付加コードとして伝送する必要がない、
符号化装置503は変換入力信号の予測誤差の最大値S
Xとブロックの先頭データd1と符号化データを出力す
る。また変換回路502からの変換情報(逆変換係数1
/a)は符号化して伝送した変換入力信号を入力信号に
逆変換するために必要であるので付加コードの1つとし
て伝送する。
Therefore, since there is no need to newly obtain the divisor data OU, the encoding device 503 uses the subtracter 108 more than the encoding device shown in FIG.
, the offset generator 109 is removed, and since the converted input signal is already a signal for each block, the block divider 102 is also removed. Since the encoded data word length is constant, that is, the divisor data OU is always constant, there is no need to transmit it as an additional code.
The encoding device 503 calculates the maximum value S of the prediction error of the converted input signal.
Outputs X, the first data d1 of the block, and the encoded data. Also, conversion information from the conversion circuit 502 (inverse conversion coefficient 1
/a) is necessary for inversely converting the encoded and transmitted converted input signal into an input signal, so it is transmitted as one of the additional codes.

変換係数aは次のようにして求める。変換回路502に
おいて予測器509の出力と入力信号との差すなわち予
測誤差が減算器510により求まる。最大最小検出回路
511は入力信号のブロック毎の予測誤差の最大値SX
と最小値SNを求め出力する。これより入力信号の予測
誤差のダイナミックレンジSDT?は(SX−SN)と
なる。
The conversion coefficient a is determined as follows. In the conversion circuit 502, a subtracter 510 determines the difference between the output of the predictor 509 and the input signal, that is, the prediction error. The maximum/minimum detection circuit 511 detects the maximum value SX of the prediction error for each block of the input signal.
and the minimum value SN is determined and output. From this, the dynamic range SDT of the prediction error of the input signal? becomes (SX-SN).

方、符号化装置503の符号化データの語長はLビット
であるから、変換入力信号の予測誤差のダイナミックレ
ンジsdr (変換入力信号の予測誤差の最大値をsx
、jl小値をsnとするとき5dr−sx−sn)は式
0fflより次式を満足していなければならない。
On the other hand, since the word length of the encoded data of the encoding device 503 is L bits, the dynamic range of the prediction error of the conversion input signal sdr (the maximum value of the prediction error of the conversion input signal is sx
, jl (5dr-sx-sn), when sn is the small value, must satisfy the following equation from the equation 0ffl.

sdr≦(2L−1)        ・・−・・・0
4)もし乗算器514において丸め誤差がないとしたら
変換係数aを(2’−1)/(SX−SN)とすること
により変換入力信号の予測誤差のダイナミックレンジs
drを(2’−1)とすることができ、効率よく符号化
できる。しかしながら実際には丸め誤差があり、必ずし
も5x−R(a・SX)、s n−R(a−SN)が成
立しない(但しR(x)はXの小数部を丸めた値を表わ
すものとする)。
sdr≦(2L-1) ・・・-・・・0
4) If there is no rounding error in the multiplier 514, the dynamic range s of the prediction error of the conversion input signal can be calculated by setting the conversion coefficient a to (2'-1)/(SX-SN).
dr can be set to (2'-1), and encoding can be performed efficiently. However, in reality, there are rounding errors, and 5x-R(a・SX) and sn-R(a-SN) do not necessarily hold (however, R(x) represents the value obtained by rounding the decimal part of X. ).

そこで丸め誤差を生じても予測誤差sdrが式04)を
必ず満足するように変換係数aを(2L−1)/(SX
−SN)より小さく設定している。すなわちsxがR(
a−3X)より大きくなる、またはsnがR(a−SN
)より小さくなる場合があり、このときsdrがa−3
DRより大きくなる。その誤差の最大値はそれぞれlで
あるので丸め誤差の影響が最悪の状態となっても式(ロ
)を満足するように変換情報生成回路512は次式を満
足する変換係数aを生成する。
Therefore, the conversion coefficient a is set to (2L-1)/(SX
-SN) is set smaller. In other words, sx is R(
a-3X) or sn becomes larger than R(a-SN
), and in this case sdr is a-3
It becomes larger than DR. Since the maximum value of each error is l, the conversion information generation circuit 512 generates a conversion coefficient a that satisfies the following equation so that equation (b) is satisfied even if the influence of the rounding error becomes the worst.

(2L−3)≧R(a −SX) −R(a−SN)・
・・・・・(+51 変換情報生成回路512は、予め式09を満足する変換
係数aを計算により求めておき、これを書き込んだリー
ド オンリー メモリー(ROM)により容易に実現で
きる。なお入力信号の予測誤差のダイナミックレンジS
DRが次式 %式% を満足するときは変換係数は1となる。
(2L-3)≧R(a-SX) -R(a-SN)・
......(+51) The conversion information generation circuit 512 can be easily realized by calculating the conversion coefficient a that satisfies Equation 09 in advance and writing this into a read-only memory (ROM). Dynamic range of prediction error S
When DR satisfies the following formula, the conversion coefficient is 1.

第6図は本発明の第3の実施例における復号装置のブロ
ック構成図であり、本復号装置は、第5図に示した符号
化装置の逆変換を行なうものである。
FIG. 6 is a block diagram of a decoding apparatus according to a third embodiment of the present invention, and this decoding apparatus performs inverse transformation of the encoding apparatus shown in FIG.

第6図において、6(11は変換情報(逆変換係数1/
a)の入力端子、602は変換入力信号のブロック内の
先頭データd1の入力端子、603は変換入力データに
対する予測誤差の最大値sxの入力端子、6(15は伝
送された変換入力信号の復号化装置、606は復号化さ
れた変換入力信号をもとの入力信号に逆変換する逆変換
回路、212はブロックを分解して再生されたブロック
毎の入力信号をブロック分割器102の入力信号と同じ
データ並びの入力信号に変換するブロック分解器212
.6(17は再生された入力信号の出力端子である。復
号器6(15において第3図中と同一のものには同じ番
号をつけている。2(15は剰余デコーダ、206は加
算器、2(17は減算器、208はオフセット再生器、
209は加算器、210はスイッチである。逆変換器6
06において608は乗算器である。
In Fig. 6, 6 (11 is transformation information (inverse transformation coefficient 1/
a), 602 is the input terminal of the first data d1 in the block of the transformed input signal, 603 is the input terminal of the maximum prediction error value sx for the transformed input data, 6 (15 is the decoding of the transmitted transformed input signal) 606 is an inverse conversion circuit that inversely converts the decoded input signal into the original input signal; 212 is an inverse conversion circuit that converts the decoded input signal into the original input signal; Block decomposer 212 converts into input signals with the same data arrangement
.. 6 (17 is the output terminal of the reproduced input signal. In the decoder 6 (15, the same parts as in FIG. 3 are given the same numbers. 2 (15 is the remainder decoder, 206 is the adder, 2 (17 is a subtracter, 208 is an offset regenerator,
209 is an adder, and 210 is a switch. Inverse converter 6
06, 608 is a multiplier.

以上のように構成された復号化装置の動作について説明
する。
The operation of the decoding device configured as above will be explained.

復号化装置6(15は第3図番こ示した復号化装置と除
数データOUが一定値で伝送する必要がないため入力さ
れない点を除けば基本的に同一構成であり、伝送された
付加コードを用いて符号化データが復号化されてもとの
変換入力信号となる。
The decoding device 6 (15 is basically the same configuration as the decoding device shown in Figure 3 except that the divisor data OU is not input because it does not need to be transmitted as a constant value, and the transmitted additional code The encoded data is decoded using , and becomes the original converted input signal.

変換入力信号は逆変換回路606において伝送された逆
変換係数1/a(変換情報)と乗算されてもとの入力信
号になる。この入力信号はブロック毎の信号であるため
、ブロック分解器212により符号化装置の入力信号と
同じデータ並びの信号に変換されて端子6(17より出
力される。
The converted input signal is multiplied by the transmitted inverse transform coefficient 1/a (conversion information) in the inverse transform circuit 606 to become the original input signal. Since this input signal is a signal for each block, it is converted by the block decomposer 212 into a signal with the same data arrangement as the input signal of the encoding device, and is output from the terminal 6 (17).

以上のように第5図、第6図に示した第3の実施例にお
いては、入力信号に変換係数aを掛けて変換入力信号を
得、変換入力信号を第1rj!Jにその構成を示した第
1の実施例と同じ可逆な符号化を行なう、入力信号の予
測誤差のダイナミックレンジと変換入力信号の予測誤差
のダイナミックレンジとは丸め誤差の影響を除けば比例
関係にあるので、まず入力信号の予測誤差のダイナミッ
クレンジを求め、変換入力信号の予測誤差のダイナミッ
クレンジが符号化データの語長によって定まるダイナミ
ックレンジを越えることなく、かつそのダイナミックレ
ンジに近くなるよう変換係数aを設定しているので効率
よく符号化できる。また丸め誤差を考慮し、ダイナミッ
クレンジの上限を越えないように変換係数を設定してい
るので、変換入力信号は可逆な符号化が行なわれ、変則
誤差は発生しない、符号化、復号化による入力信号の歪
は入力信号から変換入力信号への変換及びその逆変換に
おける変換係数乗算による語長制限、丸め誤差によるも
ののみである。
As described above, in the third embodiment shown in FIGS. 5 and 6, the input signal is multiplied by the conversion coefficient a to obtain the converted input signal, and the converted input signal is converted into the first rj! The dynamic range of the prediction error of the input signal and the dynamic range of the prediction error of the converted input signal are proportional to each other, except for the influence of rounding errors. Therefore, first find the dynamic range of the prediction error of the input signal, and then set the transformation coefficients so that the dynamic range of the prediction error of the converted input signal does not exceed the dynamic range determined by the word length of the encoded data and is close to that dynamic range. Since a is set, efficient encoding is possible. In addition, the conversion coefficients are set so as not to exceed the upper limit of the dynamic range in consideration of rounding errors, so the conversion input signal is reversibly encoded and no irregular errors occur. The distortion is only due to word length limitations and rounding errors due to multiplication of transform coefficients in the conversion from the input signal to the converted input signal and its inverse conversion.

上記例においては各ブロックにおける符号化データの語
長を全て一定としたが、所定数のブロック毎に符号化デ
ータの平均語長を一定とする方法がある0例えば2ブロ
ツク毎に符号化データの平均語長を4ビツトで符号化す
る場合を考える。2つのブロックA、Bがそれぞれ6ビ
ツト、4ビツトで可逆に符号化できる場合、平均符号化
語長は4ビツトであるから劣化なく符号化できる。とこ
ろが各ブロック毎に符号化データの語長を4ビツトに固
定する場合、ブロックAは2ビツト分信号劣化を生じ、
ブロックはlサンプル当り2ビツトの空きを生じる。従
って伝送レートを一定とする場合、複数のブロック毎に
符号化を行なうことによって1ブロツク毎に符号化を行
なう場合より符号化効率を改善できる。
In the above example, the word length of the coded data in each block is all constant, but there is a method of making the average word length of the coded data constant for each predetermined number of blocks. Consider the case where the average word length is encoded using 4 bits. If two blocks A and B can be reversibly encoded with 6 bits and 4 bits, respectively, the average coded word length is 4 bits, so they can be encoded without deterioration. However, when the word length of encoded data is fixed to 4 bits for each block, block A suffers signal degradation of 2 bits,
The block yields 2 bits per sample. Therefore, when the transmission rate is held constant, encoding efficiency can be improved by encoding each block than when encoding each block.

この符号化方法において符号化単位内の各ブロックをそ
れぞれ何ビットで符号化するかの決定の方法の一例とし
ては次のようなものが考えられる。
In this encoding method, the following can be considered as an example of a method for determining how many bits are used to encode each block within a coding unit.

まず符号化単位内の全ブロックについて予測誤差のダイ
ナミックレンジを計算し、可逆な符号化を行なった場合
の符号化データの平均ビット数を求める。このビット数
と実際の符号化ビット数との差のビット数分だけ各ブロ
ックの入力信号の予測誤差のダイナミックレンジが平均
して小さくなるように変換を行なうものである。
First, the dynamic range of prediction errors is calculated for all blocks within a coding unit, and the average number of bits of coded data when reversible coding is performed is determined. Conversion is performed so that the dynamic range of the prediction error of the input signal of each block becomes smaller on average by the number of bits that is the difference between this number of bits and the actual number of encoded bits.

この符号化装置は符号化単位分のバッツァメモリと可逆
な符号化を行なワたと仮定した場合の平均符号化ビット
数を求める手段と前記平均符号化ビット数と実際の符号
化ビット数との差を求めこれを蓄える手段等を第5図の
符号化装置に付加すればよく、この復号化装置は基本的
には第6図の復号化装置と同しでよいのでこれらの説明
は省略する。
This encoding device includes a means for determining the average number of encoded bits assuming that the encoding unit has a Batza memory and reversible encoding, and a difference between the average number of encoded bits and the actual number of encoded bits. It is sufficient to add a means for determining and storing this to the encoding device shown in FIG. 5, and this decoding device can basically be the same as the decoding device shown in FIG. 6, so a description thereof will be omitted.

また上記実施例においてもなお符号化データのダイナミ
ックレンジが完全に有効利用されている訳ではない、な
ぜなら丸め誤差によって予測誤差のダイナミックレンジ
が拡大しても符号化データのダイナミックレンジを越え
ないように余裕をもたせているからである。そこで第2
.第3の実施例を組み合わせた方法が考えられる。すな
わち第3の実施例において複数の変換係数と、この変換
係数に対応して複数の符号化装置を備え、符号化データ
のダイナミックレンジを有効に利用しているものを選択
するものであるが、第2.第3の実施例により容易に構
成できるので説明は省略する。
Furthermore, even in the above embodiments, the dynamic range of the encoded data is not fully utilized. This is because even if the dynamic range of the prediction error expands due to rounding errors, there is a margin that does not exceed the dynamic range of the encoded data. This is because it gives rise to So the second
.. A method combining the third embodiment is conceivable. That is, in the third embodiment, a plurality of transform coefficients and a plurality of encoding devices corresponding to the transform coefficients are provided, and one that effectively utilizes the dynamic range of encoded data is selected. Second. Since the third embodiment can be easily configured, the explanation will be omitted.

また予測誤差のダイナミックレンジを小さくする方法と
して第7図に示すように非線形な変換をおこなうものが
考えられる。第7図において白丸印のデータが変換前の
入力信号、黒丸印のデータが変換後の入力信号である。
Further, as a method of reducing the dynamic range of prediction errors, a method of performing nonlinear conversion as shown in FIG. 7 can be considered. In FIG. 7, the data marked with white circles are the input signals before conversion, and the data marked with black circles are the input signals after conversion.

同図の例は時刻(i−1)、lの入力データ間で予測誤
差の最大値SX (=Di  D+−1)が発生した場
合のもので、最大値の発生に関わった入力データD*−
+ 、Dtをそれぞれ+1.−Iして変換入力信号とし
ている。これにより変換入力信号の予測誤差の最大値S
Xは前記最大値SXより2レベル小さくなっている。こ
のように予測誤差の最大値、最小値の発生に関わる入力
データの一部またはその全てを少しだけ小さく、または
少しだけ大きくすることによって発生する予測誤差の最
大値、最小値を少しだけ小さくする。すなわち予測誤差
のダイナミックレンジを小さくする非線形な処理を行な
うものである。入力データの変更レベル量は小さく抑え
るので、復号時の逆変換は不要とできる。この非線形処
理による変換は、入力信号の予測誤差のダイナミックレ
ンジが2のべき乗に等しいか、もしくはこれを少しだけ
越えるような場合に有効であり、また入力信号に変換係
数を掛けて変換信号を得る際に丸め誤差により発生する
予測誤差の増加を抑圧する場合に有効である。なぜなら
予測誤差のダイナミックレンジを2のべき乗より小さい
がこれにより近い値とすることは、符号化データのダイ
ナミックレンジを有効に利用することであり、符号化デ
ータ語長を1ビット小さくできることだからである。
The example in the figure is a case where the maximum prediction error value SX (=Di D+-1) occurs between the input data at time (i-1) and l, and the input data D* involved in the generation of the maximum value. −
+, Dt by +1. -I is used as the conversion input signal. As a result, the maximum prediction error S of the converted input signal
X is two levels smaller than the maximum value SX. In this way, the maximum value and minimum value of the prediction error generated by slightly decreasing or increasing some or all of the input data related to the generation of the maximum value and minimum value of the prediction error can be made slightly smaller. . That is, nonlinear processing is performed to reduce the dynamic range of prediction errors. Since the amount of change level of input data is kept small, inverse transformation at the time of decoding is not necessary. Transformation using this nonlinear processing is effective when the dynamic range of the prediction error of the input signal is equal to or slightly exceeds a power of 2, and the transformed signal is obtained by multiplying the input signal by a transformation coefficient. This is effective in suppressing an increase in prediction errors caused by rounding errors. This is because setting the dynamic range of the prediction error to a value closer to but smaller than a power of 2 means to effectively utilize the dynamic range of the encoded data, and allows the encoded data word length to be reduced by 1 bit. .

また予測誤差のダイナミックレンジを小さくする別の方
法として次のようなものも考えられる。
Another possible method for reducing the dynamic range of prediction errors is as follows.

符号化装置内において予測誤差を入力信号の高域成分と
みなすことができる。従って予測誤差のダイナミックレ
ンジを小さくする方法として高域抑圧フィルタが考えら
れる。復号時には高域抑圧フィルタと逆の特性を有する
フィルタを用いればよい、この場合の変換情報としては
このフィルタの有無やその特性を示すコードなどが考え
られる。
Within the encoding device, the prediction error can be regarded as a high frequency component of the input signal. Therefore, a high frequency suppression filter can be considered as a method of reducing the dynamic range of prediction errors. At the time of decoding, a filter having characteristics opposite to those of the high-frequency suppression filter may be used. In this case, the conversion information may include the presence or absence of this filter and a code indicating its characteristics.

ブロックは1次元構成(例えば水平方向166画素垂直
方向1ライン)でも、2次元構成(例えば水平方向4画
素、垂直方向4ライン)でもよく、さらにフィールド間
、フレーム間に拡張した3次元構成も考えられる。変形
としてフィールド内またはフレーム内で符号化を行なっ
た後、フィールド単位またはフレーム単位の時間軸方向
にブロックを拡張して符号化する方法も考えられる。ま
たブロックサイズを可変長とする方法も考えられる。
The block may have a one-dimensional configuration (for example, 166 pixels in the horizontal direction and 1 line in the vertical direction) or a two-dimensional configuration (for example, 4 pixels in the horizontal direction and 4 lines in the vertical direction), and a three-dimensional configuration that extends between fields and frames is also considered. It will be done. As a modification, a method may be considered in which after encoding is performed within a field or frame, blocks are extended in the time axis direction in units of fields or frames and then encoded. Another possible method is to make the block size variable.

また一般には水平、垂直方向にそれぞれ連続した標本位
!の入力データでブロックが構成されるが、必ずしもこ
のような構成に限定されるものではない、相関の強い複
数の入力データでブロックを構成すればよく、NTSC
信号等においては色搬送波の同位相点の標本位置の入力
データでブロックを構成することも考えられる。
In general, sample positions are continuous in both the horizontal and vertical directions! A block is composed of input data of
For signals, etc., it is also conceivable to configure a block with input data of sample positions of in-phase points of color carrier waves.

以上の実施例においては予測方法はすべて前置予測であ
ったが、これに限定されるものではな(、各種予測方法
が考えられる。
In the above embodiments, all prediction methods were pre-predictions, but the present invention is not limited to this (various prediction methods can be considered).

ブロック構成が1次元の場合、ブロック内における入力
データの取り出す順番は入力順に、予測に使用する入力
データまたは復号データの組合せは1つ前のデータとす
るのが最も簡単であるが、ブロック構成が2次元以上に
なると入力データを取り出す順番、予測に使用するデー
タの組合せは各種考えられる。ブロック構成を水平方向
に4画素、垂直方向に4ラインの2次元とした場合にお
ける例を第8図に示す、同図においてO印は画素を表わ
し、番号はブロックより取り出す順番iを表わし、実戦
の矢印は矢印の出ているデータを矢印の入っているデー
タの予測に使用することを表わしている。除数データO
Uの小さい方が符号化効率がよいが、入力データの相関
によって異なるので複数の方法で符号化を行い、効率の
よい方の符号化方法の出力とともにその符号化方法を示
すコードを付加コードに付加して出力する方法も考えら
れる。
When the block configuration is one-dimensional, it is easiest to take out the input data in the block in the input order, and the combination of input data or decoded data used for prediction is the previous data. When it comes to two or more dimensions, there are various possibilities for the order in which input data is extracted and the combinations of data used for prediction. Figure 8 shows an example of a two-dimensional block configuration with 4 pixels in the horizontal direction and 4 lines in the vertical direction. The arrow indicates that the data indicated by the arrow is used to predict the data indicated by the arrow. Divisor data O
The smaller U is, the better the encoding efficiency is, but since it depends on the correlation of the input data, encoding is performed using multiple methods, and the output of the more efficient encoding method and the code indicating that encoding method are added to the additional code. A method of adding the information and outputting it may also be considered.

前置予測において最も符号化効率の良くなる信号は単調
増加もしくは単!1lilfi少とする信号である。
In pre-prediction, the signal with the highest coding efficiency is a monotonically increasing signal or a monotonically increasing signal. This is a signal to reduce the amount by 1 lilfi.

なぜならこの時予測誤差のダイナミックレンジが最も小
さくなるからである。従ってブロックから入力データを
取り出す順序が異なった取り出し方を複数用意しておき
、最も予測誤差のダイナミックレンジの小さいものを選
ぶ方法が考えられる。
This is because the dynamic range of prediction errors becomes the smallest at this time. Therefore, a method can be considered in which a plurality of ways to take out input data from a block are prepared in different orders, and the one with the smallest dynamic range of prediction error is selected.

この場合、入力データの取り出し方(一種の予測方法)
を示すコードを付加コードの1つとして伝送する。
In this case, how to retrieve input data (a kind of prediction method)
A code indicating this is transmitted as one of the additional codes.

以上の予測方法は外挿予測であったが、内挿予測を用い
ても良い0例えば第1の実施例において各ブロックの先
頭データのみは符号化せずそのまま入力データを伝送し
ているので、各ブロックの先頭データを用いて直線補間
して得た値を予測値とし、入力信号との差を予測誤差と
するものである。内挿予測は、外挿予測のように順次復
号したデータを次のデータの復号に使用しないので、誤
り伝搬は生じない。
The above prediction method was extrapolation prediction, but interpolation prediction may also be used.For example, in the first embodiment, only the first data of each block is not encoded and the input data is transmitted as it is. The value obtained by linear interpolation using the leading data of each block is used as a predicted value, and the difference from the input signal is used as a prediction error. Unlike extrapolation prediction, interpolation prediction does not use sequentially decoded data to decode the next data, so error propagation does not occur.

また入力信号中の高域成分が非常に大きい場合、ブロッ
ク内の特定位置の入力信号(例えばブロックの先頭デー
タ)またはブロック内の全データの平均値をブロック内
のすべての入力信号に対する予測信号とする予測方法が
有効である6例えば入力信号が20.30.20.30
.・・・・・・の繰り返しの場合前置予測における予測
誤差の最大値SX。
In addition, if the high-frequency component in the input signal is very large, the input signal at a specific position in the block (for example, the first data of the block) or the average value of all data in the block can be used as the predicted signal for all input signals in the block. For example, if the input signal is 20.30.20.30, the prediction method is effective.
.. Maximum value SX of prediction error in pre-prediction in case of repetition of .

最小411SNはそれぞれ10.−10となってそのダ
イナミックレンジSDRは20となる。これに対し先頭
データ20を同一ブロック内のすべての入力に対する予
測値とするとその予測誤差の最大値Sx、最小値SNは
それぞれ10.0となってそのダイナミックレンジSD
Rは10と小さくできる。
The minimum 411SN is 10. -10, and its dynamic range SDR is 20. On the other hand, if the first data 20 is a predicted value for all inputs in the same block, the maximum value Sx and minimum value SN of the prediction error are each 10.0, and the dynamic range SD
R can be as small as 10.

発明の詳細 な説明したように、本発明によれば、簡単な構成で、変
則誤差がなく効率のよい伝送が可能な符号化方法および
その復号方法とすることができ、その実用的価値は大き
い。
As described in detail, according to the present invention, it is possible to provide an encoding method and a decoding method thereof that have a simple configuration, are free from anomalous errors, and can perform efficient transmission, and have great practical value. .

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

1次元構成のブロックにおける各データの例を示すグラ
フ、第3図は第1の実施例における復号化装置の構成を
示すブロック図、第4図は本発明の第2の実施例におけ
る高能率な符号化装置、及びその復号化装置の構成を示
すブロック図、第5因は本発明の第3の実施例における
高能率な符号化装置の構成を示すブロック図、第6図は
第3の実施例における復号化装置の構成を示すブロック
図、第7図は入力信号の予測誤差のダイナミックレンら
データを取り出す順番と予測方法を示す図、第方式にお
ける動作波形(正常時)図、第11図はムにおける別の
動作波形の例(変則誤差発生時)を示すグラフである。 1(11・・・・・・入力端子、102・・・・・・ブ
ロック分割b、103・・・・・・遅延器、104・・
・・・・レジスタ、1(15・・・・・・予測器、10
6・・・・・・減算器、1(17・・・・・・最大最小
検出回路、10B・旧・・減算器、109・・・・・・
除数データ生成器、110・・・・・・剰余演算器、1
11・・・・・・剰余エンコーダ、112・・・・・・
符号化データCLの出力端子、113・・・・・・除数
データOUの出力端子、114・・・・・・予測誤差の
最大値SXの出力端子、115・・・・・・入力データ
D1の出力端子、2(11・・・・・・符号化データC
iの入力端子、202・・・・・・除数データOUの入
力端子、203・旧・・予測誤差の最大値SXの入力端
子、204・・・・・・入力データD1の入力端子、2
(15・・・・・・剰余デコーダ、206・・・・・・
加算器、2(17・・・・・・減算器、208・・・・
・・オフセット再生器、209・旧・・オフセット付加
器、210・・・・・・スイッチ、211・旧・・予測
器、212・・・・・・ブロック分解器、213・・・
・・・復号データの出力端子。 区 tjlm−!べp 第 図 Ft :ou−NIS D+ <OLJ・(N+十〇デ
ータ)号1 t!11n−誌べρ 第 7 口 t−s  ム−2t−t   A   i中I A中2
第 図 (Cν (eJ C9) (d) (f) (h) 鍋 図 第10図
A graph showing an example of each data in a block with a one-dimensional configuration, FIG. 3 is a block diagram showing the configuration of the decoding device in the first embodiment, and FIG. A block diagram showing the configuration of an encoding device and its decoding device, the fifth factor is a block diagram showing the configuration of a highly efficient encoding device in the third embodiment of the present invention, and FIG. A block diagram showing the configuration of the decoding device in the example, Fig. 7 is a diagram showing the order and prediction method for extracting data such as the dynamic range of prediction error of the input signal, and a diagram of operation waveforms in the method (normal state), Fig. 11 3 is a graph showing another example of an operation waveform (when an irregular error occurs) in the system. 1 (11... input terminal, 102... block division b, 103... delay device, 104...
...Register, 1 (15...Predictor, 10
6...Subtractor, 1 (17...Maximum/minimum detection circuit, 10B/old...Subtractor, 109...
Divisor data generator, 110... Remainder calculator, 1
11... Remainder encoder, 112...
Output terminal of encoded data CL, 113... Output terminal of divisor data OU, 114... Output terminal of maximum value SX of prediction error, 115... Output terminal of input data D1. Output terminal, 2 (11...encoded data C
Input terminal of i, 202... Input terminal of divisor data OU, 203 Old... Input terminal of maximum value SX of prediction error, 204... Input terminal of input data D1, 2
(15...remainder decoder, 206...
Adder, 2 (17... Subtractor, 208...
・Offset regenerator, 209 ・Old ・Offset adder, 210 ・Switch, 211 ・Old ・Predictor, 212 ・Block decomposer, 213 ・
...Output terminal for decoded data. Ward tjlm-! Bep Figure Ft :ou-NIS D+ <OLJ・(N+10 data) No. 1 t! 11n-magazine rho 7th mouth t-s mu-2t-t A i middle I A middle 2
Figure (Cν (eJ C9) (d) (f) (h) Pot diagram Figure 10

Claims (27)

【特許請求の範囲】[Claims] (1)複数の入力データで構成されるブロックを符号化
の単位とし、ブロックにおける入力データとその予測値
との差である予測誤差の最大値SXと最小値SNとを求
め、(SX−SN)より大なる所定の値を除数データO
Uとするとき、前記ブロックの各入力データを前記除数
データOUで除算して得られる剰余Eを符号化し、前記
SX、SN、OUに関する予測誤差情報を含む付加コー
ドと前記符号化したEとをともに伝送することを特徴と
する符号化方法。
(1) A block consisting of a plurality of input data is used as a unit of encoding, and the maximum value SX and minimum value SN of the prediction error, which is the difference between the input data and its predicted value in the block, are determined, and (SX-SN ) is the larger predetermined value as the divisor data O
When U, the remainder E obtained by dividing each input data of the block by the divisor data OU is encoded, and the encoded E is combined with an additional code containing prediction error information regarding the SX, SN, and OU. An encoding method characterized by transmitting both.
(2)予測値が予測されるデータと同一のブロック内の
入力データであることを特徴とする請求項(1)記載の
符号化方法。
(2) The encoding method according to claim (1), wherein the predicted value is input data in the same block as the predicted data.
(3)予測値が予測されるデータと同一のブロック内の
特定位置の入力データである請求項(1)記載の符号化
方法。
(3) The encoding method according to claim (1), wherein the predicted value is input data at a specific position within the same block as the predicted data.
(4)予測値が予測されるデータと同一のブロック内の
入力データの平均値であることを特徴とする請求項(1
)記載の符号化方法。
(4) Claim (1) characterized in that the predicted value is an average value of input data in the same block as the predicted data.
) Encoding method described.
(5)内挿予測を用いる請求項(1)記載の符号化方法
(5) The encoding method according to claim (1), which uses interpolation prediction.
(6)最も符号化効率のよい予測方法を示す予測情報を
付加コードの1つとして用いる請求項(1)記載の符号
化方法。
(6) The encoding method according to claim (1), wherein prediction information indicating a prediction method with the highest encoding efficiency is used as one of the additional codes.
(7)予測誤差情報の1つとして伝送する除数データO
Uが次式 OU=2^M>SX−SN≧2^M^−^1但しMは整
数 を満足することを特徴とする請求項(1)記載の符号化
方法。
(7) Divisor data O transmitted as one of prediction error information
2. The encoding method according to claim 1, wherein U satisfies the following formula: OU=2^M>SX-SN≧2^M^-^1, where M is an integer.
(8)ブロック内の特定位置の入力データを付加コード
の1つとする請求項(1)記載の符号化方法。
(8) The encoding method according to claim (1), wherein input data at a specific position within a block is one of the additional codes.
(9)ブロック内の入力データの平均値を付加コードの
1つとする請求項(1)記載の符号化方法。
(9) The encoding method according to claim (1), wherein the average value of input data within a block is used as one of the additional codes.
(10)原入力信号の予測誤差のダイナミックレンジが
所定数のブロック毎に所定量以下になるように原入力信
号を変換した信号を入力信号とする請求項(1)記載の
符号化方法。
(10) The encoding method according to claim (1), wherein the input signal is a signal obtained by converting the original input signal so that the dynamic range of the prediction error of the original input signal is equal to or less than a predetermined amount for each predetermined number of blocks.
(11)原入力信号の変換方法を示す変換情報を付加コ
ードの1つとして伝送することを特徴とする請求項(1
0)記載の符号化方法。
(11) Claim (1) characterized in that conversion information indicating a method of converting the original input signal is transmitted as one of the additional codes.
0) Encoding method described.
(12)原入力信号の変換方法が原入力信号に対し所定
係数をかけることを特徴とする請求項(10)記載の符
号化方法。
(12) The encoding method according to claim (10), wherein the method for converting the original input signal comprises multiplying the original input signal by a predetermined coefficient.
(13)原入力信号の変換方法が原入力信号の一部を微
小量増加または減少させるものであることを特徴とする
請求項(10)記載の符号化方法。
(13) The encoding method according to claim (10), wherein the method of converting the original input signal is to increase or decrease a part of the original input signal by a minute amount.
(14)原入力信号の変換方法が原入力信号に対し高域
抑圧を行なうものであることを特徴とする請求項(10
)記載の符号化方法。
(14) Claim (10) characterized in that the method for converting the original input signal is to perform high frequency suppression on the original input signal.
) Encoding method described.
(15)複数の入力データで構成されるブロックを符号
化の単位とし、ブロックにおける入力データとその予測
値との差である予測誤差の最大値SXと最小値SNとを
求め、(SX−SN)より大なる所定の値を除数データ
OUとするとき、前記ブロックの各入力データを前記除
数データOUで除算して得られる剰余Eを符号化し、前
記SX、SN、OUに関する予測誤差情報を含む付加コ
ードと前記符号化したEとをともに伝送する符号化方法
により符号化された信号を入力とし、伝送された前記付
加コードより前記除数データOUを得、伝送され復号済
みの剰余Eに整数N倍の前記除数データOUを加えて復
号済みの復号データとし、前記復号データとその予測値
との差の予測誤差が伝送された前記付加コードより得ら
れる予測誤差範囲を満足するように前記整数Nを決定す
ることを特徴とする復号化方法。
(15) Using a block composed of multiple input data as a unit of encoding, find the maximum value SX and minimum value SN of the prediction error, which is the difference between the input data in the block and its predicted value, and (SX-SN ) When a larger predetermined value is set as the divisor data OU, the remainder E obtained by dividing each input data of the block by the divisor data OU is encoded, and includes prediction error information regarding the SX, SN, and OU. A signal encoded by a coding method that transmits both an additional code and the encoded E is input, the divisor data OU is obtained from the transmitted additional code, and an integer N is added to the transmitted and decoded remainder E. The integer N is calculated by adding the divisor data OU times the divisor data OU to obtain the decoded data, and the integer N A decoding method characterized by determining.
(16)予測値が予測されるデータと同一のブロック内
の入力データであることを特徴とする請求項(15)記
載の復号化方法。
(16) The decoding method according to claim 15, wherein the predicted value is input data in the same block as the predicted data.
(17)予測値が予測されるデータと同一のブロック内
の特定位置の入力データである請求項(15)記載の復
号化方法。
(17) The decoding method according to claim (15), wherein the predicted value is input data at a specific position within the same block as the predicted data.
(18)予測値が予測されるデータと同一のブロック内
の入力データの平均値であることを特徴とする請求項(
15)記載の復号化方法。
(18) Claim characterized in that the predicted value is an average value of input data in the same block as the predicted data (
15) The decoding method described.
(19)内挿予測を用いる請求項(15)記載の復号化
方法。
(19) The decoding method according to claim (15), which uses interpolation prediction.
(20)最も符号化効率のよい予測方法を示す予測情報
を付加コードの1つとして用いる請求項(15)記載の
復号化方法。
(20) The decoding method according to claim (15), wherein prediction information indicating a prediction method with the highest encoding efficiency is used as one of the additional codes.
(21)予測誤差情報の1つとして伝送する除数データ
OUが次式 OU=2^M>SX−SN≧2^M^−^1但しMは整
数 を満足することを特徴とする請求項(15)記載の復号
化方法。
(21) Claim characterized in that the divisor data OU transmitted as one of the prediction error information satisfies the following formula OU=2^M>SX-SN≧2^M^-^1, where M is an integer ( 15) The decoding method described.
(22)ブロック内の特定位置の入力データを付加コド
の1つとする請求項(15)記載の復号化方法。
(22) The decoding method according to claim (15), wherein input data at a specific position within the block is one of the additional codes.
(23)ブロック内の入力データの平均値を付加コード
の1つとする請求項(15)記載の復号化方法。
(23) The decoding method according to claim (15), wherein one of the additional codes is an average value of input data within a block.
(24)付加コード中の変換情報に基づいて復号データ
に対して符号化時と逆の変換を行なって原入力信号を再
生する請求項(15)記載の復号化方法。
(24) The decoding method according to claim (15), wherein the original input signal is reproduced by performing the reverse conversion on the decoded data based on the conversion information in the additional code.
(25)符号化データの誤りの発生以後の符号化データ
の復号は、隣接ブロック内の復号データを予測の起点と
し符号化時とは異なった方向より予測して復号すること
を特徴とする請求項(15)記載の復号化方法。
(25) A claim characterized in that the decoding of the encoded data after an error occurs in the encoded data is performed by predicting from a direction different from that at the time of encoding using the decoded data in an adjacent block as the starting point of prediction. The decoding method described in item (15).
(26)誤りの生じた付加コードは隣接ブロックの付加
コードを用いて復号することを特徴とする請求項(15
)記載の復号化方法。
(26) Claim (15) characterized in that the additional code in which an error has occurred is decoded using the additional code of an adjacent block.
) Decryption method described.
(27)復号データを用いブロック境界をはさんで予測
を行なって得られる予測誤差が、付加コードより求まる
予測誤差の範囲外となる領域があれば、伝送誤り発生と
判定し、隣接ブロック内の復号データを予測の起点とし
てこの領域を符号化時とは異なった方向より予測して復
号することを特徴とする請求項(15)記載の復号化方
法。
(27) If there is a region where the prediction error obtained by performing prediction across block boundaries using decoded data is outside the range of the prediction error determined from the additional code, it is determined that a transmission error has occurred, and 16. The decoding method according to claim 15, wherein the decoded area is predicted and decoded from a direction different from that during encoding using decoded data as a starting point for prediction.
JP28357689A 1988-11-11 1989-10-31 Encoding method and decoding method Expired - Fee Related JP2794842B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28357689A JP2794842B2 (en) 1988-11-11 1989-10-31 Encoding method and decoding method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP28614588 1988-11-11
JP63-286145 1988-11-11
JP28357689A JP2794842B2 (en) 1988-11-11 1989-10-31 Encoding method and decoding method

Publications (2)

Publication Number Publication Date
JPH02216917A true JPH02216917A (en) 1990-08-29
JP2794842B2 JP2794842B2 (en) 1998-09-10

Family

ID=26555097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28357689A Expired - Fee Related JP2794842B2 (en) 1988-11-11 1989-10-31 Encoding method and decoding method

Country Status (1)

Country Link
JP (1) JP2794842B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003110429A (en) * 2001-09-28 2003-04-11 Sony Corp Coding method and device, decoding method and device, transmission method and device, and storage medium
JP2007520948A (en) * 2004-01-20 2007-07-26 松下電器産業株式会社 Image encoding method, image decoding method, image encoding device, image decoding device, and program
US7933327B2 (en) 2004-01-30 2011-04-26 Panasonic Corporation Moving picture coding method and moving picture decoding method
US8401074B2 (en) 2004-01-30 2013-03-19 Panasonic Corporation Picture coding method, picture decoding method, picture coding apparatus, picture decoding apparatus, and program thereof

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003110429A (en) * 2001-09-28 2003-04-11 Sony Corp Coding method and device, decoding method and device, transmission method and device, and storage medium
US7995650B2 (en) 2004-01-20 2011-08-09 Panasonic Corporation Picture coding method, picture decoding method, picture coding apparatus, picture decoding apparatus, and program thereof
JP2007520948A (en) * 2004-01-20 2007-07-26 松下電器産業株式会社 Image encoding method, image decoding method, image encoding device, image decoding device, and program
US7912122B2 (en) 2004-01-20 2011-03-22 Panasonic Corporation Picture coding method, picture decoding method, picture coding apparatus, picture decoding apparatus
JP2011101420A (en) * 2004-01-20 2011-05-19 Panasonic Corp Coding method of quantization matrix, coding apparatus of moving image and moving image signal stream
JP4705921B2 (en) * 2004-01-20 2011-06-22 パナソニック株式会社 Quantization matrix, moving picture decoding method, decoding apparatus, program, and recording medium
US7933327B2 (en) 2004-01-30 2011-04-26 Panasonic Corporation Moving picture coding method and moving picture decoding method
US8194734B2 (en) 2004-01-30 2012-06-05 Panasonic Corporation Moving picture coding method and moving picture decoding method
US8218623B2 (en) 2004-01-30 2012-07-10 Panasonic Corporation Moving picture coding method and moving picture decoding method
US8396116B2 (en) 2004-01-30 2013-03-12 Panasonic Corporation Moving picture coding method and moving picture decoding method
US8401074B2 (en) 2004-01-30 2013-03-19 Panasonic Corporation Picture coding method, picture decoding method, picture coding apparatus, picture decoding apparatus, and program thereof
US8477838B2 (en) 2004-01-30 2013-07-02 Panasonic Corporation Moving picture coding method and moving picture decoding method
USRE46500E1 (en) 2004-01-30 2017-08-01 Dolby International Ab Moving picture coding method and moving picture decoding method
USRE48401E1 (en) 2004-01-30 2021-01-19 Dolby International Ab Moving picture coding method and moving picture decoding method
USRE49787E1 (en) 2004-01-30 2024-01-02 Dolby International Ab Moving picture coding method and moving picture decoding method

Also Published As

Publication number Publication date
JP2794842B2 (en) 1998-09-10

Similar Documents

Publication Publication Date Title
KR102003048B1 (en) Method and apparatus for video encoding, and method and apparatus for video decoding
KR950004117B1 (en) Orthogonal transform coding apparatus
EP0369682B1 (en) Efficient coding method and its decoding method
JPH0485621A (en) Rounding device
JPH02156789A (en) Picture signal compression coding device and expansion reproducing device
US5734433A (en) Picture encoding apparatus, picture encoding method, picture encoding and transmitting method, and picture record medium
KR930009436B1 (en) Wave coding/decoding apparatus and method
US6317063B1 (en) Inverse quantization using table with reduced size
JPH02216917A (en) Coding/decoding method
JP4415651B2 (en) Image encoding apparatus and image decoding apparatus
JPH01272326A (en) Method and system of delta modulation encoder/decoder
JPH07153195A (en) Digital recording device
JPH04343576A (en) Highly efficient coding and decoding method
JP3227931B2 (en) Encoding device and decoding device
JP2924416B2 (en) High efficiency coding method
JP2570794B2 (en) High-efficiency encoder for television signals.
JP3763163B2 (en) Image encoding transmission apparatus and image encoding transmission method
JP2933563B2 (en) Image encoding device, image decoding device, and image encoding / decoding device
JPH1056639A (en) Image coder and image decoder
JP3627256B2 (en) Apparatus and method for receiving / reproducing digital image signal
TW595228B (en) Adaptive delta pulse code modulation method and device with PWM function
KR100799904B1 (en) Inverse quantizer, method for inverse quantizing and recorded medium recorded the program performing it
JP3306971B2 (en) Decoding device for block transform code
JP5351093B2 (en) Image coding method, image coding apparatus, and image coding program
JP3104447B2 (en) Quantization method and quantization device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees