JPH04119793A - Coder for video signal - Google Patents

Coder for video signal

Info

Publication number
JPH04119793A
JPH04119793A JP2240834A JP24083490A JPH04119793A JP H04119793 A JPH04119793 A JP H04119793A JP 2240834 A JP2240834 A JP 2240834A JP 24083490 A JP24083490 A JP 24083490A JP H04119793 A JPH04119793 A JP H04119793A
Authority
JP
Japan
Prior art keywords
encoding
block
blocks
decoding
decoded data
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.)
Pending
Application number
JP2240834A
Other languages
Japanese (ja)
Inventor
Masazumi Yamada
正純 山田
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 JP2240834A priority Critical patent/JPH04119793A/en
Publication of JPH04119793A publication Critical patent/JPH04119793A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease an error at a block border by providing a 1st coding means which classifies small divided blocks into two groups and applies 1st coding to a block belonging to the 1st group and a 2nd coding means which applies coding of a difference between a predicted value and a true value to each of blocks belonging to the 2nd group to the device which divides a pattern into small blocks and applies coding to them. CONSTITUTION:Blocks in a buffer memory 2 are subject to coding and decoding sequentially by an orthogonal transformation device 6, a quantizer 7, an inverse quantizer 8 and an inverse orthogonal transformation device 9 as the 1st coding. A difference between a predicted value and a true value is calculated by a subtractor 11 and the difference is coded by an orthogonal transformation (discrete sine transformation) device 12 and a quantizer 13 as the 2nd coding. A quantized data of a part coded by the 1st coding is read and stored in a buffer memory 15 and the stored data is decoded by using the inverse quantizer 8 and the inverse orthogonal transformation device 9 as the 1st decoding. Then the difference in each block is decoded by the inverse quantizer 17 and the inverse orthogonal transformation device 18 as the 2nd decoding.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は映像信号の符号化装置に関する。[Detailed description of the invention] Industrial applications The present invention relates to a video signal encoding device.

従来の技術 映像信号の高能率符号化方法の一つに直交変換によるも
のがある。
One of the conventional high-efficiency encoding methods for video signals is based on orthogonal transformation.

これは画面を小ブロックに分割し、各ブロック内を直交
変換し、この係数を符号化するものである。一般に映像
信号では、画素間の相関性が強く、小ブロックに分割し
たものに直交変換を施すと、値の大きな係数は低周波部
分、すなわち2次元の行列で示した場合の左上の部分に
集中する傾向がある。また、ブロック内の特徴的な周波
数成分がみられる場合には、その周波数に相当する部分
の係数が大きく現われる。このように集中した係数の付
近のみに量子化する範囲を限定したり、量子化の幅を可
変にすることにより、係数の符号化に要するビット数を
小さくすることができる。
This divides the screen into small blocks, orthogonally transforms each block, and encodes the coefficients. In general, video signals have strong correlations between pixels, and when orthogonal transformation is applied to a signal divided into small blocks, coefficients with large values are concentrated in the low frequency part, that is, in the upper left part when expressed as a two-dimensional matrix. There is a tendency to Further, when a characteristic frequency component within a block is observed, the coefficient of the portion corresponding to that frequency appears large. By limiting the range of quantization to only the vicinity of concentrated coefficients or by making the quantization width variable, the number of bits required for encoding coefficients can be reduced.

第5図は従来の直交変換を用いた映像信号の符号化方法
を説明するための符号器および復号器の構成図である。
FIG. 5 is a block diagram of an encoder and a decoder for explaining a conventional method of encoding a video signal using orthogonal transform.

同図において(a)は符号器の構成図でありバッファメ
モリ23に蓄えられた画像信号は、ブロック化器22に
より縦8画素×横8画素などのブロックに分割される。
In the figure, (a) is a block diagram of the encoder, and the image signal stored in the buffer memory 23 is divided by the block generator 22 into blocks such as 8 pixels vertically by 8 pixels horizontally.

それぞれのブロックの信号は直交変換器25、および量
子化器26により順に符号化される。量子化された結果
はバッファメモリ24に蓄えられた後、符号化出力とし
て出力される。
The signals of each block are sequentially encoded by an orthogonal transformer 25 and a quantizer 26. The quantized result is stored in the buffer memory 24 and then output as an encoded output.

第5図(b)は復号器の構成図である。図において符号
化入力信号はバッファメモリ27に蓄えられた後、逆量
子化器28、逆直交変換器29により復号化する。復号
化された結果はバッファメモリ31に蓄えられた後、逆
ブロツク化器30により元の配列に戻され出力される。
FIG. 5(b) is a block diagram of the decoder. In the figure, the encoded input signal is stored in a buffer memory 27 and then decoded by an inverse quantizer 28 and an inverse orthogonal transformer 29. The decoded result is stored in the buffer memory 31, and then returned to the original arrangement by the deblocker 30 and output.

