JP2794842B2 - Encoding method and decoding method - Google Patents

Encoding method and decoding method

Info

Publication number
JP2794842B2
JP2794842B2 JP28357689A JP28357689A JP2794842B2 JP 2794842 B2 JP2794842 B2 JP 2794842B2 JP 28357689 A JP28357689 A JP 28357689A JP 28357689 A JP28357689 A JP 28357689A JP 2794842 B2 JP2794842 B2 JP 2794842B2
Authority
JP
Japan
Prior art keywords
data
block
encoding
prediction
input signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP28357689A
Other languages
Japanese (ja)
Other versions
JPH02216917A (en
Inventor
士郎 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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)

Description

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

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

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

(文献) 〔1〕ティー.エリクソン アンド ヴィ.ラマムーシ
ー,“モジュローピーシーエム:ア ニュー ソース
コーディング スキーム,"インコンフ.,イント.コン
フ.アコウスト.,スピーチ,シグナル プロセッシン
グ,アイシーエーエスエスピー'79,ワシントン,ディー
シー,1979,ピーピー419−422. (T.Ericson and V.Ramamoorthy,“Modelo−PCM:A new
source coding scheme,"in Conf.,Int.Conf.Acoust.,Sp
eech,Signal processing,ICASSP'79,Washington,DC,197
9,pp419−422.) 〔2〕ヴィ.ラマムーシー,“スピーチ コーディング
ユージング モジュローピーシーエム ウィズ サイ
ド インフォメーション,"インコンフ.レク.,イント.
コンフ.アコウスト.,スピーチ,シグナル プロセッシ
ング,アイシーエーエスエスピー'81,アトランタ,ジー
エー,マー,1981.ピーピー.832−835. (V.Ramamoorthy,“Speech coding using Modulo−PCM
with side information,"in Conf.Rec.,Int.Conf.Acous
t.,Speech,Signal Processing,ICASSP'81,Atlanta,GA,M
ar.1981,pp.832−835.) 〔3〕ヴィ.ラマムーシー,“ア ノーベル スピーチ
コーダー フォー メディウム アンド ハイ ビッ
ト レイト アプリケイションズ ユージング モジュ
ローピーシーエム プリンシプルス,"アイイーイーイー
トランス.アコウスト.,スピーチ,シグナル プロセ
ッシング,ボル.エーエスエスピー33,ピーピー.356−3
68,エーピーアール.1985. (V.Ramamoorthy,“A Novel Speech Coder for Medium
and High Bit Rate Applications Using Modulo−PCM P
rinciples,"IEEE Trans.Acoust,,Speech,Signal Proces
sing,vol.ASSP33,pp.356−368,Apr.1985) 〔4〕萩原,中川,“Modulo−PCMのための新しい復号
器”、情報理論とその応用研究会第8回シンポジウム,
(Nara,japan,Dec.,5−7.1985,pp517−522) MPCM方式は、DPCM方式とほぼ同程度の回路構成であ
り、グラニュラー雑音の存在に関してはDPCMと同じであ
るが、過負荷雑音は存在しないという長所を持ってい
る。
(Literature) [1] Tea. Ericsson and Vi. Ramamusie, “Modulo PCM: A New Source
Coding schemes, "Inconf., Int. Conf. Acoustic., Speech, Signal Processing, ICSA '79, Washington, DC, 1979, P.P. 419-422. (T. Ericson and V. Ramamoorthy," Modelo-PCM: A new
source coding scheme, "in Conf., Int.Conf.Acoust., Sp
eech, Signal processing, ICASSP'79, Washington, DC, 197
9, pp 419-422.) [2] V. Ramamusie, "Speech Coding Using Modulo PCM with Side Information," Incomf. Lek., Int.
Conf. Acousto., Speech, Signal Processing, ICSP'81, Atlanta, GA, Mar, 1981. P. 832-835.
with side information, "in Conf.Rec., Int.Conf.Acous
t., Speech, Signal Processing, ICASSP'81, Atlanta, GA, M
ar.1981, pp.832-835.) [3] V. Ramamusie, "A Nobel Speech Coder for Medium and High Bit Rate Applications Using Modulo PCM Principles," IEE Trans. Acousto., Speech, Signal Processing, Vol. ASP33, P.356-3
68, APR. 1985. (V. Ramamoorthy, “A Novel Speech Coder for Medium
and High Bit Rate Applications Using Modulo-PCM P
rinciples, "IEEE Trans.Acoust ,, Speech, Signal Proces
sing, vol. ASSP33, pp. 356-368, Apr. 1985) [4] Hagiwara and Nakagawa, "New Decoder for Modulo-PCM", 8th Symposium on Information Theory and Its Applications,
(Nara, japan, Dec., 5-7.1985, pp 517-522) The MPCM system has almost the same circuit configuration as the DPCM system, and the presence of granular noise is the same as that of the DPCM, but there is overload noise. Has the advantage of not.

まずMPCM方式について簡単に説明する。MPCM方式の基
本システムを第9図に示す。
First, the MPCM method will be briefly described. FIG. 9 shows a basic system of the MPCM system.

MPCM符号化装置は、剰余演算器701と量子化器702とか
ら成り立っている。
The MPCM encoding device includes a remainder operation unit 701 and a quantizer 702.

ここでkサンプル目の入力信号をxKとする。剰余演算
器は、図中に示されているように振幅dののこぎり波状
の入出力特性を持っている。そしてその出力((xK))
は ((xK))=xk−d・〔〔xK〕〕 と表すことができる。ここで((xK))は、次の式
(A)を満たす任意定数である。
Here the k th sample of the input signal and x K. The remainder arithmetic unit has a saw-tooth waveform input / output characteristic with an amplitude d as shown in the figure. And the output ((x K))
Can be expressed as ((x K )) = x k −d · [[x K ]]. Here, ((x K )) is an arbitrary constant satisfying the following equation (A).

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

このようにMPCM符号装置では、第10図にそれぞれの波
形図を示しているが、同図(b)に示すように入力音声
信号を(−d/2,d/2)にパッキング(“packing")する
ことにより情報圧縮を行う。これはPCM方式において、
下位ビットのみを伝送するのと等価となる。
As described above, in the MPCM encoding apparatus, the respective waveform diagrams are shown in FIG. 10, and as shown in FIG. 10B, the input speech signal is packed into (−d / 2, d / 2) (“packing”). ") To perform information compression. This is the PCM method,
This is equivalent to transmitting only the lower bits.

復号化装置では、第9図に示すように1次の予測器に
よって、 =ρ・(ρは予測係数) ……(B) とし、(k−1)サンプル点の値からkサンプル点
の値xKを予測する。そしての値を第11図に示すよう
な特性で量子化しd倍することにより伝送しなかった上
位ビット成分d・〔〔xK〕〕を求め、これを伝送信号yK
に加えて、符号化装置の入力信号を再生する。
In the decoding device, as shown in FIG. 9, a first-order predictor sets K = ρ · K (ρ is a prediction coefficient) (B), and k samples from the value K at (k−1) sample points predict the value x K of points. Then, the value of K is quantized by the characteristic as shown in FIG. 11 and multiplied by d to obtain the upper bit component d. [[X K ]] which is not transmitted, and this is referred to as the transmission signal y K
In addition, the input signal of the encoding device is reproduced.

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

入力信号の差分値ΔxK=xK−xk-1の絶対値がd/2より
大きくなると、復号器において上位ビット成分d・
〔〔xK〕〕の予測が正しく行われなくなる。第12図にそ
の場合の波形図を示す。従って復号出力信号には、
第12図(c)に示すように波形が鋭く変化する点が数多
く発生してしまっている。これが変則誤差と呼ばれるMP
CM方式特有の誤差であり、これをいかに少なくするかが
MPCM方式の課題となっている。
When the absolute value of the difference value Δx K = x K −x k−1 of the input signal becomes larger than d / 2, the upper bit component d ·
[[X K ]] is not correctly predicted. FIG. 12 shows a waveform chart in that case. Therefore, the decoded output signal K includes
As shown in FIG. 12 (c), there are many points where the waveform changes sharply. This is the MP called the anomalous error
This is an error peculiar to the CM system, and how to reduce it is
This is an issue for the MPCM system.

そこでRamamoorthy氏らは、変則誤差の発生をできる
だけ抑える方法を2種提案しており、これを以下に示す
(文献〔2〕,〔3〕)。
Therefore, Ramamoorthy et al. Have proposed two methods for minimizing the occurrence of irregular errors, which are described below (references [2] and [3]).

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

方法2:予測誤差が大きいときには変則誤差の発生頻度が
高いので、入力データをNサンプル毎にまとめてブロッ
クを構成し、ブロック毎に予測誤差の絶対値の最大値E
mNを求め、これに応じて剰余演算器のmoduloの幅と量子
化器の量子化ステップを制御している。実際には最大値
EmNを量子化し所定係数を掛けたものをmoduloの振幅dmN
とし、このdmNをサイド情報として復号化装置へ伝送す
る。
Method 2: Since the occurrence frequency of the irregular error is high when the prediction error is large, the input data is grouped every N samples to form a block, and the maximum value E of the absolute value of the prediction error is set for each block.
mN is obtained, and the modulo width of the remainder arithmetic unit and the quantization step of the quantizer are controlled accordingly. Actually the maximum
E mN is quantized and multiplied by a predetermined coefficient to obtain modulo amplitude d mN
And transmits this dmN to the decoding device as side information.

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

方法1の場合、符号化された入力データのどのサンプ
ルに変則誤差が発生するかは不定であるので、完全に変
則誤差をなくすためには各入力サンプル毎に補正情報を
送る必要がある。これは量子化ビット数を増加させたの
と等価であり、符号化効率が低下する。量子化器の量子
化ビット数が多い場合は変則誤差の発生頻度が少ないの
で、サイド情報を伝送するチャンネルのビットレートを
サンプル毎に補正する情報を伝送する場合より低くでき
るが、この場合完全に変則誤差をなくすことはできな
い。
In the case of the method 1, since it is uncertain which sample of the encoded input data has an irregular error, 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 lowers the coding efficiency. When the number of quantization bits of the quantizer is large, the frequency of occurrence of anomalous errors is small, so the bit rate of the channel for transmitting side information can be lower than that for transmitting information for correcting each sample, but in this case, it is completely possible. Anomalous errors cannot be eliminated.

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

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

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

課題を解決するための手段 本発明は、複数の入力データで構成されるブロックを
符号化の単位とし、ブロックにおける入力データとその
予測値との差である予測誤差の最大値SXと最小値SNとを
求め(SX−SN)より大なる所定の値を除数データOUとす
るとき、前記ブロックの各入力データを前記除数データ
OUで除算して得られる剰余Eを符号化し、前記SX,SN,OU
に関する予測誤差情報を含む付加コードと前記符号化し
たEとをともに伝送することを特徴とする符号化方法で
ある。
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 a prediction error which is a difference between input data and a prediction value of the block. And when a predetermined value larger than (SX-SN) is set as the divisor data OU, each input data of the block is converted to the divisor data.
The remainder E obtained by dividing by OU is encoded, and the SX, SN, OU
And transmitting the coded E together with an additional code including prediction error information related to the coding method.

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

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

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

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

実施例 本発明の実施例について詳細な説明を行なう前にその
原理について説明する。
Embodiment Before describing embodiments of the present invention in detail, the principle thereof will be described.

標本位置の近い複数の入力データ(D1,D2,……,Dk)
を符号化の単位としてブロックを構成するとき、ブロッ
ク内のk個の入力データを1つずつ取り出してその差分
をとれば、信号の相関性によりその差分値は小さく、そ
の差分値のダイナミックレンジ(最大値と最小値の差)
も入力データのダイナミックレンジより小さいブロック
がほとんどである。この差分値は前値予測を行なった場
合の予測誤差であるので以下予測誤差Siと称する。本発
明は、この予測誤差Siのダイナミックレンジが入力デー
タのダイナミックレンジに比べて小さいブロックがほと
んどであるという性質に基づき、従来に比べより高能率
な符号化を行なおうとするものである。
Multiple input data (D1, D2, ……, Dk) with close sample positions
When a block is configured using as a unit of coding, if k input data in the block are taken out one by one and the difference is taken, the difference value is small due to signal correlation, and the dynamic range of the difference value ( Difference between maximum and minimum)
Most of the blocks are smaller than the dynamic range of the input data. Since this difference value is a prediction error when the previous value prediction is performed, it is hereinafter referred to as a prediction error Si. The present invention intends to perform more efficient encoding than the conventional technique, based on the property that most of the blocks whose dynamic range of the prediction error Si is smaller than the dynamic range of the input data.

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

ブロック内の入力データDi(i=1,2,……,k)を除数
データOUで除算して得られる商と剰余をそれぞれにNi,E
iとするとき次式 Di=Ei+OU・Ni ……(3) O≦Ei<OU (但し Niは整数) が成立する。
The quotient and remainder obtained by dividing the input data Di (i = 1, 2,..., K) in the block by the divisor data OU are Ni and E, respectively.
When i is given, the following equation is satisfied: Di = Ei + OU · Ni (3) O ≦ Ei <OU (where Ni is an integer).

式(3)を変形して次式 Ei=Di−OU・Ni ……(4) を得る。剰余Eiは、入力データDiよりOU・Niなるオフセ
ットを除去したものと見なせる。オフセットをFiと表わ
すものとする。すなわちオフセットFiは次式 Fi=OU・Ni ……(5) で定義される。
By transforming equation (3), the following equation is obtained: Ei = Di−OU · Ni (4) The remainder Ei can be regarded as the input data Di with the offset OU · Ni removed. Let the offset be denoted by Fi. That is, the offset Fi is defined by the following equation: Fi = OU · Ni (5)

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

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

剰余データEiを入力データDiに戻すためにはオフセッ
ト値Fi=OU・Niを再生する事が必要である。入力データ
Diに対する予測値をPiとすれば、予測誤差の最大値,最
小値はSX,SNであるので次式 Pi+SN≦Di≦Pi+SX ……(6) が成立し、入力データDiは式(3)で表わせるのでこれ
を、式(6)に代入して次式 Pi+SN−Ei≦OU・Ni≦Pi+SX−Ei ……(7) を得る。予測値Pi(i=2,3,……)は復号して得られる
入力データより順次求めることができるのでSX,SN,OUの
他にP1またはF1(=OU・N1)またはN1が既知であればよ
い。前値予測を行なっているので予測値P1はすでに復号
の完了した隣接ブロック内のデータとすることができ、
必ずしも伝送する必要はない。したがって符号化装置は
剰余データEiとともにブロック毎に予測誤差に関する情
報であるSX,SN,OUを伝送すれば式(7)によりオフセッ
トFi=OU・Niが一意に決定でき、剰余データEiを加算す
ることによりデータDiが求まり、復号が完了する。さら
にブロック毎にP1,F1,N1のいずれかを付加して伝送すれ
ば、他のブロックの入力データは使用していないので、
各ブロック毎独立して符号化,復号化でき、伝送誤りに
強くできる。
In order to return the remainder data Ei to the input data Di, it is necessary to reproduce the offset value Fi = OU · Ni. Input data
Assuming that the predicted value for Di is Pi, the maximum value and the minimum value of the prediction error are SX and SN, so the following expression Pi + SN ≦ Di ≦ Pi + SX (6) holds, and the input data Di is expressed by Expression (3). Since this can be expressed, this is substituted into equation (6) to obtain the following equation: Pi + SN−Ei ≦ OU · Ni ≦ Pi + SX−Ei (7) Since the predicted value Pi (i = 2, 3,...) Can be sequentially obtained from the input data obtained by decoding, P1 or F1 (= OU · N1) or N1 is known in addition to SX, SN, and OU. I just need. Since the previous value prediction is performed, the prediction value P1 can be data in an adjacent block that has already been decoded,
It is not always necessary to transmit. Therefore, if the encoding apparatus transmits SX, SN, and OU, which are information on a prediction error for each block, together with the residual data Ei, the offset Fi = OU · Ni can be uniquely determined by equation (7), and the residual data Ei is added. Thus, the data Di is obtained, and the decoding is completed. Furthermore, if any one of P1, F1, N1 is added and transmitted for each block, input data of other blocks is not used, so
Encoding and decoding can be performed independently for each block, and transmission errors can be improved.

オフセットFiが一意に定まるのはOUの定義により(Pi
+Sn−Ei)と(Pi+SX−Ei)との差がOUより小さいから
である。従って OU・Ni≧(Pi+SN−Ei)>OU・(Ni−1)……(8) を満足するOU・NiもオフセットFiであり、 OU・Ni≦(Pi+SX−Ei)<OU・(Ni+1)……(9) を満足するOU・NiもオフセットFiである。すなわち式
(7),(8),(9)のいずれを用いても同じオフセ
ットFiが得られる。
The offset Fi is uniquely determined by the definition of OU (Pi
This is because the difference between (+ Sn-Ei) and (Pi + SX-Ei) is smaller than OU. Therefore, OU · Ni satisfying OU · Ni ≧ (Pi + SN−Ei)> OU · (Ni−1) (8) is also an offset Fi, and OU · Ni ≦ (Pi + SX−Ei) <OU · (Ni + 1) OU / Ni that satisfies (9) is also offset Fi. That is, the same offset Fi can be obtained by using any of the equations (7), (8), and (9).

剰余データEiは入力データDiを除数データOUで除算し
た剰余であるので0以上除数データOU未満である。従っ
て剰余データEiの語長は除数データOUの大きさによって
定まり、ブロック単位で可変長となる。
Since the remainder data Ei is a remainder obtained by dividing the input data Di by the divisor data OU, it is 0 or more 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 block units.

OUを表わすために必要なビット数はlog2OUとなり、OU
が小さい程少なくなるが、この剰余データの語長Lは整
数であるため次式 2M>SDR≧2M-1 ……(10) を満足する値2M以下の値を除数データOUとしても語長L
は変わらず符号化効率は改善されない。むしろ前記2M
除数データOUとすることによりOUを表わすために必要な
ビット数が少なくてすむ、オフセットを求めるための回
路(例えば除算器)が簡単なるなどの各種利点が得られ
る。この点については後述する。
The number of bits required to represent an OU is log 2 OU,
Is smaller, but since the word length L of the remainder data is an integer, a value less than or equal to 2 M that satisfies the following expression 2 M > SDR ≧ 2 M -1 (10) may be used as the divisor data OU. Word length L
Does not change and the coding efficiency is not improved. Rather, by using 2M as the divisor data OU, various advantages can be obtained such that the number of bits required to represent the OU can be reduced, and a circuit (for example, a divider) for obtaining an offset can be simplified. This will be described later.

復号化装置において剰余データEiからデータDiを得る
ために必要なオフセット値Fiを決定する際にSX,SN,OUが
必要であることを述べたがSX,SN,OUの代わりに次式 を満足する所定の値SXX,SNNとOUを剰余データEiととも
に伝送し、これらを用いて同様に復号に必要なオフセッ
ト値Fiを決定することが可能である。なぜなら次式 Pi+SNN≦Di≦Pi+SXX ……(12) (但し、左の等号はSNN=SNのとき、右の等号はSXX=SX
のとき成立する。) が成立するからである。
It was stated that SX, SN, and OU are necessary when determining the offset value Fi required to obtain the data Di from the residual data Ei in the decoding device. Are transmitted together with the remainder data Ei, and the offset values Fi required for decoding can be similarly determined using these. Because the following formula Pi + SNN ≤ Di ≤ Pi + SXX (12) (However, the left equal sign is when SNN = SN, and the right equal sign is SXX = SX
Holds when ) Holds.

SX,SN,SDR,OU,SXX,SNNは予測誤差に関する情報である
ので予測誤差情報と総称する事にする。SX,SN,OUまたは
SXX,SNN,OUの3つのデータの組合せにおいて1つは残り
の2つのデータより求めることができるので予測誤差情
報としては3つのデータの組合せの内どれか2つを直接
または間接的に伝送すればよい。また予測誤差のダイナ
ミックレンジSDRから1意に除数データOUが定まるの
で、除数データOUの代わりにSDR(=SX−SN)を予測誤
差情報の1つとして伝送してもよい。
Since SX, SN, SDR, OU, SXX, and SNN are information relating to prediction errors, they are collectively referred to as prediction error information. SX, SN, OU or
As one of the three data combinations of SXX, SNN, and OU can be obtained from the remaining two data, any two of the three data combinations can be directly or indirectly transmitted as prediction error information. I just need. Further, since the divisor data OU is uniquely determined from the dynamic range SDR of the prediction error, SDR (= SX−SN) may be transmitted as one of the prediction error information instead of the divisor data OU.

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

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

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

第1図において、101は標本化量子化された映像信号
である入力データの入力端子、102は映像信号の表わす
画面を小さなブロックに分割し、ブロック毎に入力デー
タDi(i=1,2,……,16)を出力するブロック分割器、1
03はタイミング調整用で1ブロック分入力データを時間
遅延させる遅延器、104は遅延器103より出力される各ブ
ロックの先頭データD1を保持するレジスタ、105はブロ
ック分割器102からの出力を入力するレジスタから成り
1つ前の入力データを予測値Piとして出力する予測器、
106はブロック分割器102の出力より前記予測値Piを減算
して予測誤差Si(i=2,3,……,16)を得る減算器、107
はブロック毎に減算器106からの予測誤差Siの最大値SX
と最小値SNを求め、ブロック毎に内部のレジスタに保持
して出力する最大最小検出器、108は前記最大値SXから
前記最小値SNを減算して予測誤差のダイナミックレンジ
SDRを出力する減算器、109は前記ダイナミックレンジSD
Rを入力とし除数データOUを出力する除数データ生成
器、110は前記遅延器103からの入力データDiを前記除数
データOUで除算して剰余データEi(i=2,3,……,16)
を得る剰余演算器、111は前記除数データOUの大きさに
よって前記剰余データEiを符号化して符号化データCiを
得る剰余エンコーダ、112は前記符号化データCiの出力
端子、113は前記除数データOUの出力端子、114は前記予
測誤差の最大値SXの出力端子、115はブロック内の先頭
データD1の出力端子である。
In FIG. 1, reference numeral 101 denotes an input terminal of input data which is a sampled and quantized video signal, and 102 divides a screen represented by the video signal into small blocks, and inputs data Di (i = 1, 2, ……, 16) Block divider that outputs 1)
03 is a delay unit for adjusting the timing of input data for one block for timing adjustment, 104 is a register for holding the leading data D1 of each block output from the delay unit 103, and 105 is an output from the block divider 102. A predictor that includes a register and outputs the previous input data as a predicted value Pi;
106, a subtractor for subtracting the predicted value Pi from the output of the block divider 102 to obtain a prediction error Si (i = 2, 3,..., 16);
Is the maximum value SX of the prediction error Si from the subtractor 106 for each block.
And a minimum value detector 108 for obtaining a minimum value SN and holding and outputting the result in an internal register for each block. 108 subtracts the minimum value SN from the maximum value SX to calculate the dynamic range of the prediction error.
A subtractor that outputs SDR, 109 is the dynamic range SD
A divisor data generator 110 which receives R and outputs divisor data OU, 110 divides the input data Di from the delay unit 103 by the divisor data OU, and generates remainder data Ei (i = 2, 3,..., 16)
, 111 is a remainder encoder that encodes the remainder data Ei according to the size of the divisor data OU to obtain encoded data Ci, 112 is an output terminal of the encoded data Ci, and 113 is the divisor data OU. Is an output terminal for the maximum value SX of the prediction error, and 115 is an output terminal for the leading data D1 in the block.

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

標本化量子化された映像信号である入力データ(振幅
レベル0〜255の語長8ビット)は端子101よりブロック
分割器102に入力される。ブロック分割回路102は内部に
バッファメモリを備え、バッファメモリに入力データを
順番に書き込むと同時にブロック単位で入力データDi
(i=1,2,……,16)を読み出す。各ブロックより最初
に出力される入力データD1はレジスタ104によって保持
され端子115より付加コードの1つとして出力される。
予測器105に入力された入力データは予測値Piとなって
出力され減算器106に供給される。減算器106において入
力データDiより前記予測値Piが減算されて予測誤差Siが
得られる。最大最小検出器107においては前記予測誤差S
iが入力されてブロック内における前記予測誤差Siの最
大値SXと最小値SNとが出力される。前記最大値SXより前
記最小値SNが減算器108により減算されて予測誤差のダ
イナミックレンジSDRを得る。除数データ生成器109に前
記ダイナミックレンジSDRが入力され、次式 OU=2M>SDR≧2M-1 ……(10) を満足する除数データOUが出力される。遅延器103によ
りタイミング調整された入力データDiは、剰余演算器11
0において、除数データOUで除算されて剰余データEi
(i=2,3,……,16)となって出力される。OUは2Mであ
るので、OU未満である剰余データEiはすべて語長Mビッ
トで劣化なく表わすことができる。また剰余データEiは
入力データDiより大きくなることはないのでその語長は
8以下である。剰余エンコーダ111において入力される
剰余データEiは除数データOUの大きさによって定まるビ
ット数J(但し M<9のとき J=M、M=9のとき
J=8)に符号化され、可変長の符号化データCiとな
って端子112より出力される。符号化の際に剰余データE
iに対して下位ビットの切捨てなどの非線形な処理を行
なっていないので、符号化による剰余データEiの劣化は
生じない。すなわち可逆な符号化を行なっている。した
がって符号化データCiを復号して得られる剰余データE
i′は基の剰余データEiに一致する。予測誤差情報であ
る除数データOU、予測誤差の最大値SXはそれぞれ端子11
3,114より付加コードの1つとして出力される。
Input data (a word length of 8 bits at an amplitude level of 0 to 255), which is a sampled and quantized video signal, is input from a terminal 101 to a block divider 102. The block dividing circuit 102 includes a buffer memory therein, and sequentially writes input data in the buffer memory and simultaneously inputs data Di in blocks.
(I = 1, 2,..., 16) is read out. Input data D1 output first from each block is held by the register 104 and output from the terminal 115 as one of the additional codes.
The input data input to the predictor 105 is output as a predicted value Pi and supplied to the subtractor 106. The prediction value Pi is subtracted from the input data Di in the subtractor 106 to obtain a prediction error Si. In the maximum / minimum detector 107, the prediction error S
i is input, and the maximum value SX and the minimum value SN of the prediction error Si in the block are output. The minimum value SN is subtracted from the maximum value SX by the subtractor 108 to obtain the dynamic range SDR of the prediction error. The dynamic range SDR is input to the divisor data generator 109, and the divisor data OU that satisfies the following equation (OU = 2M > SDR ≧ 2M-1 ) is output. The input data Di whose timing has been adjusted by the delay unit 103 is output to the remainder arithmetic unit 11.
At 0, the remainder data Ei divided by the divisor data OU
(I = 2, 3,..., 16) and output. Since the OU is 2M , all of the remainder data Ei that is less than the OU can be represented without deterioration with a word length of M bits. Since the remainder data Ei does not become larger than the input data Di, its word length is 8 or less. The remainder data Ei input to the remainder encoder 111 is encoded into a bit number J (where J = M when M <9 and J = 8 when M = 9) determined by the size of the divisor data OU, and has a variable length. The encoded data Ci is output from the terminal 112. Residual data E during encoding
Since non-linear processing such as truncation of lower bits is not performed on i, the residual data Ei does not deteriorate due to encoding. That is, lossless encoding is performed. Therefore, the residual data E obtained by decoding the encoded data Ci
i ′ matches the original remainder data Ei. The divisor data OU as the prediction error information and the maximum value SX of the prediction error are
It is output from 3,114 as one of the additional codes.

第2図にブロック構成を水平方向に16画素、垂直方向
に1ラインとした場合の入力データDi,オフセットFi,予
測誤差Si,剰余データEiの一例を示す。このブロックに
おける16個の入力データはD1から順番に112,105,113,12
1,136,160,175,201,207,208,199,193,176,169,178,190
である。このような1次元のブロック構成の場合、ブロ
ック分割器102は内部にバッファメモリを必要とせず、
予測器105は1つ前の入力データを保持する1つのレジ
スタのみでよいので符号化装置の構成はより簡単とな
る。2次元構成のブロックからデータを取り出す順番、
予測方法については後述する。
FIG. 2 shows an example of input data Di, offset Fi, prediction error Si, and residual data Ei when the block configuration is 16 pixels in the horizontal direction and 1 line in the vertical direction. The 16 input data in this block are 112, 105, 113, 12
1,136,160,175,201,207,208,199,193,176,169,178,190
It is. In such a one-dimensional block configuration, the block divider 102 does not require an internal buffer memory,
Since the predictor 105 only needs to have one register for holding the previous input data, the configuration of the encoding apparatus is simpler. The order in which data is extracted from the two-dimensional block,
The prediction method will be described later.

発生し得る予測誤差の最大値SXの最大値,最小値はそ
れぞれ255、−255であり、同様に予測誤差の最小値SNの
最大値,最小値もそれぞれ255,−255であるので、予測
誤差の最大値SX,最小値SNの語長は9ビット必要であ
る。予測誤差のダイナミックレンジSDRの最大値,最小
値はそれぞれ510,0となるので、ダイナミックレンジSDR
の語長は9ビット必要となる。従って除数データOUの語
長も一般的には9ビット必要となるが、本実施例では除
数データOUが式(10)を満足する2のM乗となるように
設定しているのでより少ないビット数で表わすことが可
能である。すなわち除数データOUを直接伝送する代わり
に2のべき乗表現における指数Mを伝送すればよいから
である。前記指数Mは0,1,2,……,9の10通りであるから
その語長は4ビットでよい。すなわち除数データOUを4
ビットのコードMで伝送している。
The maximum value and the minimum value of the maximum value SX of the prediction error that can occur are 255 and −255, respectively. Similarly, the maximum value and the minimum value of the minimum value SN of the prediction error are 255 and −255, respectively. The word length of the maximum value SX and the minimum value SN requires 9 bits. Since the maximum value and the minimum value of the dynamic range SDR of the prediction error are 510 and 0, respectively, the dynamic range SDR
Requires a word length of 9 bits. Accordingly, the word length of the divisor data OU generally requires 9 bits, but in the present embodiment, the divisor data OU is set to be a power of 2 that satisfies the expression (10), so that less bits are required. It can be represented by a number. That is, instead of directly transmitting the divisor data OU, the exponent M in the power-of-two representation may be transmitted. The exponent M has 10 values of 0, 1, 2,..., 9, and its word length may be 4 bits. That is, the divisor data OU is 4
It is transmitted by the bit code M.

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

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

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

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

本実施例の符号化装置において1ブロック当りの入力
データDi(i=1,2,……,16)の全ビット数は128(=8
×16)ビットであり、1ブロック当りの出力の全ビット
数CDは固定語長の付加コード(D1,SX,OU)の21(=8+
9+4)ビットと可変長の符号化データ(C2,C3,……,C
16)の15・Jビットとの和であり、次式 CD=21+15・J ……(13) で表わせる。前記符号化データCiの語長Jは0以上8以
下であるが、ほとんどのブロックにおいて入力信号の相
関性により前記予測誤差が小さく前記語長Jが7以下と
なるので、次式 CD=21+15・J<128 が成立し、1サンプル(1画素)当りの平均ビット数を
低減できる。なお、前記語長Jが8,9の時は符号化効率
が悪化するので入力データをそのまま伝送する方がよ
い。第2図に1次元構成のブロックにおける各データの
例を示しているが、同図によると除数データOUは64とな
り、符号化データCiの語長Jは6となる。したがってこ
のブロックにおける符号化装置の全出力ビット数CDは式
(13)により111ビット(<128)となり、1サンプル当
りの平均ビット数は約6.9ビットに低減される。
In the encoding apparatus of this embodiment, the total number of bits of input data Di (i = 1, 2,..., 16) per block is 128 (= 8).
× 16) bits, and the total number of output bits per block CD is 21 (= 8 +) of the additional code (D1, SX, OU) of fixed word length
9 + 4) bits and variable length coded data (C2, C3, ..., C
This is the sum of 16) and 15 · J bits, and can be expressed by the following equation: CD = 21 + 15 · J (13) Although the word length J of the coded data Ci is 0 or more and 8 or less, since the prediction error is small and the word length J is 7 or less due to the correlation of the input signal in most of the blocks, the following equation CD = 21 + 15 · J <128 holds, and the average number of bits per sample (one pixel) can be reduced. When the word length J is 8, 9, the encoding efficiency is deteriorated. Therefore, it is better to transmit the input data as it is. FIG. 2 shows an example of each data in a block having a one-dimensional configuration. According to FIG. 2, the divisor data OU is 64 and the word length J of the encoded data Ci is 6. Therefore, the total number of output bits CD of the encoder in this block is 111 bits (<128) according to equation (13), and the average number of bits per sample is reduced to about 6.9 bits.

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

第3図において、201は符号化データでCiの入力端
子、202は除数データOUの入力端子、203は予測誤差の最
大値SXの入力端子、204はブロック内の先頭データD1の
入力端子、205は第1図に示した高能率な符号化装置内
の剰余エンコーダ111と逆の変換を行なうもので、前記
符号化データCiを復号して剰余データEi′を得る剰余デ
コーダ、206は前記予測誤差の最大値SXを一方の入力と
する加算器、207は前記加算器206の出力より前記剰余デ
ータEi′を減算する減算器、208は前記減算器207の出力
と前記除数データOUとを入力としオフセットFi′を出力
するオフセット再生器、209は前記剰余データEi′と前
記オフセットFi′とを加算して復号済みの復号データD
i′を得るオフセット付加器、210は前記オフセット付加
器209の出力と端子204からのデータD1とを入力とし一方
を選択するスイッチ、211は図1中の予測器105と同一で
前記復号データDi′を入力とし、予測値Piを前記加算器
206の他方の入力に供給する予測器、212は前記スイッチ
210からの復号データDi′を入力とし第1図中のブロッ
ク分割回路102と逆の処理を行なうブロック分解器、213
は復号データの出力端子である。なお、付加コード入力
は符号化データ入力に先行し、1ブロック期間保持され
ているものとする。
In FIG. 3, reference numeral 201 denotes an input terminal of coded data Ci, 202 an input terminal of the divisor data OU, 203 an input terminal of the maximum value SX of the prediction error, 204 an input terminal of the first data D1 in the block, 205 Performs the inverse conversion of the remainder encoder 111 in the high-efficiency encoder shown in FIG. 1. The remainder decoder 206 decodes the coded data Ci to obtain the remainder data Ei '. 206 denotes the prediction error. 207 is a subtractor that subtracts the remainder data Ei ′ from the output of the adder 206, and 208 is an input that receives the output of the subtractor 207 and the divisor data OU. An offset regenerator 209 for outputting the offset Fi ', and the decoded data D that has been decoded by adding the remainder data Ei' and the offset Fi '.
i is an offset adder for obtaining i ', 210 is a switch which receives the output of the offset adder 209 and the data D1 from the terminal 204 and selects one of them, and 211 is the same as the predictor 105 in FIG. ′ As an input and the predicted value Pi
A predictor that supplies the other input of 206, 212 is the switch
A block decomposer 213 which receives the decoded data Di 'from 210 as input and performs the reverse processing of the block dividing circuit 102 in FIG.
Is an output terminal for the decoded data. It is assumed that the input of the additional code precedes the input of the encoded data and is held for one block period.

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

端子204からの入力データD1はスイッチ210を介してそ
のまま復号済みのデータD1′として出力されブロック分
解器212及び予測器211に供給される。前記データD1′は
予測器211において最初の剰余データE2′より復号デー
タを求めるために必要な予測値P2′となる。スイッチ21
0は入力データD1を出力した後、オフセット付加器209か
らの入力を選択して復号データD2′,D3′,……,D16′
を出力する。
The input data D1 from the terminal 204 is output as it is as decoded data D1 'through the switch 210 and supplied to the block decomposer 212 and the predictor 211. The data D1 'becomes a predicted value P2' necessary for obtaining decoded data from the first remainder data E2 'in the predictor 211. Switch 21
0 outputs the input data D1, selects the input from the offset adder 209, and decodes the data D2 ', D3',..., D16 '.
Is output.

端子201からの符号化データCi(i=2,3,……,16)は
端子202からの除数データOUに基づいて剰余デコーダ205
により剰余データEi′に変換される。端子203からの予
測誤差の最大値SXと予測器211からの予測値Pi′とが加
算器206により加算され、その加算結果より前記剰余デ
ータEi′が減算器207により減算されて(Pi′+SX−E
i′)が得られる。前記減算結果と除数データOUとはオ
フセット再生器208に入力され次式 OU・Ni≦(Pi′+SX−Ei′) <OU・(Ni+1) ……(9) を満足するオフセットFi′=OU・Niが得られる。オフセ
ット付加器209において前記オフセットFi′と前記剰余
データEi′とが加算されて復号データDi′(i=2,3,…
…,16)となり、スイッチ210に供給される。
The coded data Ci (i = 2, 3,..., 16) from the terminal 201 is input to the remainder decoder 205 based on the divisor data OU from the terminal 202.
Is converted to remainder data Ei ′. The maximum value SX of the prediction error from the terminal 203 and the prediction value Pi 'from the predictor 211 are added by the adder 206, and the remainder data Ei' is subtracted by the subtractor 207 from the addition result (Pi '+ SX). −E
i ′) is obtained. The subtraction result and the divisor data OU are input to the offset regenerator 208, and the offset Fi ′ = OU · that satisfies the following equation: OU · Ni ≦ (Pi ′ + SX−Ei ′) <OU · (Ni + 1) (9) Ni is obtained. In the offset adder 209, the offset Fi 'and the remainder data Ei' are added, and the decoded data Di '(i = 2, 3,...)
, 16) and supplied to the switch 210.

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

端子201よりシリアルデータの形態で入力される符号
化データCiは、この語長がブロック単位で可変長である
ため、正しく符号化データCiを取り出すためにはその語
長Jを知る必要がある。前記符号化データCiの語長Jは
除数データOUの大きさを表わす指数Mにより前記符号化
データCiの語長Jが決定できるので(但し M<9のと
き J=M、M=9のとき J=8)、正確に符号化デ
ータCiが取り出すことができ、その上位ビットに0を付
加することにより剰余データEi′が得られる。従って剰
余デコーダ205は直並列変換用のシフトレジスタ、符号
化データを保持するレジスタ、ビット数を数えるカウン
タ、および上位ビットに0を付加するゲート等の簡単な
回路で実現できる。第1図における剰余エンコーダ111
は符号化による劣化がなく、剰余デコーダ205は前記剰
余エンコーダ111の逆変換を行なっているので剰余デー
タEi′は剰余データEiに一致する。
Since the word length of the encoded data Ci input from the terminal 201 in the form of serial data is variable in block units, it is necessary to know the word length J to correctly extract the encoded data Ci. Since the word length J of the encoded data Ci can be determined by the index M representing the size of the divisor data OU (however, when M <9, J = M, M = 9 J = 8), the coded data Ci can be accurately extracted, and the remainder data Ei 'can be obtained by adding 0 to its upper bits. Therefore, the remainder decoder 205 can be realized by a simple circuit such as a shift register for serial / parallel conversion, a register for holding encoded data, a counter for counting the number of bits, and a gate for adding 0 to upper bits. Residual encoder 111 in FIG.
Is not degraded by encoding, and the remainder decoder 205 performs the inverse transform of the remainder encoder 111, so that the remainder data Ei 'matches the remainder data Ei.

減算器207の出力である(Pi′+SX−Ei′)を前記除
数データOUで除算して剰余を得、前記剰余を前記(Pi′
+SX−Ei′)から減算する事により式(9)を満足する
オフセットFi′=OU・Niが得られる。しかし本実施例で
は除数データOUを2のM乗としているので前記(Pi′+
SX−Ei′)の下位Mビットをすべて0とするだけで前記
オフセットFi′が得られる。従ってオフセット再生器20
8は簡単な論理回路で実現できる。
The output of the subtractor 207, (Pi '+ SX-Ei'), is divided by the divisor data OU to obtain a remainder, and the remainder is calculated as (Pi '
+ SX−Ei ′) to obtain an offset Fi ′ = OU · Ni satisfying the expression (9). However, in the present embodiment, the divisor data OU is set to 2 to the power of M, so that (Pi '+
The offset Fi 'can be obtained simply by setting all lower M bits of SX-Ei') to "0". Therefore, the offset regenerator 20
8 can be realized with a simple logic circuit.

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

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

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

ブロック内の特定位置の入力データの代わりにブロッ
ク内の入力データの平均値DAを付加コードの1つとして
伝送する符号化方法も考えられる。この場合の復号化方
法としてはまずオフフットの初期値F1=0として復号
し、得られたデータ(Di−F1)の平均値DBを求める。伝
送された平均値DAより前記平均値DBを減算することによ
りオフセットの初期値F1が得られる。前記データ(Di−
F1)に対して前記得られた初期値F1を加算することによ
り復号データDiが得られる。k個の剰余データEiすべて
を伝送すれば、剰余データに誤りを1つ生じても前記平
均値DAを用いることにより訂正が可能となる。また入力
が画像信号の場合前記平均値DAのみを用いて画像信号の
概要を表わすことができ、検索に適した符号化とでき
る。
An encoding method in which the average value DA of the input data in the block is transmitted as one of the additional codes instead of the input data at a specific position in the block is also conceivable. As a decoding method in this case, first, decoding is performed with the initial value of off-foot F1 = 0, and an average value DB of the obtained data (Di-F1) is obtained. The initial value F1 of the offset is obtained by subtracting the average value DB from the transmitted average value DA. The data (Di-
By adding the obtained initial value F1 to F1), decoded data Di is obtained. If all k pieces of remainder data Ei are transmitted, even if one error occurs in the remainder data, the error can be corrected by using the average value DA. When the input is an image signal, an outline of the image signal can be represented using only the average value DA, and encoding suitable for search can be performed.

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

伝送路上で符号誤りを生じてもDPCM方式のように次の
サンプルの復号に誤りが必ずしも伝播する訳ではない。
これは式(7),(8),(9)によるオフセットFiの
決定には予測誤差Sの最大値,最小値によって定まるそ
の判定の幅があるからである。しかしながらオフセット
Fiの決定に誤りを生じる場合があり、この時以後の復号
データにオフセットFiの誤りが伝搬してしまう。しか
し、予測値Piを得る際に他のブロック内のデータを用い
ていない、すなわちブロック毎独立に符号化を行なって
いるので、誤りが隣のブロックにまで伝搬することはな
い。また正しい復号データと誤りが伝搬することにより
誤った復号データとの差は除数データOUの整数倍となる
ので前記誤りの伝搬した復号データとその隣にある正し
い復号データとの相関を判定することにより精度よく修
正する事が可能である。
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 the determination of the offset Fi by the equations (7), (8), and (9) has a range of the determination determined by the maximum value and the minimum value of the prediction error S. However offset
An error may occur in the determination of Fi, and an error of the offset Fi propagates to decoded data after this time. However, when the prediction value Pi is obtained, data in another block is not used, that is, since encoding is performed independently for each block, an error does not propagate to an adjacent block. Also, since the difference between the correct decoded data and the erroneous decoded data due to the propagation of the error is an integral multiple of the divisor data OU, it is necessary to determine the correlation between the decoded data in which the error has propagated and the correct decoded data adjacent thereto. It is possible to correct with higher accuracy.

その修正方法について述べる。誤りの発生した位置は
エラー訂正符号により検出できる。例えば第2図(c)
に示した9番目の剰余データに符号誤りが発生し、オフ
セットFiの決定を誤ったとする。これにより以後の10か
ら16番目のデータの復号をも誤ってしまう。そこで、誤
りの伝播しない次のブロックの先頭データである17番目
のデータ(第2図には示していない。)を起点として符
号化時とは逆方向に予測しながら復号を行う。17番目の
データと16番目のデータとの差が予測誤差のダイナミッ
クレンジを超えない限り、これにより16番目,15番目,
……10番目の入力データまで正しく復号することができ
る。但し、符号化時と予測方向が異なるので、予測誤差
の符号が反転し、復号に用いる最大値,最小値はそれぞ
れ付加コードにより伝送された最小値,最大値の符号を
反転させたものとする必要がある。9番目の入力データ
は8番目と10番目の復号データの平均値などで修正でき
る。
The correction method will be described. The position where the error has occurred can be detected by the error correction code. For example, FIG. 2 (c)
It is assumed that a code error has occurred in the ninth residual data shown in FIG. As a result, the decoding of the tenth to sixteenth data is erroneous. Therefore, decoding is performed while predicting the 17th data (not shown in FIG. 2), which is the head data of the next block in which no error propagates, as a starting point in the direction opposite to the encoding. As long as the difference between the 17th data and the 16th data does not exceed the dynamic range of the prediction error, the 16th, 15th,
... Correct decoding can be performed up to the tenth input data. However, since the prediction direction is different from that at the time of encoding, the sign of the prediction error is inverted, and the maximum value and the minimum value used for decoding are obtained by inverting the signs of the minimum value and the maximum value transmitted by the additional code, respectively. There is a need. The ninth input data can be corrected by the average value of the eighth and tenth decoded data.

また復号データを用いブロック境界をはさんで予測を
行なって得られる予測誤差(第2図の例では16番目と17
番目のデータの差に相当)が、付加コードより求まる予
測誤差の範囲外となる領域は、伝送誤りの発生している
可能性が高いと判断できる。伝送誤りと判断できれば、
上記方法と同じく範囲外となっている領域を隣接ブロッ
ク内の復号データを起点として復号時とは異なった方法
より予測して復号できる。
In addition, a prediction error obtained by performing prediction with a block boundary between decoded data (the 16th and 17th in the example of FIG. 2).
The region in which the difference between the second data and the second data is out of the range of the prediction error obtained from the additional code can be determined to have a high possibility that a transmission error has occurred. If a transmission error can be determined,
Similarly to the above method, an out-of-range area can be predicted and decoded by a method different from that at the time of decoding, using decoded data in an adjacent block as a starting point.

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

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

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

ビットレートを一定にするための1つの方法はブロッ
ク毎の符号化ビット数を一定にすることである。符号化
ビット数を一定にするということは予測誤差のダイナミ
ックレンジを所定量以下にするということである。本発
明では入力信号に対して、その予測誤差のダイナミック
レンジを所定量以下にする変換を施して変換入力信号を
得、得られた変換入力信号に対して上記本発明の可逆な
符号化を行うものである。またその符号化出力に対して
上記本発明の復号化を行って、前記変換入力信号を再生
し、符号化時と逆の変換を行なって入力信号を再生する
ものである。
One method for keeping the bit rate constant is to keep the number of coded bits per block constant. To keep the number of encoded bits constant means to make the dynamic range of the prediction error equal to or less than a predetermined amount. According to the present invention, a conversion input signal is obtained by subjecting the input signal to conversion so that the dynamic range of the prediction error is equal to or less than a predetermined amount, and the reversible encoding of the present invention is performed on the obtained conversion input signal. Things. Further, the encoded output is subjected to the decoding of the present invention to reproduce the converted input signal, and the input signal is reproduced by performing the inverse conversion to that at the time of encoding.

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

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

符号化装置402において102はブロック分割器(第1図
中のものと同一)、405,406,407,408はそれぞれ係数1/
2,1/4,1/8,1/16を入力信号に掛ける係数器、409,410,41
1,412は第1図においてブロック分割器102を除去した内
部構成を有し可逆な符号化を行い付加コード、符号化デ
ータを出力する符号化装置、413は符号化装置409〜412
の符号化装置の付加コード出力の一つで除数データOUを
入力とし変換情報を出力する検出器、414は前記符号化
装置409〜412及び係数器408の出力を入力とし、前記変
換情報により制御されて前記符号化装置409〜412の出力
によりその符号化データ語長が4ビットとなったものが
あればその出力を選択出力し、なければ係数器408の出
力を選択出力するスイッチである。
In the encoding device 402, reference numeral 102 denotes a block divider (same as that in FIG. 1), and 405, 406, 407, and 408 each denote a coefficient 1 /
Coefficient multiplier for multiplying input signal by 2,1 / 4,1 / 8,1 / 16,409,410,41
1, reference numeral 412 denotes an encoding device having an internal configuration in which the block divider 102 is removed in FIG. 1 and performing lossless encoding to output an additional code and encoded data; and 413, encoding devices 409 to 412
A detector 414 which receives the divisor data OU as one of the additional code outputs of the encoding device and outputs the conversion information, and 414 receives the outputs of the encoding devices 409 to 412 and the coefficient unit 408 as inputs and is controlled by the conversion information. If the encoded data word length becomes 4 bits based on the outputs of the encoding devices 409 to 412, the switch selects and outputs the output. Otherwise, the switch selects and outputs the output of the coefficient unit 408.

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

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

符号化装置402において、端子401からの入力信号はブ
ロック分割器102によりブロック毎の信号となる。ブロ
ック毎の入力信号に対し係数器405〜408により、所定係
数1/2,1/4,1/8,1/16を掛けて小数以下を丸めて語長8,7,
6,5,4ビットの変換入力信号(入力信号を含む)を作成
し、それぞれを符号化装置409〜412により可逆な符号化
を行う。検出器413は、符号化データの語長が4ビット
となった符号化装置を検出する。スイッチ414は検出器4
13の出力より制御されて、符号化データの語長が4ビッ
トとなった符号化装置の出力を選択し出力するが、符号
化データの語長が4ビットとなった符号化装置が検出で
きなかった場合、係数器408の出力を選択し、そのまま
符号化データとして出力する。どの変換入力信号を符号
化して伝送したかを表す情報(3ビット)を復号化装置
に知らせる必要があるので、これを変換情報として、付
加コードに含めて伝送する。なお、符号化装置409は符
号化データ語長の下限値が4ビットに設定されているも
のとする。従って伝送する情報量は、付加コードが変換
情報3ビット、ブロック先頭データ8ビット(最悪
値)、予測誤差の最大値9ビット(最悪値)、符号化デ
ータが4×15ビットで合計80ビットとなり、1画素当り
平均5ビットとなる。
In the encoding device 402, the input signal from the terminal 401 is converted into a signal for each block by the block divider 102. The coefficient units 405 to 408 multiply the input signal of each block by a predetermined coefficient 1/2, 1/4, 1/8, 1/16, and round the fractional part to a word length of 8, 7,
A converted input signal (including an input signal) of 6, 5, or 4 bits is created, and lossless encoding is performed by each of the encoding devices 409 to 412. The detector 413 detects an encoding device in which the word length of the encoded data is 4 bits. Switch 414 is detector 4
13 is controlled by the output of 13 to select and output the output of the encoding device in which the word length of the encoded data is 4 bits. However, the encoding device in which the word length of the encoded data is 4 bits can be detected. If not, the output of the coefficient unit 408 is selected and output as is as encoded data. Since it is necessary to notify the decoding device of information (3 bits) indicating which conversion input signal has been encoded and transmitted, this information is included in the additional code and transmitted as conversion information. It is assumed that encoding apparatus 409 has the lower limit of the encoded data word length set to 4 bits. Therefore, the amount of information to be transmitted is as follows: the additional code has 3 bits of conversion information, 8 bits of block head data (worst value), maximum value of prediction error of 9 bits (worst value), and coded data of 4 × 15 bits, for a total of 80 bits. The average is 5 bits per pixel.

復号装置403において、復号化装置415は伝送された符
号化データを復号化して符号化装置における変換入力信
号を誤差なく復号する。復号された変換入力信号はスイ
ッチ416を介して乗算器418の入力となる。スイッチ417
は伝送された変換情報に制御されて復号された変換入力
信号を入力信号に変換するための逆変換係数を選択出力
する。乗算器418はスイッチ417からの逆変換係数を前記
変換入力信号に掛けて入力信号に変換する。再生された
ブロック毎の入力信号はブロック分解器212によりブロ
ックが分解されてブロック分割器102の入力信号と同じ
データ並びの入力信号が端子404より出力される。なお
伝送された符号化データが、伝送された変換情報により
係数器408の出力であると検出された場合、符号化デー
タは変換入力信号そのものであるため、復号化装置415
を経ず、直接スイッチ416を経て乗算器418の入力とな
る。
In the decoding device 403, the decoding device 415 decodes the transmitted coded data and decodes the converted input signal in the coding device without error. The decoded converted input signal is input to the multiplier 418 via the switch 416. Switch 417
Selects and outputs an inverse transform coefficient for converting the decoded converted input signal into an input signal under the control of the transmitted conversion information. The multiplier 418 multiplies the inverse transform coefficient from the switch 417 by the transform input signal to convert it into an input signal. The reconstructed input signal for each block is decomposed by a block decomposer 212, and an input signal having the same data sequence as the input signal of the block divider 102 is output from a terminal 404. If the transmitted coded data is detected as an output of the coefficient unit 408 based on the transmitted conversion information, the coded data is the conversion input signal itself.
, And directly to the multiplier 418 via the switch 416.

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

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

上記第2の実施例においては入力信号を変換入力信号
に変換するための変換係数が固定でその種類が少ないた
め、符号化データのダイナミックレンジを有効に利用で
きない場合がある。この課題の解決された本発明の実施
例を次に示す。
In the second embodiment, since the conversion coefficients for converting the input signal into the converted input signal are fixed and the types thereof are small, the dynamic range of the encoded data may not be effectively used in some cases. An embodiment of the present invention in which this problem has been solved will be described below.

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

第5図において501は標本化量子化された映像信号で
ある入力データの入力端子、102はブロック分解器(第
1図中の102に同じ)、502は変換情報,変換係数を生成
し、前記変換係数を入力信号に掛けて変換入力信号を出
力する変換回路、503は符号化装置、504は前記変換情報
(逆変換係数1/a)の出力端子、505は変換入力信号のブ
ロック内の先頭データd1の出力端子、506は変換入力デ
ータに対する予測誤差の最大値sxの出力端子、507は符
号化データciの出力端子である。
In FIG. 5, reference numeral 501 denotes an input terminal of input data which is a sampled and quantized video signal, 102 denotes a block decomposer (same as 102 in FIG. 1), and 502 generates conversion information and conversion coefficients. A conversion circuit for multiplying the input signal by a conversion coefficient to output a conversion input signal; 503, an encoding device; 504, an output terminal for the conversion information (inverse conversion coefficient 1 / a); output terminal of the data d 1, 506 is an output terminal of the maximum value sx of predictive errors for the conversion input data, is 507 an output terminal for the coded data ci.

変換回路502において508は遅延器、509は予測器、510
は減算器、511は最大最小検出回路であり、それぞれ第
1図中の遅延器103、予測器105、減算器106、最大最小
検出回路107に等しく、512は最大最小検出回路511から
の予測誤差の最大値,最小値より変換入力信号を作成す
るための変換情報(変換係数a、逆変換係数1/a)を出
力する変換情報生成回路、513は入力信号に前記変換係
数を掛けて変換入力信号を出力する乗算器である。
In the conversion circuit 502, 508 is a delay unit, 509 is a predictor, 510
Is a subtractor, and 511 is a maximum / minimum detection circuit, which is equivalent to the delay unit 103, predictor 105, subtractor 106, and maximum / minimum detection circuit 107 in FIG. 1, respectively, and 512 is a prediction error from the maximum / minimum detection circuit 511. A conversion information generating circuit for outputting conversion information (conversion coefficient a, inverse conversion coefficient 1 / a) for generating a conversion input signal from the maximum value and the minimum value of the input signal; It is a multiplier that outputs a signal.

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

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

標本化量子化された映像信号である入力データは端子
501より入力され、ブロック分割器102によりブロック毎
の信号となる。ブロック毎の入力信号は変換回路502に
おいてブロック毎に定まる変換係数aが掛けられ小数点
以下が丸められて変換入力信号となる。変換係数aの決
定方法については後で説明する。
The input data, which is a sampled and quantized video signal, is
The signal is input from the block 501 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 the conversion circuit 502, and the decimal part is rounded to become a converted input signal. A method for determining the conversion coefficient a will be described later.

変換入力信号は符号化装置503において第1図の本発
明の第1の実施例と同じ方法によって符号化される。こ
のとき変換入力信号は変換回路502により符号化装置503
で固定語長Lビットで可逆な符号化ができるように変換
されている。従って除数データOUを新たに求める必要が
ないので符号化装置503は第1図の符号化装置より減算
器108、オフセット生成器109が除去された構成となって
おり、また変換入力信号はすでにブロック毎の信号とな
っているのでブロック分割器102も除去されている。符
号化データ語長Lが一定すなわち除数データOUは常に一
定であるので、付加コードとして伝送する必要がない。
符号化装置503は変換入力信号の予測誤差の最大値sxと
ブロックの先頭データd1と符号化データを出力する。ま
た変換回路502からの変換情報(逆変換係数1/a)は符号
化して伝送した変換入力信号を入力信号に逆変換するた
めに必要であるので付加コードの1つとして伝送する。
The transformed input signal is encoded in the encoding device 503 in the same manner as in the first embodiment of the present invention shown in FIG. At this time, the conversion input signal is converted by the conversion
Are converted so that lossless encoding can be performed with a fixed word length of L bits. Therefore, since it is not necessary to newly obtain the divisor data OU, the encoding device 503 has a configuration in which the subtractor 108 and the offset generator 109 are removed from the encoding device of FIG. Since each signal is a single signal, the block divider 102 is also eliminated. Since the coded data word length L 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 outputs the maximum value sx of the prediction error of the transformed input signal, the head data d1 of the block, and the encoded data. Further, the conversion information (inverse conversion coefficient 1 / a) from the conversion circuit 502 is transmitted as one of the additional codes because it is necessary for inversely converting the coded and transmitted conversion input signal into an input signal.

変換係数aは次のようにして求める。変換回路502に
おいて予測器509の出力と入力信号との差すなわ予測誤
差が減算器510により求まる。最大最小検出回路511は入
力信号のブロック毎の予測誤差の最大値SXと最小値SNを
求め出力する。これより入力信号の予測誤差とダイナミ
ックレンジSDRは(SX−SN)となる。一方、符号化装置5
03の符号化データの語長はLビットであるから、変換入
力信号の予測誤差のダイナミックレンジsdr(変換入力
信号の予測誤差の最大値をsx,最小値をsnとするときsdr
=sx−sn)は式(10)より次式を満足していなければな
らない。
The conversion coefficient a is obtained as follows. In the conversion circuit 502, the difference between the output of the predictor 509 and the input signal, that is, the prediction error is obtained by the subtractor 510. The maximum / minimum detection circuit 511 calculates and outputs the maximum value SX and the minimum value SN of the prediction error of each block of the input signal. Thus, the prediction error and the dynamic range SDR of the input signal are (SX-SN). On the other hand, the encoding device 5
Since the word length of the coded data of 03 is L bits, the dynamic range sdr of the prediction error of the converted input signal (when the maximum value of the predicted error of the converted input signal is sx and the minimum value is sn, sdr
= Sx−sn) must satisfy the following expression from Expression (10).

sdr≦(2L−1) ……(14) もし乗算器514において丸め誤差がないとしたら変換
係数aを(2L−1)/(SX−SN)とすることにより変換
入力信号の予測誤差のダイナミックレンジsdrを(2L
1)とすることができ、効率よく符号化できる。しかし
ながら実際には丸め誤差があり、必ずしもsx=R(a・
SX)、sn=R(a・SN)が成立しない(正しR(x)は
xの小数部を丸めた値を表わすものとする)。そこで丸
め誤差を生じても予測誤差sdrが式(14)を必ず満足す
るように変換係数aを(2L−1)/(SX−SN)より小さ
く設定している。すなわちsxがR(a・SX)より大きく
なる、またはsnがR(a・SN)より小さくなる場合があ
り、このときsdrがa・SDRより大きくなる。その誤差の
最大値はそれぞれ1であるので丸め誤差の影響が最悪の
状態となっても式(14)を満足するように変換情報生成
回路512は次式を満足する変換係数aを生成する。
sdr ≦ (2 L −1) (14) If there is no rounding error in the multiplier 514, the conversion coefficient a is set to (2 L −1) / (SX−SN) to obtain the prediction error of the conversion input signal. Dynamic range sdr (2 L
1) and can be efficiently coded. However, there is actually a rounding error, and sx = R (a · a
SX), sn = R (a.SN) does not hold (correctly, R (x) represents a value obtained by rounding the decimal part of x). Therefore, even if a rounding error occurs, the conversion coefficient a is set to be smaller than (2 L -1) / (SX-SN) so that the prediction error sdr always satisfies Expression (14). That is, sx may be larger than R (a · SX), or sn may be smaller than R (a · SN). At this time, sdr becomes larger than a · SDR. Since the maximum value of each error is 1, the conversion information generation circuit 512 generates a conversion coefficient a that satisfies the following equation so that the equation (14) is satisfied even if the influence of the rounding error is in the worst state.

(2L−3)≧R(a・SX)−R(a・SN)……(15) 変換情報生成回路512は、予め式(15)を満足する変
換係数aを計算により求めておき、これを書き込んだリ
ード オンリー メモリー(ROM)により容易に実現で
きる。なお入力信号の予測誤差のダイナミックレンジSD
Rが次式 SDR≦(2L−1) ……(16) を満足するときは変換係数は1となる。
(2 L −3) ≧ R (a · SX) −R (a · SN) (15) The conversion information generation circuit 512 previously obtains a conversion coefficient a that satisfies Expression (15) by calculation. This can be easily realized by read-only memory (ROM) in which this is written. The dynamic range SD of the prediction error of the input signal
When R satisfies the following equation: SDR ≦ (2 L −1) (16), the conversion coefficient is 1.

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

第6図において、601は変換情報(逆変換係数1/a)の
入力端子、602は変換入力信号のブロック内の先端デー
タd1の入力端子、603は変換入力データに対する予測誤
差の最大値sxの入力端子、605は伝送された変換入力信
号の復号化装置、606は復号化された変換入力信号をも
との入力信号に逆変換する逆変換回路、212はブロック
を分解して再生されたブロック毎の入力信号をブロック
分割器102の入力信号と同じデータ並びの入力信号に変
換するブロック分解器212、607は再生された入力信号の
出力端子である。復号器605において第3図中と同一の
ものには同じ番号をつけている。205は剰余デコーダ、2
06は加算器、207は減算器、208はオフセット再生器、20
9は加算器、210はスイッチである。逆変換器606におい
て608は乗算器である。
In the sixth figure, an input terminal of the conversion information (inverse transform coefficients 1 / a) 601, an input terminal of the distal end data d 1 in a block of transformed input signal 602, the maximum value of the prediction error for converting input data 603 sx 605 is a decoding device for the transmitted converted input signal, 606 is an inverse conversion circuit for inversely converting the decoded converted input signal to the original input signal, and 212 is a block that has been decomposed and reproduced. Block decomposers 212 and 607, which convert the input signal of each block into input signals having the same data sequence as the input signal of the block divider 102, are output terminals of the reproduced input signal. In the decoder 605, the same components as those in FIG. 205 is the remainder decoder, 2
06 is an adder, 207 is a subtractor, 208 is an offset regenerator, 20
9 is an adder, 210 is a switch. In the inverse transformer 606, 608 is a multiplier.

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

復号化装置605は第3図に示した復号化装置と除数デ
ータOUが一定値で伝送する必要がないため入力されない
点を除けば基本的に同一構成であり、伝送された付加コ
ードを用いて符号化データが復号化されてもとの変換入
力信号となる。変換入力信号は逆変換回路606において
伝送された逆変換係数1/a(変換情報)と乗算されても
との入力信号になる。この入力信号はブロック毎の信号
であるため、ブロック分解器212により符号化装置の入
力信号と同じデータ並びの信号に変換されて端子607よ
り出力される。
The decoding device 605 has basically the same configuration as the decoding device shown in FIG. 3 except that the divisor data OU is not input because it is not necessary to transmit the divisor data OU at a constant value. It becomes the original converted input signal when the encoded data is decoded. The converted input signal becomes the original input signal after being multiplied by the inverse transform coefficient 1 / a (conversion information) transmitted in the inverse transform circuit 606. Since this input signal is a signal for each block, it is converted by the block decomposer 212 into a signal having the same data sequence as the input signal of the encoding device, and output from the terminal 607.

以上のように第5図,第6図に示した第3の実施例に
おいては、入力信号に変換係数aを掛けて変換入力信号
を得、変換入力信号を第1図にその構成を示した第1の
実施例と同じ可逆な符号化を行なう。入力信号の予測誤
差のダイナミックレンジと変換入力信号の予測誤差のダ
イナミックレンジとは丸め誤差の影響を除けば比例関係
にあるので、まず入力信号の予測誤差のダイナミックレ
ンジを求め、変換入力信号の予測誤差のダイナミックレ
ンジが符号化データの語長によって定まるダイナミック
レンジを越えることなく、かつそのダイナミックレンジ
に近くなるよう変換係数aを設定しているので効率よく
符号化できる。また丸め誤差を考慮し、ダイナミックレ
ンジの上限を越えないように変換係数を設定しているの
で、変換入力信号は可逆な符号化が行なわれ、変則誤差
は発生しない。符号化,復号化による入力信号の歪は入
力信号から変換入力信号への変換及びその逆変換におけ
る変換係数乗算による語長制限、丸め誤差によるものの
みである。
As described above, in the third embodiment shown in FIGS. 5 and 6, a conversion input signal is obtained by multiplying the input signal by the conversion coefficient a, and the configuration of the conversion input signal is shown in FIG. The same reversible encoding as in the first embodiment is performed. Since 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 in a proportional relationship except for the influence of the rounding error, first, the dynamic range of the prediction error of the input signal is obtained. Is set so that the dynamic range does not exceed the dynamic range determined by the word length of the encoded data and approaches the dynamic range, encoding can be performed efficiently. In addition, since the transform coefficient is set so as not to exceed the upper limit of the dynamic range in consideration of the rounding error, the transform input signal is reversibly encoded, and no irregular error occurs. The distortion of the input signal due to the encoding and decoding is only due to the word length limitation and the rounding error due to the conversion coefficient multiplication in the conversion from the input signal to the converted input signal and the inverse conversion.

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

この符号化方法において符号化単位内の各ブロックを
それぞれ何ビットで符号化するかの決定の方法の一例と
しては次のようなものが考えられる。まず符号化単位内
の全ブロックについて予測誤差のダイナミックレンジを
計算し、可逆な符号化を行なった場合の符号化データの
平均ビット数を求める。このビット数と実際の符号化ビ
ット数との差のビット数分だけ各ブロックの入力信号の
予測誤差のダイナミックレンジが平均して小さくなるよ
うに変換を行なうものである。
In this encoding method, as an example of a method of determining how many bits each of the blocks in the encoding unit are encoded, the following is conceivable. First, the dynamic range of the prediction error is calculated for all the blocks in the coding unit, and the average number of bits of the coded data when lossless coding is performed is obtained. The conversion is performed such that the dynamic range of the prediction error of the input signal of each block is reduced on average by the number of bits corresponding to the difference between the number of bits and the actual number of encoded bits.

この符号化装置は符号化単位分のバッファメモリと可
逆な符号化を行なったと仮定した場合の平均符号化ビッ
ト数を求める手段と前記平均符号化ビット数と実際の符
号化ビット数との差を求めこれを蓄える手段等を第5図
の符号化装置に付加すればよく、この復号化装置は基本
的には第6図の復号化装置と同じでよいのでこれらの説
明は省略する。
This encoding apparatus includes a buffer memory for an encoding unit and a means for obtaining an average number of encoded bits when lossless encoding is performed, and calculates a difference between the average number of encoded bits and the actual number of encoded bits. Means for obtaining and storing the information may be added to the encoding device shown in FIG. 5. Since this decoding device may be basically the same as the decoding device shown in FIG. 6, the description thereof will be omitted.

また上記実施例においてもなお符号化データのダイナ
ミックレンジが完全に有効利用されている訳ではない。
なぜなら丸め誤差によって予測誤差のダイナミックレン
ジが拡大しても符号化データのダイナミックレンジを越
えないように余裕をもたせているからである。そこで第
2,第3の実施例を組み合わせた方法が考えられる。すな
わち第3の実施例において複数の変換係数と、この変換
係数に対応して複数の符号化装置を備え、符号化データ
のダイナミックレンジを有効に利用しているものを選択
するものであるが、第2,第3の実施例により容易に構成
できるので説明は省略する。
Further, even in the above embodiment, the dynamic range of the encoded data is not completely used effectively.
This is because a margin is provided so that the dynamic range of the prediction error does not exceed the dynamic range of the encoded data even if the dynamic range of the prediction error is expanded due to the rounding error. So the
2. 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 uses the dynamic range of encoded data is selected. Since the configuration can be easily realized by the second and third embodiments, the description is omitted.

また予測誤差のダイナミックレンジを小さくする方法
として第7図に示すように非線形な変換をおこなうもの
が考えられる。第7図において白丸印のデータが変換前
の入力信号、黒丸印のデータが変換後の入力信号であ
る。同図の例は時刻(i−1)、iの入力データ間で予
測誤差の最大値SX(=Di−Di-1)が発生した場合のもの
で、最大値の発生に関わった入力データDi-1,Diをそれ
ぞれ+1、−1して変換入力信号としている。これによ
り変換入力信号の予測誤差の最大値sxは前記最大値SXよ
り2レベル小さくなっている。このように予測誤差の最
大値,最小値の発生に関わる入力データの一部またはそ
の全てを少しだけ小さく、または少しだけ大きくするこ
とによって発生する予測誤差の最大値,最小値を少しだ
け小さくする。すなわち予測誤差のダイナミックレンジ
を小さくする非線形な処理を行なうものである。入力デ
ータの変更レベル量は小さく抑えるので、復号時の逆変
換は不要とできる。この非線形処理による変換は、入力
信号の予測誤差のダイナミックレンジが2のべき乗に等
しいか、もしくはこれを少しだけ越えるような場合に有
効であり、また入力信号に変換係数を掛けて変換信号を
得る際に丸め誤差により発生する予測誤差の増加を抑圧
する場合に有効である。なぜなら予測誤差のダイナミッ
クレンジを2のべき乗より小さいがこれにより近い値と
することは、符号化データのダイナミックレンジを有効
に利用することであり、符号化データ語長を1ビット小
さくできることだからである。
As a method for reducing the dynamic range of the prediction error, a method of performing a non-linear conversion as shown in FIG. 7 can be considered. In FIG. 7, white circled data is an input signal before conversion, and black circled data is an input signal after conversion. The example shown in the figure is a case where the maximum value SX (= D i −D i-1 ) of the prediction error occurs between the input data at time (i−1) and i, and the input related to the generation of the maximum value. The data Di-1 and Di are respectively +1 and -1 to be converted input signals. Thus, the maximum value sx of the prediction error of the converted input signal is two levels smaller than the maximum value SX. As described above, the maximum value and the minimum value of the prediction error generated by slightly or slightly increasing a part or all of the input data related to the generation of the maximum value and the minimum value of the prediction error are slightly reduced. . That is, non-linear processing for reducing the dynamic range of the prediction error is performed. Since the change level of the input data is kept small, the inverse conversion at the time of decoding can be made unnecessary. The conversion by the non-linear processing is effective when the dynamic range of the prediction error of the input signal is equal to or slightly more than a power of two, and the conversion signal is obtained by multiplying the input signal by a conversion coefficient. This is effective in suppressing an increase in prediction error caused by a rounding error. This is because setting the dynamic range of the prediction error to a value smaller than a power of 2 but closer to it means that the dynamic range of the encoded data is effectively used, and the encoded data word length can be reduced by 1 bit. .

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

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

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

また一般には水平,垂直方向にそれぞれ連続した標本
位置の入力データでブロックが構成されるが、必ずしも
このような構成に限定されるものではない。相関の強い
複数の入力データでブロックを構成すればよく、NTSC信
号等においては色搬送波の同位相点の標本位置の入力デ
ータでブロックを構成することも考えられる。
In general, a block is composed of input data at sample positions that are continuous in the horizontal and vertical directions, but is not necessarily limited to such a configuration. A block may be composed of a plurality of input data having a strong correlation. In the case of an NTSC signal or the like, a block may be composed of input data at a sampling position at the same phase point of a chrominance carrier.

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

ブロック構成が1次元の場合、ブロック内における入
力データの取り出す順番は入力順に、予測に使用する入
力データまたは復号データの組合せは1つ前のデータと
するのが最も簡単であるが、ブロック構成が2次元以上
になると入力データを取り出す順番、予測に使用するデ
ータの組合せは各種考えられる。ブロック構成を水平方
向に4画素、垂直方向に4ラインの2次元とした場合に
おける例を第8図に示す。同図において○印は画素を表
わし、番号はブロックより取り出す順番iを表わし、実
戦の矢印は矢印の出ているデータを矢印の入っているデ
ータの予測に使用することを表わしている。除数データ
OUの小さい方が符号化効率がよいが、入力データの相関
によって異なるので複数の方法で符号化を行い、効率の
よい方の符号化方法の出力とともにその符号化方法を示
すコードを符号コードに付加して出力する方法も考えら
れる。
When the block configuration is one-dimensional, it is easiest to take out input data in the block in the order of input and to combine input data or decoded data used for prediction with the immediately preceding data. When the dimensions are two or more, various combinations of the order of input data extraction and data used for prediction are conceivable. FIG. 8 shows an example in which the block configuration is two-dimensional with four pixels in the horizontal direction and four lines in the vertical direction. In the figure, a circle represents a pixel, a number represents an order i of taking out from a block, and an actual battle arrow represents that data with an arrow is used for predicting data with an arrow. Divisor data
The smaller the OU, the better the coding efficiency.However, it depends on the correlation of the input data. A method of adding and outputting is also considered.

前置予測においても最も符号化効率の良くなる信号は
単調増加もしくは単調減少とする信号である。なぜなら
この時予測誤差のダイナミックレンジが最も小さくなる
からである。従ってブロックから入力データを取り出す
順序が異なった取り出し方を複数用意しておき、最も予
測誤差のダイナミックレンジの小さいものを選ぶ方法が
考えられる。この場合、入力データの取り出し方(一種
の予測方法)を示すコードを付加コードの1つとして伝
送する。
In the pre-prediction, the signal with the best encoding efficiency is a signal that is monotonically increased or monotonically decreased. This is because, at this time, the dynamic range of the prediction error becomes the smallest. Therefore, a method is conceivable in which a plurality of ways of extracting input data from blocks are prepared in different orders, and a method having the smallest prediction error dynamic range is selected. In this case, a code indicating a method of extracting input data (a kind of prediction method) is transmitted as one of the additional codes.

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

また入力信号中の高域成分が非常に大きい場合、ブロ
ック内の特定位置の入力信号(例えばブロックの先頭デ
ータ)またはブロック内の全データの平均値をブロック
内のすべての入力信号に対する予測信号とする予測方法
が有効である。例えば入力信号が20,30,20,30,……の繰
り返しの場合前置予測における予測誤差の最大値SX,最
小値SNはそれぞれ10,−10となってそのダイナミックレ
ンジSDRは20となる。これに対し先頭データ20を同一ブ
ロック内のすべての入力に対する予測値とするとその予
測誤差の最大値SX,最小値SNはそれぞれ10,0となってそ
のダイナミックレンジSDRは10と小さくできる。
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 head data of the block) or the average value of all data in the block is calculated as Is effective. For example, when the input signal is a repetition of 20, 30, 20, 30,..., The maximum value SX and the minimum value SN of the prediction error in the pre-prediction are 10, -10, respectively, and the dynamic range SDR is 20. On the other hand, if the head data 20 is a predicted value for all inputs in the same block, the maximum value SX and the minimum value SN of the prediction error are 10, 0, respectively, and the dynamic range SDR can be reduced to 10.

発明の効果 以上説明したように、本発明によれば、簡単な構成
で、変則誤差がなく効率のよい伝送が可能な符号化方法
およびその復号方法とすることができ、その実用的価値
は大きい。
Effect of the Invention As described above, according to the present invention, it is possible to provide an encoding method and a decoding method capable of performing efficient transmission without anomalous errors with a simple configuration, and its practical value is large. .

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

第1図は本発明の第1の実施例における高能率な符号化
装置の構成を示すブロック図、第2図(a)〜(c)は
1次元構成のブロックにおける各データの例を示すグラ
フ、第3図は第1の実施例における復号化装置の構成を
示すブロック図、第4図は本発明の第2の実施例におけ
る高能率な符号化装置、及びその復号化装置の構成を示
すブロック図、第5図は本発明の第3の実施例における
高能率な符号化装置の構成を示すブロック図、第6図は
第3の実施例における復号化装置の構成を示すブロック
図、第7図は入力信号の予測誤差のダイナミックレンジ
を非線形な処理により小さくする方法を説明するための
グラフ(波形例)、第8図(a)〜(h)はブロックか
らデータを取り出す順番と予測方法を示す図、第9図は
従来の符号化方式MPCMシステムの構成を示すブロック
図、第10図(a)〜(d)は従来例のMPCM方式における
動作波形(正常時)図、第11図は従来のMPCMシステムの
復号化装置における量子化特性図、第12図(a)〜
(d)は従来例のMPCMシステムにおける別の動作波形の
例(変則誤差発生時)を示すグラフである。 101……入力端子、102……ブロック分割器、103……遅
延器、104……レジスタ、105……予測器、106……減算
器、107……最大最小検出回路、108……減算器、109…
…除数データ生成器、110……剰余演算器、111……剰余
エンコーダ、112……符号化データCiの出力端子、113…
…除数データOUの出力端子、114……予測誤差の最大値S
Xの出力端子、115……入力データD1の出力端子、201…
…符号化データCiの入力端子、202……除数データOUの
入力端子、203……予測誤差の最大値SXの入力端子、204
……入力データD1の入力端子、205……剰余デコーダ、2
06……加算器、207……減算器、208……オフセット再生
器、209……オフセット付加器、210……スイッチ、211
……予測器、212……ブロック分解器、213……復号デー
タの出力端子。
FIG. 1 is a block diagram showing the configuration of a high-efficiency coding apparatus according to a first embodiment of the present invention, and FIGS. 2 (a) to 2 (c) are graphs showing examples of data in blocks having a one-dimensional configuration. FIG. 3 is a block diagram showing a configuration of a decoding apparatus according to the first embodiment, and FIG. 4 is a block diagram showing a configuration of a high-efficiency coding apparatus according to the second embodiment of the present invention and the configuration of the decoding apparatus. FIG. 5 is a block diagram showing a configuration of a high-efficiency encoding device according to a third embodiment of the present invention. FIG. 6 is a block diagram showing a configuration of a decoding device according to the third embodiment. FIG. 7 is a graph (waveform example) for explaining a method of reducing the dynamic range of the prediction error of the input signal by nonlinear processing, and FIGS. 8 (a) to (h) are the order of extracting data from the block and the prediction method. FIG. 9 shows a conventional encoding method M FIG. 10 (a) to (d) are operation waveforms (in a normal state) in the conventional MPCM system, and FIG. 11 is a quantization characteristic in the decoding device of the conventional MPCM system. Fig. 12 (a)-
(D) is a graph showing another example of an operation waveform (when an irregular error occurs) in the conventional MPCM system. 101 input terminal, 102 block divider, 103 delay unit, 104 register, 105 predictor, 106 subtractor, 107 minimum / maximum detection circuit, 108 subtractor, 109…
... Divisor data generator, 110 ... Remainder arithmetic unit, 111 ... Remainder encoder, 112 ... Output terminal of encoded data Ci, 113 ...
… Output terminal of divisor data OU, 114 …… Maximum value S of prediction error
X output terminal, 115 output terminal for input data D1, 201
... input terminal for encoded data Ci, 202 ... input terminal for divisor data OU, 203 ... input terminal for maximum value SX of prediction error, 204
…… Input terminal for input data D1, 205… Remainder decoder, 2
06 Adder, 207 Subtractor, 208 Offset regenerator, 209 Offset adder, 210 Switch, 211
... predictor 212 ... block decomposer 213 ... decoded data output terminal.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 電子情報通信学会論文誌,Vol.J 71−A,No.2,P.453−462 昭和63年電子情報通信学会春季全国大 会講演論文集[分冊A−1]第1−22頁 昭和63年電子情報通信学会春季全国大 会講演論文集(分冊A−1)第1−23頁 IEEE INTERNATIONA L CONFERENCE ON CO MMUNICATIONS ’88 Vo l.2/3,P.652−656 (58)調査した分野(Int.Cl.6,DB名) H03M 7/36 H04N 7/00────────────────────────────────────────────────── ─── Continuation of front page (56) References IEICE Transactions, Vol. J 71-A, No. 2, P. 453-462 Proceedings of the 1988 IEICE Spring National Conference [Section A-1], page 1-22 Proceedings of the 1988 IEICE Spring National Conference (Section A-1) No. 1 -23 pages IEEE INTERNALON CONFERENCE ON COMMUNICATIONS '88 Vol. 2/3, p. 652-656 (58) Field surveyed (Int. Cl. 6 , DB name) H03M 7/36 H04N 7/00

Claims (27)

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

Families Citing this family (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
KR101082233B1 (en) * 2004-01-20 2011-11-09 파나소닉 주식회사 Picture Coding Method Picture Decoding Method Picture Coding Apparatus Picture Decoding Apparatus and Program thereof
CN101699866B (en) 2004-01-30 2016-08-03 松下电器(美国)知识产权公司 Moving picture coding method and moving picture decoding method
KR101136629B1 (en) 2004-01-30 2012-04-23 파나소닉 주식회사 Picture coding and decoding method, apparatus, and program thereof

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS ’88 Vol.2/3,P.652−656
昭和63年電子情報通信学会春季全国大会講演論文集(分冊A−1)第1−23頁
昭和63年電子情報通信学会春季全国大会講演論文集[分冊A−1]第1−22頁
電子情報通信学会論文誌,Vol.J71−A,No.2,P.453−462

Also Published As

Publication number Publication date
JPH02216917A (en) 1990-08-29

Similar Documents

Publication Publication Date Title
KR102053317B1 (en) Method and apparatus for video encoding, and method and apparatus for video decoding
EP0369682B1 (en) Efficient coding method and its decoding method
JP3205498B2 (en) Coding method and decoding method for continuous image
US7092879B2 (en) Techniques for quantization of spectral data in transcoding
JPH0485621A (en) Rounding device
KR20030043621A (en) Key data encoding/decoding method and apparatus
JP2010045827A (en) Method and apparatus for coding image
KR950024581A (en) Image encoding method and apparatus
JPH07131783A (en) Motion vector detector and picture coder
JP2002118517A (en) Apparatus and method for orthogonal transformation, apparatus and method for inverse orthogonal transformation, apparatus and method for transformation encoding as well as apparatus and method for decoding
JP2794842B2 (en) Encoding method and decoding method
US6915319B1 (en) Method and apparatus for interpolating digital signal
JP2841362B2 (en) High efficiency coding device
JP3271098B2 (en) Digital image signal decoding apparatus and method
JPH04343576A (en) Highly efficient coding and decoding method
JP3877683B2 (en) Quantization apparatus and inverse quantization apparatus, and audio and image encoding apparatus and decoding apparatus that can use these apparatuses
JP4241517B2 (en) Image encoding apparatus and image decoding apparatus
JP4415651B2 (en) Image encoding apparatus and image decoding apparatus
JP2924416B2 (en) High efficiency coding method
JP3833585B2 (en) Image coding apparatus, image coding method, and computer program
KR100207378B1 (en) Image encoding system using adaptive vector quantization
JP4438655B2 (en) Encoding device, decoding device, encoding method, and decoding method
JPH1188183A (en) Wavelet converter, its method, wavelet inverse converter, its method, image coder, its method, image decoder and its method
JP2570794B2 (en) High-efficiency encoder for television signals.
JP3130673B2 (en) Audio coding device

Legal Events

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