JP2765268B2 - High efficiency coding method and high efficiency code decoding method - Google Patents

High efficiency coding method and high efficiency code decoding method

Info

Publication number
JP2765268B2
JP2765268B2 JP11600891A JP11600891A JP2765268B2 JP 2765268 B2 JP2765268 B2 JP 2765268B2 JP 11600891 A JP11600891 A JP 11600891A JP 11600891 A JP11600891 A JP 11600891A JP 2765268 B2 JP2765268 B2 JP 2765268B2
Authority
JP
Japan
Prior art keywords
data
remainder
encoding
decoding
category
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
JP11600891A
Other languages
Japanese (ja)
Other versions
JPH04343576A (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 JP11600891A priority Critical patent/JP2765268B2/en
Priority to US07/885,940 priority patent/US5392037A/en
Publication of JPH04343576A publication Critical patent/JPH04343576A/en
Application granted granted Critical
Publication of JP2765268B2 publication Critical patent/JP2765268B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、映像、音声等のアナロ
グ信号を標本化量子化して得られるデータなどの情報量
を低減する高能率符号化方法および高能率符号の復号方
法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-efficiency encoding method and a high-efficiency code decoding method for reducing the amount of information such as data obtained by sampling and quantizing analog signals such as video and audio. .

【0002】[0002]

【従来の技術】高能率符号化には各種方式があり、また
これらを組合せた方式もある。現在、画像像、音声の高
能率符号化方式の規格化が行なわれつつあり、静止画像
の符号化方式の規格化は国際標準化機構(ISO)の下
部組織JPEGにおいて進められている。
2. Description of the Related Art There are various schemes for high-efficiency coding, and there is also a scheme combining these. At present, standardization of a high-efficiency coding method for image and audio is being performed, and standardization of a coding method for still images is being advanced by JPEG, a subordinate organization of the International Standards Organization (ISO).

【0003】従来の高能率符号化方法としてJPEGの
高能率符号化方式であるDCT方式を例にあげて説明す
る(文献:テレビジョン学会誌Vol.44,No.2(1990) pp15
8〜159)。
A conventional high-efficiency encoding method will be described using an example of a DCT method, which is a high-efficiency encoding method of JPEG (Reference: Journal of the Institute of Television Engineers of Japan, Vol. 44, No. 2 (1990), pp. 15).
8-159).

【0004】入力信号は標本化量子化された画像信号す
なわちディジタル画像データである。ラスタースキャン
の画素並びである画像データを画面の水平、垂直方向に
それぞれ8画素の矩形領域(これをブロックと称する)
に分割してブロック単位のデータ並びに変換する。これ
をブロック化と称する。ブロック毎に8次の2次元離散
コサイン変換(以下DCTと称する)を行ない、得られ
たDCT係数を各係数毎に定められた所定の量子化ステ
ップQで量子化する(すなわちQで除算し丸める)。量
子化されたDCT係数のAC係数は2次元ハフマン符号
化し、量子化されたDCT係数のDC係数は予測符号化
する。
The input signal is a sampled and quantized image signal, that is, digital image data. Image data, which is a raster scan pixel array, is placed in a rectangular area of 8 pixels each in the horizontal and vertical directions of the screen (this is called a block).
And convert the data in block units. This is called blocking. An 8th-order two-dimensional discrete cosine transform (hereinafter, referred to as DCT) is performed for each block, and the obtained DCT coefficients are quantized at a predetermined quantization step Q determined for each coefficient (that is, divided by Q and rounded). ). The AC coefficient of the quantized DCT coefficient is subjected to two-dimensional Huffman coding, and the DC coefficient of the quantized DCT coefficient is subjected to predictive coding.

【0005】前記DC係数の前記予測符号化方法につい
て説明する。入力データは前記量子化されたDCT係数
のDC係数であり、これをデータDi(i=0,1,2,
3,....、iはデータの番号であり、ブロックの番号に等し
い)で表すものとする。予測符号化は符号化済みの入力
データを用いて予測値Piを求め、入力データDiと前
記予測値Piとの差である予測誤差Siを求め、前記予
測誤差Siを符号化するものである。予測方法は前値予
測で1つ前の入力データを予測値としている。
[0005] The predictive encoding method of the DC coefficient will be described. The input data is a DC coefficient of the quantized DCT coefficient, which is referred to as data Di (i = 0, 1, 2,.
3, ..., i are data numbers and are equal to the block numbers). The prediction coding is to calculate a prediction value Pi using coded input data, obtain a prediction error Si that is a difference between the input data Di and the prediction value Pi, and encode the prediction error Si. The prediction method uses the previous input data as the predicted value in the previous value prediction.

【0006】前記予測誤差Siの符号化方法について説
明する。前記予測誤差Siをその大きさにより所定のカ
テゴリに分類して該当するカテゴリの番号を得、これを
ハフマン符号化する。前記カテゴリ番号は前記予測誤差
の上位ビット情報に相当するものである。前記予測誤差
は前記カテゴリ番号によって定まるビット数Lだけその
下位ビットを切り出し、前記ハフマン符号化されたカテ
ゴリ番号に続けて出力する。すなわち予測誤差をその上
位ビット情報と下位ビット情報とに分けてそれぞれ符号
化している。なお予測誤差の下位Lビットをそのまま切
り出すと正の値と負の値とで重複する符号が生じるの
で、前記予測誤差が負の場合予め1を減じた後、下位L
ビットを切り出している。
An encoding method of the prediction error Si will be described. The prediction error Si is classified into a predetermined category according to its magnitude, a corresponding category number is obtained, and this is subjected to Huffman coding. The category number corresponds to upper bit information of the prediction error. For the prediction error, lower bits are cut out by the number of bits L determined by the category number, and output following the Huffman-encoded category number. That is, the prediction error is encoded separately for the upper bit information and the lower bit information. Note that if the lower L bits of the prediction error are cut out as they are, a duplicate sign occurs between a positive value and a negative value.
Bits are cut out.

【0007】ハフマン符号化は生起確率の高いデータに
語長の短い符号を割当て、生起確率の低いデータには語
長の長い符号を割当てることにより符号量を平均的に少
なくする可逆な符号化方法である。隣合った入力データ
の相関は高く、予測誤差は0付近の値になる確率が高い
ので、予測誤差の絶対値の小さい範囲を表わすカテゴリ
番号に短い符号を割り当てることにより、高能率な符号
化が実現できる。
Huffman coding is a reversible coding method in which a code having a short word length is assigned to data having a high probability of occurrence and a code having a long word length is allocated to data having a low probability of occurrence. It is. Since the correlation between adjacent input data is high and the prediction error has a high probability of becoming a value close to 0, highly efficient encoding is performed by assigning a short code to a category number representing a range in which the absolute value of the prediction error is small. realizable.

【0008】[0008]

【発明が解決しようとする課題】しかしながら予測符号
化は前記予測誤差を積算することにより復号値を得るた
め、符号化出力に誤りを生じると誤りの影響が蓄積さ
れ、誤り伝搬を生じるという課題を有するものであっ
た。
However, in predictive coding, a decoded value is obtained by accumulating the prediction error. Therefore, if an error occurs in the coded output, the effect of the error is accumulated and error propagation occurs. Had.

【0009】[0009]

【課題を解決するための手段】本発明の第1の高能率符
号化方法は、標本化量子化された信号を入力データと
し、前記入力データの予測値を得、前記入力データと前
記予測値との差である予測誤差を求めるステップと、前
記予測誤差をその大きさに応じて分類し該当するカテゴ
リを表わすカテゴリ番号を出力するステップと、前記該
当するカテゴリの範囲を規定する所定の上限値と所定の
下限値との差より大なる所定値を除数として前記入力デ
ータを除算して剰余を得るステップと、前記カテゴリ番
号と前記剰余とを符号化して出力するステップとを備え
ていることを特徴とするものである。
A first high-efficiency encoding method according to the present invention uses a sampled and quantized signal as input data, obtains a predicted value of the input data, and obtains the input data and the predicted value. Obtaining a prediction error, which is a difference between the above, a step of classifying the prediction error according to its magnitude and outputting a category number representing a corresponding category, and a predetermined upper limit value defining a range of the corresponding category. And a step of dividing the input data to obtain a remainder with a predetermined value larger than a difference between the predetermined lower limit and a divisor, and a step of encoding and outputting the category number and the remainder. It is a feature.

【0010】また本発明の第2の高能率符号化方法は、
標本化量子化した信号であるデータを符号化入力とし、
前記入力データを所定数まとめてブロックを形成するス
テップと、ブロックのデータに所定の変換を行なってD
C係数とAC係数を求めてそれぞれを量子化するステッ
プと、前記量子化されたDC係数のデータDを符号化し
てDC符号化データを出力するステップと、前記量子化
されたAC係数を符号化してAC符号化データを出力す
るステップとを備え、前記DC符号化データを出力する
ステップが、前記データDとその予測値との差である予
測誤差を得、前記予測誤差をその大きさによりカテゴリ
に分類してカテゴリ番号を得、該当するカテゴリによっ
て定まる除数で前記データDを除算して剰余を得、前記
カテゴリ番号と前記剰余を符号化してDC符号化データ
を得ることを特徴とするものである。
[0010] A second high-efficiency encoding method according to the present invention comprises:
Data that is a sampled and quantized signal is used as an encoding input,
A step of forming a block by combining a predetermined number of the input data,
Obtaining a C coefficient and an AC coefficient and quantizing them; encoding the quantized DC coefficient data D to output DC encoded data; encoding the quantized AC coefficient Outputting the AC coded data, wherein the step of outputting the DC coded data obtains a prediction error which is a difference between the data D and its predicted value, and classifies the prediction error into a category according to its magnitude. To obtain a category number, divide the data D by a divisor determined by the corresponding category to obtain a remainder, and encode the category number and the remainder to obtain DC encoded data. is there.

【0011】また本発明の第1の高能率符号の復号方法
は、符号化するデータDとその予測値との差である予測
誤差を得、前記予測誤差をその大きさによりカテゴリに
分類してカテゴリ番号を得、該当するカテゴリによって
定まる除数で前記符号化するデータを除算して剰余を
得、前記カテゴリ番号と前記剰余を符号化して符号化デ
ータを得る高能率符号化方法によって得られた前記符号
化データを入力データとする高能率符号の復号方法であ
って、前記符号化データを復号して前記カテゴリ番号と
前記剰余とを得るステップと、すでに復号の完了した出
力データより予測値を得るステップと、前記カテゴリ番
号の示すカテゴリの予測誤差の範囲の上限値または下限
値の少なくとも一方と、前記カテゴリ番号より求まる除
数、および前記予測値とを用いて除数の整数倍のオフセ
ットを生成するステップと、前記オフセットと前記剰余
とを加算して新たな出力データを得るステップとを備
え、外部から制御信号が入力された場合には、予測値を
得るステップが前記制御信号により符号化時とは異なっ
た予測方法を行なって予測値を得、オフセットを生成す
るステップが、前記制御信号により復号して得られる出
力データが前記予測値と相関が高くなるようにオフセッ
トを生成することを特徴とするものである。
Further, according to the first high-efficiency code decoding method of the present invention, a prediction error which is a difference between data D to be encoded and a predicted value thereof is obtained, and the prediction errors are classified into categories according to their magnitudes. Obtain a category number, divide the data to be coded by a divisor determined by the corresponding category to obtain a remainder, and obtain the coded data by coding the category number and the remainder to obtain coded data. A method for decoding a high-efficiency code using coded data as input data, the method comprising: decoding the coded data to obtain the category number and the remainder; and obtaining a prediction value from already decoded output data. A step, at least one of an upper limit value and a lower limit value of a range of a prediction error of the category indicated by the category number, a divisor obtained from the category number, and the prediction Generating an offset that is an integral multiple of the divisor using: and obtaining the new output data by adding the offset and the remainder, when the control signal is input from the outside, the prediction The step of obtaining a value obtains a predicted value by performing a prediction method different from that at the time of encoding using the control signal, and the step of generating an offset includes a step of correlating output data obtained by decoding with the control signal with the predicted value. The offset is generated so that is higher.

【0012】また本発明の第2の高能率符号の復号方法
は、標本化量子化した信号であるデータを符号化入力と
し、前記入力データを所定数まとめてブロックを構成す
るステップと、ブロックのデータに所定の変換を行なっ
てDC成分とAC成分を求めてそれぞれを量子化するス
テップと、前記量子化されたDC成分のデータDを符号
化してDC符号化データを出力するステップと、前記量
子化されたAC成分を符号化してAC符号化データを出
力するステップとを備え、前記DC符号化データを出力
するステップが、前記データDとその予測値との差であ
る予測誤差を得、前記予測誤差をその大きさによりカテ
ゴリに分類してカテゴリ番号を得、該当するカテゴリに
よって定まる除数で前記データDを除算して剰余を得、
前記カテゴリ番号と前記剰余を符号化してDC符号化デ
ータを得ることを特徴とする高能率符号化方法の符号化
データを入力データとする高能率符号の復号方法であっ
て、前記AC符号化データを復号して量子化されたAC
成分を得るステップと、前記DC符号化データを復号し
て量子化されたDC成分を得るステップと、前記量子化
されたAC成分を逆量子化してAC成分を得るステップ
と、前記AC成分と前記DC成分に対し逆変換を行なっ
てブロック内の復号データを得るステップと、前記ブロ
ックを分解して前記符号化入力データと同じ並びの復号
データを得て出力する逆ブロック化ステップとを備え、
前記量子化されたDC成分を得るステップが、前記DC
符号化データを復号して前記カテゴリ番号と前記剰余と
を得るステップと、すでに復号済みの量子化データより
予測値を得るステップと、前記カテゴリ番号の示すカテ
ゴリの予測誤差の範囲の上限値または下限値の少なくと
も一方と、前記カテゴリ番号より求まる除数、および前
記予測値とを用いて除数の整数倍のオフセットを生成す
るステップと、前記オフセットと前記剰余とを加算して
新たな量子化データDを得るステップとを備え、外部か
ら制御信号が入力された場合、前記予測値を得るステッ
プが前記制御信号により符号化時とは異なった予測方法
を行い、前記オフセットを生成するステップが、前記制
御信号により復号中のブロックの復号データが復号中の
ブロックに隣接し、誤りの生じていないブロックの復号
データとの相関が最も高くなるようにオフセットを生成
することを特徴とするものである。
In a second method for decoding a high-efficiency code according to the present invention, data which is a sampled and quantized signal is used as an encoded input, and a predetermined number of the input data are combined to form a block; Performing a predetermined conversion on the data to obtain a DC component and an AC component and quantizing each of them; encoding the data D of the quantized DC component and outputting DC encoded data; Encoding the converted AC component and outputting AC encoded data, wherein the step of outputting the DC encoded data obtains a prediction error that is a difference between the data D and a prediction value thereof, The prediction error is classified into categories according to its magnitude to obtain a category number, the data D is divided by a divisor determined by the corresponding category to obtain a remainder,
A method of decoding a high-efficiency code using encoded data of the high-efficiency encoding method as input data, wherein the category number and the remainder are encoded to obtain DC encoded data, wherein the AC encoded data is And quantized AC
Obtaining the DC component, obtaining the quantized DC component by decoding the DC encoded data, dequantizing the quantized AC component to obtain the AC component, A step of performing inverse transformation on the DC component to obtain decoded data in the block, and a step of deblocking the block to obtain and output decoded data in the same order as the encoded input data,
Obtaining the quantized DC component comprises:
Decoding encoded data to obtain the category number and the remainder; obtaining a predicted value from the already decoded quantized data; and an upper limit or lower limit of a range of a prediction error of the category indicated by the category number. Generating an offset that is an integral multiple of the divisor using at least one of the values, the divisor obtained from the category number, and the predicted value; and adding the offset and the remainder to generate new quantized data D. Obtaining a predicted value, when the control signal is input from the outside, the step of obtaining the predicted value performs a different prediction method than at the time of encoding by the control signal, the step of generating the offset, the step of generating the offset, the control signal The decoded data of the block being decoded is adjacent to the block being decoded, and the correlation with the decoded data of the block in which no error has occurred is Is characterized in that to generate the offset to be higher.

【0013】[0013]

【作用】本発明の第1の高能率符号化方法は前記した構
成により、入力データの下位ビット情報を伝送している
ため、必ずしも誤り伝搬が生じなく、伝送誤り耐性を従
来の予測符号化方法より向上できるものである。
According to the first high-efficiency encoding method of the present invention, since the lower bit information of the input data is transmitted by the above-described configuration, error propagation does not always occur, and transmission error tolerance is reduced by the conventional predictive encoding method. It can be further improved.

【0014】本発明の第2の高能率符号化方法は前記し
た構成により、伝送誤り発生時、AC成分の相関をも用
いてDC成分の復号を行なうことにより誤差の大きな伝
送誤りを生じても正確に復号できる場合があり、誤り耐
性を大幅に向上できるものである。
According to the second high-efficiency encoding method of the present invention, when a transmission error occurs, the DC component is decoded by using the correlation of the AC component even when a transmission error occurs. In some cases, decoding can be performed accurately, and error resilience can be greatly improved.

【0015】また本発明の第1の高能率符号の復号方法
は前記した構成により、誤差の大きな伝送誤りが生じて
も伝送誤りのない復号データを用いて予測値を得、誤差
の小さい予測値が得られる場合には正確な復号を可能と
するものである。
According to the first high efficiency code decoding method of the present invention, a prediction value is obtained using decoded data having no transmission error even if a transmission error having a large error occurs, and a prediction value having a small error is obtained. Is obtained, accurate decoding is enabled.

【0016】また本発明の第2の高能率符号の復号方法
は前記した構成により、誤差の大きな伝送誤りがブロッ
クのDC成分に生じていても隣接ブロックのAC成分を
含んだ復号データ間の相関を用いてDC成分の精度の良
い予測値を得ることを可能とし、誤差の小さい復号を可
能とするものである。
Further, according to the second high efficiency code decoding method of the present invention, even if a transmission error having a large error occurs in the DC component of the block, the correlation between the decoded data including the AC component of the adjacent block can be obtained. Is used to obtain a highly accurate predicted value of the DC component, thereby enabling decoding with a small error.

【0017】[0017]

【実施例】まず本発明の符号化方法について以下に説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, an encoding method according to the present invention will be described below.

【0018】1.入力データDiの予測値Piを得、こ
れを入力データDiより引いて予測誤差Siを求める。
なおDiはi番目の入力データを表わし、以下において
添え字のiが添付された記号がDiに対応したデータで
あることを表している。
1. A predicted value Pi of the input data Di is obtained, and this is subtracted from the input data Di to obtain a prediction error Si.
Note that Di represents the i-th input data, and in the following, a symbol with a subscript i indicates that it is data corresponding to Di.

【0019】2.所定の分類表を用いて前記予測誤差S
iをその大きさにより分類する。前記予測誤差Siが属
する範囲を表わすカテゴリ番号Jiを求める。従ってカ
テゴリ番号Jiで示される予測誤差範囲の上限値、下限
値をそれぞれSXi、SNiとすれば次式
2. Using a predetermined classification table, the prediction error S
Classify i according to its size. A category number Ji representing the range to which the prediction error Si belongs is determined. Therefore, if the upper limit value and the lower limit value of the prediction error range indicated by the category number Ji are SXi and SNi, respectively,

【0020】[0020]

【数1】 (Equation 1)

【0021】が成立している。さらに前記カテゴリ番号
Jiと一対一に対応し、次式
The following holds. Further, it corresponds one-to-one with the category number Ji,

【0022】[0022]

【数2】 (Equation 2)

【0023】を満足する所定の除数データOUiを求め
る。 3.入力データDiを前記除数データOUiで除算して
剰余Eiを求める。すなわち次式
The predetermined divisor data OUi that satisfies is obtained. 3. The remainder Ei is obtained by dividing the input data Di by the divisor data OUi. That is,

【0024】[0024]

【数3】 (Equation 3)

【0025】が成立する。但しNiは商である。 4.前記カテゴリ番号Jiと前記剰余データEiとを符
号化する。
The following holds. However, Ni is a quotient. 4. The category number Ji and the remainder data Ei are encoded.

【0026】ここで前記予測誤差の分類表の一具体例を
(表1)に示す。
A specific example of the prediction error classification table is shown in Table 1.

【0027】[0027]

【表1】 [Table 1]

【0028】(表1)にはカテゴリ番号Jiとこれに対
応した予測誤差の範囲(SNi〜SXi)だけでなく、
除数データOUiおよび剰余データEiの語長Miを対
応させて示している。
Table 1 shows not only the category number Ji and the range of the prediction error corresponding to the category number Ji (SNi to SXi), but also
The word length Mi of the divisor data OUi and the remainder data Ei are shown in correspondence.

【0029】以上の説明により明かにしたように本発明
の符号化方法は、予測誤差の上位ビット情報である前記
カテゴリ番号と、入力データの下位ビット情報である剰
余データとを符号化し伝送するものである。
As apparent from the above description, the encoding method of the present invention encodes and transmits the category number which is the upper bit information of the prediction error and the residual data which is the lower bit information of the input data. It is.

【0030】次にこの復号方法について説明する。本発
明の符号化方法ではカテゴリ番号Jiと剰余データEi
を符号化して伝送している。データDiを得るためには
式(数3)で示されるように除数データOUi、剰余デ
ータEi、商データNiが必要である。カテゴリ番号J
iと除数データOUiとは一対一に対応しているので、
カテゴリ番号−除数データ変換表を用意しておき、これ
を用いることにより伝送されたカテゴリ番号Jiより除
数データEiが得られる。剰余データEiは伝送されて
いるので、商データNiが求まればデータDiが得られ
る。
Next, this decoding method will be described. In the encoding method of the present invention, the category number Ji and the remainder data Ei
Is encoded and transmitted. In order to obtain the data Di, the divisor data OUi, the remainder data Ei, and the quotient data Ni are necessary as shown by the equation (Equation 3). Category number J
Since i and the divisor data OUi correspond one-to-one,
A category number-divisor data conversion table is prepared, and by using this table, divisor data Ei can be obtained from the transmitted category number Ji. Since the remainder data Ei is transmitted, if the quotient data Ni is obtained, the data Di is obtained.

【0031】そこで必要となる商データNiを求める方
法について説明する。式(数1)に式(数3)を代入し
て予測誤差Siを消去すれば次式
A method for obtaining the necessary quotient data Ni will now be described. By substituting equation (3) into equation (1) and eliminating the prediction error Si, the following equation is obtained.

【0032】[0032]

【数4】 (Equation 4)

【0033】が得られる。さらに式(数4)に式(数
3)を代入してDiを消去すれば、次式
Is obtained. Further, by substituting equation (3) into equation (4) and eliminating Di, the following equation is obtained.

【0034】[0034]

【数5】 (Equation 5)

【0035】が得られる。予測値Piは復号済みのデー
タDiより求まり、SXi,SNiはカテゴリ番号Ji
と一対一に対応しているので変換表を予め作成してお
き、これを用いることによりカテゴリ番号Jiより求ま
る。さらに商データNiは整数であり、式(数5)の左
端の項と右端の項との差(SXi−SNi)/OUiは
式(数2)より1未満となるから、式(数5)を満足す
る商データNiは一意に決定できる。従って式(数5)
の左側の式を取り出した次式
Is obtained. The predicted value Pi is obtained from the decoded data Di, and SXi and SNi are the category numbers Ji.
Since a one-to-one correspondence is established, a conversion table is created in advance, and by using this, a conversion table is obtained from the category number Ji. Further, the quotient data Ni is an integer, and the difference (SXi−SNi) / OUi between the leftmost term and the rightmost term of the equation (Equation 5) is less than 1 than the equation (Equation 2). Can be uniquely determined. Therefore, equation (5)
The following expression extracted the expression on the left side of

【0036】[0036]

【数6】 (Equation 6)

【0037】を満足する最小の整数Niを求めるか、式
(数5)の右側の式を取り出した次式
A minimum integer Ni that satisfies the following expression is obtained, or the following expression obtained by extracting the expression on the right side of Expression (5)

【0038】[0038]

【数7】 (Equation 7)

【0039】を満足する最大の整数Niを求めればよ
い。すなわち式(数5)、式(数6)、式(数7)のど
の式を用いても商データNiを求めることができる。式
(数7)を用いる方法は、右辺の除算結果の小数部を切
り捨てるだけでよいので処理が最も簡単となる。
The maximum integer Ni that satisfies the above condition may be obtained. That is, the quotient data Ni can be obtained by using any of the equations (Equation 5), (Equation 6), and (Equation 7). The method using the equation (Equation 7) is the simplest in processing because it is only necessary to cut off the decimal part of the division result on the right side.

【0040】以上より得られた商データNiを式(数
3)に代入してデータDiが求まる、すなわち復号でき
る。復号方法をまとめると次のようになる。 1.前記符号化データを復号して前記カテゴリ番号Ji
と前記剰余データEiを求める。 2.既に復号して得たデータDk(但しkはiより小な
る整数)より予測値Piを得る。 3.前記カテゴリ番号Jiより除数データOUi、予測
誤差範囲の上限値SXiまたは予測誤差範囲の下限値S
Niを求める。 4.式(数7)または式(数6)または式(数5)を用
いて商データNiを求める。 5.式(数3)を用いてデータDiを求める。
By substituting the quotient data Ni obtained as described above into the equation (Equation 3), the data Di can be obtained, that is, decoded. The decoding method is summarized as follows. 1. Decoding the encoded data to obtain the category number Ji
And the remainder data Ei. 2. A predicted value Pi is obtained from data Dk (where k is an integer smaller than i) already obtained by decoding. 3. From the category number Ji, the divisor data OUi, the upper limit value SXi of the prediction error range or the lower limit value S of the prediction error range
Find Ni. 4. The quotient data Ni is obtained by using the equation (7), the equation (6), or the equation (5). 5. Data Di is obtained using the equation (Equation 3).

【0041】剰余データEiは除数データOUi未満で
あるので、その符号長Miは(log2 OUi)ビット
となる。これを最小とするには、すなわち符号化効率を
良くするには、式(数2)を満足する最小の値を除数デ
ータOUiとすればよい。また除数データOUiを2の
べき乗とすることにより剰余演算、除算が極めて簡単な
回路で実現でき、また前記符号長Miが整数値となるの
で剰余データEiを効率よく2進で符号化できる。すな
わち次式
Since the remainder data Ei is less than the divisor data OUi, its code length Mi is (log 2 OUi) bits. In order to minimize this, that is, to improve the coding efficiency, the minimum value that satisfies the equation (Equation 2) may be used as the divisor data OUi. Further, by setting the divisor data OUi to a power of 2, a remainder operation and division can be realized by a very simple circuit, and since the code length Mi is an integer value, the remainder data Ei can be efficiently encoded in binary. That is,

【0042】[0042]

【数8】 (Equation 8)

【0043】を満たすように除数データ、予測誤差の上
限値、下限値を設定すればよい。予測誤差の分類表(表
1)は、入力データDiの語長が8ビットである場合に
おいて、式(数8)を満たすように作成している。
The divisor data and the upper and lower limits of the prediction error may be set so as to satisfy the above. The prediction error classification table (Table 1) is prepared so as to satisfy Expression (Equation 8) when the word length of the input data Di is 8 bits.

【0044】(図1)は本発明の第1の高能率符号化方
法およびその復号方法を用いた第1の実施例における符
号化装置(図1(a))、復号装置(図1(b))のブ
ロック構成図である。入力データは画像をラスタースキ
ャンして得られるアナログの映像信号を標本化量子化し
たものである。
FIG. 1 shows an encoding device (FIG. 1A) and a decoding device (FIG. 1B) in the first embodiment using the first high-efficiency encoding method and the decoding method of the present invention. 2) is a block diagram of FIG. The input data is obtained by sampling and quantizing an analog video signal obtained by raster-scanning an image.

【0045】(図1(a))において101は符号化す
るデータDiの入力端子、102は予測値Piを得る予
測回路、103は前記入力データDiより前記予測値P
iを減じて予測誤差Siを得る減算回路、104は前記
予測誤差Siを入力としカテゴリ番号Jiを出力する分
類回路、105は前記カテゴリ番号Jiより除数データ
OUiを得る変換回路、106は前記データDiを前記
除数データOUiで除算して剰余データEiを得る剰余
演算回路、107は前記カテゴリ番号Ji、剰余データ
Eiを符号化して符号化データCiを得る第1の符号化
回路、108は前記符号化データCiの出力端子、10
9は前記カテゴリ番号Jiを符号化して符号化データC
Jiを得る第2の符号化回路、110は前記剰余データ
Eiを符号化して符号化データCEiを得る第3の符号
化回路、111は前記符号化データCJiと前記符号化
データCEiとを連結して符号化データCiを得る多重
化回路である。
In FIG. 1A, 101 is an input terminal of data Di to be encoded, 102 is a prediction circuit for obtaining a predicted value Pi, and 103 is a predictive value P based on the input data Di.
a subtraction circuit for subtracting i to obtain a prediction error Si; a classification circuit 104 for receiving the prediction error Si as input and outputting a category number Ji; a conversion circuit 105 for obtaining divisor data OUi from the category number Ji; Is a remainder operation circuit that divides the data by the divisor data OUi to obtain remainder data Ei, 107 is a first encoding circuit that encodes the category number Ji and the remainder data Ei to obtain coded data Ci, and 108 is a coding circuit that obtains coded data Ci. Output terminal for data Ci, 10
9 encodes the category number Ji and encodes the encoded data C
A second encoding circuit that obtains Ji, 110 is a third encoding circuit that encodes the residual data Ei to obtain encoded data CEi, and 111 connects the encoded data CJi and the encoded data CEi. Is a multiplexing circuit for obtaining encoded data Ci.

【0046】(図1(b))において、112は符号化
データCiの入力端子、113は前記符号化データCi
を復号化してカテゴリ番号Ji、剰余データEiを得る
第1の復号回路、114は番号Jiのカテゴリの予測誤
差範囲の上限値SXi、除数データOUiを得る変換回
路、115は商データNiを出力する商データ計算回
路、116は前記除数データOUi、前記商データNi
と前記剰余データEiよりデータDiを再生する合成回
路、117は前記データDiの出力端子、118はすで
に復号済みの前記データDk(kはiより小なる整数)
を用いてデータDiの予測値Piを出力する予測回路、
119は端子112からの符号化データCiを一時的に
蓄えるバッファメモリ、120は符号化データCiの先
頭部分に多重化されている符号化データCJiをバッフ
ァメモリ119より得て復号しカテゴリ番号Jiを得る
第2の復号回路、121は符号化データCiの残り部分
に多重化されている符号化データCEiをバッファメモ
リ119より得て復号し剰余データEiを得る第3の復
号回路、122は加算回路、123は加算回路122か
らの出力より前記剰余データEiを減算する減算回路、
124は減算回路123からの出力を前記除数データO
Uiで除算し、得られた結果の整数部のみを商データN
iとして出力する除算回路、125は前記除数データO
Uiと前記商データNiとを乗算してオフセットFiを
得る乗算回路、126は前記剰余データEiと前記オフ
セットFiを加算して新たな復号済みのデータDiを得
る加算回路である。
In FIG. 1B, reference numeral 112 denotes an input terminal of the encoded data Ci, and 113 denotes the encoded data Ci.
Is a first decoding circuit that obtains a category number Ji and remainder data Ei by decoding data, 114 is a conversion circuit that obtains the upper limit value SXi of the prediction error range of the category of the number Ji, and divisor data OUi, and 115 outputs quotient data Ni. The quotient data calculation circuit 116 includes the divisor data OUi and the quotient data Ni
And a combining circuit for reproducing data Di from the remainder data Ei, 117 is an output terminal of the data Di, and 118 is the already decoded data Dk (k is an integer smaller than i)
A prediction circuit that outputs a prediction value Pi of the data Di using
Reference numeral 119 denotes a buffer memory for temporarily storing the encoded data Ci from the terminal 112. Reference numeral 120 denotes encoded data CJi multiplexed at the head of the encoded data Ci from the buffer memory 119 and decodes the decoded data to obtain a category number Ji. A second decoding circuit 121 for obtaining the coded data CEi multiplexed with the remaining portion of the coded data Ci from the buffer memory 119 and decoding it to obtain the residual data Ei; , 123 are subtraction circuits for subtracting the remainder data Ei from the output from the addition circuit 122,
Reference numeral 124 denotes the output from the subtraction circuit 123 as the divisor data O
Ui, and divides only the integer part of the obtained result into quotient data N
a divider circuit for outputting as i, 125 is the divisor data O
A multiplication circuit 126 multiplies Ui by the quotient data Ni to obtain an offset Fi. An addition circuit 126 adds the remainder data Ei and the offset Fi to obtain new decoded data Di.

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

【0048】符号化装置において、端子101からの入
力データDiは予測回路102、減算回路103、剰余
演算回路106に入力される。予測回路102は前値予
測を行なっており、1つ前のデータDi-1 を保持する1
つのレジスタのみで構成され、予測値Pi=Di-1 を出
力する。
In the coding apparatus, input data Di from a terminal 101 is input to a prediction circuit 102, a subtraction circuit 103, and a remainder operation circuit 106. The prediction circuit 102 performs the previous value prediction, and holds 1 to hold the immediately preceding data Di- 1.
It is composed of only one register and outputs a predicted value Pi = Di-1 .

【0049】減算回路103は前記データDiより前記
予測値Piを減算して予測誤差Siを出力する。分類回
路104は前記予測誤差Siを入力とし(表1)に従っ
てその大きさにより分類し、該当する分類項を示すカテ
ゴリ番号Jiを出力する。変換回路105はROM(リ
ードオンリメモリ)で構成でき、(表1)に従って前記
カテゴリ番号Jiより除数データOUiまたはデータM
iを出力する。剰余演算回路106は前記データDiを
前記除数データOUiで除算しその剰余Eiを出力す
る。(表1)では除数データOUiを2のMi乗として
いるので、剰余演算回路106は前記データDiの下位
Miビットのみを取り出す簡単なゲート回路で実現でき
る。この場合変換回路105は除数データOUiの代わ
りに前記データMiを出力すればよい。
The subtraction circuit 103 subtracts the prediction value Pi from the data Di to output a prediction error Si. The classification circuit 104 receives the prediction error Si as an input, performs classification according to the size according to (Table 1), and outputs a category number Ji indicating a corresponding classification item. The conversion circuit 105 can be constituted by a ROM (Read Only Memory), and in accordance with (Table 1), the divisor data OUi or the data M from the category number Ji.
Output i. The remainder operation circuit 106 divides the data Di by the divisor data OUi and outputs the remainder Ei. In Table 1, since the divisor data OUi is 2 to the power of Mi, the remainder operation circuit 106 can be realized by a simple gate circuit that extracts only the lower Mi bits of the data Di. In this case, the conversion circuit 105 may output the data Mi instead of the divisor data OUi.

【0050】符号化回路109は前記カテゴリ番号Ji
をハフマン符号化(エントロピー符号化の一種)してビ
ットシリアル形式で出力する。この出力が符号化データ
CJiである。カテゴリ番号がJiとなる予測誤差の生
起確率とカテゴリ番号が−Jiとなる予測誤差の生起確
率はほぼ同じとなるので、この実施例においてはこの二
つのカテゴリに同じハフマンコードを割当て、どちらの
カテゴリかを示す1ビットのフラグGをハフマンコード
に付加したものを前記符号化データCJiとしている。
カテゴリ番号が0のとき前記フラグGは不用である。前
記フラグG=0のときカテゴリ番号は正であり、G=1
のときカテゴリ番号は負であるものとする。
The encoding circuit 109 determines the category number Ji
Is subjected to Huffman coding (a type of entropy coding) and is output in a bit serial format. This output is the encoded data CJi. Since the probability of occurrence of a prediction error having a category number of Ji is substantially the same as the probability of occurrence of a prediction error having a category number of -Ji, in this embodiment, the same Huffman code is assigned to these two categories. The coded data CJi is obtained by adding a 1-bit flag G indicating this to the Huffman code.
When the category number is 0, the flag G is unnecessary. When the flag G = 0, the category number is positive, and G = 1.
In this case, the category number is negative.

【0051】符号化回路110は前記カテゴリ番号Ji
により(表1)に示す剰余データEiのビット数Miを
求め、前記剰余データEiの下位Miビットをビットシ
リアル形式で出力する。この出力が符号化データCEi
である。剰余データEiの下位Miビットのみを出力す
るのは、剰余データEiがMiビットで表現できるから
である。多重化回路111は前記符号化データCJiの
後ろに前記符号化データCEiを接続して得られる符号
化データCiをビットシリアル形式で端子118より出
力する。以上の動作によりデータDiの符号化が実現さ
れる。
The encoding circuit 110 has the category number Ji
Thus, the number Mi of bits of the remainder data Ei shown in (Table 1) is obtained, and the lower Mi bits of the remainder data Ei are output in a bit serial format. This output is the encoded data CEi
It is. Only the lower Mi bits of the remainder data Ei are output because the remainder data Ei can be represented by Mi bits. The multiplexing circuit 111 outputs coded data Ci obtained by connecting the coded data CEi after the coded data CJi from a terminal 118 in a bit serial format. The above operation realizes the encoding of the data Di.

【0052】復号装置において、端子112からの符号
化データCiは一時的にバッファメモリ119に蓄えら
れる。
In the decoding device, the encoded data Ci from the terminal 112 is temporarily stored in the buffer memory 119.

【0053】まず復号回路120は、バッファメモリ1
19より符号長を判定しながら前記符号化データCJi
を読み込んで復号し、読み込んだ符号の符号語長L1と
カテゴリ番号Jiとを出力する。バッファメモリ119
は前記符号語長L1を受け取って前記符号化データCJ
iに続く前記符号化データCEiの先頭位置を求め、そ
の内部に有する読み出しポインタにセットする。
First, the decoding circuit 120
19 while determining the code length from the coded data CJi.
Is read and decoded, and the code word length L1 of the read code and the category number Ji are output. Buffer memory 119
Receives the code word length L1 and outputs the encoded data CJ
The head position of the coded data CEi following i is obtained and set to a read pointer contained therein.

【0054】続いて復号回路121は、復号回路120
からの前記カテゴリ番号Jiより(表1)に示す剰余デ
ータEiの語長Miを求め、バッファメモリ119より
Miビットの前記符号化データCEiを読み込み、上位
にデータ0を付加してビットパラレル形式のデータであ
る剰余データEiを再生する。
Subsequently, the decoding circuit 121
, The word length Mi of the remainder data Ei shown in (Table 1) is obtained from the category number Ji, and the Mi-bit coded data CEi is read from the buffer memory 119, and data 0 is added to the higher order to add bit 0 to the bit parallel format. The remainder data Ei, which is data, is reproduced.

【0055】バッファメモリ119は復号回路121か
らの前記語長Miを受け取って前記符号化データCEi
に続く次の符号化データCJiの先頭位置を求め、前記
読み出しポインタを更新して次のデータ復号に備える。
The buffer memory 119 receives the word length Mi from the decoding circuit 121 and receives the encoded data CEi.
Then, the start position of the next encoded data CJi following the above is obtained, and the read pointer is updated to prepare for the next data decoding.

【0056】変換回路114は例えばROMで構成で
き、前記カテゴリ番号Jiより(表1)に示す予測誤差
範囲の上限値SXiと除数データOUiを出力する。
The conversion circuit 114 can be constituted by a ROM, for example, and outputs the upper limit value SXi of the prediction error range and the divisor data OUi shown in (Table 1) from the category number Ji.

【0057】商データ計算回路115は前記剰余データ
Ei、前記SXiおよび予測回路118からの予測値P
iとを用いて式(数7)の右辺に示す計算を行ない、そ
の整数部である商データNiを出力する。
The quotient data calculation circuit 115 calculates the residual data Ei, the SXi, and the prediction value P from the prediction circuit 118.
The calculation shown on the right side of the equation (Equation 7) is performed using i and the quotient data Ni which is the integer part is output.

【0058】合成回路116は前記商データNi、前記
除数データOUiおよび前記剰余データEiを入力と
し、式(数3)に示す計算を行なってデータDiを再生
し、端子117より出力する。
The synthesizing circuit 116 receives the quotient data Ni, the divisor data OUi, and the remainder data Ei as inputs, performs a calculation represented by equation (3), reproduces data Di, and outputs the data Di from a terminal 117.

【0059】予測回路118は、符号化装置内の予測回
路102と同じ構成であり、前記データDiを入力とし
て前記予測値Piを出力する。以上の動作によりデータ
Diの復号が実現される。
The prediction circuit 118 has the same configuration as the prediction circuit 102 in the encoding device, and receives the data Di and outputs the predicted value Pi. With the above operation, the decoding of the data Di is realized.

【0060】次に具体的にデータ例をあげて本発明の動
作、効果を説明する。符号化装置においてこれより符号
化する入力データDiが46、すでに符号化の完了した
1つ前の入力データDi-1 が35であるとする。前記予
測回路102は予測値Pi=Di-1 =35を出力する。
前記減算回路103において予測誤差Si=46−35
=11が得られる。前記分類回路104において前記予
測誤差Si=11より(表1)に従ったカテゴリ番号J
i=4が得られる。
Next, the operation and effect of the present invention will be described with specific data examples. Input data Di to be coded from which the encoding device 46, already entered data D i-1 of the previous one has completed the coding is assumed to be 35. The prediction circuit 102 outputs a predicted value Pi = D i-1 = 35.
The prediction error Si = 46−35 in the subtraction circuit 103
= 11 is obtained. In the classification circuit 104, the category number J according to (Table 1) from the prediction error Si = 11
i = 4 is obtained.

【0061】変換回路105において前記カテゴリ番号
Jiを(表1)に従って2のべき乗である除数データO
Uiまたはその指数部データMi=3を出力する。剰余
演算回路106はデータDiを除数データOUi=2Mi
=8で割った剰余データEi=6を出力する。除数デー
タOUiは2のべき乗であるので通常の除算を行なう必
要はなく、データDiの下位Mi=3ビットのみを取り
出すのみで剰余データEiが得られる。
In the conversion circuit 105, the category number Ji is converted into a divisor data O which is a power of 2 according to (Table 1).
Ui or its exponent part data Mi = 3 is output. The remainder operation circuit 106 converts the data Di into divisor data OUi = 2 Mi
The remainder data Ei = 6 divided by = 8 is output. Since the divisor data OUi is a power of 2, ordinary division does not need to be performed, and the remainder data Ei can be obtained only by extracting only the lower three bits Mi = 3 of the data Di.

【0062】符号化回路109において前記カテゴリ番
号Jiはハフマン符号化される。Ji=4またはJi=
−4を表すハフマンコードが2進数3ビット長の”10
1”(以下において2進符号は””で囲んで示す。)と
すれば、カテゴリ番号Ji=4の符号化コードCJi
は”1010”となり、ビットシリアル形式で出力され
る。最後に付加された1ビットのデータ”0”はカテゴ
リ番号の正負を表すフラグGで、カテゴリ番号が正であ
ることを示している。
In the encoding circuit 109, the category number Ji is Huffman encoded. Ji = 4 or Ji =
The Huffman code representing -4 is "10" having a 3-bit binary number.
1 "(in the following, a binary code is enclosed by""), an encoded code CJi of category number Ji = 4
Becomes "1010" and is output in the bit serial format. The one-bit data “0” added last is a flag G indicating the positive / negative of the category number, indicating that the category number is positive.

【0063】符号化回路110において前記剰余データ
Ei=6はその下位Mi=3ビットがビットシリアル形
式で出力されて符号化データCEi”110”となる。
多重化回路111において前記符号化データCJi”1
010”の後に前記符号化データCEi”110”が付
加されて符号化データCi=”1010110”とな
り、その左端(最上位ビット)からビットシリアル形式
で端子118より出力される。
In the encoding circuit 110, the lower-order Mi = 3 bits of the remainder data Ei = 6 are output in a bit serial format to become encoded data CEi "110".
In the multiplexing circuit 111, the encoded data CJi "1
After the 010 ", the coded data CEi" 110 "is added to make the coded data Ci =" 1010110 ", which is output from the terminal 118 in a bit serial form from the left end (most significant bit).

【0064】復号装置において端子112からの符号化
データは一旦バッファメモリ119にビットシリアル形
式で蓄えられる。現在データDi-1 =35まで復号が完
了しており、これより符号化データCiよりデータDi
を復号するものとする。
In the decoding device, the encoded data from the terminal 112 is temporarily stored in the buffer memory 119 in a bit serial format. The decoding has been completed up to the current data D i-1 = 35, and the data Di
Is to be decrypted.

【0065】復号回路120はバッファメモリ119内
のポインタが示すメモリアドレスよりビットシリアル形
式で符号化データCiを読み込む。復号回路120は符
号化データCiの先頭ビットより”101”まで読み込
んだ時点で符号化データCJiの符号長LJが4ビット
であることが検知でき、さらにJiが0でない場合付加
されている1ビットのフラグGを読み込む。すなわち4
ビットの符号化データCJi=”1010”すべてが読
み込まれる。フラグG=0はカテゴリ番号Jiが正であ
ることを示すので、復号回路120はカテゴリ番号Ji
=4を出力する。
The decoding circuit 120 reads the encoded data Ci in the bit serial format from the memory address indicated by the pointer in the buffer memory 119. The decoding circuit 120 can detect that the code length LJ of the coded data CJi is 4 bits at the time of reading from the first bit of the coded data Ci to “101”, and if Ji is not 0, the added 1 bit Is read. That is, 4
All the encoded data bits CJi = "1010" are read. Since the flag G = 0 indicates that the category number Ji is positive, the decoding circuit 120 sets the category number Ji
= 4 is output.

【0066】続いて復号回路121は、前記復号された
カテゴリ番号Ji=4を受けて(表1)にしたがってM
i=3ビット分前記バッファメモリ119からデータを
読み込むことにより符号化データCEi=”110”を
得、これをパラレル形式に変換し、上位ビットに0を付
加することにより剰余データEi=6を得、出力する。
なおバファメモリ119のポインタは更新されて次の符
号化データCi+1 の先頭メモリ番地を示している。
Subsequently, the decoding circuit 121 receives the decoded category number Ji = 4 and obtains M according to (Table 1).
By reading data from the buffer memory 119 for i = 3 bits, coded data CEi = “110” is obtained. This is converted into a parallel format, and 0 is added to upper bits to obtain remainder data Ei = 6. ,Output.
The pointer of the buffer memory 119 is updated to indicate the head memory address of the next encoded data Ci + 1 .

【0067】変換回路114は(表1)に従ってカテゴ
リ番号Ji=4のカテゴリにおける予測誤差範囲の上限
値SXi=15および2のべき乗である除数データOU
iの指数部Miを出力する。
The conversion circuit 114 calculates the divisor data OU which is the upper limit value SXi of the prediction error range in the category of the category number Ji = 4 and which is a power of 2 according to (Table 1).
Output the exponent part Mi of i.

【0068】商データ計算回路115は、予測回路11
8からの予測値Pi=Di-1 =35と前記上限値SXi
=15とを加算した後、前記剰余データEi=6を減算
し、さらに除数データOUi=2Mi=8で除算して商デ
ータNi=5を得、出力する。
The quotient data calculation circuit 115 includes the prediction circuit 11
Predicted value from 8 Pi = D i-1 = 35 and the upper limit value SXi
Then, the remainder data Ei = 6 is subtracted and further divided by the divisor data OUi = 2 Mi = 8 to obtain and output quotient data Ni = 5.

【0069】合成回路116は前記商データNi=5に
除数データOUi=2Mi=8を掛けてオフセットFiを
得、これに剰余データEi=6を加算することにより復
号の完了したデータDi=46を得、端子117より出
力する。以上でデータDiの復号が完了する。
The combining circuit 116 multiplies the quotient data Ni = 5 by the divisor data OUi = 2 Mi = 8 to obtain an offset Fi, and adds the remainder data Ei = 6 to the decoded data Di = 46. And output from the terminal 117. Thus, the decoding of the data Di is completed.

【0070】ところで除数データOUiは2のべき乗で
あるので、除算回路124は通常の除算を行なわう必要
はなく、データDiの下位Mi=3ビットを除去するこ
とにより商データNiが得られ、乗算回路125は通常
の乗算を行なう必要はなく、商データNiの下位にMi
ビットの0を付加するだけで乗算結果であるオフセット
Fiが得られる。さらに加算器126において一方の入
力である剰余データEiは下位Miビット以外は0であ
り、他方の入力であるオフセットFiはその下位Miビ
ットが0であるので、通常の加算を行なう必要はなく、
オフセットFiの下位Miビットを剰余データEiの下
位Miビットで置き換えるだけでよい。従って除算器1
24、乗算器125、加算器126はまとめて極めて簡
単な回路すなわち加算器123の出力の下位Miビット
を剰余データEiの下位Miビットで置き換え、これを
復号済みのデータDiとして出力する回路で実現でき
る。
Since the divisor data OUi is a power of 2, the division circuit 124 does not need to perform ordinary division, and the quotient data Ni is obtained by removing the lower three bits Mi = 3 of the data Di. The circuit 125 does not need to perform normal multiplication, and Mi is placed below the quotient data Ni.
The offset Fi, which is the result of the multiplication, can be obtained simply by adding 0 to the bit. Further, in the adder 126, the remainder data Ei, which is one input, is 0 except for the lower Mi bits, and the offset Fi, which is the other input, has lower Mi bits of 0. Therefore, it is not necessary to perform normal addition.
It is only necessary to replace the lower Mi bits of the offset Fi with the lower Mi bits of the remainder data Ei. Therefore, divider 1
24, the multiplier 125, and the adder 126 are implemented by a very simple circuit, that is, a circuit that replaces the lower Mi bits of the output of the adder 123 with the lower Mi bits of the remainder data Ei and outputs this as decoded data Di. it can.

【0071】つぎに1つ前のデータDi-1 =36が伝送
誤りによって比較的誤差の小さい値の31と復号されて
いた場合の復号を考える。予測値Pi=Di-1 であるの
で、従来の予測符号化であれば必ず誤り伝搬を生じる。
しかしながら実際に本発明の高能率符号化方法の復号を
行なってみるとDi=46と正しい結果が得られる。す
なわち誤り伝搬を生じていない。これは復号のため式
(数7)または式(数5)または式(数6)を用いて商
データNiを求めるが、これらの式で使用する予測値P
iが符号化時の予測値とある範囲の誤差を有していても
正しい商データNiが得られるからである。式(数7)
によればDi=46の場合予測値Piが31以上38以
下であれば正しい商データNi=5が得られることがわ
かる。
Next, decoding in the case where the immediately preceding data D i-1 = 36 has been decoded to a value 31 with a relatively small error due to a transmission error will be considered. Since the predicted value Pi = D i−1 , error propagation always occurs in the case of conventional predictive coding.
However, when the high-efficiency encoding method of the present invention is actually decoded, a correct result of Di = 46 is obtained. That is, no error propagation occurs. This means that the quotient data Ni is obtained by using equation (7), equation (5) or equation (6) for decoding, and the predicted value P used in these equations is obtained.
This is because correct quotient data Ni can be obtained even if i has a certain range of error from the prediction value at the time of encoding. Equation (Equation 7)
According to this, when Di = 46 and the predicted value Pi is 31 or more and 38 or less, correct quotient data Ni = 5 can be obtained.

【0072】以上のように、本実施例によれば必ずしも
誤り伝搬を生じないので伝送誤り耐性を大幅に改善でき
る。また除数データを2のべき乗とすることにより、本
発明の符号化装置は従来の予測符号化装置と同程度の小
さな回路規模で実現できる。
As described above, according to the present embodiment, error propagation does not always occur, so that transmission error resistance can be greatly improved. Further, by setting the divisor data to a power of 2, the encoding apparatus of the present invention can be realized with a circuit size as small as that of a conventional predictive encoding apparatus.

【0073】以上の実施例においては剰余データを単純
な2進符号のままその下位Miビットを切り出して符号
化していたが、グレイコードに変換した後に符号化すれ
ばより誤り耐性を向上できる。なぜならグレイコードは
1ビット誤りによる誤差が1レベルと小さくできるから
である。例外的に剰余データの上限値が下限値になる、
またはその逆の場合があるが、この場合商データNiを
+1、または−1する補正により修整可能である。
In the above embodiment, the residual data is cut out and coded by converting the lower-order Mi bits into a simple binary code. However, if the data is coded after being converted into a gray code, the error resistance can be further improved. This is because the gray code can reduce an error due to a one-bit error to one level. Exceptionally, the upper limit of the remainder data becomes the lower limit,
In the case where the quotient data Ni is corrected by +1 or -1, the correction can be made.

【0074】予測に用いる復号値が伝送誤りによってか
なり大きな誤差を有する場合、符号化時と同じ予測方法
では誤差の大きい予測値Piしか得られず、もはや正し
い復号値は得られない。しかし伝送誤りの影響を受けて
いない別の復号値を用いる予測方法すなわち符号化時と
は異なった予測方法により誤差の小さい予測値Pi’が
得られれば、正しい復号が可能である。なぜなら本発明
の符号化方法は予測誤差の上位ビット情報(カテゴリ番
号Ji)と符号化するデータの下位ビット情報(剰余デ
ータEi)とを符号化して伝送しており、式(数3)に
おいてただ1つの未知数である商データNiを求めれ
ば、正しい復号データDiが得られるからである。特に
除数データOUi大きい場合、商データNiの存在範囲
が狭くなるのでその決定が容易となる。
When a decoded value used for prediction has a considerably large error due to a transmission error, only the predicted value Pi having a large error can be obtained by the same prediction method as used for encoding, and a correct decoded value can no longer be obtained. However, if a prediction value Pi ′ having a small error can be obtained by a prediction method using another decoded value that is not affected by a transmission error, that is, a prediction method different from that at the time of encoding, correct decoding is possible. This is because the encoding method of the present invention encodes and transmits upper bit information (category number Ji) of prediction error and lower bit information (remainder data Ei) of data to be encoded. This is because if the quotient data Ni, which is one unknown, is obtained, correct decoded data Di can be obtained. In particular, when the divisor data OUi is large, the range of the quotient data Ni is narrowed, so that the determination is easy.

【0075】前記予測値Pi’を用いた復号方法すなわ
ち本発明の第1の高能率符号の復号方法を用いた第2の
実施例の復号装置について述べるが、まずはじめにこの
復号方法について説明する。なお符号化データは前記第
1の実施例の符号化装置の出力の符号化データCiとす
る。
The decoding method using the predicted value Pi ', that is, the decoding apparatus of the second embodiment using the first high-efficiency code decoding method of the present invention will be described. First, this decoding method will be described. The coded data is coded data Ci output from the coding apparatus according to the first embodiment.

【0076】前記第1の実施例における入力データは画
像信号で、符号化時には画像の水平方向に前値予測を行
なって予測値Piを得ている。画像信号は2次元方向
(動画の場合時間軸方向を含む3次元方向)に相関を持
っており、例えばデータDiが1ライン前の復号済みの
データDi-H (但し、Hは1ライン中の画素数を表わ
す)との相関が強い、すなわち垂直相関が強い場合、垂
直方向に前値予測(符号化時とは異なった予測方法)を
行なうことにより誤差の小さい予測値Pi’(=D
i-H )を得ることが可能である。従って誤差の小さい前
記予測値Pi’が得られる場合、データDiと予測値P
i’との誤差が小さくなるように商データNiを定め、
すなわち次式
The input data in the first embodiment is
The image signal is used to predict the previous value in the horizontal direction of the image during encoding.
To obtain the predicted value Pi. Image signal is two-dimensional
(3D direction including the time axis direction for moving images)
For example, the data Di is one line before the decoded
Data DiH (However, H represents the number of pixels in one line.
Is strong, that is, if the vertical correlation is strong,
Pre-value prediction (predictive method different from encoding) in the direct direction
By doing so, the predicted value Pi '(= D
iH ) Is possible. Therefore before the error is small
When the predicted value Pi 'is obtained, the data Di and the predicted value P
The quotient data Ni is determined so that the error from i ′ is small,
That is,

【0077】[0077]

【数9】 (Equation 9)

【0078】を満足するNiを求め、これを式(数3)
に代入することにより高い確率で正しいデータDiが再
生できる。
Ni that satisfies the following equation is obtained, and this is calculated by the equation (Equation 3).
, The correct data Di can be reproduced with a high probability.

【0079】そこで復号済みのデータに伝送誤りによっ
て誤差の大きなもの発生していることが検出し、かつデ
ータDiの垂直相関が強いことを検出して制御信号を発
生する回路を設けておき、前記制御信号の発生しない通
常時は第1の実施例の復号装置と同じく、符号化時と同
じ予測方法による予測値Piを用いて復号を行い、前記
制御信号が発生したときは符号化時とは異なる予測方法
による前記予測値Pi’を用いた前記復号方法を行なう
ことにより伝送誤りにより強い復号装置が実現できる。
Therefore, a circuit is provided for detecting that a large error has occurred in the decoded data due to a transmission error and for detecting that the vertical correlation of the data Di is strong, and generating a control signal. At the normal time when no control signal is generated, decoding is performed using the predicted value Pi by the same prediction method as at the time of encoding, as in the decoding device of the first embodiment. By performing the decoding method using the prediction value Pi 'using a different prediction method, a decoding device that is more resistant to transmission errors can be realized.

【0080】前記本発明の高能率符号の復号方法を用い
た第2の実施例における復号装置について次に説明す
る。この復号装置は(図1)の復号装置における予測回
路118、商データ計算回路115をそれぞれ(図2)
に示す予測回路、(図3)に示す商データ計算回路に置
き換えたものであるので、復号装置の全体構成図は省略
する。
Next, a description will be given of a decoding apparatus according to a second embodiment using the high-efficiency code decoding method of the present invention. This decoding device includes a prediction circuit 118 and a quotient data calculation circuit 115 in the decoding device of FIG. 1 (FIG. 2).
And the quotient data calculation circuit shown in FIG. 3 (FIG. 3), so that the overall configuration of the decoding device is omitted.

【0081】(図2)において201は1つ前の復号済
みのデータを保持する1つのレジスタからなり1段のデ
ータ遅延を生じる遅延回路、202は前記レジスタ20
1の出力を入力とし、(H−1)段のデータ遅延を生じ
る遅延回路、203は前記制御信号の非発生時、遅延回
路201の出力を予測値Piとして出力し、前記制御信
号発生時のみ遅延回路202の出力を予測値Pi’とし
て出力するスイッチである。
In FIG. 2, reference numeral 201 denotes a delay circuit which is composed of one register for holding the immediately preceding decoded data and generates a one-stage data delay.
1 is an input, and a delay circuit for generating (H-1) -stage data delay, 203 outputs the output of the delay circuit 201 as the predicted value Pi when the control signal is not generated, and outputs the output only when the control signal is generated. This switch outputs the output of the delay circuit 202 as the predicted value Pi ′.

【0082】前記制御信号の入力されない通常時はスイ
ッチ203は符号化時と同じ水平方向の予測値Pi=D
i-1 を出力し、(図1)中の予測回路118と同じ動作
をおこなう。前記制御信号の発生時は符号化時とは異な
った予測すなわち垂直方向の前値予測を行なって予測値
Pi’=Di-H を出力する。
In the normal state where the control signal is not input, the switch 203 sets the same horizontal predicted value Pi = D as in the encoding.
i-1 is output, and the same operation as the prediction circuit 118 in FIG. 1 is performed. When the control signal is generated, a prediction different from that at the time of encoding, that is, a previous value prediction in the vertical direction is performed, and a predicted value Pi '= DiH is output.

【0083】(図3)において301は予測誤差範囲の
上限値SXiと(図2)に示す予測回路からの予測値P
iとを加算する加算回路、302は前記制御信号の非発
生時、加算回路301の出力を選択し、前記制御信号の
発生時、前記予測値Pi’を選択して出力するスイッ
チ、303は前記スイッチ303の出力より前記剰余デ
ータEiを引く減算回路、304は前記減算回路303
の出力を除数データOUiで割る除算回路、305は前
記除算回路303の出力に対し、前記制御信号の非発生
時は切捨て処理を行ない、前記制御信号発生時は四捨五
入処理を行なう丸め回路である。
In FIG. 3, reference numeral 301 denotes the upper limit value SXi of the prediction error range and the prediction value P from the prediction circuit shown in FIG.
i, an addition circuit for selecting the output of the addition circuit 301 when the control signal is not generated, and a switch for selecting and outputting the predicted value Pi ′ when the control signal is generated. A subtraction circuit for subtracting the remainder data Ei from the output of the switch 303;
305 is a rounding circuit that performs a rounding process on the output of the dividing circuit 303 when the control signal is not generated, and performs a rounding process on the output of the dividing circuit 303 when the control signal is generated.

【0084】前記制御信号の非発生時、入力の予測値は
符号化時と同じPiであり、加算回路303にはスイッ
チ302を介して加算回路301の出力が入力され、丸
め回路305は切捨て処理を行なうので(図1)中の商
データ計算回路115と同じ処理が行なわれる。前記制
御信号発生時、入力の予測値は垂直方向の予測を行なっ
た予測値Pi’であり、加算回路303にはスイッチ3
02を介して予測値Pi’が入力され、丸め回路305
は四捨五入を行なうので、復号出力であるデータDiと
予測値Pi’との誤差が最も小さくなる、すなわち式
(数9)を満足する商データNiを出力する。
When the control signal is not generated, the predicted value of the input is the same Pi as that at the time of encoding, the output of the adding circuit 301 is input to the adding circuit 303 via the switch 302, and the rounding circuit 305 Is performed, the same processing as in quotient data calculation circuit 115 in FIG. 1 is performed. When the control signal is generated, the predicted value of the input is a predicted value Pi ′ obtained by performing a prediction in the vertical direction.
02, the predicted value Pi ′ is input through the rounding circuit 305
Rounds off, the error between the decoded output data Di and the predicted value Pi ′ is minimized, that is, the quotient data Ni that satisfies the equation (Equation 9) is output.

【0085】前記求まった商データNiを用いて合成回
路116(図1)は式(数1)の演算が行なって復号済
みのデータDiを得、これを出力する。以上のように本
実施例によれば、伝送誤りにより誤差の大きな復号デー
タを生じ、かつ符号化時とは異なる予測方法により誤差
の小さい予測値Pi’が得られる場合のみ第1の実施例
における復号装置とは異なった復号方法により、すなわ
ち前記予測値Pi’との相関が高くなるように商データ
Niを定めて復号することにより、復号データを得てい
るので、より高い確率で正しく復号でき、従来より誤り
耐性が大幅に向上できるものである。
Using the obtained quotient data Ni, the combining circuit 116 (FIG. 1) obtains the decoded data Di by performing the operation of the equation (Equation 1) and outputs this. As described above, according to the present embodiment, decoded data having a large error is generated due to a transmission error, and only when a predicted value Pi ′ having a small error is obtained by a prediction method different from that at the time of encoding, the first embodiment is not used. Since the decoded data is obtained by a decoding method different from that of the decoding device, that is, by determining and decoding the quotient data Ni so that the correlation with the predicted value Pi 'is high, the decoded data can be correctly decoded with a higher probability. Thus, the error resilience can be greatly improved as compared with the related art.

【0086】また伝送誤りを生じたデータDmと前記制
御信号により復号されたデータDiとの間のデータDr
(但しm<r<i)はデータDiを用いてrが減少する
方向すなわち逆方向に復号することにより正しく復号す
ることが可能であり、この復号方法を併用すれば、誤り
伝搬領域をより小さくすることが可能である。
The data Dr between the data Dm in which the transmission error has occurred and the data Di decoded by the control signal.
(However, m <r <i) can be correctly decoded by decoding in the direction in which r decreases, that is, in the reverse direction, using the data Di. If this decoding method is used together, the error propagation area can be made smaller. It is possible to

【0087】逆方向の復号すなわちデータDi+1からデ
ータDiの復号は次のような方法により可能である。す
なわち次式
The decoding in the reverse direction, that is, the decoding of data Di from data Di + 1 can be performed by the following method. That is,

【0088】[0088]

【数10】 (Equation 10)

【0089】を満たすように商データNiを求め、式
(数3)に求めた前記商データNi、カテゴリ番号Ji
より求まる除数データOUi、伝送された剰余データE
iを代入することによりデータDiが求まる。
The quotient data Ni is obtained so as to satisfy the condition, and the quotient data Ni and the category number Ji obtained by the equation (Equation 3) are obtained.
Divisor data OUi obtained from the transmitted remainder data E
Data Di is obtained by substituting i.

【0090】(図4)は本発明の第2の高能率符号化方
法およびその逆変換である第2の高能率符号の復号方法
を用いた第3の実施例における符号化装置(図4
(a))、復号装置(図4(b))のブロック構成図で
ある。入力データVは実施例1、2と同様、画像をラス
タースキャンして得られるアナログの映像信号を標本化
量子化したものである。
FIG. 4 shows an encoding apparatus (FIG. 4) according to a third embodiment using a second high-efficiency encoding method of the present invention and a second high-efficiency code decoding method which is an inverse transform thereof.
FIG. 5A is a block diagram of a decoding device (FIG. 4B). As in the first and second embodiments, the input data V is obtained by sampling and quantizing an analog video signal obtained by raster-scanning an image.

【0091】(図4(a))において401は符号化す
る前記データVの入力端子、402は入力データの並び
替えを行なって画像の水平方向8画素、垂直方向8画素
に区切った矩形領域であるブロック毎のデータDDi
(h)(但しhは0から63の整数)を出力するブロッ
ク化回路、403は前記データDDi(h)に対し水平
方向および垂直方向にそれぞれ8次のDCTを行なって
1つのDC係数DCi(添え字iはブロック番号iを表
わす。)、及び63個のAC係数ACi(k)(但しk
は1から63の整数)からなるDCT係数を出力するD
CT回路、404は前記DC係数DCiを所定の量子化
ステップサイズQdで量子化して(すなわちQdで割っ
て丸めて)データDiを得る量子化回路、405は(図
1)の符号化装置に等しく前記データDiを符号化して
符号化データCiを得る符号化回路、406は前記AC
係数ACi(k)を所定の量子化ステップサイズで量子
化してデータBi(k)を得る量子化回路、407は前
記量子化回路406からのデータBi(k)を2次元ハ
フマン符号化して符号化データAiを出力する符号化回
路、408は前記符号化データCiと前記符号化データ
Aiとを多重化した符号化データCCiを出力する多重
化回路、409は前記符号化データCCiを出力する端
子である。
In FIG. 4A, reference numeral 401 denotes an input terminal of the data V to be encoded, and 402 denotes a rectangular area obtained by rearranging the input data and dividing the image into eight pixels in the horizontal direction and eight pixels in the vertical direction. Data DDi for each block
(H) (where h is an integer from 0 to 63) is a blocking circuit that outputs an octal DCT to the data DDi (h) in the horizontal and vertical directions to obtain one DC coefficient DCi (h). Subscript i represents block number i), and 63 AC coefficients ACi (k) (where k
Is an integer from 1 to 63).
A CT circuit 404 is a quantization circuit which quantizes the DC coefficient DCi by a predetermined quantization step size Qd (that is, divides by Qd and rounds) to obtain data Di, and 405 is equivalent to the encoding device of FIG. An encoding circuit that encodes the data Di to obtain encoded data Ci;
A quantization circuit quantizes the coefficient ACi (k) at a predetermined quantization step size to obtain data Bi (k). A quantization circuit 407 encodes the data Bi (k) from the quantization circuit 406 by two-dimensional Huffman coding. An encoding circuit that outputs data Ai, 408 is a multiplexing circuit that outputs encoded data CCi obtained by multiplexing the encoded data Ci and the encoded data Ai, and 409 is a terminal that outputs the encoded data CCi. is there.

【0092】(図4(b))において410は符号化デ
ータCCiの入力端子、411は前記符号化データCC
iより前記符号化データCiと前記符号化データAiと
を分離する分離回路、412は前記符号化データCiを
復号してデータDiを得る復号回路、413は前記符号
化データAiを復号してデータBi(k)を得る復号回
路、414は前記データDiに前記量子化ステップサイ
ズQdを掛けて逆量子化を行なってDC係数の復号デー
タDCi’を得る逆量子化回路、415は復号回路41
3の出力データBi(k)に各所定の量子化ステップサ
イズを掛けてAC係数の復号値ACi’(k)を得る逆
量子化回路、416はDCT回路403の逆変換を行な
う逆DCT回路、417はタイミング調整用の遅延回
路、418は遅延回路を経た逆DCT出力と前記復号デ
ータDCi’とを加算してブロック単位の画像のデータ
DDi’(h)を得る加算回路、419はブロック単位
の画像データDDi’の並べ換えを行なって符号化前と
同じデータ並びの画像のデータを得る逆ブロック化回
路、420は逆ブロック回路からの復号済みの画像デー
タV’の出力端子である。
In FIG. 4B, reference numeral 410 denotes an input terminal of the coded data CCi, and 411 denotes an input terminal of the coded data CCi.
a separating circuit 412 for separating the coded data Ci and the coded data Ai from i, a decoding circuit 412 for decoding the coded data Ci to obtain data Di, and a 413 for decoding the coded data Ai to obtain data Di. A decoding circuit 414 for obtaining Bi (k) performs inverse quantization by multiplying the data Di by the quantization step size Qd to obtain decoded data DCi ′ of DC coefficients.
An inverse DCT circuit 416 for performing an inverse transform of the DCT circuit 403, and an inverse quantization circuit 416 for multiplying the output data Bi (k) by 3 with each predetermined quantization step size to obtain a decoded value ACi ′ (k) of the AC coefficient. 417 is a delay circuit for adjusting timing, 418 is an addition circuit that adds the inverse DCT output passed through the delay circuit and the decoded data DCi ′ to obtain data DDi ′ (h) of a block unit, and 419 is a block unit. A deblocking circuit 420 that rearranges the image data DDi 'to obtain image data having the same data sequence as before encoding, and 420 is an output terminal of decoded image data V' from the deblocking circuit.

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

【0094】符号化装置において、端子401からの画
像データVはブロック化回路402に入力される。ブロ
ック化回路402は前記画像データの並べ換えを行なっ
てブロック毎のデータDDi(h)を出力する。DCT
回路403は前記ブロック毎のデータDDi(h)に対
し8次の2次元DCTを行ない、1つのDC係数DCi
と63個のAC係数からなるACi(k)を出力する。
量子化回路404は前記DC係数DCiを所定の量子化
ステップサイズQdで量子化して(すなわちQdで割り
丸めて)量子化データDiを出力する。符号化回路40
5は(図1)の符号化装置に等しく前記データDCiを
符号化して符号化データCiを出力する。(図1)の符
号化装置と異なるのは入力が画像データの量子化値では
なく、8x8の64画素からなるブロックのDC係数
(平均値に等しい)を量子化したデータである点であ
る。対応を明確にするため(図1)と同じ記号Diを用
いている。量子化回路406はAC係数ACi(k)を
各係数毎に定められた所定の量子化ステップサイズQa
i(k)で量子化する。符号化回路407は量子化回路
406の出力Bi(k)を2次元ハフマン符号化して符
号化データAiを出力する。多重化回路408は前記符
号化データCiと前記符号化データAiとを多重化して
端子409より符号化データCCiを出力する。
In the encoding device, the image data V from the terminal 401 is input to the blocking circuit 402. The blocking circuit 402 rearranges the image data and outputs data DDi (h) for each block. DCT
The circuit 403 performs an eight-dimensional two-dimensional DCT on the data DDi (h) for each block to obtain one DC coefficient DCi.
And ACi (k) composed of 63 AC coefficients.
The quantization circuit 404 quantizes the DC coefficient DCi by a predetermined quantization step size Qd (ie, divides the DC coefficient DCi by Qd and rounds it) to output quantized data Di. Encoding circuit 40
5 encodes the data DCi and outputs encoded data Ci, as in the encoding device of FIG. The difference from the coding apparatus of FIG. 1 is that the input is not the quantized value of the image data but the data obtained by quantizing the DC coefficient (equal to the average value) of a block composed of 64 pixels of 8 × 8. The same symbol Di as in FIG. 1 is used to clarify the correspondence. The quantization circuit 406 converts the AC coefficient ACi (k) into a predetermined quantization step size Qa determined for each coefficient.
Quantize with i (k). The encoding circuit 407 subjects the output Bi (k) of the quantization circuit 406 to two-dimensional Huffman encoding and outputs encoded data Ai. The multiplexing circuit 408 multiplexes the coded data Ci and the coded data Ai and outputs coded data CCi from a terminal 409.

【0095】復号装置は(図4(a))に示す符号化回
路の逆変換を行なうブロック構成で実現できるが、誤差
の大きい復号値を生じる伝送誤り発生時でもより高い確
率で正しい復号を可能とするため(図4(b))に示す
ブロック構成としている。
The decoding device can be realized by a block configuration for performing an inverse transform of the encoding circuit shown in FIG. 4 (a). However, correct decoding can be performed with a higher probability even when a transmission error that causes a decoded value having a large error occurs. (FIG. 4B).

【0096】復号装置において端子410からの符号化
データCCiは分離回路411に入力される。分離回路
411は前記符号化データCCiを符号化データCiと
符号化データAiとに分離する。復号回路413は2次
元ハフマン符号化されている前記符号化データAiを復
号して量子化されたAC係数Bi(k)を得る。逆量子
化回路415は前記データBi(k)に各係数毎に定め
られた所定の量子化ステップQai(k)を掛けて逆量
子化を行いAC係数ACi’(k)を得る。逆DCT回
路416はDC係数入力を暫定値0としAC係数入力を
前記ACi’(k)として逆DCTを行なってブロック
の暫定の復号データ(AC成分データ)DTiを得る。
In the decoding device, the encoded data CCi from the terminal 410 is input to the separation circuit 411. The separation circuit 411 separates the coded data CCi into coded data Ci and coded data Ai. The decoding circuit 413 decodes the coded data Ai that has been subjected to the two-dimensional Huffman coding to obtain quantized AC coefficients Bi (k). The inverse quantization circuit 415 performs inverse quantization by multiplying the data Bi (k) by a predetermined quantization step Qai (k) determined for each coefficient to obtain an AC coefficient ACi ′ (k). The inverse DCT circuit 416 performs an inverse DCT with the DC coefficient input as the provisional value 0 and the AC coefficient input as ACi ′ (k) to obtain provisional decoded data (AC component data) DTi of the block.

【0097】復号回路412は前記第2の実施例の復号
装置と基本的には同じものであり、前記符号化データC
iを復号して量子化されたDC係数であるデータDiを
出力する。前記第2の実施例の復号回路と異なるのは予
測回路の構成が(図2)に示すものではなく、(図5)
に示すものであるという点である。この予測回路は、伝
送誤りのない通常の復号時、(図1)中の予測回路11
8や(図2)の予測回路と同じ処理を行なう、すなわち
符号化時と同じ予測値Pi=Di-1 (これは既に復号済
みのi番目のブロックのDC係数であり、このブロック
(i−1)は画像においてブロックiの左隣に位置して
いる)を出力するが、誤差の大きな誤りを検出されて外
部より制御信号が入力されると符号化時とは異なった予
測を行なって予測値Pi’を出力する。
The decoding circuit 412 is basically the same as the decoding device of the second embodiment, and
It decodes i and outputs data Di which is a quantized DC coefficient. The difference from the decoding circuit of the second embodiment is that the configuration of the prediction circuit is not shown in FIG. 2 but is shown in FIG.
This is shown in FIG. This predicting circuit is used for predicting circuit 11 in FIG. 1 during normal decoding without transmission errors.
8 or (FIG. 2), that is, the same prediction value Pi = D i-1 as that at the time of encoding (this is the DC coefficient of the already decoded i-th block, and this block (i -1) is output to the left of block i in the image), but when a large error is detected and a control signal is input from the outside, prediction different from that at the time of encoding is performed. The prediction value Pi 'is output.

【0098】前記予測値Pi’は、現在復号中のブロッ
クiの真上に隣接するブロック(i−H)のデータより
求めたものである。前記第2の実施例のように予測値P
i’=Di-H ’(但しHは画像の水平方向のブロック数
である。)としてもよいが、本実施例では予測値の精度
を向上させるため復号済みの画像データDDi-H ’より
予測値Pi’を求めている。この量子化したDC係数D
iに対する予測値Pi’を求める方法について説明す
る。
The predicted value Pi ′ is obtained from the data of the block (iH) immediately above the block i currently being decoded. The predicted value P as in the second embodiment
i ′ = D iH ′ (where H is the number of blocks in the horizontal direction of the image), but in this embodiment, the prediction value Pi is calculated from the decoded image data D iH ′ in order to improve the accuracy of the prediction value. 'Seeking. This quantized DC coefficient D
A method for obtaining the predicted value Pi ′ for i will be described.

【0099】ブロック(i−H)との境界に接するブロ
ックiの8個の画素データDDi’(q)(但しq=q
1,q2,...,q8)は、ブロック(i−H)との
距離が短いので、これらに対する予測値pi(q)がブ
ロック(i−H)内の画素データDDi-H ’より精度よ
く得られる。前記画素データDDi’(q)はブロック
のDC成分DCi’=Di・QdとAC成分であるDT
i(q)との和として表わせ、前記画素データDDi’
(q)と前記予測値pi(q)との差すなわち誤差をd
とすれば、次式
The eight pixel data DDi '(q) of the block i which is in contact with the block (i-H) (where q = q
1, q2,. . . , Q8) have a short distance from the block (i-H), so that the predicted value pi (q) for them can be obtained more accurately than the pixel data DDiH ′ in the block (i-H). The pixel data DDi ′ (q) includes a DC component DCi ′ = Di · Qd of a block and a DT that is an AC component.
i (q), the pixel data DDi ′
The difference between (q) and the predicted value pi (q),
Then

【0100】[0100]

【数11】 [Equation 11]

【0101】が成立する。前記誤差dを小さく、これを
0とすることにより量子化したDC成分Diの近似値す
なわち予測値Pi’が得られ、次式
Is satisfied. By making the error d small and setting it to 0, an approximate value of the quantized DC component Di, that is, a predicted value Pi ′ is obtained.

【0102】[0102]

【数12】 (Equation 12)

【0103】が成立する。なお本実施例においては、回
路構成を簡易とするため垂直方向の前置予測を行なって
前記予測値pi(q)を得ている。ブロックiの前記8
個の画素データDDi’(q)(但しq=q1,q
2,...,q8)にそれぞれ隣接するブロック(i−
H)内の8画素の復号データをDDi-H’(q)で表わ
せば、これらは前置予測における前記予測値pi(q)
に等しい。また1つのqについて式(数12)を計算す
るのみで予測値Pi’が得られるが、精度をより高める
ため8個のqについて(pi(q)−DTi(q))の
平均値を求め、これを量子化ステップサイズQdで割っ
たものを予測値Pi’としている。この予測値Pi’を
得る予測回路の構成およびその動作を(図5)を用いて
説明する。
Is established. In the present embodiment, the prediction value pi (q) is obtained by performing pre-prediction in the vertical direction in order to simplify the circuit configuration. 8 of block i
Pixel data DDi ′ (q) (where q = q1, q
2,. . . , Q8).
If the decoded data of 8 pixels in H) are represented by DD iH ′ (q), they are the predicted values pi (q) in the pre-prediction.
be equivalent to. The predicted value Pi ′ can be obtained only by calculating the equation (Equation 12) for one q, but the average value of (pi (q) −DTi (q)) is obtained for eight qs in order to further improve the accuracy. , Which is divided by the quantization step size Qd to obtain a predicted value Pi ′. The configuration and operation of the prediction circuit for obtaining the predicted value Pi 'will be described with reference to FIG.

【0104】(図5)において501は遅延回路で、デ
ータDiを入力とし1つ前のデータDi-1 を予測値Pi
として出力する。502は遅延回路で、復号済みのデー
タDDi’を入力とし、前記予測値pi(q)=DD
i-H ’(q)を出力する。503は減算回路で予測値p
i(q)とデータDTi(q)との差を求める。504
は平均化回路で、前記8つのqについて前記差の平均値
を出力し、量子化回路505はこれを量子化ステップサ
イズQdで割って(すなわち量子化を行って)予測値P
i’を出力する。506はスイッチで、前記制御信号が
入力されない通常時は前記予測値Piを出力し、し、前
記制御信号が入力される時は前記予測値Pi’を出力す
る。
In FIG. 5, reference numeral 501 denotes a delay circuit which receives data Di and inputs the immediately preceding data Di -1 to a predicted value Pi.
Output as Reference numeral 502 denotes a delay circuit which receives the decoded data DDi 'as an input and calculates the predicted value pi (q) = DD.
Output iH ′ (q). 503 is a subtraction circuit for predicting the value p
The difference between i (q) and data DTi (q) is obtained. 504
Is an averaging circuit, which outputs an average value of the difference for the eight qs, and a quantization circuit 505 divides the average value by a quantization step size Qd (that is, performs quantization) to obtain a prediction value P
Output i '. Reference numeral 506 denotes a switch which outputs the predicted value Pi during normal times when the control signal is not input, and outputs the predicted value Pi 'when the control signal is input.

【0105】これにより復号回路412は伝送誤り時に
も誤差の少ない復号データDiを出力する。なお予測値
Pi’を得るためにはDC係数の復号よりAC係数の復
号、逆DCTを先行させる必要があるため、復号回路4
12は内部にタイミング調整用の遅延回路を有してい
る。逆量子化回路414は前記データDiに前記量子化
ステップサイズQdを掛けてDC係数データDCi’を
出力する。加算回路418はタイミング調整用の遅延回
路417を経たデータDTiと前記データDCi’とを
加算してブロック毎の復号済みの画像データDDi’を
出力する。逆ブロック回路419は前記画像データDD
i’(h)の並べ換えを行なって符号化前のデータ並び
に戻して端子420より復号済みの画像データV’を出
力する。
As a result, the decoding circuit 412 outputs decoded data Di having a small error even when a transmission error occurs. In order to obtain the predicted value Pi ′, decoding of the AC coefficient and inverse DCT must precede decoding of the DC coefficient.
Reference numeral 12 internally has a delay circuit for adjusting timing. The inverse quantization circuit 414 multiplies the data Di by the quantization step size Qd and outputs DC coefficient data DCi ′. The addition circuit 418 adds the data DCi ′ passed through the delay circuit 417 for timing adjustment and the data DCi ′ to output decoded image data DDi ′ for each block. The inverse block circuit 419 is connected to the image data DD.
The data i ′ (h) is rearranged, and the data before encoding and the decoded image data V ′ are output from the terminal 420.

【0106】以上のように本実施例によれば、伝送誤り
により誤差の大きい復号データDiを生じてもブロック
間の画素データの相関を用いることにより高い確率で正
しい画像データの復号値が得られ、従来に比べて大幅に
誤り耐性が向上できるものである。
As described above, according to this embodiment, even if decoded data Di having a large error occurs due to a transmission error, a decoded value of correct image data can be obtained with a high probability by using the correlation of pixel data between blocks. Thus, error resilience can be greatly improved as compared with the related art.

【0107】以上の実施例においては可逆な符号化を行
なったが、例えば予測誤差が大きいところでは剰余デー
タEiの下位ビットを丸めて伝送することにより非可逆
な符号化方法も可能である。この場合、符号化装置と復
号装置における予測値を一致させるため、符号化装置内
にローカルの復号装置を設けその復号データより予測値
を作成する必要がある。本実施例のような可逆な符号化
においても前記ローカルの復号装置を設ける構成が可能
であることはもちろんである。
In the above embodiment, lossless encoding is performed. However, for example, where the prediction error is large, an irreversible encoding method is possible by rounding and transmitting lower bits of the remainder data Ei. In this case, it is necessary to provide a local decoding device in the encoding device and create a prediction value from the decoded data in order to match the prediction values in the encoding device and the decoding device. It is a matter of course that a configuration in which the local decoding device is provided can be used in the reversible encoding as in the present embodiment.

【0108】また本発明はこれら実施例に限定されるも
のではなく、予測方法は各種方法が適用でき、エントロ
ピー符号化方法として算術符号化等も適用でき、実施例
3のAC成分の求め方としてDCT以外に各種変換方
法、平均値分離ベクトル量子化など各種符号化方法が適
用できる。
The present invention is not limited to these embodiments, and various prediction methods can be applied, and arithmetic coding can be applied as an entropy coding method. In addition to DCT, various transform methods and various encoding methods such as quantization of average value separation vectors can be applied.

【0109】[0109]

【発明の効果】本発明は予測誤差の上位ビット情報と入
力データの下位ビット情報とを伝送することを特徴とす
る高能率符号化方法およびその逆変換を行なう復号方法
で、符号化効率を低下させることなく、伝送誤り耐性を
大幅に向上できるものであり、その実用的効果は大き
い。
According to the present invention, a high-efficiency encoding method characterized by transmitting high-order bit information of a prediction error and low-order bit information of input data and a decoding method for performing inverse transform thereof reduce the encoding efficiency. Without this, transmission error tolerance can be greatly improved, and its practical effect is great.

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

【図1】本発明の第1の高能率符号化方法およびその復
号方法を用いた第1の実施例における符号化装置および
復号装置のブロック構成図である。
FIG. 1 is a block diagram of an encoding device and a decoding device according to a first embodiment using a first high-efficiency encoding method and a decoding method thereof according to the present invention.

【図2】本発明の第1の高能率符号の復号方法を用いた
第2の実施例の復号装置における予測回路のブロック構
成図である。
FIG. 2 is a block diagram of a prediction circuit in a decoding device according to a second embodiment using the first high-efficiency code decoding method of the present invention.

【図3】本発明の第1の高能率符号の復号方法を用いた
第2の実施例の復号装置における商データ計算回路のブ
ロック構成図である。
FIG. 3 is a block diagram of a quotient data calculation circuit in a decoding apparatus according to a second embodiment using the first high-efficiency code decoding method of the present invention.

【図4】本発明の第2の高能率符号化方法およびその逆
変換である本発明の第2の高能率符号の復号方法を用い
た第3の実施例における符号化装置および復号装置のブ
ロック構成図である。
FIG. 4 is a block diagram of an encoding apparatus and a decoding apparatus according to a third embodiment using a second high-efficiency encoding method according to the present invention and a second high-efficiency code decoding method according to the present invention, which is the inverse transform thereof; It is a block diagram.

【図5】本発明の第3の実施例の復号装置における予測
回路のブロック構成図である。
FIG. 5 is a block diagram of a prediction circuit in a decoding device according to a third embodiment of the present invention.

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

101 符号化するデータDiの入力端子 102 予測回路 103 減算回路 104 分類回路 105 変換回路 106 剰余演算回路 107 符号化回路 108 符号化データCiの出力端子 112 符号化データCiの入力端子 113 復号回路 114 変換回路 115 商データ計算回路 116 合成回路 117 復号済みのデータDiの出力端子 118 予測回路 Reference Signs List 101 Input terminal of data Di to be encoded 102 Prediction circuit 103 Subtraction circuit 104 Classification circuit 105 Conversion circuit 106 Remainder arithmetic circuit 107 Encoding circuit 108 Output terminal of encoded data Ci 112 Input terminal of encoded data Ci 113 Decoding circuit 114 Conversion Circuit 115 quotient data calculation circuit 116 synthesis circuit 117 output terminal of decoded data Di 118 prediction circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H03M 7/38 H04N 1/41 H04N 7/13 G06F 15/66 330──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) H03M 7/38 H04N 1/41 H04N 7/13 G06F 15/66 330

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】標本化量子化された信号を入力データと
し、前記入力データの予測値を得、前記入力データと前
記予測値との差である予測誤差を求めるステップと、前
記予測誤差をその大きさに応じて分類し該当するカテゴ
リを表わすカテゴリ番号を出力するステップと、前記該
当するカテゴリの範囲を規定する所定の上限値と所定の
下限値との差より大なる所定値を除数として前記入力デ
ータを除算して剰余を得るステップと、前記カテゴリ番
号と前記剰余とを符号化して出力するステップとを備え
たことを特徴とする高能率符号化方法。
A step of obtaining a prediction value of the input data, obtaining a prediction error which is a difference between the input data and the prediction value, using the sampled and quantized signal as input data; Outputting a category number representing a corresponding category by classifying according to the size; and a predetermined value larger than a difference between a predetermined upper limit value and a predetermined lower limit value defining a range of the corresponding category as a divisor. A high-efficiency encoding method, comprising: dividing input data to obtain a remainder; and encoding and outputting the category number and the remainder.
【請求項2】除数を上限値と下限値の差に1を加えた値
とし、かつ前記除数が2のべき乗となるように各カテゴ
リの上限値と下限値とを設定することを特徴とする請求
項1記載の高能率符号化方法。
2. The method according to claim 1, wherein the divisor is a value obtained by adding 1 to the difference between the upper limit and the lower limit, and the upper limit and the lower limit of each category are set so that the divisor is a power of 2. The high-efficiency encoding method according to claim 1.
【請求項3】カテゴリ番号と剰余とを符号化して出力す
るステップが、カテゴリ番号をエントロピー符号化する
ステップと、剰余を除数の大きさに応じて可変長な符号
に変換するステップとを有することを特徴とする請求項
1記載の高能率符号化方法。
3. The step of encoding and outputting the category number and the remainder includes entropy encoding the category number and converting the remainder into a variable-length code according to the divisor size. 2. The high-efficiency encoding method according to claim 1, wherein:
【請求項4】カテゴリ番号と剰余とを符号化して出力す
るステップが、剰余をグレーコードに変換するステップ
を備えたことを特徴とする請求項1記載の高能率符号化
方法。
4. The high-efficiency encoding method according to claim 1, wherein the step of encoding and outputting the category number and the remainder includes a step of converting the remainder into a gray code.
【請求項5】符号化するデータDとその予測値との差で
ある予測誤差を得、前記予測誤差をその大きさによりカ
テゴリに分類してカテゴリ番号を得、該当するカテゴリ
によって定まる除数で前記符号化するデータを除算して
剰余を得、前記カテゴリ番号と前記剰余を符号化して符
号化データを得る高能率符号化方法によって得られた前
記符号化データを入力データとする高能率符号の復号方
法であって、前記符号化データを復号して前記カテゴリ
番号と前記剰余とを得るステップと、すでに復号の完了
した出力データより予測値を得るステップと、前記カテ
ゴリ番号の示すカテゴリの予測誤差の範囲の上限値また
は下限値の少なくとも一方と、前記カテゴリ番号より求
まる除数、および前記予測値とを用いて除数の整数倍の
オフセットを生成するステップと、前記オフセットと前
記剰余とを加算して新たな出力データを得るステップと
を備え、外部から制御信号が入力された場合には、予測
値を得るステップが前記制御信号により符号化時とは異
なった予測方法を行なって予測値を得、オフセットを生
成するステップが、前記制御信号により復号して得られ
る出力データが前記予測値と相関が高くなるようにオフ
セットを生成することを特徴とする高能率符号の復号方
法。
5. A prediction error, which is a difference between data D to be encoded and a predicted value thereof, the prediction errors are classified into categories according to their magnitudes, a category number is obtained, and a divisor determined by a corresponding category is obtained. Decoding the data to be coded to obtain a remainder, decoding the high-efficiency code using the coded data obtained by the high-efficiency coding method for obtaining the coded data by coding the category number and the remainder as input data A method of decoding the encoded data to obtain the category number and the remainder; obtaining a predicted value from output data that has already been decoded; and calculating a prediction error of the category indicated by the category number. Using at least one of the upper and lower limits of the range, the divisor obtained from the category number, and the predicted value, generating an offset that is an integral multiple of the divisor And obtaining the new output data by adding the offset and the remainder, and when a control signal is input from the outside, the step of obtaining a predicted value includes the steps of: Obtaining a predicted value by performing a prediction method different from the above, and generating an offset, wherein the offset is generated such that output data obtained by decoding by the control signal has a high correlation with the predicted value. A decoding method for a high efficiency code.
【請求項6】標本化量子化した信号であるデータを符号
化入力とし、前記入力データを所定数まとめてブロック
を形成するステップと、ブロックのデータに所定の変換
を行なってDC成分とAC成分を求めてそれぞれを量子
化するステップと、前記量子化されたDC成分のデータ
Dを符号化してDC符号化データを出力するステップ
と、前記量子化されたAC成分を符号化してAC符号化
データを出力するステップとを備え、前記DC符号化デ
ータを出力するステップが、前記データDとその予測値
との差である予測誤差を得、前記予測誤差をその大きさ
によりカテゴリに分類してカテゴリ番号を得、該当する
カテゴリによって定まる除数で前記データDを除算して
剰余を得、前記カテゴリ番号と前記剰余を符号化してD
C符号化データを得ることを特徴とする高能率符号化方
法。
6. A step of forming data as a sampled and quantized signal as an encoding input, forming a block by combining a predetermined number of the input data, and performing a predetermined conversion on the data of the block to obtain a DC component and an AC component. And quantizing each of them, encoding the data D of the quantized DC component and outputting DC encoded data, encoding the quantized AC component to generate AC encoded data And the step of outputting the DC encoded data obtains a prediction error that is a difference between the data D and a predicted value thereof, classifies the prediction error into a category according to its magnitude, and Number, and divides the data D by a divisor determined by a corresponding category to obtain a remainder, and encodes the category number and the remainder to obtain D.
A highly efficient encoding method characterized by obtaining C encoded data.
【請求項7】標本化量子化した信号であるデータを符号
化入力とし、前記入力データを所定数まとめてブロック
を構成するステップと、ブロックのデータに所定の変換
を行なってDC成分とAC成分を求めてそれぞれを量子
化するステップと、前記量子化されたDC成分のデータ
Dを符号化してDC符号化データを出力するステップ
と、前記量子化されたAC成分を符号化してAC符号化
データを出力するステップとを備え、前記DC符号化デ
ータを出力するステップが、前記データDとその予測値
との差である予測誤差を得、前記予測誤差をその大きさ
によりカテゴリに分類してカテゴリ番号を得、該当する
カテゴリによって定まる除数で前記データDを除算して
剰余を得、前記カテゴリ番号と前記剰余を符号化してD
C符号化データを得ることを特徴とする高能率符号化方
法の符号化データを入力データとする高能率符号の復号
方法であって、前記AC符号化データを復号して量子化
されたAC成分を得るステップと、前記DC符号化デー
タを復号して量子化されたDC成分を得るステップと、
前記量子化されたAC成分を逆量子化してAC成分を得
るステップと、前記AC成分と前記DC成分に対し逆変
換を行なってブロック内の復号データを得るステップ
と、前記ブロックを分解して前記符号化入力データと同
じ並びの復号データを得て出力する逆ブロック化ステッ
プとを備え、前記量子化されたDC成分を得るステップ
が、前記DC符号化データを復号して前記カテゴリ番号
と前記剰余とを得るステップと、すでに復号済みの量子
化データより予測値を得るステップと、前記カテゴリ番
号の示すカテゴリの予測誤差の範囲の上限値または下限
値の少なくとも一方と、前記カテゴリ番号より求まる除
数、および前記予測値とを用いて除数の整数倍のオフセ
ットを生成するステップと、前記オフセットと前記剰余
とを加算して新たな量子化データDを得るステップとを
備え、外部から制御信号が入力された場合、前記予測値
を得るステップが前記制御信号により符号化時とは異な
った予測方法を行い、前記オフセットを生成するステッ
プが、前記制御信号により復号中のブロックの復号デー
タが復号中のブロックに隣接し、誤りの生じていないブ
ロックの復号データとの相関が最も高くなるようにオフ
セットを生成することを特徴とする高能率符号の復号方
法。
7. A step of constructing a block by assembling a data which is a sampled and quantized signal as a coded input and combining the input data by a predetermined number, and performing a predetermined conversion on the data of the block to obtain a DC component and an AC component. And quantizing each of them, encoding the data D of the quantized DC component and outputting DC encoded data, encoding the quantized AC component to generate AC encoded data And the step of outputting the DC encoded data obtains a prediction error that is a difference between the data D and a predicted value thereof, classifies the prediction error into a category according to its magnitude, and Number, and divides the data D by a divisor determined by a corresponding category to obtain a remainder, and encodes the category number and the remainder to obtain D.
What is claimed is: 1. A method for decoding a high-efficiency code using coded data of a high-efficiency coding method characterized by obtaining C-coded data as input data, comprising: decoding an AC component quantized by decoding the AC-coded data. And decoding the DC encoded data to obtain a quantized DC component;
Dequantizing the quantized AC component to obtain an AC component; performing inverse transform on the AC component and the DC component to obtain decoded data in a block; A deblocking step of obtaining and outputting decoded data having the same arrangement as the encoded input data, wherein the step of obtaining the quantized DC component comprises: decoding the DC encoded data to obtain the category number and the remainder. Obtaining a predicted value from the already decoded quantized data, at least one of an upper limit or a lower limit of a range of a prediction error of a category indicated by the category number, and a divisor obtained from the category number, Generating an offset that is an integral multiple of the divisor using the predicted value and adding the offset and the remainder to form a new Obtaining a decoded data D, wherein, when a control signal is input from the outside, the step of obtaining the predicted value performs a different prediction method from that at the time of encoding by the control signal, and the step of generating the offset Generating an offset such that the decoded data of the block being decoded is adjacent to the block being decoded by the control signal and has the highest correlation with the decoded data of the block in which no error has occurred. Decoding method of efficiency code.
JP11600891A 1991-05-21 1991-05-21 High efficiency coding method and high efficiency code decoding method Expired - Fee Related JP2765268B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP11600891A JP2765268B2 (en) 1991-05-21 1991-05-21 High efficiency coding method and high efficiency code decoding method
US07/885,940 US5392037A (en) 1991-05-21 1992-05-20 Method and apparatus for encoding and decoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11600891A JP2765268B2 (en) 1991-05-21 1991-05-21 High efficiency coding method and high efficiency code decoding method

Publications (2)

Publication Number Publication Date
JPH04343576A JPH04343576A (en) 1992-11-30
JP2765268B2 true JP2765268B2 (en) 1998-06-11

Family

ID=14676548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11600891A Expired - Fee Related JP2765268B2 (en) 1991-05-21 1991-05-21 High efficiency coding method and high efficiency code decoding method

Country Status (1)

Country Link
JP (1) JP2765268B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7912122B2 (en) 2004-01-20 2011-03-22 Panasonic Corporation Picture coding method, picture decoding method, picture coding apparatus, picture decoding apparatus
ES2392437T3 (en) 2004-01-30 2012-12-10 Panasonic Corporation Video decoding procedure that uses adaptive quantization matrices
JP2007535191A (en) 2004-01-30 2007-11-29 松下電器産業株式会社 Image encoding method, image decoding method, image encoding device, image decoding device, and program
JP2014082541A (en) * 2012-10-12 2014-05-08 National Institute Of Information & Communication Technology Method, program and apparatus for reducing data size of multiple images including information similar to each other
JP2014082540A (en) * 2012-10-12 2014-05-08 National Institute Of Information & Communication Technology Method, program and apparatus for reducing data size of multiple images including information similar to each other, and data structure representing multiple images including information similar to each other
JP2014192702A (en) * 2013-03-27 2014-10-06 National Institute Of Information & Communication Technology Method, program and device for encoding a plurality of input image
JP2014192701A (en) * 2013-03-27 2014-10-06 National Institute Of Information & Communication Technology Method, program and device for encoding a plurality of input images

Also Published As

Publication number Publication date
JPH04343576A (en) 1992-11-30

Similar Documents

Publication Publication Date Title
JP3888597B2 (en) Motion compensation coding apparatus and motion compensation coding / decoding method
US6301392B1 (en) Efficient methodology to select the quantization threshold parameters in a DWT-based image compression scheme in order to score a predefined minimum number of images into a fixed size secondary storage
JP4865757B2 (en) Apparatus, image processing system, camera module, and image processing circuit for image processing using a limited number of bits
EP3379832A2 (en) Method and apparatus for entropy encoding and decoding video signal
JP3406546B2 (en) Decoding method for continuous images
JPH0937271A (en) Image compressing method
JPWO2012042646A1 (en) Moving picture coding apparatus, moving picture coding method, moving picture coding computer program, moving picture decoding apparatus, moving picture decoding method, and moving picture decoding computer program
US20110033126A1 (en) Method for improving the performance of embedded graphics coding
KR101037421B1 (en) Image data compression device, compression method, recording medium having program recorded, and image data decompression device, decompression method, and recording medium having program recorded
JP2754741B2 (en) Encoding device
US11475600B2 (en) Method and device for digital data compression
CN110896483A (en) Method for compressing and decompressing image data
CN111131828A (en) Image compression method and device
JP2007143176A (en) Compression method of motion vector
JP2765268B2 (en) High efficiency coding method and high efficiency code decoding method
JP2924416B2 (en) High efficiency coding method
JP4415651B2 (en) Image encoding apparatus and image decoding apparatus
DK1504408T3 (en) Arithmetic coding system and method
JP7121584B2 (en) Image encoding device and its control method and program
JP4241517B2 (en) Image encoding apparatus and image decoding apparatus
JP2011109172A (en) Video encoder and data processing method for the same
JP6635312B2 (en) Image processing apparatus and method
RU2765654C9 (en) Method and device for digital data compression
JP2856974B2 (en) Image coding device
KR20060127668A (en) Method for image compression

Legal Events

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