発明が解決しようとする課題 しかしながら、従来の方法では、符号化データ量を小さ
くした場合、高域成分が正しく復元されなくなり、それ
ぞれのブロック間に不連続が生じ、ブロックノイズと呼
ばれる画像の劣化が生じる。
Problems to be Solved by the Invention However, in conventional methods, when the amount of encoded data is reduced, high-frequency components cannot be restored correctly, discontinuity occurs between each block, and image deterioration called block noise occurs. arise.

本発明はかかる点に鑑み、従来よりもブロックノイズが
目立たず、より効率の高い映像信号の符号化方法を提供
することを目的とする。
In view of the above, it is an object of the present invention to provide a video signal encoding method that makes block noise less noticeable and is more efficient than the conventional method.

課題を解決するための手段 本発明は画面を小ブロックに分割して符号化を行なう装
置において、分割した小ブロックを2つのグループに分
類し、第1のグループに属するブロックに対しては第1
の符号化手段を適用して、符号化データを得るとともに
、前記第1の符号化手段に対応した第1の復号化手段を
設けてブロックの復号データを得、第2のグループに属
するブロックの各々に対しては、第1の符号化復号化を
行なったブロックの復号データおよび第2グループに属
しているブロックのうちで既に符号化および復号化済み
のブロックの復号データの、全部あるいは一部を用いて
ブロック内の予測値を計算する手段を設けて予測値を得
、前記予測値と真値との差分値を符号化する第2の符号
化手段および第2の符号化手段に対応した第2の復号化
手段を設けて1画面の符号化を実行し、同様に復号に際
しては、第1のグループに属するブロックに対して第1
の復号化手段を適用して、復号データを得、残りグルー
プに属するプロ、りの各々に対しては、符号化時と同様
にブロック内の予測値を計算する手段を設けて予測値を
得るとともに、第2の符号化手段に対応した復号化手段
を設けて差分値の復号データを得、前記予測値と差分値
の復号データとの和を求めることにより1画面の復号化
を実行することを特徴とする映像信号の符号化装置であ
り、また画面を小ブロックに分割して符号化を行なう装
置において、分割した小ブロツクを2つのグループに分
類し、第1のグループに属するブロックに対して第1の
符号化手段を適用して、符号化データを得るとともに、
前記第1の符号化手段に対応した第1の復号化手段を設
けてブロックの復号データを得、残りのグループに属す
るブロックの各々に対しては、各kをさらに複数のサブ
ブロックに分割し、第1の符号化および復号化を行なっ
たブロックの復号データおよび第2グループに属してい
るブロックのうちで既に符号化および復号化済みのブロ
ックの復号データおよび符号化しようとするブロック内
で既に符号化および復号化済みのサブブロックの復号デ
ータの、全部あるいは一部を用いて、順次各サブブロッ
ク内の予測値を計算する手段を設けて予測値を得、前記
予測値と真値との差分値を符号化する第2の符号化手段
および前記第2の符号化手段に対応した復号化手段を設
けて1画面の符号化を実行し、同様に復号に際しては、
第1のグループに属するブロックに対して第1の復号化
手段を適用して復号データを得、残りグループに属する
ブロックの各々に対しては、符号化時と同様にブロック
内の予測値を計算する手段を設けて予測値を得るととも
に、第2の符号化手段に対応した復号化手段を設けて差
分値の復号データを得、前記予測値と差分値の復号デー
タとの和を求めることにより1画面の復号化を実行する
ことを特徴とする映像信号の符号化装置である。
Means for Solving the Problems The present invention provides an apparatus that divides a screen into small blocks and performs encoding.The divided small blocks are classified into two groups, and blocks belonging to the first group are classified into two groups.
The encoding means of the above is applied to obtain encoded data, and the first decoding means corresponding to the first encoding means is provided to obtain decoded data of the block, and the decoded data of the block belonging to the second group is obtained. For each, all or part of the decoded data of the block that has been encoded and decoded in the first group and the decoded data of the blocks that have already been encoded and decoded among the blocks belonging to the second group. A means for calculating a predicted value in a block using a second encoding means for obtaining a predicted value and encoding a difference value between the predicted value and the true value; A second decoding means is provided to encode one screen, and similarly, when decoding, the first decoding means is provided for blocks belonging to the first group.
The decoding means is applied to obtain decoded data, and for each of the remaining groups, a means for calculating the predicted value in the block is provided in the same way as during encoding to obtain the predicted value. At the same time, a decoding means corresponding to the second encoding means is provided to obtain decoded data of the difference value, and the decoding of one screen is executed by calculating the sum of the predicted value and the decoded data of the difference value. This is a video signal encoding device that divides the screen into small blocks and performs encoding. applying the first encoding means to obtain encoded data, and
A first decoding means corresponding to the first encoding means is provided to obtain decoded data of the block, and for each of the blocks belonging to the remaining groups, each k is further divided into a plurality of sub-blocks. , the decoded data of the blocks that have been encoded and decoded in the first group, the decoded data of the blocks that have already been encoded and decoded among the blocks belonging to the second group, and the decoded data of the blocks that have already been encoded and decoded in the blocks that are to be encoded. Using all or part of the decoded data of encoded and decoded subblocks, a means is provided to sequentially calculate a predicted value in each subblock to obtain a predicted value, and calculate the difference between the predicted value and the true value. A second encoding means for encoding a difference value and a decoding means corresponding to the second encoding means are provided to execute encoding of one screen, and similarly, upon decoding,
The first decoding means is applied to blocks belonging to the first group to obtain decoded data, and for each block belonging to the remaining groups, predicted values within the blocks are calculated in the same way as during encoding. By providing means to obtain a predicted value, providing a decoding means corresponding to the second encoding means to obtain decoded data of the difference value, and calculating the sum of the predicted value and the decoded data of the difference value. This is a video signal encoding device characterized by executing decoding of one screen.

作用 本発明は前記した装置により、ブロック境界における誤
差を小さく抑えることができ、より効率の高い符号化を
行なうことができる。
Effect of the Invention With the above-described device, the present invention can suppress errors at block boundaries to a small extent and perform encoding with higher efficiency.

また、第1の復号化と残りのブロックの予測により、第
2の復号化を行なうことなく簡易的に画面を再生できる
ため、早送りなどの特殊映像再生に適した符号化方法を
実現できる。
Furthermore, by performing the first decoding and predicting the remaining blocks, it is possible to easily reproduce the screen without performing the second decoding, so it is possible to realize an encoding method suitable for special video reproduction such as fast forwarding.

実施例 第1図は本発明の第1の実施例における映像信号の符号
化方法を説明するための符号器および復号器の構成図で
ある。同図において(a)は符号器の構成図であり、ブ
ロック化器1は縦8画素×横8画素を1ブロック単位と
して画面を分割する。分割されたブロックは切り替え器
4により第2図に示す配列に分類され、それぞれバッフ
ァメモリ2および3に入れられる。
Embodiment FIG. 1 is a block diagram of an encoder and a decoder for explaining a video signal encoding method in a first embodiment of the present invention. In the figure, (a) is a block diagram of the encoder, and the block generator 1 divides the screen into blocks each having 8 pixels vertically by 8 pixels horizontally. The divided blocks are sorted into the arrangement shown in FIG. 2 by the switch 4 and stored in the buffer memories 2 and 3, respectively.

第1の符号化として、バッファメモリ2中のブロックは
直交変換器6、量子化器7、逆量子化器8、逆直交変換
器9により順に符号化および復号化される。量子化され
た結果はバッファメモリ14に蓄えられた後、出力され
る一方、復号化された結果は再びバッファメモリ2に入
れられて、バッファメモリ3に入れられたブロックの予
測に用いられる。
As the first encoding, the blocks in the buffer memory 2 are sequentially encoded and decoded by an orthogonal transformer 6, a quantizer 7, an inverse quantizer 8, and an inverse orthogonal transformer 9. The quantized result is stored in the buffer memory 14 and then output, while the decoded result is stored in the buffer memory 2 again and used for prediction of the block stored in the buffer memory 3.

次にバッファメモリ3に入れられたブロックの符号化を
行なう。
Next, the block stored in the buffer memory 3 is encoded.

バッファメモリ3から読みだされるそれぞれのブロック
に対し、その4辺のいずれかに接して取り囲む位置、す
なわち元のブロック位置において1ブロツク前、1ブロ
ツク後、hブロック前、hフロック後のブロックのうち
、復号済みのものをアドレス発生器5からのアドレスを
元にバッファメモリ2およびバッファメモリ34から読
み出す。
For each block read from the buffer memory 3, the positions surrounding it on any of its four sides, that is, the blocks 1 block before, 1 block after, h blocks before, and h blocks after the original block position. Among them, the decoded ones are read out from the buffer memory 2 and the buffer memory 34 based on the address from the address generator 5.

バッファメモリ2から読みだされたブロックの信号値よ
り、求めるブロックの信号値内挿信号発生器10を用い
て予測する。
Based on the signal value of the block read from the buffer memory 2, the signal value of the desired block is predicted using the interpolation signal generator 10.

第2の符号化として、予測値と実際値との差分を減算器
11によって算出し、差分値を直交変換(離散サイン変
換)器12、量子化器13によって符号化する。この場
合、周辺の情報を用いて内挿するため、差分値はブロッ
ク境界付近で小さく、中心付近で大きくなると考えられ
る。離散サイン変換はサイン関数で近似するため、境界
で0、中心で大きくなる信号の近似に適している。この
ため、直交変換器12には離散サイン変換を用いること
により効率よい量子化ができる。
As second encoding, the difference between the predicted value and the actual value is calculated by the subtracter 11, and the difference value is encoded by the orthogonal transform (discrete sine transform) device 12 and the quantizer 13. In this case, since peripheral information is used for interpolation, the difference value is considered to be small near the block boundary and large near the center. Discrete sine transformation approximates using a sine function, so it is suitable for approximating a signal that is 0 at the boundary and becomes large at the center. Therefore, efficient quantization can be achieved by using discrete sine transform in the orthogonal transformer 12.

符号化された結果はバッファメモリ14に蓄えられた後
、出力される。さらに逆量子化器17、逆直交変換器1
8によって差分値を復号化する。復号化された差分値を
、予測された信号値に加算器20により加えて同ブロッ
クの復号値とし、バッファメモリ34に蓄える。
The encoded result is stored in the buffer memory 14 and then output. Furthermore, an inverse quantizer 17 and an inverse orthogonal transformer 1
8 to decode the difference value. The decoded difference value is added to the predicted signal value by the adder 20 to form the decoded value of the same block, and is stored in the buffer memory 34.

第1図(b)は本発明の第1の実施例における復号器の
構成図である。図において第1の符号化により符号化さ
れた部分の量子化データを読みだしこれをバッファメモ
1月5に蓄えた後、第1の復号化として、逆量子化器8
、逆直交変換器9により復号化する。復号化された結果
はバッファメモ1月9に蓄えられる。
FIG. 1(b) is a block diagram of a decoder in a first embodiment of the present invention. In the figure, after reading out the quantized data of the part encoded by the first encoding and storing it in the buffer memory, the inverse quantizer 8 performs the first decoding.
, decoded by the inverse orthogonal transformer 9. The decrypted results are stored in the buffer memo January 9th.

復号化されたブロックの信号値より、符号化時と同様に
近傍のブロックの信号値を内挿信号発生器10を用いて
予測する。
Based on the signal value of the decoded block, the interpolation signal generator 10 is used to predict the signal value of a neighboring block, as in the case of encoding.

次に第2の復号化として、第2の符号化により符号化さ
れた部分の量子化データを読みだしバッファメモリ托に
蓄えた後、逆量子化器17、逆直交変換器18によって
各ブロックにおける差分値を復号化する。復号化された
差分値を、符号化時と同様に予測された信号値に加算器
20により加えて復号値とする。各ブロックの復号化結
果は、バッファメモリ19に蓄えられ、第1の復号結果
とともに逆ブロツク化器21により元の配列に戻された
後出力される。
Next, in the second decoding, the quantized data of the part encoded by the second encoding is read out and stored in the buffer memory, and then the inverse quantizer 17 and the inverse orthogonal transformer 18 Decode the difference value. The decoded difference value is added to the predicted signal value by the adder 20 in the same way as during encoding to obtain a decoded value. The decoding result of each block is stored in the buffer memory 19, and is returned to the original arrangement by the deblocker 21 together with the first decoding result and then output.

ここで、第1の復号化結果と残りのブロックの予測結果
を直接バッファメモ1月9に送り、出力することにより
、第2の復号化の手順、すなわち符号化入力の読みだし
、逆量子化、逆直交変換、加算の手順を行なうことなく
簡易的に画面を再生できる。この場合、簡易再生に要す
る時間は、データの読みだし時間、演算時間とも通常再
生の約半分となり、早送りなどの特殊再生に適した符号
化方法が実現できる。
Here, by sending the first decoding result and the prediction result of the remaining blocks directly to the buffer memory and outputting it, the second decoding procedure, namely reading the encoded input, dequantization The screen can be easily reproduced without performing steps such as , inverse orthogonal transformation, and addition. In this case, the time required for simple playback is approximately half that of normal playback for both the data read time and calculation time, making it possible to realize an encoding method suitable for special playback such as fast forwarding.

第3図は本発明の第2の実施例における映像信号の符号
化方法を説明するための符号器および復号器の構成図で
ある。同図において(a)は符号器の構成図であり、ブ
ロック化器1は縦8画素×横8画素を1ブロック単位と
して画面を分割する。分割されたブロックは切り替え器
4により第4図に示す配列に分類されて、それぞれバッ
ファメモリ2および3に入れられる。
FIG. 3 is a block diagram of an encoder and a decoder for explaining a video signal encoding method in a second embodiment of the present invention. In the figure, (a) is a block diagram of the encoder, and the block generator 1 divides the screen into blocks each having 8 pixels vertically by 8 pixels horizontally. The divided blocks are sorted into the arrangement shown in FIG. 4 by the switch 4 and stored in the buffer memories 2 and 3, respectively.

第1の符号化として、バッファメモリ2中のブロックは
直交変換器6、量子化器7、逆量子化器8、逆直交変換
器9により順に符号化、および復号化される。量子化さ
れた結果はバッファメモリ14に蓄えられた後、符号化
出力として出力される。
As the first encoding, the blocks in the buffer memory 2 are sequentially encoded and decoded by the orthogonal transformer 6, the quantizer 7, the inverse quantizer 8, and the inverse orthogonal transformer 9. The quantized result is stored in the buffer memory 14 and then output as an encoded output.

復号化された結果は再びバッファメモリ2に入れられ、
バッファメモリ3に入れられたブロックの予測に用いら
れる。
The decoded result is put into buffer memory 2 again,
It is used to predict blocks stored in the buffer memory 3.

次にバッファメモリ3に入れられたブロックの符号化を
行なう。
Next, the block stored in the buffer memory 3 is encoded.

バッファメモリ3から読みだされるそれぞれのブロック
に対し、その4辺のいずれかに接して取り囲む位置、す
なわち元のブロック位置においてブロック前、lブロッ
ク後、hブロック前、hブロック後のブロックのうち復
号化済みのものをアドレス発生器5からのアドレスを元
にバッファメモリ2およびバッファメモリ34から読み
出す。
For each block read from the buffer memory 3, the position surrounding it on any of its four sides, that is, the block before the block, after l block, before h block, and after h block at the original block position. The decoded data is read from the buffer memory 2 and the buffer memory 34 based on the address from the address generator 5.

同時にバッファメモリ3から読みだされたブロックを、
サブブロック化器32により第4図に示すように4つの
サブブロックに分割する。
At the same time, the blocks read from buffer memory 3 are
The subblock generator 32 divides the image into four subblocks as shown in FIG.

バッファメモリ2から読みだされた4つのブロックの信
号値より、求めるサブブロックの信号値を内挿信号発生
器10を用いて予測する。
Based on the signal values of the four blocks read from the buffer memory 2, the interpolation signal generator 10 is used to predict the signal value of the desired sub-block.

第2の符号化として、予測値と実際値との差分を減算器
11によって算出し、差分値を直交変換(離散サイン変
換)器12、量子化器13によって符号化する。
As second encoding, the difference between the predicted value and the actual value is calculated by the subtracter 11, and the difference value is encoded by the orthogonal transform (discrete sine transform) device 12 and the quantizer 13.

符号化された結果はバッファメモ1月4に蓄えられた後
、符号化出力として出力される。さらに逆量子化器17
、逆直交変換器18によって差分値を復号化する。復号
化された差分値を、予測された信号値に加算器20によ
り加えて同サブブロックの復号値とし、バッファメモリ
34に蓄える。
The encoded result is stored in the buffer memo 4 and then output as an encoded output. Furthermore, the inverse quantizer 17
, the difference value is decoded by the inverse orthogonal transformer 18. The decoded difference value is added to the predicted signal value by the adder 20 to form the decoded value of the same sub-block, and is stored in the buffer memory 34.

残りのサブブロックに関しては第4図に示すように順次
、バッファメモリ2から読みだされた第1の符号化およ
び復号化結果の信号値と、バッファメモリ34にたくわ
えられた同ブロック中で先に符号化および復号化された
サブブロックの信号値から予測を行なう。予測値と実測
値との差分を減算器11によって算出し、差分値を直交
変換器12、量子化器13によって符号化する。
As for the remaining sub-blocks, as shown in FIG. Prediction is performed from signal values of encoded and decoded subblocks. A subtracter 11 calculates the difference between the predicted value and the measured value, and the orthogonal transformer 12 and quantizer 13 encode the difference value.

第3図(b)は本発明の第1の実施例における復号器の
構成図である。図において第1の符号化により符号化さ
れた部分、すなわちr + Jが偶数のブロック部分を
読みだしバッファメモリ15に蓄えた後、第1の復号化
として、逆量子化器8、逆直交変換器9により復号化す
る。復号化された結果はハンファメモ1月9に蓄えられ
る。
FIG. 3(b) is a block diagram of a decoder in the first embodiment of the present invention. In the figure, after reading out the part encoded by the first encoding, that is, the block part where r + J is an even number and storing it in the buffer memory 15, the inverse quantizer 8 and the inverse orthogonal transform are used as the first decoding. The encoder 9 decodes the data. The decrypted results will be stored in Hanwha Memo January 9th.

復号化されたブロックの信号値より、4つのブロックに
取り囲まれるブロックの信号値を内挿信号発生器10を
用いて予測する。
Based on the signal values of the decoded blocks, the interpolation signal generator 10 predicts the signal values of the blocks surrounded by the four blocks.

次に第2の復号化として、第2の符号化により符号化さ
れた部分、すなわち1+Jが奇数のブロック部分を読み
だしバッファメモリ16に蓄えた後、逆量子化器17、
逆直交変換器18によって各サブブロックにおける差分
値を復号化する。復号化された差分値を、符号化時と同
様に予測された信号値に加算器20により加えて復号値
とする。各サブブロックの復号化された結果は、逆サブ
ブロック器33によりもとのブロック配列に戻されたの
ちバッファメモリ19に蓄えられ、第1の復号結果とと
もに逆ブロツク化器21により元の配列に戻された後出
力される。
Next, as second decoding, after reading out the part encoded by the second encoding, that is, the block part where 1+J is an odd number and storing it in the buffer memory 16, the inverse quantizer 17,
The inverse orthogonal transformer 18 decodes the difference value in each subblock. The decoded difference value is added to the predicted signal value by the adder 20 in the same way as during encoding to obtain a decoded value. The decoded result of each sub-block is restored to the original block arrangement by the deblocker 33 and then stored in the buffer memory 19, and then restored to the original arrangement by the deblocker 21 along with the first decoded result. Output after being returned.

なお、本実施例において、サブブロックへの分割法を、
図2(b)に示したような4等分としたが、この分割数
および形状は任意である。
In addition, in this example, the division method into subblocks is as follows:
Although it was divided into four equal parts as shown in FIG. 2(b), the number of divisions and the shape are arbitrary.

なお、以上の実施例においてブロックの分割を8×8画
素毎としたが、ブロックの大きさは任意でよく、また第
1、第2の符号化を行なう部分の分類法および求めるブ
ロックの予測の方法も任意でよい。また、量子化器の前
に直交変換器を設けたが、これは予測符号化器のような
他の方法を用いてもよく、また、第2の変換の方法は離
散サイン変換を用いるとしたが、これは他の方法を用い
てもよい。
In the above embodiments, the blocks were divided into 8x8 pixels, but the size of the blocks may be arbitrary. Any method may be used. Also, although an orthogonal transformer is provided before the quantizer, other methods such as a predictive encoder may be used for this, and the second transform method uses a discrete sine transform. However, other methods may also be used.

発明の詳細 な説明したように、本発明によれば、ブロックノイズが
目立たず、より効率の高い符号化を行なうことができる
As described in detail, according to the present invention, block noise is less noticeable and more efficient encoding can be performed.

また、第1の復号化と残りのブロックの予測により、第
2の復号化を行なうことなく簡易的に画面を再生できる
ため、早送りなどの特殊映像再生に適した符号化方法を
実現できる。
Furthermore, by performing the first decoding and predicting the remaining blocks, it is possible to easily reproduce the screen without performing the second decoding, so it is possible to realize an encoding method suitable for special video reproduction such as fast forwarding.

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

第1図は本発明の第1の実施例における映像信号の符号
化方法を説明するための符号器、復号器の構成図、第2
図は本発明の第1および第2の実施例におけるブロック
分類方法を説明するための図、第3図は本発明の第2の
実施例における映像信号の符号化方法を説明するための
符号器、復号器の構成図、第4図は本発明の第2の実施
例におけるブロック分類方法およびサブブロック分割方
法を説明するための図、第5図は従来の直交変換による
映像信号の符号化方法を説明するための符号器、復号器
の構成図である。 1・・・・・・ブロック化器、2.3.14.15.1
6.19.34・・・・・・バッファメモリ、4・・・
・・・切り替え器、5・・・・・・アドレス発生器、6
.12・・・・・・直交変換器、7.13・・・・・・
量子化器、8.17・・・・・・逆量子化器、9.18
・・・・・・逆直交変換器、10・・・・・・内挿信号
発生器、11・・・・・・減算器、20・・・・・・加
算器、21・・・・・・逆ブロツク化器、32・・・・
・・サブブロック化器、33・・・・・・逆サブブロッ
ク化器。 代理人の氏名 弁理士 小鍜治 明 ほか2名第 (b) 第 し1 0コ 第2の符号プし 1菫号イし 第 (b)
FIG. 1 is a block diagram of an encoder and a decoder for explaining the video signal encoding method in the first embodiment of the present invention, and FIG.
The figure is a diagram for explaining the block classification method in the first and second embodiments of the present invention, and FIG. 3 is an encoder for explaining the video signal encoding method in the second embodiment of the present invention. , a block diagram of a decoder, FIG. 4 is a diagram for explaining the block classification method and sub-block division method in the second embodiment of the present invention, and FIG. 5 is a conventional orthogonal transform video signal encoding method. FIG. 2 is a configuration diagram of an encoder and a decoder for explaining. 1...Blocker, 2.3.14.15.1
6.19.34...Buffer memory, 4...
...Switcher, 5...Address generator, 6
.. 12... Orthogonal transformer, 7.13...
Quantizer, 8.17... Inverse quantizer, 9.18
...Inverse orthogonal transformer, 10...Interpolation signal generator, 11...Subtractor, 20...Adder, 21...・Deblocker, 32...
...Subblock generator, 33...Reverse subblock generator. Name of agent: Patent attorney Akira Kokaji and 2 others No. 1 (b)

Claims (4)

【特許請求の範囲】[Claims] (1)画面を小ブロックに分割して符号化を行なう装置
において、分割した小ブロックを2つのグループに分類
し、第1のグループに属するブロックに対して第1の符
号化手段を適用して、符号化データを得るとともに、前
記第1の符号化手段に対応した第1の復号化手段を設け
てブロックの復号データを得、第2のグループに属する
ブロックの各々に対しては、第1の符号化および復号化
を行なったブロックの復号データおよび第2グループに
属しているブロックのうちで既に符号化および復号化済
みのブロックの復号データの、全部あるいは一部を用い
てブロック内の予測値を計算する手段を設けて予測値を
得、前記予測値と真値との差分値を符号化する第2の符
号化手段および第2の符号化手段に対応した第2の復号
化手段を設けて1画面の符号化を実行し、同様に復号に
際しては、第1のグループに属するブロックに対して第
1の復号化手段を適用して、復号データを得、残りグル
ープに属するブロックの各々に対しては、符号化時と同
様にブロック内の予測値を計算する手段を設けて予測値
を得るとともに、第2の符号化手段に対応した復号化手
段を設けて差分値の復号データを得、前記予測値と差分
値の復号データとの和を求めることにより1画面の復号
化を実行する映像信号の符号化装置。
(1) In a device that divides a screen into small blocks and performs encoding, the divided small blocks are classified into two groups, and the first encoding means is applied to the blocks belonging to the first group. , obtain encoded data and provide a first decoding means corresponding to the first encoding means to obtain decoded data of the block, and for each block belonging to the second group, the first decoding means is provided. Prediction within a block using all or part of the decoded data of the block that has been encoded and decoded and the decoded data of the block that has already been encoded and decoded among the blocks belonging to the second group. A means for calculating a value is provided to obtain a predicted value, a second encoding means for encoding a difference value between the predicted value and the true value, and a second decoding means corresponding to the second encoding means. Similarly, during decoding, the first decoding means is applied to blocks belonging to the first group to obtain decoded data, and each of the blocks belonging to the remaining groups is , a means for calculating the predicted value within the block is provided in the same way as during encoding to obtain the predicted value, and a decoding means corresponding to the second encoding means is provided to obtain decoded data of the difference value. A video signal encoding device that executes decoding of one screen by calculating the sum of the predicted value and the decoded data of the difference value.
(2)画面を小ブロックに分割して符号化を行なう装置
において、分割した小ブロックを2つのグループに分類
し、第1のグループに属するブロックに対して第1の符
号化手段を適用して、符号化データを得るとともに、前
記第1の符号化手段に対応した第1の復号化手段を設け
てブロックの復号データを得、残りのグループに属する
ブロックの各々に対しては、各々をさらに複数のサブブ
ロックに分割し、第1の符号化および復号化を行なった
ブロックの復号データおよび第2グループに属している
ブロックのうちで既に符号化および復号化済みのブロッ
クの復号データおよび符号化しようとするブロック内で
既に符号化および復号化済みのサブブロックの復号デー
タの、全部あるいは一部を用いて、順次各サブブロック
内の予測値を計算する手段を設けて予測値を得、前記予
測値と真値との差分値を符号化する第2の符号化手段お
よび前記第2の符号化手段に対応した復号化手段を設け
て1画面の符号化を実行し、同様に復号に際しては、第
1のグループに属するブロックに対して第1の復号化手
段を通用して復号データを得、残りグループに属するブ
ロックの各々に対しては、符号化時と同様にブロック内
の予測値を計算する手段を設けて予測値を得るとともに
、第2の符号化手段に対応した復号化手段を設けて差分
値の復号データを得、前記予測値と差分値の復号データ
との和を求めることにより1画面の復号化を実行する映
像信号の符号化装置。
(2) In a device that divides a screen into small blocks and performs encoding, the divided small blocks are classified into two groups, and the first encoding means is applied to the blocks belonging to the first group. , while obtaining encoded data, providing a first decoding means corresponding to the first encoding means to obtain decoded data of the block, and further decoding each of the blocks belonging to the remaining groups. Decoded data of a block that has been divided into multiple sub-blocks and subjected to first encoding and decoding, and decoded data and encoding of blocks that have already been encoded and decoded among blocks belonging to the second group. A means is provided to sequentially calculate a predicted value in each sub-block using all or part of the decoded data of the sub-blocks that have already been encoded and decoded in the block to be processed, and the predicted value is obtained. A second encoding means for encoding the difference value between the predicted value and the true value and a decoding means corresponding to the second encoding means are provided to execute encoding of one screen, and similarly, when decoding , obtain decoded data for blocks belonging to the first group using the first decoding means, and for each block belonging to the remaining groups, predict values in the blocks in the same way as during encoding. Providing a calculating means to obtain a predicted value, providing a decoding means corresponding to the second encoding means to obtain decoded data of the difference value, and calculating the sum of the predicted value and the decoded data of the difference value. A video signal encoding device that performs decoding of one screen.
(3)請求項第1または第2における第1および第2の
符号化手段および復号化手段において、直交変換を用い
る請求項第1または第2記載の映像信号の符号化装置。
(3) The video signal encoding device according to claim 1 or 2, wherein orthogonal transformation is used in the first and second encoding means and decoding means according to claim 1 or 2.
(4)請求項第1または第2における第2の符号化手段
および復号化手段において、離散サイン変換を用いる請
求項第1または第2記載の映像信号の符号化装置。
(4) The video signal encoding device according to claim 1 or 2, wherein the second encoding means and decoding means according to claim 1 or 2 use discrete sine transformation.
JP2240834A 1990-09-10 1990-09-10 Coder for video signal Pending JPH04119793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2240834A JPH04119793A (en) 1990-09-10 1990-09-10 Coder for video signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2240834A JPH04119793A (en) 1990-09-10 1990-09-10 Coder for video signal

Publications (1)

Publication Number Publication Date
JPH04119793A true JPH04119793A (en) 1992-04-21

Family

ID=17065392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2240834A Pending JPH04119793A (en) 1990-09-10 1990-09-10 Coder for video signal

Country Status (1)

Country Link
JP (1) JPH04119793A (en)

Similar Documents

Publication Publication Date Title
KR100289899B1 (en) Inter-block interpolation predictive encoding apparatus and method, and decoding apparatus and method
US8358701B2 (en) Switching decode resolution during video decoding
TWI521890B (en) Image coding apparatus, method and program, and image decoding apparatus, method and program
TWI816439B (en) Block-based prediction
JPH06113287A (en) Picture coder and picture decoder
US20140233646A1 (en) Methods, apparatuses, and programs for encoding and decoding picture
JPH0537915A (en) Method and device for coding image signal
KR20110114524A (en) Device, method and program for image prediction encoding, device, method and program for image prediction decoding, and encoding/decoding system and method
MXPA06002494A (en) Conditional lapped transform.
US20210266527A1 (en) Video signal processing method and device using reference sample
CA2091579A1 (en) Coding and decoding device for time-varying image
JPH02192378A (en) Inter-frame predictive coding system
TWI727826B (en) Coding using intra-prediction
JP2002064821A (en) Method for compressing dynamic image information and its system
JPH04119793A (en) Coder for video signal
JPH05207286A (en) Picture coding system
US6038345A (en) Apparatus for encoding/decoding image data
JPH02141088A (en) Moving image encoding system
JPH0465976A (en) Encoder for video signal
JPS62172884A (en) Orthogonal transform coding method for picture data
JP2005072824A (en) Method, device, and program for reducing block distortion
KR102111437B1 (en) Method and apparatus for image interpolation having quarter pixel accuracy using intra prediction modes
JPH05227517A (en) Compressed moving image decoder
JPH03209991A (en) High efficiency encoding device for video signal
JPH07112283B2 (en) Motion vector detection device and detection method