JPH04343576A - High-efficiency encoding method and high-efficiency code decoding method - Google Patents
High-efficiency encoding method and high-efficiency code decoding methodInfo
- Publication number
- JPH04343576A JPH04343576A JP3116008A JP11600891A JPH04343576A JP H04343576 A JPH04343576 A JP H04343576A JP 3116008 A JP3116008 A JP 3116008A JP 11600891 A JP11600891 A JP 11600891A JP H04343576 A JPH04343576 A JP H04343576A
- Authority
- JP
- Japan
- Prior art keywords
- data
- encoding
- predicted value
- encoded
- remainder
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Image Processing (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、映像、音声等のアナロ
グ信号を標本化量子化して得られるデータなどの情報量
を低減する高能率符号化方法および高能率符号の復号方
法に関するものである。[Field of Industrial Application] 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 methods for high-efficiency encoding, and there are also methods that combine these methods. Currently, high-efficiency encoding methods for images and audio are being standardized, and standardization of still image encoding methods is being promoted by JPEG, a subordinate organization of the International Organization for Standardization (ISO).
【0003】従来の高能率符号化方法としてJPEGの
高能率符号化方式であるDCT方式を例にあげて説明す
る(文献:テレビジョン学会誌Vol.44,No.2
(1990) pp158〜159)。[0003] As a conventional high-efficiency encoding method, the DCT method, which is a JPEG high-efficiency encoding method, will be explained as an example (Reference: Journal of the Television Society Vol. 44, No. 2).
(1990) pp158-159).
【0004】入力信号は標本化量子化された画像信号す
なわちディジタル画像データである。ラスタースキャン
の画素並びである画像データを画面の水平、垂直方向に
それぞれ8画素の矩形領域(これをブロックと称する)
に分割してブロック単位のデータ並びに変換する。これ
をブロック化と称する。ブロック毎に8次の2次元離散
コサイン変換(以下DCTと称する)を行ない、得られ
たDCT係数を各係数毎に定められた所定の量子化ステ
ップQで量子化する(すなわちQで除算し丸める)。量
子化されたDCT係数のAC係数は2次元ハフマン符号
化し、量子化されたDCT係数のDC係数は予測符号化
する。The input signal is a sampled and quantized image signal, ie, digital image data. Image data, which is a raster scan pixel arrangement, is formed into a rectangular area of 8 pixels each in the horizontal and vertical directions of the screen (this is called a block).
Divide into blocks and convert the data into blocks. 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 by a predetermined quantization step Q determined for each coefficient (that is, divided by Q and rounded). ). The AC coefficients of the quantized DCT coefficients are subjected to two-dimensional Huffman encoding, and the DC coefficients of the quantized DCT coefficients are predictively encoded.
【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 explained. The input data is the DC coefficient of the quantized DCT coefficient, which is converted into data Di (i=0, 1, 2
,3,. .. .. .. , i is the data number, which is equal to the block number). Predictive coding involves finding a predicted value Pi using coded input data, finding a prediction error Si that is the difference between the input data Di and the predicted value Pi, and encoding the prediction error Si. The prediction method is previous value prediction, in which the previous input data is used as the predicted value.
【0006】前記予測誤差Siの符号化方法について説
明する。前記予測誤差Siをその大きさにより所定のカ
テゴリに分類して該当するカテゴリの番号を得、これを
ハフマン符号化する。前記カテゴリ番号は前記予測誤差
の上位ビット情報に相当するものである。前記予測誤差
は前記カテゴリ番号によって定まるビット数Lだけその
下位ビットを切り出し、前記ハフマン符号化されたカテ
ゴリ番号に続けて出力する。すなわち予測誤差をその上
位ビット情報と下位ビット情報とに分けてそれぞれ符号
化している。なお予測誤差の下位Lビットをそのまま切
り出すと正の値と負の値とで重複する符号が生じるので
、前記予測誤差が負の場合予め1を減じた後、下位Lビ
ットを切り出している。[0006] A method of encoding the prediction error Si will be explained. The prediction errors Si are classified into predetermined categories according to their magnitudes, and the number of the corresponding category is obtained, which is then Huffman encoded. The category number corresponds to the upper bit information of the prediction error. As for the prediction error, the lower bits are cut out by the number L of bits determined by the category number, and are outputted following the Huffman encoded category number. That is, the prediction error is divided into upper bit information and lower bit information and encoded respectively. Note that if the lower L bits of the prediction error are cut out as they are, overlapping codes will occur for positive and negative values, so if the prediction error is negative, 1 is subtracted in advance, and then the lower L bits are cut out.
【0007】ハフマン符号化は生起確率の高いデータに
語長の短い符号を割当て、生起確率の低いデータには語
長の長い符号を割当てることにより符号量を平均的に少
なくする可逆な符号化方法である。隣合った入力データ
の相関は高く、予測誤差は0付近の値になる確率が高い
ので、予測誤差の絶対値の小さい範囲を表わすカテゴリ
番号に短い符号を割り当てることにより、高能率な符号
化が実現できる。Huffman encoding is a reversible encoding method that reduces the amount of codes on average by assigning codes with short word lengths to data with a high probability of occurrence and codes with long word lengths to data with low probability of occurrence. It is. Since the correlation between adjacent input data is high and there is a high probability that the prediction error will be around 0, highly efficient coding can be achieved by assigning a short code to the category number that represents the small range of the absolute value of the prediction error. realizable.
【0008】[0008]
【発明が解決しようとする課題】しかしながら予測符号
化は前記予測誤差を積算することにより復号値を得るた
め、符号化出力に誤りを生じると誤りの影響が蓄積され
、誤り伝搬を生じるという課題を有するものであった。[Problem to be Solved by the Invention] However, predictive coding obtains a decoded value by integrating the prediction errors, so when an error occurs in the encoded output, the influence of the error is accumulated and error propagation occurs. It was something that I had.
【0009】[0009]
【課題を解決するための手段】本発明の第1の高能率符
号化方法は、標本化量子化された信号を入力データとし
、前記入力データの予測値を得、前記入力データと前記
予測値との差である予測誤差を求めるステップと、前記
予測誤差をその大きさに応じて分類し該当するカテゴリ
を表わすカテゴリ番号を出力するステップと、前記該当
するカテゴリの範囲を規定する所定の上限値と所定の下
限値との差より大なる所定値を除数として前記入力デー
タを除算して剰余を得るステップと、前記カテゴリ番号
と前記剰余とを符号化して出力するステップとを備えて
いることを特徴とするものである。[Means for Solving the Problems] A first high-efficiency encoding method of the present invention uses a sampled and quantized signal as input data, obtains a predicted value of the input data, and combines the input data and the predicted value. , a step of classifying the prediction error according to its size and outputting a category number representing the applicable category, and a predetermined upper limit value defining the range of the applicable category. and a predetermined lower limit value, the input data is divided using a predetermined value as a divisor to obtain a remainder; and the step of encoding and outputting the category number and the remainder. This is a characteristic feature.
【0010】また本発明の第2の高能率符号化方法は、
標本化量子化した信号であるデータを符号化入力とし、
前記入力データを所定数まとめてブロックを形成するス
テップと、ブロックのデータに所定の変換を行なってD
C係数とAC係数を求めてそれぞれを量子化するステッ
プと、前記量子化されたDC係数のデータDを符号化し
てDC符号化データを出力するステップと、前記量子化
されたAC係数を符号化してAC符号化データを出力す
るステップとを備え、前記DC符号化データを出力する
ステップが、前記データDとその予測値との差である予
測誤差を得、前記予測誤差をその大きさによりカテゴリ
に分類してカテゴリ番号を得、該当するカテゴリによっ
て定まる除数で前記データDを除算して剰余を得、前記
カテゴリ番号と前記剰余を符号化してDC符号化データ
を得ることを特徴とするものである。[0010] A second high-efficiency encoding method of the present invention is
Data, which is a sampled and quantized signal, is used as an encoding input,
A step of forming a block by collecting a predetermined number of the input data, and performing a predetermined conversion on the data of the block.
a step of determining C coefficients and AC coefficients and quantizing each; a step of encoding the quantized DC coefficient data D to output DC encoded data; and encoding the quantized AC coefficient. and outputting AC encoded data, and the step of outputting the DC encoded data obtains a prediction error that is the difference between the data D and its predicted value, and categorizes the prediction error according to its size. The data D is divided by a divisor determined by the corresponding category to obtain a remainder, and the category number and the remainder are encoded to obtain DC encoded data. be.
【0011】また本発明の第1の高能率符号の復号方法
は、符号化するデータDとその予測値との差である予測
誤差を得、前記予測誤差をその大きさによりカテゴリに
分類してカテゴリ番号を得、該当するカテゴリによって
定まる除数で前記符号化するデータを除算して剰余を得
、前記カテゴリ番号と前記剰余を符号化して符号化デー
タを得る高能率符号化方法によって得られた前記符号化
データを入力データとする高能率符号の復号方法であっ
て、前記符号化データを復号して前記カテゴリ番号と前
記剰余とを得るステップと、すでに復号の完了した出力
データより予測値を得るステップと、前記カテゴリ番号
の示すカテゴリの予測誤差の範囲の上限値または下限値
の少なくとも一方と、前記カテゴリ番号より求まる除数
、および前記予測値とを用いて除数の整数倍のオフセッ
トを生成するステップと、前記オフセットと前記剰余と
を加算して新たな出力データを得るステップとを備え、
外部から制御信号が入力された場合には、予測値を得る
ステップが前記制御信号により符号化時とは異なった予
測方法を行なって予測値を得、オフセットを生成するス
テップが、前記制御信号により復号して得られる出力デ
ータが前記予測値と相関が高くなるようにオフセットを
生成することを特徴とするものである。[0011] Furthermore, the first high-efficiency code decoding method of the present invention obtains a prediction error that is the difference between data D to be encoded and its predicted value, and classifies the prediction error into categories according to its size. A category number is obtained, the data to be encoded is divided by a divisor determined by the corresponding category to obtain a remainder, and the category number and the remainder are encoded to obtain encoded data. A high-efficiency code decoding method using encoded data as input data, the method comprising the steps of decoding the encoded data to obtain the category number and the remainder, and obtaining a predicted value from output data that has already been decoded. a step of generating an offset of an integral multiple of the divisor using at least one of the upper limit value or the lower limit value of the prediction error range of the category indicated by the category number, a divisor determined from the category number, and the predicted value; and a step of adding the offset and the remainder to obtain new output data,
When a control signal is input from the outside, the step of obtaining a predicted value is to obtain a predicted value by performing a prediction method different from that used in encoding using the control signal, and the step of generating an offset is a step of obtaining a predicted value using the control signal. This method is characterized in that an offset is generated so that the output data obtained by decoding has a high correlation with the predicted value.
【0012】また本発明の第2の高能率符号の復号方法
は、標本化量子化した信号であるデータを符号化入力と
し、前記入力データを所定数まとめてブロックを構成す
るステップと、ブロックのデータに所定の変換を行なっ
てDC成分とAC成分を求めてそれぞれを量子化するス
テップと、前記量子化されたDC成分のデータDを符号
化してDC符号化データを出力するステップと、前記量
子化されたAC成分を符号化してAC符号化データを出
力するステップとを備え、前記DC符号化データを出力
するステップが、前記データDとその予測値との差であ
る予測誤差を得、前記予測誤差をその大きさによりカテ
ゴリに分類してカテゴリ番号を得、該当するカテゴリに
よって定まる除数で前記データDを除算して剰余を得、
前記カテゴリ番号と前記剰余を符号化してDC符号化デ
ータを得ることを特徴とする高能率符号化方法の符号化
データを入力データとする高能率符号の復号方法であっ
て、前記AC符号化データを復号して量子化されたAC
成分を得るステップと、前記DC符号化データを復号し
て量子化されたDC成分を得るステップと、前記量子化
されたAC成分を逆量子化してAC成分を得るステップ
と、前記AC成分と前記DC成分に対し逆変換を行なっ
てブロック内の復号データを得るステップと、前記ブロ
ックを分解して前記符号化入力データと同じ並びの復号
データを得て出力する逆ブロック化ステップとを備え、
前記量子化されたDC成分を得るステップが、前記DC
符号化データを復号して前記カテゴリ番号と前記剰余と
を得るステップと、すでに復号済みの量子化データより
予測値を得るステップと、前記カテゴリ番号の示すカテ
ゴリの予測誤差の範囲の上限値または下限値の少なくと
も一方と、前記カテゴリ番号より求まる除数、および前
記予測値とを用いて除数の整数倍のオフセットを生成す
るステップと、前記オフセットと前記剰余とを加算して
新たな量子化データDを得るステップとを備え、外部か
ら制御信号が入力された場合、前記予測値を得るステッ
プが前記制御信号により符号化時とは異なった予測方法
を行い、前記オフセットを生成するステップが、前記制
御信号により復号中のブロックの復号データが復号中の
ブロックに隣接し、誤りの生じていないブロックの復号
データとの相関が最も高くなるようにオフセットを生成
することを特徴とするものである。A second method of decoding a high-efficiency code according to the present invention includes the steps of using data as a sampled and quantized signal as an encoding input, and configuring a block by grouping a predetermined number of the input data; a step of performing a predetermined transformation on the data to obtain a DC component and an AC component and quantizing each; a step of encoding the quantized DC component data D to output DC encoded data; and outputting AC encoded data by encoding the encoded AC component, and the step of outputting the DC encoded data obtains a prediction error that is the difference between the data D and its predicted value, and the Classifying the prediction errors into categories according to their size to obtain a category number, dividing the data D by a divisor determined by the corresponding category to obtain a remainder;
A high-efficiency code decoding method using as input data encoded data of a high-efficiency encoding method characterized in that the category number and the remainder are encoded to obtain DC encoded data, the AC encoded data Decoded and quantized AC
a step of decoding the DC encoded data to obtain a quantized DC component; a step of dequantizing the quantized AC component to obtain an AC component; comprising a step of performing inverse transformation on a DC component to obtain decoded data in a block, and a deblocking step of decomposing the block to obtain and output decoded data in the same order as the encoded input data,
The step of obtaining the quantized DC component includes the step of obtaining the quantized DC component.
decoding encoded data to obtain the category number and the remainder; obtaining a predicted value from already decoded quantized data; and an upper or lower limit of a range of prediction errors for 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, a divisor found from the category number, and the predicted value; and adding the offset and the remainder to generate new quantized data D. and when a control signal is input from the outside, the step of obtaining the predicted value performs a prediction method different from that at the time of encoding using the control signal, and the step of generating the offset includes The offset is generated so that the decoded data of the block being decoded is adjacent to the block being decoded and has the highest correlation with the decoded data of the block in which no error has occurred.
【0013】[0013]
【作用】本発明の第1の高能率符号化方法は前記した構
成により、入力データの下位ビット情報を伝送している
ため、必ずしも誤り伝搬が生じなく、伝送誤り耐性を従
来の予測符号化方法より向上できるものである。[Operation] The first high-efficiency encoding method of the present invention has the above-described configuration and transmits the lower bit information of the input data, so error propagation does not necessarily occur, and transmission error resistance is improved compared to the conventional predictive encoding method. This is something that can be improved further.
【0014】本発明の第2の高能率符号化方法は前記し
た構成により、伝送誤り発生時、AC成分の相関をも用
いてDC成分の復号を行なうことにより誤差の大きな伝
送誤りを生じても正確に復号できる場合があり、誤り耐
性を大幅に向上できるものである。The second high-efficiency encoding method of the present invention has the above-described configuration, so that when a transmission error occurs, the correlation of the AC component is also used to decode the DC component, so that even if a transmission error with a large error occurs, In some cases, it can be decoded accurately, and error resistance can be greatly improved.
【0015】また本発明の第1の高能率符号の復号方法
は前記した構成により、誤差の大きな伝送誤りが生じて
も伝送誤りのない復号データを用いて予測値を得、誤差
の小さい予測値が得られる場合には正確な復号を可能と
するものである。Furthermore, the first high-efficiency code decoding method of the present invention has the above-described configuration, so that even if a transmission error with a large error occurs, a predicted value is obtained using decoded data without a transmission error, and a predicted value with a small error is obtained. If this is obtained, accurate decoding is possible.
【0016】また本発明の第2の高能率符号の復号方法
は前記した構成により、誤差の大きな伝送誤りがブロッ
クのDC成分に生じていても隣接ブロックのAC成分を
含んだ復号データ間の相関を用いてDC成分の精度の良
い予測値を得ることを可能とし、誤差の小さい復号を可
能とするものである。Further, the second high-efficiency code decoding method of the present invention has the above-described configuration, so that even if a transmission error with a large error occurs in the DC component of a block, the correlation between decoded data including AC components of adjacent blocks is maintained. It is possible to obtain a highly accurate predicted value of the DC component using the method, and it is possible to perform decoding with small errors.
【0017】[0017]
【実施例】まず本発明の符号化方法について以下に説明
する。[Embodiment] First, the encoding method of the present invention will be explained 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, symbols to which the subscript i is attached represent data corresponding to Di.
【0019】2.所定の分類表を用いて前記予測誤差S
iをその大きさにより分類する。前記予測誤差Siが属
する範囲を表わすカテゴリ番号Jiを求める。従ってカ
テゴリ番号Jiで示される予測誤差範囲の上限値、下限
値をそれぞれSXi、SNiとすれば次式2. The prediction error S using a predetermined classification table
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 and lower limits of the prediction error range indicated by the category number Ji are SXi and SNi, respectively, the following equation
【0020】[0020]
【数1】[Math 1]
【0021】が成立している。さらに前記カテゴリ番号
Jiと一対一に対応し、次式##EQU1## holds true. Furthermore, in one-to-one correspondence with the category number Ji, the following formula
【0022】[0022]
【数2】[Math 2]
【0023】を満足する所定の除数データOUiを求め
る。
3.入力データDiを前記除数データOUiで除算して
剰余Eiを求める。すなわち次式Predetermined divisor data OUi that satisfies the following is determined. 3. The input data Di is divided by the divisor data OUi to obtain a remainder Ei. That is, the following equation
【0024】[0024]
【数3】[Math 3]
【0025】が成立する。但しNiは商である。
4.前記カテゴリ番号Jiと前記剰余データEiとを符
号化する。##EQU1## holds true. 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) includes not only the category number Ji and the corresponding prediction error range (SNi to SXi), but also
The word lengths Mi of the divisor data OUi and the remainder data Ei are shown in correspondence.
【0029】以上の説明により明かにしたように本発明
の符号化方法は、予測誤差の上位ビット情報である前記
カテゴリ番号と、入力データの下位ビット情報である剰
余データとを符号化し伝送するものである。As explained above, 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 explained. 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 data Di, divisor data OUi, remainder data Ei, and quotient data Ni are required as shown in equation (3). Category number J
Since there is a one-to-one correspondence between i and the divisor data OUi,
A category number-divisor data conversion table is prepared in advance, and by using this table, divisor data Ei can be obtained from the transmitted category number Ji. Since the remainder data Ei is being transmitted, if the quotient data Ni is determined, the data Di can be obtained.
【0031】そこで必要となる商データNiを求める方
法について説明する。式(数1)に式(数3)を代入し
て予測誤差Siを消去すれば次式A method for obtaining the necessary quotient data Ni will now be explained. By substituting the equation (3) into the equation (1) and eliminating the prediction error Si, we get the following equation
【0032】[0032]
【数4】[Math 4]
【0033】が得られる。さらに式(数4)に式(数3
)を代入してDiを消去すれば、次式##EQU1## is obtained. Furthermore, the formula (Math. 4) is added to the formula (Math. 3
) and eliminate Di, we get the following equation
【0034】[0034]
【数5】[Math 5]
【0035】が得られる。予測値Piは復号済みのデー
タDiより求まり、SXi,SNiはカテゴリ番号Ji
と一対一に対応しているので変換表を予め作成しておき
、これを用いることによりカテゴリ番号Jiより求まる
。さらに商データNiは整数であり、式(数5)の左端
の項と右端の項との差(SXi−SNi)/OUiは式
(数2)より1未満となるから、式(数5)を満足する
商データNiは一意に決定できる。従って式(数5)の
左側の式を取り出した次式[0035] is obtained. The predicted value Pi is obtained from the decoded data Di, and SXi and SNi are the category number Ji.
Since there is a one-to-one correspondence, a conversion table is created in advance and can be found from the category number Ji by using this table. Furthermore, the quotient data Ni is an integer, and the difference (SXi - SNi)/OUi between the leftmost term and the rightmost term in Equation (Equation 5) is less than 1 according to Equation (Equation 2), so Equation (Equation 5) The quotient data Ni that satisfies can be uniquely determined. Therefore, the following formula is obtained by taking out the left-hand side of formula (Math. 5)
【0036】[0036]
【数6】[Math 6]
【0037】を満足する最小の整数Niを求めるか、式
(数5)の右側の式を取り出した次式Either find the minimum integer Ni that satisfies the following equation, or use the following equation by taking the right-hand side of equation (5).
【0038】[0038]
【数7】[Math 7]
【0039】を満足する最大の整数Niを求めればよい
。すなわち式(数5)、式(数6)、式(数7)のどの
式を用いても商データNiを求めることができる。式(
数7)を用いる方法は、右辺の除算結果の小数部を切り
捨てるだけでよいので処理が最も簡単となる。It is sufficient to find the maximum integer Ni that satisfies the following. That is, the quotient data Ni can be obtained using any of the equations (5), (6), and (7). formula(
The method using Equation 7) is the simplest because it only requires truncating 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を求める。The quotient data Ni obtained from the above is expressed by the formula (Equation 3
), the data Di can be found, that is, decoded. The decoding method is summarized as follows. 1. The encoded data is decoded to obtain the category number Ji.
and the surplus data Ei is obtained. 2. A predicted value Pi is obtained from data Dk (k is an integer smaller than i) that has already been decoded. 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 using the formula (Math. 7), the formula (Math. 6), or the formula (Math. 5). 5. Data Di is obtained using 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 (log2 OUi) bits. In order to minimize this, that is, to improve encoding efficiency, the minimum value that satisfies the equation (Equation 2) may be set as the divisor data OUi. Also, the divisor data OUi is 2
By raising the value to a power, the remainder calculation and division can be realized with an extremely simple circuit, and since the code length Mi is an integer value, the remainder data Ei can be efficiently encoded in binary. That is, the following equation
【0042】[0042]
【数8】[Math. 8]
【0043】を満たすように除数データ、予測誤差の上
限値、下限値を設定すればよい。予測誤差の分類表(表
1)は、入力データDiの語長が8ビットである場合に
おいて、式(数8)を満たすように作成している。The divisor data, the upper limit value, and the lower limit value of the prediction error may be set so as to satisfy the following. The prediction error classification table (Table 1) is created to satisfy the equation (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. 1(a)) and a decoding device (FIG. 1(b)) in a first embodiment using the first high-efficiency encoding method and decoding method of the present invention. )) is a block configuration diagram. The input data is a sampled and quantized 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. 1(a), 101 is an input terminal for data Di to be encoded, 102 is a prediction circuit for obtaining a predicted value Pi, and 103 is a prediction circuit for obtaining the predicted value P from the input data Di.
104 is a classification circuit that receives the prediction error Si and outputs the category number Ji; 105 is a conversion circuit that obtains the divisor data OUi from the category number Ji; 106 is the data Di 107 is the category number Ji and a first encoding circuit that encodes the remainder data Ei to obtain encoded data Ci. 108 is the encoding circuit. Data Ci output terminal, 10
9 encodes the category number Ji to generate encoded data C.
110 is a third encoding circuit that encodes the residual data Ei to obtain encoded data CEi; 111 connects the encoded data CJi and the encoded data CEi; This is a multiplexing circuit that obtains 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を出力する予測回路、1
19は端子112からの符号化データCiを一時的に蓄
えるバッファメモリ、120は符号化データCiの先頭
部分に多重化されている符号化データCJiをバッファ
メモリ119より得て復号しカテゴリ番号Jiを得る第
2の復号回路、121は符号化データCiの残り部分に
多重化されている符号化データCEiをバッファメモリ
119より得て復号し剰余データEiを得る第3の復号
回路、122は加算回路、123は加算回路122から
の出力より前記剰余データEiを減算する減算回路、1
24は減算回路123からの出力を前記除数データOU
iで除算し、得られた結果の整数部のみを商データNi
として出力する除算回路、125は前記除数データOU
iと前記商データNiとを乗算してオフセットFiを得
る乗算回路、126は前記剰余データEiと前記オフセ
ットFiを加算して新たな復号済みのデータDiを得る
加算回路である。In (FIG. 1(b)), 112 is an input terminal for the encoded data Ci, and 113 is the input terminal for the encoded data Ci.
114 is a conversion circuit that obtains the upper limit value SXi of the prediction error range of the category with number Ji and divisor data OUi, and 115 outputs quotient data Ni. A quotient data calculation circuit; 116 is a synthesis circuit for reproducing data Di from the divisor data OUi, the quotient data Ni and the remainder data Ei; 117 is an output terminal for the data Di; 118 is the already decoded data Dk(k is an integer smaller than i), a prediction circuit outputs a predicted value Pi of data Di, 1
Reference numeral 19 denotes a buffer memory for temporarily storing coded data Ci from the terminal 112, and 120 obtains coded data CJi multiplexed at the beginning of the coded data Ci from the buffer memory 119 and decodes it to obtain a category number Ji. 121 is a third decoding circuit that obtains encoded data CEi multiplexed with the remaining portion of encoded data Ci from the buffer memory 119 and decodes it to obtain residual data Ei; 122 is an adder circuit; , 123 is a subtraction circuit that subtracts the surplus data Ei from the output from the addition circuit 122;
24 converts the output from the subtraction circuit 123 into the divisor data OU.
Divide by i and use only the integer part of the result as quotient data Ni
125 is the divisor data OU.
126 is a multiplication circuit that multiplies i and the quotient data Ni to obtain an offset Fi, and 126 is an addition circuit that adds the remainder data Ei and the offset Fi to obtain new decoded data Di.
【0047】以上のように構成された本実施例の符号化
装置、復号装置について、以下その動作について説明す
る。The operation of the encoding device and decoding device of this embodiment configured as described above will be explained below.
【0048】符号化装置において、端子101からの入
力データDiは予測回路102、減算回路103、剰余
演算回路106に入力される。予測回路102は前値予
測を行なっており、1つ前のデータDi−1 を保持す
る1つのレジスタのみで構成され、予測値Pi=Di−
1 を出力する。In the encoding device, input data Di from a terminal 101 is input to a prediction circuit 102, a subtraction circuit 103, and a remainder calculation circuit 106. The prediction circuit 102 performs previous value prediction and consists of only one register that holds the previous data Di-1, and the predicted value Pi=Di-1.
Outputs 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の下位M
iビットのみを取り出す簡単なゲート回路で実現できる
。この場合変換回路105は除数データOUiの代わり
に前記データMiを出力すればよい。A subtraction circuit 103 subtracts the predicted value Pi from the data Di and outputs a prediction error Si. The classification circuit 104 receives the prediction error Si as input, classifies it according to its size according to Table 1, and outputs a category number Ji indicating the corresponding classification item. The conversion circuit 105 can be configured with a ROM (read only memory), and converts the divisor data OUi or the data M from the category number Ji according to (Table 1).
Output i. The remainder calculation circuit 106 divides the data Di by the divisor data OUi and outputs the remainder Ei. In Table 1, the divisor data OUi is 2 raised to the Mi power, so the remainder calculation circuit 106 uses the lower M of the data Di.
This can be realized with a simple gate circuit that extracts only i bits. 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 uses the category number Ji
Huffman encoding (a type of entropy encoding) is performed and output in bit serial format. This output is encoded data CJi. Since the probability of occurrence of a prediction error whose category number is Ji is almost the same as the probability of occurrence of a prediction error whose category number is -Ji, in this example, the same Huffman code is assigned to these two categories, and which category The encoded data CJi is obtained by adding a 1-bit flag G indicating 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
When , the category number is assumed to be negative.
【0051】符号化回路110は前記カテゴリ番号Ji
により(表1)に示す剰余データEiのビット数Miを
求め、前記剰余データEiの下位Miビットをビットシ
リアル形式で出力する。この出力が符号化データCEi
である。剰余データEiの下位Miビットのみを出力す
るのは、剰余データEiがMiビットで表現できるから
である。多重化回路111は前記符号化データCJiの
後ろに前記符号化データCEiを接続して得られる符号
化データCiをビットシリアル形式で端子118より出
力する。以上の動作によりデータDiの符号化が実現さ
れる。The encoding circuit 110 uses the category number Ji
The number Mi of bits of the surplus data Ei shown in (Table 1) is determined by (Table 1), and the lower Mi bits of the surplus data Ei are output in bit serial format. This output is encoded data CEi
It is. The reason why only the lower Mi bits of the remainder data Ei are output is that the remainder data Ei can be expressed by Mi bits. The multiplexing circuit 111 connects the coded data CEi after the coded data CJi and outputs coded data Ci obtained from a terminal 118 in a bit serial format. The above operations realize encoding of the data Di.
【0052】復号装置において、端子112からの符号
化データCiは一時的にバッファメモリ119に蓄えら
れる。In the decoding device, encoded data Ci from terminal 112 is temporarily stored in buffer memory 119.
【0053】まず復号回路120は、バッファメモリ1
19より符号長を判定しながら前記符号化データCJi
を読み込んで復号し、読み込んだ符号の符号語長L1と
カテゴリ番号Jiとを出力する。バッファメモリ119
は前記符号語長L1を受け取って前記符号化データCJ
iに続く前記符号化データCEiの先頭位置を求め、そ
の内部に有する読み出しポインタにセットする。First, the decoding circuit 120 starts with the buffer memory 1
While determining the code length from 19, the encoded data CJi
is read and decoded, and the code word length L1 and category number Ji of the read code are output. Buffer memory 119
receives the code word length L1 and outputs the coded data CJ.
The first position of the encoded data CEi following i is determined and set in the internal read pointer.
【0054】続いて復号回路121は、復号回路120
からの前記カテゴリ番号Jiより(表1)に示す剰余デ
ータEiの語長Miを求め、バッファメモリ119より
Miビットの前記符号化データCEiを読み込み、上位
にデータ0を付加してビットパラレル形式のデータであ
る剰余データEiを再生する。Subsequently, the decoding circuit 121 decodes the decoding circuit 120
The word length Mi of the residual data Ei shown in (Table 1) is determined from the category number Ji from the buffer memory 119, the coded data CEi of Mi bits is read from the buffer memory 119, data 0 is added to the upper part, and the word length Mi is determined in the bit parallel format. The residual data Ei that 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 converts it into the encoded data CEi.
The head position of the next encoded data CJi following is determined, and the read pointer is updated in preparation for decoding the next data.
【0056】変換回路114は例えばROMで構成でき
、前記カテゴリ番号Jiより(表1)に示す予測誤差範
囲の上限値SXiと除数データOUiを出力する。The conversion circuit 114 can be constructed of, for example, a ROM, 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 predicted 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 synthesis circuit 116 inputs the quotient data Ni, the divisor data OUi, and the remainder data Ei, performs the calculation shown in equation (3), reproduces the data Di, and outputs it from the 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, receives the data Di as input, and outputs the predicted value Pi. The above operations realize decoding of the data Di.
【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 effects of the present invention will be explained using specific data examples. Assume that the input data Di to be encoded from now on in the encoding device is 46, and the previous input data Di-1, which has already been encoded, is 35. The prediction circuit 102 outputs a predicted value Pi=Di-1=35. In the subtraction circuit 103, the prediction error Si=46-35
=11 is obtained. In the classification circuit 104, the category number J according to (Table 1) is determined from the prediction error Si=11.
i=4 is obtained.
【0061】変換回路105において前記カテゴリ番号
Jiを(表1)に従って2のべき乗である除数データO
Uiまたはその指数部データMi=3を出力する。剰余
演算回路106はデータDiを除数データOUi=2M
i=8で割った剰余データEi=6を出力する。除数デ
ータOUiは2のべき乗であるので通常の除算を行なう
必要はなく、データDiの下位Mi=3ビットのみを取
り出すのみで剰余データEiが得られる。In the conversion circuit 105, the category number Ji is converted to divisor data O which is a power of 2 according to (Table 1).
Output Ui or its exponent part data Mi=3. The remainder calculation circuit 106 converts the data Di into divisor data OUi=2M
Output the remainder data Ei=6 after dividing by i=8. Since the divisor data OUi is a power of 2, there is no need to perform normal division, and the remainder data Ei can be obtained by simply extracting only the lower Mi=3 bits of the data Di.
【0062】符号化回路109において前記カテゴリ番
号Jiはハフマン符号化される。Ji=4またはJi=
−4を表すハフマンコードが2進数3ビット長の”10
1”(以下において2進符号は””で囲んで示す。)と
すれば、カテゴリ番号Ji=4の符号化コードCJiは
”1010”となり、ビットシリアル形式で出力される
。最後に付加された1ビットのデータ”0”はカテゴリ
番号の正負を表すフラグGで、カテゴリ番号が正である
ことを示している。[0062] In the encoding circuit 109, the category number Ji is Huffman encoded. Ji=4 or Ji=
The Huffman code representing -4 is a 3-bit binary number “10”
1" (in the following, binary codes are shown enclosed in ""), the encoded code CJi for category number Ji = 4 will be "1010" and will be output in bit serial format. The 1-bit data "0" 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 Mi=3 bits of the residual data Ei=6 are outputted in a bit serial format to become encoded data CEi "110". In the multiplexing circuit 111, the encoded data CJi''1
The encoded data CEi "110" is added after "010", resulting in encoded data Ci="1010110", which is output from the terminal 118 in bit serial format starting 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 a buffer memory 119 in a bit serial format. It is assumed that decoding has now been completed up to data Di-1 = 35, and data Di is now decoded from encoded data Ci.
【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 encoded data Ci in 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 encoded data CJi is 4 bits when reading up to "101" from the first bit of the encoded data Ci, and if Ji is not 0, the added 1 bit is detected. Read the flag G of. i.e. 4
All bits of encoded data CJi="1010" are read. Since the flag G=0 indicates that the category number Ji is positive, the decoding circuit 120 uses the category number Ji
=4 is output.
【0066】続いて復号回路121は、前記復号された
カテゴリ番号Ji=4を受けて(表1)にしたがってM
i=3ビット分前記バッファメモリ119からデータを
読み込むことにより符号化データCEi=”110”を
得、これをパラレル形式に変換し、上位ビットに0を付
加することにより剰余データEi=6を得、出力する。
なおバファメモリ119のポインタは更新されて次の符
号化データCi+1 の先頭メモリ番地を示している。Next, the decoding circuit 121 receives the decoded category number Ji=4 and decodes M according to (Table 1).
Encoded data CEi="110" is obtained by reading data for i=3 bits from the buffer memory 119, and by converting this into parallel format and adding 0 to the upper bits, remainder data Ei=6 is obtained. ,Output. Note that the pointer in the buffer memory 119 is updated to indicate the first memory address of the next encoded data Ci+1.
【0067】変換回路114は(表1)に従ってカテゴ
リ番号Ji=4のカテゴリにおける予測誤差範囲の上限
値SXi=15および2のべき乗である除数データOU
iの指数部Miを出力する。According to (Table 1), the conversion circuit 114 converts the upper limit value SXi of the prediction error range in the category of category number Ji=4 to 15 and the divisor data OU which is a power of 2.
Outputs the exponent part Mi of i.
【0068】商データ計算回路115は、予測回路11
8からの予測値Pi=Di−1 =35と前記上限値S
Xi=15とを加算した後、前記剰余データEi=6を
減算し、さらに除数データOUi=2Mi=8で除算し
て商データNi=5を得、出力する。The quotient data calculation circuit 115 is the prediction circuit 11
The predicted value Pi=Di−1=35 from 8 and the upper limit S
After adding Xi=15, the remainder data Ei=6 is subtracted and further divided by divisor data OUi=2Mi=8 to obtain quotient data Ni=5 and output.
【0069】合成回路116は前記商データNi=5に
除数データOUi=2Mi=8を掛けてオフセットFi
を得、これに剰余データEi=6を加算することにより
復号の完了したデータDi=46を得、端子117より
出力する。以上でデータDiの復号が完了する。The synthesis circuit 116 multiplies the quotient data Ni=5 by the divisor data OUi=2Mi=8 to obtain an offset Fi.
By adding the remainder data Ei=6 to this, decoded data Di=46 is obtained and outputted from the terminal 117. This completes the decoding of the data Di.
【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として出力する回路で実現できる
。By the way, since the divisor data OUi is a power of 2, the division circuit 124 does not need to perform normal division, and the quotient data Ni is obtained by removing the lower Mi=3 bits of the data Di, and the multiplication The circuit 125 does not need to perform normal multiplication, and adds Mi to the lower part of the quotient data Ni.
By simply adding 0 bits, the offset Fi, which is the multiplication result, can be obtained. Furthermore, in the adder 126, since the remainder data Ei which is one input has 0 except for the lower Mi bits, and the offset Fi which is the other input has its lower Mi bits 0, there is no need 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 realized 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. can.
【0071】つぎに1つ前のデータDi−1 =36が
伝送誤りによって比較的誤差の小さい値の31と復号さ
れていた場合の復号を考える。予測値Pi=Di−1
であるので、従来の予測符号化であれば必ず誤り伝搬を
生じる。
しかしながら実際に本発明の高能率符号化方法の復号を
行なってみるとDi=46と正しい結果が得られる。す
なわち誤り伝搬を生じていない。これは復号のため式(
数7)または式(数5)または式(数6)を用いて商デ
ータNiを求めるが、これらの式で使用する予測値Pi
が符号化時の予測値とある範囲の誤差を有していても正
しい商データNiが得られるからである。式(数7)に
よればDi=46の場合予測値Piが31以上38以下
であれば正しい商データNi=5が得られることがわか
る。Next, let us consider the case where the previous data Di-1 = 36 was decoded to 31, a value with a relatively small error, due to a transmission error. Predicted value Pi=Di-1
Therefore, conventional predictive coding always causes error propagation. However, when decoding is actually performed using the high-efficiency encoding method of the present invention, a correct result of Di=46 is obtained. In other words, no error propagation occurs. This is the formula (
The quotient data Ni is obtained using Equation 7) or Equation (Equation 5) or Equation (Equation 6), but the predicted value Pi used in these equations is
This is because correct quotient data Ni can be obtained even if there is an error within a certain range from the predicted value at the time of encoding. According to the formula (Equation 7), it can be seen that when Di=46, if the predicted value Pi is between 31 and 38, correct quotient data Ni=5 can be obtained.
【0072】以上のように、本実施例によれば必ずしも
誤り伝搬を生じないので伝送誤り耐性を大幅に改善でき
る。また除数データを2のべき乗とすることにより、本
発明の符号化装置は従来の予測符号化装置と同程度の小
さな回路規模で実現できる。As described above, according to this embodiment, error propagation does not necessarily occur, so transmission error resistance can be greatly improved. Further, by setting the divisor data to a power of 2, the encoding device of the present invention can be realized with a circuit scale as small as that of a conventional predictive encoding device.
【0073】以上の実施例においては剰余データを単純
な2進符号のままその下位Miビットを切り出して符号
化していたが、グレイコードに変換した後に符号化すれ
ばより誤り耐性を向上できる。なぜならグレイコードは
1ビット誤りによる誤差が1レベルと小さくできるから
である。例外的に剰余データの上限値が下限値になる、
またはその逆の場合があるが、この場合商データNiを
+1、または−1する補正により修整可能である。In the embodiments described above, the residual data is coded by cutting out the lower Mi bits thereof as a simple binary code, but error resistance can be further improved by converting the residual data to a Gray code and then coding. This is because the Gray code can reduce the error due to a 1-bit error to 1 level. Exceptionally, the upper limit value of residual data becomes the lower limit value,
Or vice versa, but in this case, it can be corrected by adding 1 or -1 to the quotient data Ni.
【0074】予測に用いる復号値が伝送誤りによってか
なり大きな誤差を有する場合、符号化時と同じ予測方法
では誤差の大きい予測値Piしか得られず、もはや正し
い復号値は得られない。しかし伝送誤りの影響を受けて
いない別の復号値を用いる予測方法すなわち符号化時と
は異なった予測方法により誤差の小さい予測値Pi’が
得られれば、正しい復号が可能である。なぜなら本発明
の符号化方法は予測誤差の上位ビット情報(カテゴリ番
号Ji)と符号化するデータの下位ビット情報(剰余デ
ータEi)とを符号化して伝送しており、式(数3)に
おいてただ1つの未知数である商データNiを求めれば
、正しい復号データDiが得られるからである。特に除
数データOUi大きい場合、商データNiの存在範囲が
狭くなるのでその決定が容易となる。If the decoded value used for prediction has a fairly large error due to a transmission error, the same prediction method used during encoding will only yield a predicted value Pi with a large error, and a correct decoded value will no longer be obtained. However, if a predicted value Pi' with a small error is obtained by a prediction method using another decoded value that is not affected by transmission errors, that is, a prediction method different from that used during encoding, correct decoding is possible. This is because the encoding method of the present invention encodes and transmits the upper bit information of the prediction error (category number Ji) and the lower bit information of the data to be encoded (remainder data Ei). This is because correct decoded data Di can be obtained by finding the quotient data Ni, which is one unknown quantity. In particular, when the divisor data OUi is large, the range in which the quotient data Ni exists becomes narrow, making it easy to determine it.
【0075】前記予測値Pi’を用いた復号方法すなわ
ち本発明の第1の高能率符号の復号方法を用いた第2の
実施例の復号装置について述べるが、まずはじめにこの
復号方法について説明する。なお符号化データは前記第
1の実施例の符号化装置の出力の符号化データCiとす
る。A second embodiment of the decoding apparatus using the decoding method using the predicted value Pi', that is, the first high-efficiency code decoding method of the present invention, will be described. First, this decoding method will be explained. Note that the encoded data is the encoded data Ci output from the encoding apparatus of the first embodiment.
【0076】前記第1の実施例における入力データは画
像信号で、符号化時には画像の水平方向に前値予測を行
なって予測値Piを得ている。画像信号は2次元方向(
動画の場合時間軸方向を含む3次元方向)に相関を持っ
ており、例えばデータDiが1ライン前の復号済みのデ
ータDi−H (但し、Hは1ライン中の画素数を表わ
す)との相関が強い、すなわち垂直相関が強い場合、垂
直方向に前値予測(符号化時とは異なった予測方法)を
行なうことにより誤差の小さい予測値Pi’(=Di−
H )を得ることが可能である。従って誤差の小さい前
記予測値Pi’が得られる場合、データDiと予測値P
i’との誤差が小さくなるように商データNiを定め、
すなわち次式The input data in the first embodiment is an image signal, and at the time of encoding, previous value prediction is performed in the horizontal direction of the image to obtain a predicted value Pi. The image signal is transmitted in two-dimensional direction (
In the case of a video, there is a correlation in the three-dimensional direction including the time axis direction), for example, data Di is correlated with the decoded data Di-H of the previous line (where H represents the number of pixels in one line). When the correlation is strong, that is, the vertical correlation is strong, the predicted value Pi' (=Di-
H ) can be obtained. Therefore, when the predicted value Pi' with a small error is obtained, the data Di and the predicted value P
The quotient data Ni is determined so that the error with i' is small,
That is, the following equation
【0077】[0077]
【数9】[Math. 9]
【0078】を満足するNiを求め、これを式(数3)
に代入することにより高い確率で正しいデータDiが再
生できる。Find Ni that satisfies
By substituting , correct data Di can be reproduced with high probability.
【0079】そこで復号済みのデータに伝送誤りによっ
て誤差の大きなもの発生していることが検出し、かつデ
ータDiの垂直相関が強いことを検出して制御信号を発
生する回路を設けておき、前記制御信号の発生しない通
常時は第1の実施例の復号装置と同じく、符号化時と同
じ予測方法による予測値Piを用いて復号を行い、前記
制御信号が発生したときは符号化時とは異なる予測方法
による前記予測値Pi’を用いた前記復号方法を行なう
ことにより伝送誤りにより強い復号装置が実現できる。Therefore, a circuit is provided which detects that a large error has occurred in the decoded data due to a transmission error, and detects that the vertical correlation of the data Di is strong, and generates a control signal. In normal times when no control signal is generated, decoding is performed using the predicted value Pi according to the same prediction method as in encoding, as in the decoding device of the first embodiment, and when the control signal is generated, the prediction value Pi is used in the same way as in the decoding device of the first embodiment. By performing the decoding method using the predicted value Pi' based on a different prediction method, a decoding device that is more resistant to transmission errors can be realized.
【0080】前記本発明の高能率符号の復号方法を用い
た第2の実施例における復号装置について次に説明する
。この復号装置は(図1)の復号装置における予測回路
118、商データ計算回路115をそれぞれ(図2)に
示す予測回路、(図3)に示す商データ計算回路に置き
換えたものであるので、復号装置の全体構成図は省略す
る。A decoding apparatus according to a second embodiment using the high-efficiency code decoding method of the present invention will be described next. This decoding device replaces the prediction circuit 118 and quotient data calculation circuit 115 in the decoding device (FIG. 1) with the prediction circuit shown in (FIG. 2) and the quotient data calculation circuit shown in (FIG. 3), respectively. The overall configuration diagram 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), 201 is a delay circuit consisting of one register that holds the previous decoded data and causes one stage of data delay; 202 is the register 20;
A delay circuit 203 takes the output of the delay circuit 201 as an input and causes a data delay of (H-1) stages, and a delay circuit 203 outputs the output of the delay circuit 201 as a predicted value Pi when the control signal is not generated, and only when the control signal is generated. This is a switch that outputs the output of the delay circuit 202 as a predicted value Pi'.
【0082】前記制御信号の入力されない通常時はスイ
ッチ203は符号化時と同じ水平方向の予測値Pi=D
i−1 を出力し、(図1)中の予測回路118と同じ
動作をおこなう。前記制御信号の発生時は符号化時とは
異なった予測すなわち垂直方向の前値予測を行なって予
測値Pi’=Di−H を出力する。[0082] In normal times when the control signal is not input, the switch 203 selects the horizontal predicted value Pi=D, which is the same as that at the time of encoding.
i-1 and performs the same operation as the prediction circuit 118 in FIG. 1. When the control signal is generated, prediction different from that during encoding, that is, previous value prediction in the vertical direction, is performed to output a predicted value Pi'=Di-H.
【0083】(図3)において301は予測誤差範囲の
上限値SXiと(図2)に示す予測回路からの予測値P
iとを加算する加算回路、302は前記制御信号の非発
生時、加算回路301の出力を選択し、前記制御信号の
発生時、前記予測値Pi’を選択して出力するスイッチ
、303は前記スイッチ303の出力より前記剰余デー
タEiを引く減算回路、304は前記減算回路303の
出力を除数データOUiで割る除算回路、305は前記
除算回路303の出力に対し、前記制御信号の非発生時
は切捨て処理を行ない、前記制御信号発生時は四捨五入
処理を行なう丸め回路である。In (FIG. 3), 301 indicates the upper limit value SXi of the prediction error range and the predicted value P from the prediction circuit shown in (FIG. 2).
302 is a switch that selects the output of the adder circuit 301 when the control signal is not generated, and selects and outputs the predicted value Pi' when the control signal is generated; 303 is the switch that selects and outputs the predicted value Pi'; A subtraction circuit that subtracts the remainder data Ei from the output of the switch 303; 304 a division circuit that divides the output of the subtraction circuit 303 by divisor data OUi; and 305 a division circuit that divides the output of the division circuit 303 when the control signal is not generated. This is a rounding circuit that performs truncation processing and rounds off processing 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 Pi, which is the same as during encoding, the output of the addition circuit 301 is input to the addition circuit 303 via the switch 302, and the rounding circuit 305 performs truncation processing. Therefore, the same processing as the quotient data calculation circuit 115 in FIG. 1 is performed. When the control signal is generated, the input predicted value is the predicted value Pi' which is predicted in the vertical direction.
02, the predicted value Pi' is input to the rounding circuit 305.
is rounded off, so the error between the decoded output data Di and the predicted value Pi' becomes the smallest, that is, the equation (
Quotient data Ni satisfying Equation 9) is output.
【0085】前記求まった商データNiを用いて合成回
路116(図1)は式(数1)の演算が行なって復号済
みのデータDiを得、これを出力する。以上のように本
実施例によれば、伝送誤りにより誤差の大きな復号デー
タを生じ、かつ符号化時とは異なる予測方法により誤差
の小さい予測値Pi’が得られる場合のみ第1の実施例
における復号装置とは異なった復号方法により、すなわ
ち前記予測値Pi’との相関が高くなるように商データ
Niを定めて復号することにより、復号データを得てい
るので、より高い確率で正しく復号でき、従来より誤り
耐性が大幅に向上できるものである。Using the obtained quotient data Ni, the synthesis circuit 116 (FIG. 1) performs the calculation of the equation (1) to obtain decoded data Di, and outputs the decoded data Di. As described above, according to the present embodiment, only when decoded data with a large error occurs due to a transmission error and a predicted value Pi' with a small error can be obtained by a prediction method different from that used during encoding, the first embodiment is applied. 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 such that the correlation with the predicted value Pi' is high, the data can be correctly decoded with a higher probability. , the error tolerance can be significantly improved compared to the conventional method.
【0086】また伝送誤りを生じたデータDmと前記制
御信号により復号されたデータDiとの間のデータDr
(但しm<r<i)はデータDiを用いてrが減少する
方向すなわち逆方向に復号することにより正しく復号す
ることが可能であり、この復号方法を併用すれば、誤り
伝搬領域をより小さくすることが可能である。Furthermore, the data Dr between the data Dm that caused a transmission error and the data Di decoded by the control signal
(However, m<r<i) can be correctly decoded by using data Di and decoding in the direction in which r decreases, that is, in the reverse direction. If this decoding method is used in combination, the error propagation area can be made smaller. It is possible to do so.
【0087】逆方向の復号すなわちデータDi+1から
データDiの復号は次のような方法により可能である。
すなわち次式Decoding in the reverse direction, that is, decoding data Di from data Di+1, is possible by the following method. That is, the following equation
【0088】[0088]
【数10】[Math. 10]
【0089】を満たすように商データNiを求め、式(
数3)に求めた前記商データNi、カテゴリ番号Jiよ
り求まる除数データOUi、伝送された剰余データEi
を代入することによりデータDiが求まる。The quotient data Ni is obtained so as to satisfy the following equation (
The quotient data Ni obtained from Equation 3), the divisor data OUi obtained from the category number Ji, and the transmitted remainder data Ei
By substituting , data Di can be found.
【0090】(図4)は本発明の第2の高能率符号化方
法およびその逆変換である第2の高能率符号の復号方法
を用いた第3の実施例における符号化装置(図4(a)
)、復号装置(図4(b))のブロック構成図である。
入力データVは実施例1、2と同様、画像をラスタース
キャンして得られるアナログの映像信号を標本化量子化
したものである。(FIG. 4) shows an encoding apparatus (FIG. 4) in a third embodiment using the second high-efficiency encoding method of the present invention and the second high-efficiency code decoding method that is the inverse transformation thereof. a)
) is a block configuration diagram of the decoding device (FIG. 4(b)). 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係数を出力するDC
T回路、404は前記DC係数DCiを所定の量子化ス
テップサイズQdで量子化して(すなわちQdで割って
丸めて)データDiを得る量子化回路、405は(図1
)の符号化装置に等しく前記データDiを符号化して符
号化データCiを得る符号化回路、406は前記AC係
数ACi(k)を所定の量子化ステップサイズで量子化
してデータBi(k)を得る量子化回路、407は前記
量子化回路406からのデータBi(k)を2次元ハフ
マン符号化して符号化データAiを出力する符号化回路
、408は前記符号化データCiと前記符号化データA
iとを多重化した符号化データCCiを出力する多重化
回路、409は前記符号化データCCiを出力する端子
である。In FIG. 4(a), 401 is an input terminal for the data V to be encoded, and 402 is a rectangular area in which the input data is rearranged and divided into 8 pixels in the horizontal direction and 8 pixels in the vertical direction. Data DDi for each block (
h) (where h is an integer from 0 to 63), a blocking circuit 403 performs 8-order DCT on the data DDi(h) in the horizontal and vertical directions, respectively, and
A DC that outputs DCT coefficients consisting of one DC coefficient DCi (subscript i represents block number i) and 63 AC coefficients ACi(k) (k is an integer from 1 to 63).
T circuit 404 is a quantization circuit that quantizes the DC coefficient DCi with a predetermined quantization step size Qd (that is, divides by Qd and rounds) to obtain data Di; 405 is a quantization circuit (see FIG.
), an encoding circuit 406 encodes the data Di to obtain encoded data Ci, and 406 quantizes the AC coefficient ACi(k) with a predetermined quantization step size to generate data Bi(k). 407 is an encoding circuit that performs two-dimensional Huffman encoding on the data Bi(k) from the quantization circuit 406 and outputs encoded data Ai; 408 is an encoding circuit that outputs the encoded data Ai and the encoded data Ci;
A multiplexing circuit 409 outputs the coded data CCi multiplexed with the coded data CCi, and 409 is a terminal that outputs the coded data CCi.
【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’とを加算してブロック単位の画像のデータD
Di’(h)を得る加算回路、419はブロック単位の
画像データDDi’の並べ換えを行なって符号化前と同
じデータ並びの画像のデータを得る逆ブロック化回路、
420は逆ブロック回路からの復号済みの画像データV
’の出力端子である。In (FIG. 4(b)), 410 is an input terminal for the coded data CCi, and 411 is the input terminal for the coded data CCi.
412 is a decoding circuit for decoding the encoded data Ci to obtain data Di; 413 is a decoding circuit for decoding the encoded data Ai to obtain data Di; A decoding circuit 414 obtains Bi(k), a dequantization circuit 414 performs dequantization by multiplying the data Di by the quantization step size Qd to obtain decoded data DCi' of DC coefficients, and 415 a decoding circuit 41
416 is an inverse DCT circuit that performs inverse transformation of the DCT circuit 403; 417 is a delay circuit for timing adjustment, and 418 is a block-by-block image data D by adding the inverse DCT output that has passed through the delay circuit and the decoded data DCi'.
an addition circuit for obtaining Di'(h); 419 is a deblocking circuit for rearranging the image data DDi' in units of blocks to obtain image data in the same data arrangement as before encoding;
420 is decoded image data V from the reverse block circuit
' is the output terminal of '.
【0093】以上のように構成された本実施例の符号化
装置、復号装置について、以下その動作について説明す
る。The operation of the encoding device and decoding device of this embodiment configured as described above will be explained 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)を各係
数毎に定められた所定の量子化ステップサイズQai(
k)で量子化する。符号化回路407は量子化回路40
6の出力Bi(k)を2次元ハフマン符号化して符号化
データAiを出力する。多重化回路408は前記符号化
データCiと前記符号化データAiとを多重化して端子
409より符号化データCCiを出力する。In the encoding device, image data V from a terminal 401 is input to a blocking circuit 402 . The blocking circuit 402 rearranges the image data and outputs data DDi(h) for each block. DCT
The circuit 403 performs 8-order two-dimensional DCT on the data DDi(h) for each block, and calculates one DC coefficient DCi.
ACi(k) consisting of 63 AC coefficients is output. The quantization circuit 404 quantizes the DC coefficient DCi with a predetermined quantization step size Qd (that is, divides it by Qd and rounds it) and outputs quantized data Di. Encoding circuit 40
5 encodes the data DCi in the same way as the encoding device shown in FIG. 1 and outputs encoded data Ci. The difference from the encoding device shown in FIG. 1 is that the input is not the quantized value of the image data, but the DC coefficient (
The point is that it is quantized data (equal to the average value). 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 Qai(k) determined for each coefficient.
quantize with k). The encoding circuit 407 is the quantization circuit 40
6 is subjected to two-dimensional Huffman encoding and outputs encoded data Ai. A multiplexing circuit 408 multiplexes the encoded data Ci and the encoded data Ai and outputs encoded data CCi from a terminal 409.
【0095】復号装置は(図4(a))に示す符号化回
路の逆変換を行なうブロック構成で実現できるが、誤差
の大きい復号値を生じる伝送誤り発生時でもより高い確
率で正しい復号を可能とするため(図4(b))に示す
ブロック構成としている。The decoding device can be realized with a block configuration that performs inverse transformation of the encoding circuit shown in FIG. 4(a), but it is possible to perform correct decoding with a higher probability even when a transmission error occurs that causes a decoded value with a large error. In order to do this, the block configuration shown in FIG. 4(b) is adopted.
【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を得る。[0096] In the decoding device, encoded data CCi from terminal 410 is input to separation circuit 411. A separation circuit 411 separates the coded data CCi into coded data Ci and coded data Ai. The decoding circuit 413 decodes the encoded data Ai that has been subjected to two-dimensional Huffman encoding 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 inverse DCT with the DC coefficient input as a provisional value 0 and the AC coefficient input as the 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 the decoding circuit 412 is basically the same as the decoding device of the second embodiment.
i is decoded and data Di, which is a quantized DC coefficient, is output. The difference from the decoding circuit of the second embodiment is that the configuration of the prediction circuit is not as shown in (Fig. 2), but as shown in (Fig. 5).
The point is that it is shown in the figure below. During normal decoding without transmission errors, this prediction circuit is used as the prediction circuit 11 in (FIG. 1).
8 and (Fig. 2), that is, the same predicted value Pi = Di-1 (This is the DC coefficient of the i-th block that has already been decoded, and this block (i- 1) is located to the left of block i in the image), but if a large error is detected and a control signal is input from the outside, a prediction different from that used during encoding is performed and the prediction is Output the value Pi'.
【0098】前記予測値Pi’は、現在復号中のブロッ
クiの真上に隣接するブロック(i−H)のデータより
求めたものである。前記第2の実施例のように予測値P
i’=Di−H ’(但しHは画像の水平方向のブロッ
ク数である。)としてもよいが、本実施例では予測値の
精度を向上させるため復号済みの画像データDDi−H
’より予測値Pi’を求めている。この量子化したD
C係数Diに対する予測値Pi’を求める方法について
説明する。The predicted value Pi' is obtained from the data of the block (i-H) immediately above and adjacent to the block i currently being decoded. As in the second embodiment, the predicted value P
i'=Di-H' (where H is the number of blocks in the horizontal direction of the image), but in this embodiment, in order to improve the accuracy of the predicted value, decoded image data DDi-H
The predicted value Pi' is calculated from '. This quantized D
A method for determining the predicted value Pi' for the C coefficient Di will be explained.
【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成分である
DTi(q)との和として表わせ、前記画素データDD
i’(q)と前記予測値pi(q)との差すなわち誤差
をdとすれば、次式Eight pixel data DDi'(q) of block i adjacent to the boundary with block (i-H) (however, q=q
1, q2, . .. .. , q8) have a short distance from the block (i-H), the predicted values pi(q) for these can be obtained with higher accuracy than the pixel data DDi-H' in the block (i-H). The pixel data DDi'(q) is expressed as the sum of the DC component DCi'=Di·Qd of the block and the AC component DTi(q), and the pixel data DD
If the difference or error between i'(q) and the predicted value pi(q) is d, then the following equation
【0100】[0100]
【数11】[Math. 11]
【0101】が成立する。前記誤差dを小さく、これを
0とすることにより量子化したDC成分Diの近似値す
なわち予測値Pi’が得られ、次式[0101] holds true. 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, and the following equation is obtained.
【0102】[0102]
【数12】[Math. 12]
【0103】が成立する。なお本実施例においては、回
路構成を簡易とするため垂直方向の前置予測を行なって
前記予測値pi(q)を得ている。ブロックiの前記8
個の画素データDDi’(q)(但しq=q1,q2,
...,q8)にそれぞれ隣接するブロック(i−H)
内の8画素の復号データをDDi−H’(q)で表わせ
ば、これらは前置予測における前記予測値pi(q)に
等しい。また1つのqについて式(数12)を計算する
のみで予測値Pi’が得られるが、精度をより高めるた
め8個のqについて(pi(q)−DTi(q))の平
均値を求め、これを量子化ステップサイズQdで割った
ものを予測値Pi’としている。この予測値Pi’を得
る予測回路の構成およびその動作を(図5)を用いて説
明する。[0103] holds true. In this embodiment, in order to simplify the circuit configuration, pre-prediction in the vertical direction is performed to obtain the predicted value pi(q). 8 of block i
pixel data DDi'(q) (where q=q1, q2,
.. .. .. , q8) respectively adjacent blocks (i-H)
If the decoded data of 8 pixels within is expressed as DDi-H'(q), these are equal to the predicted value pi(q) in pre-prediction. Also, the predicted value Pi' can be obtained by simply calculating the formula (Equation 12) for one q, but in order to further improve the accuracy, the average value of (pi (q) - DTi (q)) for eight q's is calculated. , divided by the quantization step size Qd is set as the predicted value Pi'. The configuration and operation of the prediction circuit that obtains this predicted value Pi' will be explained using (FIG. 5).
【0104】(図5)において501は遅延回路で、デ
ータDiを入力とし1つ前のデータDi−1 を予測値
Piとして出力する。502は遅延回路で、復号済みの
データDDi’を入力とし、前記予測値pi(q)=D
Di−H ’(q)を出力する。503は減算回路で予
測値pi(q)とデータDTi(q)との差を求める。
504は平均化回路で、前記8つのqについて前記差の
平均値を出力し、量子化回路505はこれを量子化ステ
ップサイズQdで割って(すなわち量子化を行って)予
測値Pi’を出力する。506はスイッチで、前記制御
信号が入力されない通常時は前記予測値Piを出力し、
し、前記制御信号が入力される時は前記予測値Pi’を
出力する。In FIG. 5, 501 is a delay circuit which inputs data Di and outputs the previous data Di-1 as a predicted value Pi. 502 is a delay circuit which inputs the decoded data DDi' and calculates the predicted value pi(q)=D
Output Di-H'(q). A subtraction circuit 503 calculates the difference between the predicted value pi(q) and the data DTi(q). An averaging circuit 504 outputs the average value of the differences for the eight q, and a quantization circuit 505 divides this by the quantization step size Qd (that is, performs quantization) and outputs the predicted value Pi'. do. 506 is a switch which outputs the predicted value Pi in normal times when the control signal is not input;
However, when the control signal is input, the predicted value Pi' is output.
【0105】これにより復号回路412は伝送誤り時に
も誤差の少ない復号データDiを出力する。なお予測値
Pi’を得るためにはDC係数の復号よりAC係数の復
号、逆DCTを先行させる必要があるため、復号回路4
12は内部にタイミング調整用の遅延回路を有している
。逆量子化回路414は前記データDiに前記量子化ス
テップサイズQdを掛けてDC係数データDCi’を出
力する。加算回路418はタイミング調整用の遅延回路
417を経たデータDTiと前記データDCi’とを加
算してブロック毎の復号済みの画像データDDi’を出
力する。逆ブロック回路419は前記画像データDDi
’(h)の並べ換えを行なって符号化前のデータ並びに
戻して端子420より復号済みの画像データV’を出力
する。[0105] As a result, the decoding circuit 412 outputs decoded data Di with less error even when a transmission error occurs. Note that in order to obtain the predicted value Pi', it is necessary to decode the AC coefficients and perform inverse DCT before decoding the DC coefficients, so the decoding circuit 4
12 has a delay circuit for timing adjustment inside. The inverse quantization circuit 414 multiplies the data Di by the quantization step size Qd and outputs DC coefficient data DCi'. The adder circuit 418 adds the data DTi that has passed through the delay circuit 417 for timing adjustment and the data DCi', and outputs decoded image data DDi' for each block. The reverse block circuit 419 receives the image data DDi.
'(h) is rearranged to return the data to the pre-encoded order, and the decoded image data V' is output from the terminal 420.
【0106】以上のように本実施例によれば、伝送誤り
により誤差の大きい復号データDiを生じてもブロック
間の画素データの相関を用いることにより高い確率で正
しい画像データの復号値が得られ、従来に比べて大幅に
誤り耐性が向上できるものである。As described above, according to this embodiment, even if decoded data Di with a large error occurs due to a transmission error, correct decoded values of image data can be obtained with a high probability by using the correlation of pixel data between blocks. , the error tolerance can be significantly improved compared to the conventional method.
【0107】以上の実施例においては可逆な符号化を行
なったが、例えば予測誤差が大きいところでは剰余デー
タEiの下位ビットを丸めて伝送することにより非可逆
な符号化方法も可能である。この場合、符号化装置と復
号装置における予測値を一致させるため、符号化装置内
にローカルの復号装置を設けその復号データより予測値
を作成する必要がある。本実施例のような可逆な符号化
においても前記ローカルの復号装置を設ける構成が可能
であることはもちろんである。Although reversible encoding was performed in the above embodiment, an irreversible encoding method is also possible, for example, where the prediction error is large, by rounding and transmitting the lower bits of the residual data Ei. In this case, in order to match the predicted values in the encoding device and the decoding device, it is necessary to provide a local decoding device within the encoding device and create a predicted value from the decoded data. Of course, even in reversible encoding as in this embodiment, a configuration in which the local decoding device is provided is possible.
【0108】また本発明はこれら実施例に限定されるも
のではなく、予測方法は各種方法が適用でき、エントロ
ピー符号化方法として算術符号化等も適用でき、実施例
3のAC成分の求め方としてDCT以外に各種変換方法
、平均値分離ベクトル量子化など各種符号化方法が適用
できる。Furthermore, the present invention is not limited to these embodiments, and various prediction methods can be applied, and arithmetic coding etc. can also be applied as an entropy encoding method. In addition to DCT, various conversion methods and various encoding methods such as mean value separation vector quantization can be applied.
【0109】[0109]
【発明の効果】本発明は予測誤差の上位ビット情報と入
力データの下位ビット情報とを伝送することを特徴とす
る高能率符号化方法およびその逆変換を行なう復号方法
で、符号化効率を低下させることなく、伝送誤り耐性を
大幅に向上できるものであり、その実用的効果は大きい
。[Effects of the Invention] The present invention provides a high-efficiency encoding method characterized by transmitting upper bit information of a prediction error and lower bit information of input data, and a decoding method that performs inverse transformation thereof, thereby reducing the encoding efficiency. It is possible to significantly improve transmission error tolerance without causing any problems, and its practical effects are significant.
【図1】本発明の第1の高能率符号化方法およびその復
号方法を用いた第1の実施例における符号化装置および
復号装置のブロック構成図である。FIG. 1 is a block configuration diagram of an encoding device and a decoding device in a first embodiment using a first high-efficiency encoding method and its decoding method of the present invention.
【図2】本発明の第1の高能率符号の復号方法を用いた
第2の実施例の復号装置における予測回路のブロック構
成図である。FIG. 2 is a block configuration diagram of a prediction circuit in a decoding device of a second embodiment using the first high-efficiency code decoding method of the present invention.
【図3】本発明の第1の高能率符号の復号方法を用いた
第2の実施例の復号装置における商データ計算回路のブ
ロック構成図である。FIG. 3 is a block configuration diagram of a quotient data calculation circuit in a decoding device of a second embodiment using the first high-efficiency code decoding method of the present invention.
【図4】本発明の第2の高能率符号化方法およびその逆
変換である本発明の第2の高能率符号の復号方法を用い
た第3の実施例における符号化装置および復号装置のブ
ロック構成図である。FIG. 4: Blocks of an encoding device and a decoding device in a third embodiment using the second high-efficiency encoding method of the present invention and the second high-efficiency code decoding method of the present invention, which is an inverse transformation thereof; FIG.
【図5】本発明の第3の実施例の復号装置における予測
回路のブロック構成図である。FIG. 5 is a block configuration diagram of a prediction circuit in a decoding device according to a third embodiment of the present invention.
101 符号化するデータDiの入力端子102
予測回路
103 減算回路
104 分類回路
105 変換回路
106 剰余演算回路
107 符号化回路
108 符号化データCiの出力端子112 符号
化データCiの入力端子113 復号回路
114 変換回路
115 商データ計算回路
116 合成回路
117 復号済みのデータDiの出力端子118
予測回路101 Input terminal 102 of data Di to be encoded
Prediction circuit 103 Subtraction circuit 104 Classification circuit 105 Conversion circuit 106 Remainder calculation circuit 107 Encoding circuit 108 Output terminal 112 of encoded data Ci Input terminal 113 of encoded data Ci Decoding circuit 114 Conversion circuit 115 Quotient data calculation circuit 116 Synthesis circuit 117 Output terminal 118 for decoded data Di
prediction circuit
Claims (7)
、前記入力データの予測値を得、前記入力データと前記
予測値との差である予測誤差を求めるステップと、前記
予測誤差をその大きさに応じて分類し該当するカテゴリ
を表わすカテゴリ番号を出力するステップと、前記該当
するカテゴリの範囲を規定する所定の上限値と所定の下
限値との差より大なる所定値を除数として前記入力デー
タを除算して剰余を得るステップと、前記カテゴリ番号
と前記剰余とを符号化して出力するステップとを備えた
ことを特徴とする高能率符号化方法。1. A step of taking a sampled and quantized signal as input data, obtaining a predicted value of the input data, and determining a prediction error that is a difference between the input data and the predicted value; a step of classifying according to the size and outputting a category number representing the applicable category; A highly efficient encoding method comprising: dividing input data to obtain a remainder; and encoding and outputting the category number and the remainder.
とし、かつ前記除数が2のべき乗となるように各カテゴ
リの上限値と下限値とを設定することを特徴とする請求
項1記載の高能率符号化方法。[Claim 2] The divisor is a value obtained by adding 1 to the difference between the upper limit value and the lower limit value, and the upper limit value and lower limit value of each category are set so that the divisor is a power of 2. The high efficiency encoding method according to claim 1.
るステップが、カテゴリ番号をエントロピー符号化する
ステップと、剰余を除数の大きさに応じて可変長な符号
に変換するステップとを有することを特徴とする請求項
1記載の高能率符号化方法。3. The step of encoding and outputting the category number and the remainder comprises the steps of entropy encoding the category number and converting the remainder into a variable length code according to the size of the divisor. The high-efficiency encoding method according to claim 1, characterized in that:
るステップが、剰余をグレーコードに変換するステップ
を備えたことを特徴とする請求項1記載の高能率符号化
方法。4. The highly efficient encoding method according to claim 1, wherein the step of encoding and outputting the category number and the remainder comprises the step of converting the remainder into a Gray code.
ある予測誤差を得、前記予測誤差をその大きさによりカ
テゴリに分類してカテゴリ番号を得、該当するカテゴリ
によって定まる除数で前記符号化するデータを除算して
剰余を得、前記カテゴリ番号と前記剰余を符号化して符
号化データを得る高能率符号化方法によって得られた前
記符号化データを入力データとする高能率符号の復号方
法であって、前記符号化データを復号して前記カテゴリ
番号と前記剰余とを得るステップと、すでに復号の完了
した出力データより予測値を得るステップと、前記カテ
ゴリ番号の示すカテゴリの予測誤差の範囲の上限値また
は下限値の少なくとも一方と、前記カテゴリ番号より求
まる除数、および前記予測値とを用いて除数の整数倍の
オフセットを生成するステップと、前記オフセットと前
記剰余とを加算して新たな出力データを得るステップと
を備え、外部から制御信号が入力された場合には、予測
値を得るステップが前記制御信号により符号化時とは異
なった予測方法を行なって予測値を得、オフセットを生
成するステップが、前記制御信号により復号して得られ
る出力データが前記予測値と相関が高くなるようにオフ
セットを生成することを特徴とする高能率符号の復号方
法。5. Obtain a prediction error that is the difference between the data D to be encoded and its predicted value, classify the prediction error into categories according to the size, obtain a category number, and use a divisor determined by the corresponding category to calculate the prediction error. Decoding a high-efficiency code using as input data the encoded data obtained by a high-efficiency encoding method in which data to be encoded is divided to obtain a remainder, and the category number and the remainder are encoded to obtain encoded data. The method comprises: 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 for the category indicated by the category number. generating an offset of an integral multiple of the divisor using at least one of the upper limit value or the lower limit value of the range, the divisor found from the category number, and the predicted value; and adding the offset and the remainder to create a new offset. When a control signal is input from the outside, the step of obtaining a predicted value performs a prediction method different from the one used during encoding using the control signal to obtain the predicted value, and offsets the predicted value. A high efficiency code decoding method, wherein the step of generating generates an offset so that the output data obtained by decoding using the control signal has a high correlation with the predicted value.
化入力とし、前記入力データを所定数まとめてブロック
を形成するステップと、ブロックのデータに所定の変換
を行なってDC成分とAC成分を求めてそれぞれを量子
化するステップと、前記量子化されたDC成分のデータ
Dを符号化してDC符号化データを出力するステップと
、前記量子化されたAC成分を符号化してAC符号化デ
ータを出力するステップとを備え、前記DC符号化デー
タを出力するステップが、前記データDとその予測値と
の差である予測誤差を得、前記予測誤差をその大きさに
よりカテゴリに分類してカテゴリ番号を得、該当するカ
テゴリによって定まる除数で前記データDを除算して剰
余を得、前記カテゴリ番号と前記剰余を符号化してDC
符号化データを得ることを特徴とする高能率符号化方法
。6. A step of using data as a sampled and quantized signal as an encoding input, forming a block by collecting a predetermined number of the input data, and performing a predetermined transformation on the data of the block to obtain DC and AC components. and quantizing each of them; encoding the quantized DC component data D to output DC encoded data; and encoding the quantized AC component to output AC encoded data. and outputting the DC encoded data, the step of outputting the DC encoded data obtains a prediction error which is the difference between the data D and its predicted value, and classifies the prediction error into categories according to the size thereof. A number is obtained, the data D is divided by a divisor determined by the applicable category to obtain a remainder, and the category number and the remainder are encoded and DC
A highly efficient encoding method characterized by obtaining encoded data.
化入力とし、前記入力データを所定数まとめてブロック
を構成するステップと、ブロックのデータに所定の変換
を行なってDC成分とAC成分を求めてそれぞれを量子
化するステップと、前記量子化されたDC成分のデータ
Dを符号化してDC符号化データを出力するステップと
、前記量子化されたAC成分を符号化してAC符号化デ
ータを出力するステップとを備え、前記DC符号化デー
タを出力するステップが、前記データDとその予測値と
の差である予測誤差を得、前記予測誤差をその大きさに
よりカテゴリに分類してカテゴリ番号を得、該当するカ
テゴリによって定まる除数で前記データDを除算して剰
余を得、前記カテゴリ番号と前記剰余を符号化してDC
符号化データを得ることを特徴とする高能率符号化方法
の符号化データを入力データとする高能率符号の復号方
法であって、前記AC符号化データを復号して量子化さ
れたAC成分を得るステップと、前記DC符号化データ
を復号して量子化されたDC成分を得るステップと、前
記量子化されたAC成分を逆量子化してAC成分を得る
ステップと、前記AC成分と前記DC成分に対し逆変換
を行なってブロック内の復号データを得るステップと、
前記ブロックを分解して前記符号化入力データと同じ並
びの復号データを得て出力する逆ブロック化ステップと
を備え、前記量子化されたDC成分を得るステップが、
前記DC符号化データを復号して前記カテゴリ番号と前
記剰余とを得るステップと、すでに復号済みの量子化デ
ータより予測値を得るステップと、前記カテゴリ番号の
示すカテゴリの予測誤差の範囲の上限値または下限値の
少なくとも一方と、前記カテゴリ番号より求まる除数、
および前記予測値とを用いて除数の整数倍のオフセット
を生成するステップと、前記オフセットと前記剰余とを
加算して新たな量子化データDを得るステップとを備え
、外部から制御信号が入力された場合、前記予測値を得
るステップが前記制御信号により符号化時とは異なった
予測方法を行い、前記オフセットを生成するステップが
、前記制御信号により復号中のブロックの復号データが
復号中のブロックに隣接し、誤りの生じていないブロッ
クの復号データとの相関が最も高くなるようにオフセッ
トを生成することを特徴とする高能率符号の復号方法。7. A step of using data as a sampled and quantized signal as an encoding input, configuring a block by collecting a predetermined number of the input data, and performing a predetermined transformation on the data of the block to obtain DC and AC components. and quantizing each of them; encoding the quantized DC component data D to output DC encoded data; and encoding the quantized AC component to output AC encoded data. and outputting the DC encoded data, the step of outputting the DC encoded data obtains a prediction error which is the difference between the data D and its predicted value, and classifies the prediction error into categories according to the size thereof. A number is obtained, the data D is divided by a divisor determined by the applicable category to obtain a remainder, and the category number and the remainder are encoded and DC
A high-efficiency code decoding method that uses encoded data as input data of a high-efficiency encoding method characterized by obtaining encoded data, the method comprising decoding the AC encoded data to obtain a quantized AC component. decoding the DC encoded data to obtain a quantized DC component; dequantizing the quantized AC component to obtain an AC component; performing inverse transformation on the block to obtain decoded data in the block;
a deblocking step of decomposing the block to obtain and output decoded data in the same order as the encoded input data, and obtaining the quantized DC component,
decoding the DC encoded data to obtain the category number and the remainder; obtaining a predicted value from already decoded quantized data; and an upper limit value of the prediction error range of the category indicated by the category number. or at least one of the lower limit value and a divisor determined from the category number,
and the predicted value to generate an offset that is an integer multiple of the divisor, and the step of adding the offset and the remainder to obtain new quantized data D. In this case, the step of obtaining the predicted value uses the control signal to perform a prediction method different from that used during encoding, and the step of generating the offset includes the step of obtaining the predicted value using the control signal so that the decoded data of the block being decoded is the block being decoded. A method for decoding a high-efficiency code, the method comprising: generating an offset so as to have the highest correlation with decoded data of a block adjacent to the block in which no error has occurred.
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 true JPH04343576A (en) | 1992-11-30 |
JP2765268B2 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) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007520948A (en) * | 2004-01-20 | 2007-07-26 | 松下電器産業株式会社 | Image encoding method, image decoding method, image encoding device, image decoding device, and program |
US7933327B2 (en) | 2004-01-30 | 2011-04-26 | Panasonic Corporation | Moving picture coding method and moving picture decoding method |
US8401074B2 (en) | 2004-01-30 | 2013-03-19 | Panasonic Corporation | Picture coding method, picture decoding method, picture coding apparatus, picture decoding apparatus, and program thereof |
WO2014057988A1 (en) * | 2012-10-12 | 2014-04-17 | 独立行政法人情報通信研究機構 | Device, program, and method for reducing data size of multiple images containing similar information, and data structure expressing multiple images containing similar information |
WO2014057989A1 (en) * | 2012-10-12 | 2014-04-17 | 独立行政法人情報通信研究機構 | Device, program, and method for reducing data size of multiple images containing similar information |
WO2014156647A1 (en) * | 2013-03-27 | 2014-10-02 | 独立行政法人情報通信研究機構 | Method for encoding a plurality of input images and storage medium and device for storing program |
WO2014156648A1 (en) * | 2013-03-27 | 2014-10-02 | 独立行政法人情報通信研究機構 | Method for encoding a plurality of input images and storage medium and device for storing program |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2924416B2 (en) | 1992-02-21 | 1999-07-26 | 松下電器産業株式会社 | High efficiency coding method |
-
1991
- 1991-05-21 JP JP11600891A patent/JP2765268B2/en not_active Expired - Fee Related
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7995650B2 (en) | 2004-01-20 | 2011-08-09 | Panasonic Corporation | Picture coding method, picture decoding method, picture coding apparatus, picture decoding apparatus, and program thereof |
US7912122B2 (en) | 2004-01-20 | 2011-03-22 | Panasonic Corporation | Picture coding method, picture decoding method, picture coding apparatus, picture decoding apparatus |
JP2007520948A (en) * | 2004-01-20 | 2007-07-26 | 松下電器産業株式会社 | Image encoding method, image decoding method, image encoding device, image decoding device, and program |
JP2011101420A (en) * | 2004-01-20 | 2011-05-19 | Panasonic Corp | Coding method of quantization matrix, coding apparatus of moving image and moving image signal stream |
US8401074B2 (en) | 2004-01-30 | 2013-03-19 | Panasonic Corporation | Picture coding method, picture decoding method, picture coding apparatus, picture decoding apparatus, and program thereof |
US8194734B2 (en) | 2004-01-30 | 2012-06-05 | Panasonic Corporation | Moving picture coding method and moving picture decoding method |
US8218623B2 (en) | 2004-01-30 | 2012-07-10 | Panasonic Corporation | Moving picture coding method and moving picture decoding method |
US8396116B2 (en) | 2004-01-30 | 2013-03-12 | Panasonic Corporation | Moving picture coding method and moving picture decoding method |
US7933327B2 (en) | 2004-01-30 | 2011-04-26 | Panasonic Corporation | Moving picture coding method and moving picture decoding method |
US8477838B2 (en) | 2004-01-30 | 2013-07-02 | Panasonic Corporation | Moving picture coding method and moving picture decoding method |
USRE46500E1 (en) | 2004-01-30 | 2017-08-01 | Dolby International Ab | Moving picture coding method and moving picture decoding method |
USRE48401E1 (en) | 2004-01-30 | 2021-01-19 | Dolby International Ab | Moving picture coding method and moving picture decoding method |
USRE49787E1 (en) | 2004-01-30 | 2024-01-02 | Dolby International Ab | Moving picture coding method and moving picture decoding method |
WO2014057988A1 (en) * | 2012-10-12 | 2014-04-17 | 独立行政法人情報通信研究機構 | Device, program, and method for reducing data size of multiple images containing similar information, and data structure expressing multiple images containing similar information |
WO2014057989A1 (en) * | 2012-10-12 | 2014-04-17 | 独立行政法人情報通信研究機構 | Device, program, and method for reducing data size of multiple images containing similar information |
WO2014156647A1 (en) * | 2013-03-27 | 2014-10-02 | 独立行政法人情報通信研究機構 | Method for encoding a plurality of input images and storage medium and device for storing program |
WO2014156648A1 (en) * | 2013-03-27 | 2014-10-02 | 独立行政法人情報通信研究機構 | Method for encoding a plurality of input images and storage medium and device for storing program |
Also Published As
Publication number | Publication date |
---|---|
JP2765268B2 (en) | 1998-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5392037A (en) | Method and apparatus for encoding and decoding | |
US9774884B2 (en) | System and method for using pattern vectors for video and image coding and decoding | |
US8565298B2 (en) | Encoder rate control | |
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 | |
US7016545B1 (en) | Reversible embedded wavelet system implementation | |
EP0369682B1 (en) | Efficient coding method and its decoding method | |
JP2000013799A (en) | Device and method for motion compensation encoding and decoding | |
KR100959837B1 (en) | Optimal Method and System for Mapping Parameter Values to Codeword Indices | |
JP3087835B2 (en) | Image encoding method and apparatus and image decoding method and apparatus | |
JP2765268B2 (en) | High efficiency coding method and high efficiency code decoding method | |
KR100242635B1 (en) | Variable length coding and variable length decoding system | |
JP2924416B2 (en) | High efficiency coding method | |
JP4415651B2 (en) | Image encoding apparatus and image decoding apparatus | |
JP4241517B2 (en) | Image encoding apparatus and image decoding apparatus | |
JPH0748859B2 (en) | Predictive coding method for television signals | |
JPH0879537A (en) | Picture information encoding processor and picture information communication equipment | |
JP2002290743A (en) | Image information coding method, coding apparatus, digital copying machine, digital facsimile machine, and digital filing apparatus | |
RU2765654C9 (en) | Method and device for digital data compression | |
RU2765654C2 (en) | Method and device for digital data compression | |
JPH11338853A (en) | Image coding method | |
JP2570794B2 (en) | High-efficiency encoder for television signals. | |
JP2000261812A (en) | Image coder and decoder | |
KR100204469B1 (en) | An image encoder using corner data | |
KR0123092B1 (en) | Picture start position code coding method and apparatus | |
KR100204467B1 (en) | Block Video Coder Using Corner Data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |