JPH10155154A - Moving image coder and moving image decoder - Google Patents

Moving image coder and moving image decoder

Info

Publication number
JPH10155154A
JPH10155154A JP31217596A JP31217596A JPH10155154A JP H10155154 A JPH10155154 A JP H10155154A JP 31217596 A JP31217596 A JP 31217596A JP 31217596 A JP31217596 A JP 31217596A JP H10155154 A JPH10155154 A JP H10155154A
Authority
JP
Japan
Prior art keywords
component
inter
value
frame difference
difference signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP31217596A
Other languages
Japanese (ja)
Inventor
Kazuto Kamikura
一人 上倉
Yutaka Watanabe
裕 渡辺
Hirotaka Jiyosawa
裕尚 如沢
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP31217596A priority Critical patent/JPH10155154A/en
Publication of JPH10155154A publication Critical patent/JPH10155154A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize efficient coding. SOLUTION: A DC component coefficient is given to a subtractor 16 through a terminal 14. A memory 18 has already stored a DC component coefficient of one preceding block. In the case that information in an N-th frame original image from a DC component prediction on/off decision section 7 indicates '1', since a terminal 19 of a switch 8 is thrown to a terminal 20, a difference obtained by the subtractor 16 between the DC component coefficient of the processing block and the DC component coefficient of one preceding block is fed to an output terminal 31 through terminals 19, 35. On the other hand, in the case that information in an N-th frame original image from the DC component prediction on/off decision section 7 indicates '0', since the terminal 19 of the switch 8 is thrown to a terminal 21, the DC component coefficient of the processing block itself is fed to the output terminal 31.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、動画像の符号化対
象フレームと参照フレームとのフレーム間差分信号を、
予め定められたブロック毎に符号化する動画像符号化装
置および動画像符号化装置によって符号化された符号化
データを復号する動画像復号装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to an inter-frame difference signal between an encoding target frame of a moving image and a reference frame.
The present invention relates to a moving image encoding device that encodes for each predetermined block and a moving image decoding device that decodes encoded data encoded by the moving image encoding device.

【0002】[0002]

【従来の技術】動画像を符号化/復号する装置として
は、符号化/復号対象フレームと参照フレームとの間の
フレーム間差分信号を符号化/復号する装置と、符号化
/復号対象フレームの信号のみを用いて符号化/復号す
る装置がある。
2. Description of the Related Art An apparatus for encoding / decoding a moving image includes an apparatus for encoding / decoding an inter-frame difference signal between a frame to be encoded / decoded and a reference frame, and an apparatus for encoding / decoding a frame to be encoded / decoded. There is an apparatus that performs encoding / decoding using only a signal.

【0003】符号化/復号対象フレームの信号のみを用
いて符号化/復号する装置では、その信号そのものに冗
長性が多く含まれるため、例えば予め定められたブロッ
ク毎に、その信号のブロック内直流成分値を既に符号化
/復号された隣近ブロックのブロック内直流成分値から
予測し、その予測誤差を符号化/復号のために用いるこ
とが多い。
In an apparatus that performs encoding / decoding using only a signal of a frame to be encoded / decoded, the signal itself contains a lot of redundancy. In many cases, a component value is predicted from a DC component value in a block of a neighboring block that has already been encoded / decoded, and the prediction error is used for encoding / decoding.

【0004】一方、符号化/復号対象フレームと参照フ
レームとの間のフレーム間差分信号を符号化/復号する
装置では、その差分信号にはすでに冗長性がほとんど含
まれていない。そこで、予め定められたブロック毎にそ
のフレーム間差分信号の直流成分値を、既に符号化/復
号されたブロックから予測すると、かえって符号化効率
が低下してしまう場合が多い。したがって、符号化/復
号対象フレームと参照フレームとの間のフレーム間差分
信号を符号化/復号する装置ではこの処理を行うことは
なかった。
On the other hand, in an apparatus for encoding / decoding an inter-frame difference signal between a frame to be encoded / decoded and a reference frame, the difference signal already contains little redundancy. Therefore, if the DC component value of the inter-frame difference signal is predicted for each predetermined block from a block that has already been encoded / decoded, the coding efficiency often decreases instead. Therefore, the apparatus that encodes / decodes the inter-frame difference signal between the encoding / decoding target frame and the reference frame has not performed this processing.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、符号化
/復号対象画像フレームと参照画像フレームとの間でフ
リッカが生じたりストロボが光ったような映像、または
フェードイン、フェードアウトのように画面全体に輝度
変化が生じた映像に対して、その映像のフレーム間差分
信号を符号化/復号する方法を用いても、そのフレーム
間差分信号には、符号化/復号対象フレームの信号その
ものに含まれる冗長性とほぼ同様な性質の冗長性が多く
含まれたままである。そのため、そのフレーム間差分信
号に対してブロック内直流成分予測処理を行わないと、
その符号化効率は大幅に低下してしまう。その一方で、
上述のとおり、大局的にほぼ一様の輝度変化が生じてい
ない映像に対しては、フレーム間差分信号に対してブロ
ック内直流成分値予測処理を行うと、符号化効率は低下
してしまう。
However, an image in which flicker occurs or a strobe illuminates between an image frame to be encoded / decoded and a reference image frame, or an entire screen such as a fade-in or fade-out image, is used. Even if a method of encoding / decoding an inter-frame difference signal of a video in which a change has occurred is used, the inter-frame difference signal has redundancy included in the signal of the encoding / decoding target frame itself. A lot of redundancy of almost the same nature as above is still included. Therefore, unless the intra-block DC component prediction processing is performed on the inter-frame difference signal,
The coding efficiency is greatly reduced. On the other hand,
As described above, if the intra-block DC component value prediction processing is performed on an inter-frame difference signal for a video in which a substantially uniform luminance change does not occur globally, the coding efficiency is reduced.

【0006】本発明の目的は、符号化効率の良い動画像
符号化装置および動画像復号装置を提供することにあ
る。
It is an object of the present invention to provide a moving picture coding apparatus and a moving picture decoding apparatus with high coding efficiency.

【0007】[0007]

【課題を解決するための手段】本発明の動画像符号化装
置は、符号化対象フレーム内の符号化対象ブロックにお
けるフレーム間差分信号直流成分値を、符号化対象フレ
ーム内の既に符号化されたブロックのフレーム間差分信
号直流成分値から予測し、その予測誤差値を出力するフ
レーム間差分信号直流成分予測手段と、該フレーム間差
分信号直流成分予測手段から出力される予測誤差値を符
号化のために用いるのか、それとも前記符号化対象ブロ
ックにおけるフレーム間差分信号直流成分値を符号化の
ために用いるのかを定められた領域単位に決定し、その
決定情報を出力するフレーム間差分信号直流成分予測オ
ン/オフ決定手段と、該フレーム間差分信号直流成分予
測オン/オフ決定手段から出力される決定情報が「フレ
ーム間差分信号直流成分予測オン」であった場合には、
前記フレーム間差分信号直流成分予測手段から出力され
る予測誤差値を符号化のために用い、逆に該フレーム間
差分信号直流成分予測オン/オフ決定手段から出力され
る決定情報が「フレーム間差分信号直流成分予測オフ」
であった場合には、前記符号化対象ブロックにおけるフ
レーム間差分信号直流成分値を符号化のために用いるフ
レーム間差分信号直流成分予測オン/オフ切替手段を有
する。
A moving picture coding apparatus according to the present invention converts a DC component value of an inter-frame difference signal in a block to be coded in a frame to be coded into a frame which has already been coded in the frame to be coded. An inter-frame difference signal DC component prediction means for predicting the inter-frame difference signal DC component value of the block and outputting the prediction error value, and a prediction error value output from the inter-frame difference signal DC component prediction means for encoding. Or whether to use the inter-frame difference signal DC component value in the encoding target block for encoding is determined for each defined area, and the inter-frame difference signal DC component prediction that outputs the determination information is determined. The decision information output from the on / off determination means and the inter-frame difference signal DC component prediction on / off If was component prediction on ",
The prediction error value output from the inter-frame difference signal DC component prediction means is used for encoding, and the decision information output from the inter-frame difference signal DC component prediction on / off determination means is “inter-frame difference signal”. Signal DC component prediction off "
In the case of, there is provided an inter-frame difference signal DC component prediction on / off switching means for using the inter-frame difference signal DC component value in the encoding target block for encoding.

【0008】また、本発明の動画像復号装置は、入力端
子から入力したフレーム間差分信号直流成分予測オン/
オフ決定情報が「フレーム間差分信号直流成分予測オ
ン」であった場合には、別に入力端子から入力したフレ
ーム間差分信号直流成分予測誤差値に、既に復号された
フレーム間差分信号直流成分値を加算した値を復号のた
めに用い、入力端子から入力したフレーム間差分信号直
流成分予測オン/オフ決定情報が「フレーム間差分信号
直流成分予測オフ」であった場合には、別に入力端子か
ら入力したフレーム間差分信号直流成分値そのものを復
号するために用いるフレーム間差分信号直流成分予測オ
ン/オフ切替手段を有する。
Further, the moving picture decoding apparatus of the present invention provides an inter-frame difference signal DC component prediction on / off input from an input terminal.
When the OFF determination information is “inter-frame difference signal DC component prediction ON”, the already decoded inter-frame difference signal DC component value is added to the inter-frame difference signal DC component prediction error value separately input from the input terminal. The added value is used for decoding, and if the inter-frame difference signal DC component prediction on / off determination information input from the input terminal is “inter-frame difference signal DC component prediction off”, the input is separately input from the input terminal. And an inter-frame difference signal DC component prediction on / off switching means used for decoding the inter-frame difference signal DC component value itself.

【0009】このように、画面全体に輝度変化が生じた
フレームに対してはフレーム間差分信号直流成分予測処
理を行い、それ以外のフレームに対してはフレーム間差
分信号直流成分予測処理を行わないようにしたため、ど
ちらの場合にも効率的な符号化が可能となる。
As described above, the inter-frame difference signal DC component prediction processing is performed on a frame in which a luminance change occurs in the entire screen, and the inter-frame difference signal DC component prediction processing is not performed on other frames. Thus, efficient encoding is possible in both cases.

【0010】[0010]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0011】図1は本発明の第1の実施形態の動画像符
号化装置のブロック図、図2は量子化される前の離散コ
サイン変換係数の値を表す図、図3は量子化後の離散コ
サイン変換係数の値を表す図である。
FIG. 1 is a block diagram of a moving picture coding apparatus according to a first embodiment of the present invention, FIG. 2 is a view showing values of discrete cosine transform coefficients before quantization, and FIG. 3 is a view after quantization. FIG. 6 is a diagram illustrating values of discrete cosine transform coefficients.

【0012】第1の実施形態の動画像符号化装置は、入
力端子1とフレームメモリ2、3と動き検出部4と動き
補償部5とブロック内差分平均値算出部6と直流成分予
測オン/オフ決定部7とスイッチ8と離散コサイン変換
部9と量子化部10とスイッチ11、15と減算器16
と出力端子17とメモリ18とスイッチ22と逆量子化
部26と逆離散コサイン変換部27と加算器28とフレ
ームメモリ29と減算器30と出力端子31、32とフ
レームメモリ36と動き補償部37で構成されている。
The moving picture coding apparatus according to the first embodiment comprises an input terminal 1, frame memories 2 and 3, a motion detecting section 4, a motion compensating section 5, an intra-block difference average calculating section 6, a DC component prediction ON / OFF OFF determining unit 7, switch 8, discrete cosine transform unit 9, quantizing unit 10, switches 11, 15 and subtractor 16
, An output terminal 17, a memory 18, a switch 22, an inverse quantization unit 26, an inverse discrete cosine transform unit 27, an adder 28, a frame memory 29, a subtractor 30, output terminals 31, 32, a frame memory 36, and a motion compensation unit 37. It is composed of

【0013】入力端子1から第Nフレーム原画像がフレ
ームメモリ2、フレームメモリ3、動き検出部4、ブロ
ック内差分平均値算出部6に入力する。フレームメモリ
3では第Nフレーム原画像を蓄えるとともに、今まで蓄
えていた第(N−1)フレーム原画像を動き検出部4、
動き補償部5に送出する。動き検出部4では、第Nフレ
ーム原画像と第(N−1)フレーム原画像との間の動ベ
クトルを、従来から広く用いられているブロックマッチ
ング法によって16×16画素のマクロブロック毎に算
出する。マクロブロック毎の動ベクトルは動き補償部5
に入力するとともに、フレームメモリ36で1フレーム
分蓄えられた後、動き補償部37、出力端子17に入力
する。動き補償部5では、フレームメモリ3から入力し
た第(N−1)原画像に対して、動き検出部4から入力
したマクロブロック毎の動ベクトル分だけずれた画素を
ブロック内差分平均値算出部6に送出する。ブロック内
差分平均値算出部6では、8×8画素のブロック毎に、
入力端子1からの第Nフレーム原画像と動き補償部5か
らの動き補償された第(N−1)フレーム原画像との差
分のブロック内平均値を算出する。算出されたブロック
毎の差分平均値は、直流成分予測オン/オフ決定部7に
入力する。直流成分予測オン/オフ決定部7では、ブロ
ック毎の差分平均値の1フレーム全体に対する平均値M
と分散Vを算出する。そして平均値Mの絶対値が予め定
められた閾値T1以上であり、かつ分散Vが予め定めら
れた閾値T2以下であった場合には、第Nフレーム原画
像に対しては直流成分予測がオンであると決定し、その
情報としてデータ“1”をスイッチ8に送出するととも
に、出力端子32から外部へ送出する。それ以外の場合
には、第Nフレーム原画像に対しては直流成分予測がオ
フであると決定し、その情報としてデータ“0”をスイ
ッチ8に送出するとともに、出力端子32から外部へ送
出する。以上の処理は、フレームメモリ2に第N原画像
が蓄えられている間に行われる。
An N-th frame original image is input from an input terminal 1 to a frame memory 2, a frame memory 3, a motion detecting section 4, and an intra-block difference average calculating section 6. In the frame memory 3, the N-th frame original image is stored, and the (N-1) -th frame original image stored so far is stored in the motion detector 4,
It is sent to the motion compensator 5. The motion detector 4 calculates a motion vector between the Nth frame original image and the (N-1) th frame original image for each macroblock of 16 × 16 pixels by a block matching method that has been widely used in the past. I do. The motion vector for each macroblock is calculated by the motion compensator 5.
, And stored in the frame memory 36 for one frame, and then input to the motion compensator 37 and the output terminal 17. The motion compensator 5 calculates a pixel shifted by the motion vector for each macroblock input from the motion detector 4 with respect to the (N-1) -th original image input from the frame memory 3, Send to 6. In the intra-block difference average value calculation unit 6, for each block of 8 × 8 pixels,
An intra-block average value of a difference between the N-th frame original image from the input terminal 1 and the motion-compensated (N-1) -th frame original image from the motion compensation unit 5 is calculated. The calculated difference average value for each block is input to the DC component prediction on / off determination unit 7. In the DC component prediction on / off determining unit 7, the average value M of the difference average value for each block over one frame is calculated.
And the variance V are calculated. When the absolute value of the average value M is equal to or larger than the predetermined threshold T1 and the variance V is equal to or smaller than the predetermined threshold T2, the DC component prediction is turned on for the Nth frame original image. Is determined, and data “1” is transmitted to the switch 8 as the information, and is transmitted from the output terminal 32 to the outside. In other cases, the DC component prediction is determined to be OFF for the N-th frame original image, and data "0" is transmitted to the switch 8 as the information and the data is transmitted from the output terminal 32 to the outside. . The above processing is performed while the N-th original image is stored in the frame memory 2.

【0014】その後、第(N+1)原画像が入力端子1
から入力して上記の処理が第(N+1)フレーム原画像
に対して行われている間に、フレームメモリ2からは第
Nフレーム原画像が出力され、減算器30に入力する。
フレームメモリ29には既に第(N−1)フレーム再生
画像が蓄積されており、動き補償部37でマクロブロッ
ク毎に、フレームメモリ36から入力した動ベクトルだ
けずれた位置の画素が減算器30、加算器28に送出さ
れる。減算器30では両画像のフレーム間差分がとら
れ、そのフレーム間差分信号が離散コサイン変換部9に
入力する。離散コサイン変換部9では、フレーム間差分
信号に対して8×8画素からなるブロック毎に離散コサ
イン変換を施す。今、あるブロックでの離散コサイン変
換係数が図2のように得られたとする。ここで左上端の
1つの係数はブロック内直流成分を表しており、その他
の63個の係数はブロック内交流成分を表していること
と等価である。これらの各係数は量子化部10で量子化
される、すなわち量子化ステップ値で割られて端数を切
捨てられる。例えば量子化ステップ10であるとする
と、図2の各係数は量子化後に図3のようになる。
Thereafter, the (N + 1) th original image is input to the input terminal 1
While the above processing is being performed on the (N + 1) th frame original image, the Nth frame original image is output from the frame memory 2 and input to the subtractor 30.
The (N-1) th frame reproduced image has already been stored in the frame memory 29, and the motion compensator 37 calculates, for each macroblock, a pixel at a position shifted by the motion vector input from the frame memory 36, The data is sent to the adder 28. The subtracter 30 calculates the difference between the frames of the two images, and inputs the difference signal between the frames to the discrete cosine transform unit 9. The discrete cosine transform unit 9 subjects the inter-frame difference signal to discrete cosine transform for each block of 8 × 8 pixels. Now, it is assumed that the discrete cosine transform coefficients of a certain block are obtained as shown in FIG. Here, one coefficient at the upper left corner represents a DC component in the block, and the other 63 coefficients are equivalent to representing AC components in the block. Each of these coefficients is quantized by the quantization unit 10, that is, the coefficient is divided by a quantization step value and a fraction is rounded down. For example, assuming the quantization step 10, each coefficient in FIG. 2 becomes as shown in FIG. 3 after quantization.

【0015】量子化された各係数が量子化部10から出
力される際、その係数が交流成分を表している63個の
係数(以下、交流成分係数とよぶ)の場合には、スイッ
チ11の端子12は端子13に接続され、スイッチ22
の端子23は端子24に接続されるスイッチ15の端子
33は端子34に接続されるため、交流成分係数はその
まま逆量子化部26に入力するとともに出力端子31か
ら送出される。
When each quantized coefficient is output from the quantization unit 10, if the coefficient is 63 coefficients representing an AC component (hereinafter, referred to as an AC component coefficient), the switch 11 Terminal 12 is connected to terminal 13 and switch 22
The terminal 23 of the switch 15 is connected to the terminal 24, and the terminal 33 of the switch 15 is connected to the terminal 34. Therefore, the AC component coefficient is directly input to the inverse quantization unit 26 and sent out from the output terminal 31.

【0016】一方、その係数が直流成分を表しているの
残りの1個の係数(以下、直流成分係数とよぶ)の場合
には、スイッチ11の端子12は端子14に接続され、
スイッチ22の端子23は端子25に接続され、スイッ
チ15の端子33は端子35に接続される。したがっ
て、逆量子化部26にはそのまま直流成分係数が入力す
る。また、その直流成分係数は減算器16、メモリ1
8、スイッチ8の端子21に入力する。メモリ18では
同時に、既に蓄えられていた1つの前のブロックの直流
成分係数が減算器16に送出される。減算器16では現
ブロックの直流成分係数と1つ前のブロックの直流成分
係数との差が求められ、直流成分係数予測誤差値がスイ
ッチ8の端子20に送出される。第Nフレーム原画像に
おける直流成分予測オン/オフ決定部7からの情報デー
タ“1”であった場合には、スイッチ8の端子19は端
子20に接続するため、直流成分係数予測誤差値が端子
19、35、33を順次通って出力端子31に送られ
る。一方、第Nフレーム原画像における直流成分予測オ
ン/オフ決定部7からの情報がデータ“0”であった場
合には、スイッチ8の端子19は端子21に接続するた
め、直流成分係数そのものの値が端子19、35、33
を順次通って出力端子31に送られる。
On the other hand, when the coefficient is the remaining one coefficient representing a DC component (hereinafter referred to as a DC component coefficient), the terminal 12 of the switch 11 is connected to the terminal 14;
The terminal 23 of the switch 22 is connected to the terminal 25, and the terminal 33 of the switch 15 is connected to the terminal 35. Therefore, the DC component coefficient is directly input to the inverse quantization unit 26. The DC component coefficient is subtracted by the subtractor 16 and the memory 1
8. Input to the terminal 21 of the switch 8. At the same time, in the memory 18, the DC component coefficients of one previous block already stored are sent to the subtractor 16. The subtractor 16 calculates the difference between the DC component coefficient of the current block and the DC component coefficient of the immediately preceding block, and sends the DC component coefficient prediction error value to the terminal 20 of the switch 8. If the information data is “1” from the DC component prediction on / off determining unit 7 in the N-th frame original image, the terminal 19 of the switch 8 is connected to the terminal 20, so that the DC component coefficient prediction error value 19, 35, and 33 are sequentially sent to the output terminal 31. On the other hand, when the information from the DC component prediction on / off determining unit 7 in the N-th frame original image is data “0”, the terminal 19 of the switch 8 is connected to the terminal 21, so that the DC component coefficient itself is The values are terminals 19, 35, 33
Are sequentially transmitted to the output terminal 31.

【0017】逆量子化部26では処理ブロックの直流成
分係数と63個の交流成分係数がそれぞれ逆量子化さ
れ、逆離散コサイン変換部27で逆離散コサイン変換さ
れ、加算器28で第(N−1)フレーム再生画像と加算
されて第Nフレーム再生画像となり、あらたにフレーム
メモリ29に蓄えられる。フレームメモリ29に蓄えら
れた第Nフレーム再生画像は、(N+1)画像を符号化
する際の参照画像として用いられる。
The inverse quantization unit 26 inversely quantizes the DC component coefficients and the 63 AC component coefficients of the processing block, performs inverse discrete cosine transform in the inverse discrete cosine transform unit 27, and outputs the (N− 1) An N-th frame reproduced image is added to the frame reproduced image, and is newly stored in the frame memory 29. The N-th frame reproduced image stored in the frame memory 29 is used as a reference image when encoding the (N + 1) image.

【0018】第1の実施の形態の動画像符号化装置にお
いては、直流成分予測オン/オフ決定部7において、ブ
ロック毎の差分平均値の1フレーム全体に対する平均値
Mと分散Vを利用しているが、これらの統計量に限った
ものではなく、たとえば信号処理技術でやはり広く利用
されている自己相関係数を利用してもよい。すなわち、
直流成分予測オン/オフ決定部7においてブロック毎の
差分平均値の1フレーム全体に対する自己相関係数を算
出し、その自己相関係数が予め定められた閾値T3以上
であった場合には、第Nフレーム原画像に対しては直流
成分予測がオンであると決定し、閾値T3未満であった
場合には、第Nフレーム原画像に対しては直流成分予測
がオフであると決定することも可能である。
In the moving picture coding apparatus according to the first embodiment, the DC component prediction on / off determining unit 7 uses the average value M and the variance V of the difference average value of each block for one entire frame. However, the present invention is not limited to these statistics, and for example, an autocorrelation coefficient which is also widely used in signal processing technology may be used. That is,
The DC component prediction on / off determining unit 7 calculates an autocorrelation coefficient for the entire frame of the difference average value for each block, and when the autocorrelation coefficient is equal to or larger than a predetermined threshold T3, It may be determined that the DC component prediction is ON for the N-frame original image, and that the DC component prediction is OFF for the N-th frame original image if the DC component prediction is less than the threshold value T3. It is possible.

【0019】第1の実施の形態の動画像符号化装置で
は、映像編集時に多用されるフェードイン、フェードア
ウトやカメラの絞りを調整することによって画面全体に
明るさの変化が生じた場合に、直流成分予測オン/オフ
決定部7から得られる1フレーム当たり1ビットという
少ない情報で、その画面全体に生じた明るさの変化を補
うことができる。
In the moving picture coding apparatus according to the first embodiment, when a change in brightness occurs on the entire screen by adjusting a fade-in / fade-out or a diaphragm of a camera which is frequently used at the time of video editing, a direct-current (DC) The change in brightness that has occurred in the entire screen can be compensated for using information as small as one bit per frame obtained from the component prediction on / off determining unit 7.

【0020】図4は、本発明の第2の実施形態の動画像
符号化装置を示すブロック図である。
FIG. 4 is a block diagram showing a moving picture coding apparatus according to a second embodiment of the present invention.

【0021】第2の実施形態の動画像符号化装置は、入
力端子51と減算器52と離散コサイン変換部53と量
子化部54とスイッチ55、59、63と直流成分予測
オン/オフ決定部67と減算器68とメモリ69とスイ
ッチ70と逆量子化部74と逆離散コサイン変換部75
と加算器76とフレームメモリ77と動き検出部78と
動き補償部79と出力端子80、81、82で構成され
ている。
The moving picture coding apparatus according to the second embodiment comprises an input terminal 51, a subtractor 52, a discrete cosine transform section 53, a quantizing section 54, switches 55, 59, 63, and a DC component prediction on / off determining section. 67, a subtractor 68, a memory 69, a switch 70, an inverse quantization unit 74, and an inverse discrete cosine transform unit 75
, An adder 76, a frame memory 77, a motion detecting section 78, a motion compensating section 79, and output terminals 80, 81, 82.

【0022】入力端子51から第Nフレーム原画像が減
算器52、動き検出部78に入力する。フレームメモリ
77には既に第(N−1)フレーム再生画像が蓄積され
ており、動き検出部78では入力端子51からの第Nフ
レーム原画像とフレームメモリ77からの第(N−1)
フレーム再生画像との間の動ベクトルを、従来から広く
用いられているブロックマッチング法によって16×1
6画素のマクロブロック毎に算出する。マクロブロック
毎の動ベクトルは動き補償部79、出力端子82に入力
する。動き補償部79ではマクロブロック毎に、動き検
出部78から入力した動ベクトルだけずれた位置の画素
が減算器52、加算器76に送出される。減算器52で
は両画像のフレーム間差分がとられ、そのフレーム間差
分信号が離散コサイン変換部53に入力する。離散コサ
イン変換部53では、フレーム間差分信号に対して8×
8画素からなるブロック毎に離散コサイン変換を施す。
これによって出力される雄散コサイン係数、およびそれ
らの係数を量子化する過程は第1の実施の形態の動画像
符号化装置で述べた例と同様である。
The N-th frame original image is input from an input terminal 51 to a subtracter 52 and a motion detector 78. The (N-1) th frame reproduced image has already been stored in the frame memory 77, and the motion detecting section 78 has the Nth frame original image from the input terminal 51 and the (N-1) th frame from the frame memory 77.
A motion vector between a frame playback image and a frame reproduction image is calculated as 16 × 1 by a block matching method which has been widely used.
The calculation is performed for each macroblock of 6 pixels. The motion vector for each macroblock is input to the motion compensator 79 and the output terminal 82. In the motion compensating unit 79, the pixel at the position shifted by the motion vector input from the motion detecting unit 78 is transmitted to the subtractor 52 and the adder 76 for each macro block. The subtracter 52 calculates the difference between the frames of the two images, and inputs the difference signal between the frames to the discrete cosine transform unit 53. In the discrete cosine transform unit 53, the 8 ×
A discrete cosine transform is performed for each block of 8 pixels.
The variance cosine coefficients output by this and the process of quantizing those coefficients are the same as in the example described in the moving picture coding apparatus of the first embodiment.

【0023】量子化された各係数が量子化部54から出
力される際、その係数が交流成分を表している63個の
係数(以下、交流成分係数とよぶ)の場合には、スイッ
チ55の端子56は端子57に接続され、スイッチ63
の端子64は端子65に接続され、スイッチ70の端子
71は端子72に接続されるため、交流成分係数はその
まま逆量子化部74に入力するとともに出力端子81か
ら送出される。
When each quantized coefficient is output from the quantization section 54, if the coefficient is 63 coefficients representing an AC component (hereinafter referred to as an AC component coefficient), the switch 55 Terminal 56 is connected to terminal 57 and switch 63
The terminal 64 of the switch 70 is connected to the terminal 65, and the terminal 71 of the switch 70 is connected to the terminal 72. Therefore, the AC component coefficient is input to the inverse quantization unit 74 as it is and transmitted from the output terminal 81.

【0024】一方、その係数が直流成分を表している残
りの1個の係数(以下、直流成分係数とよぶ)の場合に
は、スイッチ55の端子56は端子58に接続され、ス
イッチ63の端子64は端子66に接続され、スイッチ
70の端子71は端子73に接続される。したがって、
逆量子化部74にはそのまま直流成分係数が入力する。
また、その直流成分係数は減算器68、メモリ69、ス
イッチ59の端子60、直流成分予測オン/オフ決定部
67に入力する。メモリ69では同時に、既に蓄えられ
ていた1つ前のブロツクの直流成分係数が減算器68に
送出される。減算器68では処理ブロックの直流成分係
数と1つ前のブロックの直流成分係数との差が求めら
れ、直流成分係数予測誤差値がスイッチ59の端子6
1、直流成分予測オン/オフ決定部67に送出される。
直流成分予測オン/オフ決定部67では、スイッチ55
の端子58からの直流成分係数値と減算器68からの直
流成分係数予測誤差値が入力し、それぞれの絶対値の大
きさを比較する。減算器68からの直流成分係数予測誤
差の絶対値の方が小さい場合には、符号化対象ブロック
に対して直流成分予測がオンであると決定し、その情報
としてデータ“1”をスイッチ59に送出するととも
に、出力端子80から外部へ送出する。逆に、直流成分
予測オン/オフ決定部67では、スイッチ55の端子5
8からの直流成分係数の絶対値の方が小さい場合には、
符号化対象ブロックに対して直流成分予測がオフである
と決定し、その情報としてデータ“0”をスイッチ59
に送出するとともに、出力端子80から外部へ送出す
る。符号化対象ブロックに対する直流成分予測オン/オ
フ決定部67からの情報がデータ“1”であった場合に
は、スイッチ59の端子62は端子61に接続するた
め、直流成分係数予測誤差値が端子62、66、64を
順次通って出力端子81に送られる。一方、符号化対象
ブロックに対する直流成分予測オン/オフ決定部67か
らの情報がデータ“0”であった場合には、スイッチ5
9の端子62は端子60に接続するため、直流成分係数
そのものの値が端子62、66、64を順次通って出力
端子81に送られる。
On the other hand, when the coefficient is the remaining one coefficient representing a DC component (hereinafter referred to as a DC component coefficient), the terminal 56 of the switch 55 is connected to the terminal 58 and the terminal of the switch 63 is connected. 64 is connected to the terminal 66, and the terminal 71 of the switch 70 is connected to the terminal 73. Therefore,
The DC component coefficient is directly input to the inverse quantization unit 74.
The DC component coefficient is input to a subtractor 68, a memory 69, a terminal 60 of a switch 59, and a DC component prediction on / off determining unit 67. At the same time, the DC component coefficient of the immediately preceding block which has been stored in the memory 69 is sent to the subtractor 68. The subtracter 68 calculates the difference between the DC component coefficient of the processing block and the DC component coefficient of the immediately preceding block.
1. It is sent to the DC component prediction on / off determining unit 67.
In the DC component prediction on / off determining unit 67, the switch 55
, And the DC component coefficient prediction error value from the subtractor 68 are input, and the magnitudes of the respective absolute values are compared. If the absolute value of the DC component coefficient prediction error from the subtractor 68 is smaller, it is determined that the DC component prediction is on for the encoding target block, and data “1” is transmitted to the switch 59 as the information. At the same time, the signal is transmitted from the output terminal 80 to the outside. Conversely, the DC component prediction on / off determination unit 67
If the absolute value of the DC component coefficient from 8 is smaller,
It is determined that the DC component prediction is off for the encoding target block, and the data “0” is used as the information as the switch 59.
, And at the output terminal 80 to the outside. When the information from the DC component prediction on / off determining unit 67 for the block to be encoded is data “1”, the terminal 62 of the switch 59 is connected to the terminal 61, so that the DC component coefficient prediction error It is sent to the output terminal 81 through 62, 66 and 64 in sequence. On the other hand, if the information from the DC component prediction on / off determining unit 67 for the encoding target block is data “0”, the switch 5
Since the terminal 62 of No. 9 is connected to the terminal 60, the value of the DC component coefficient itself is sent to the output terminal 81 through the terminals 62, 66 and 64 in sequence.

【0025】逆量子化部74では処理ブロックの直流成
分係数と63個の交流成分係数がそれぞれ逆量子化さ
れ、逆離散コサイン変換部75で逆離散コサイン変換さ
れ、加算器76で動き補償された第(N−1)フレーム
再生画像と加算されて第Nフレーム再生画像となり、あ
らたにフレームメモリ77に蓄えれれる。フレームメモ
リ77に蓄えられた第Nフレーム再生画像は、第(N+
1)フレーム画像を符号化する際の参照画像として用い
られる。
The inverse quantization unit 74 inversely quantizes the DC component coefficients and the 63 AC component coefficients of the processing block, performs inverse discrete cosine transform in the inverse discrete cosine transform unit 75, and performs motion compensation in the adder 76. The image is added to the (N-1) th frame reproduced image to form an Nth frame reproduced image, which is newly stored in the frame memory 77. The N-th frame reproduced image stored in the frame memory 77 is the (N +
1) Used as a reference image when encoding a frame image.

【0026】第2の実施の形態の動画像符号化装置で
は、直流成分予測オン/オフ決定部67から1ブロック
当たり1ビットの情報が発生し、第1の実施の形態の動
画像符号化装置よりその情報は多いが、たとえば画面の
一部に当たっているスポットライトの明るさが変化する
ような映像に対して、スポットライトが当たっている部
分では直流成分予測をオンとし、それ以外の部分では直
流成分予測をオフとすることが可能なため、第1の実施
の形態の動画像符号化装置より細めに明るさの変化を補
うことができる。
In the moving picture coding apparatus according to the second embodiment, the DC component prediction on / off determining unit 67 generates 1-bit information per block, and the moving picture coding apparatus according to the first embodiment. Although more information is available, for example, for an image in which the brightness of a spotlight illuminating a part of the screen changes, DC component prediction is turned on in the part illuminated by the spotlight, and DC Since the component prediction can be turned off, a change in brightness can be compensated for more narrowly than in the moving picture coding device according to the first embodiment.

【0027】図5は本発明の一実施形態の動画像復号装
置のブロック図である。
FIG. 5 is a block diagram of a moving picture decoding apparatus according to one embodiment of the present invention.

【0028】本実施形態の動画像復号装置は、入力端子
101、102とスイッチ103、107と加算器11
1とメモリ112とスイッチ113とフレームメモリ1
17と逆量子化部118と逆離散コサイン変換部119
と加算器120と出力端子121と入力端子122と動
き補償部123で構成されている。
The moving picture decoding apparatus according to the present embodiment comprises input terminals 101 and 102, switches 103 and 107, and an adder 11
1, memory 112, switch 113, and frame memory 1
17, an inverse quantization unit 118, and an inverse discrete cosine transform unit 119
, An adder 120, an output terminal 121, an input terminal 122, and a motion compensation unit 123.

【0029】図5において、入力端子101からは、図
1における動画像符号化装置の出力端子32から送出さ
れたデータまたは図4における動画像符号化装置の出力
端子80から送出されたデータが入力する。入力端子1
02からは、図1における動画像符号化装置の出力端子
31から送出されたデータまたは図4における動画像符
号化装置の出力端子81から送出されたデータが入力す
る。入力端子122からは、図1における動画像符号化
装置の出力端子17から送出されたデータまたは図4に
おける動画像符号化装置の出力端子82から送出された
データが入力する。
In FIG. 5, the data transmitted from the output terminal 32 of the moving picture coding apparatus in FIG. 1 or the data transmitted from the output terminal 80 of the moving picture coding apparatus in FIG. I do. Input terminal 1
From 02, the data transmitted from the output terminal 31 of the moving picture coding apparatus in FIG. 1 or the data transmitted from the output terminal 81 of the moving picture coding apparatus in FIG. 4 is input. From the input terminal 122, the data transmitted from the output terminal 17 of the video encoding device in FIG. 1 or the data transmitted from the output terminal 82 of the video encoding device in FIG. 4 is input.

【0030】入力端子102から入力したデータのう
ち、交流成分係数値のデータが入力している際にはスイ
ッチ103の端子104は端子105に接続し、スイッ
チ107の端子108は端子109に接続するため、そ
のデータはそのまま逆量子化部118に入力する。一
方、直流成分係数値または直流係数予測値のデータが入
力している際にはスイッチ103の端子104は端子1
06に接続し、スイッチ107の端子108は端子11
0に接続する。したがって、そのデータは先ず加算器1
11、スイッチ113の端子115に入力する。メモリ
112には既に1つ前のブロックの直流成分係数値が蓄
えられおり、加算器111において復号対象ブロックの
直流成分係数値または直流成分係数予測誤差値とメモリ
112からの1つ前のブロックの直流成分係数値が加算
されてスイッチ113の端子116に送出される。
When the data of the AC component coefficient value among the data input from the input terminal 102 is input, the terminal 104 of the switch 103 is connected to the terminal 105 and the terminal 108 of the switch 107 is connected to the terminal 109. Therefore, the data is directly input to the inverse quantization unit 118. On the other hand, when the data of the DC component coefficient value or the DC coefficient predicted value is input, the terminal 104 of the switch 103 is connected to the terminal 1
06, and the terminal 108 of the switch 107 is connected to the terminal 11
Connect to 0. Therefore, the data is first added to adder 1
11. Input to terminal 115 of switch 113. The DC component coefficient value of the previous block is already stored in the memory 112, and the DC component coefficient value or the DC component coefficient prediction error value of the block to be decoded is added to the adder 111 by the adder 111. The DC component coefficient values are added and sent to the terminal 116 of the switch 113.

【0031】入力端子101からの情報がデータ“1”
であった場合には、スイッチ113の端子114は端子
116に接続する。この場合にはスイッチ103の端子
106からの出力は復号対象ブロックの直流成分係数予
測誤差値であるため、スイッチ113の端子116の出
力は復号対象ブロックの直流成分係数値となっており、
その値が端子114、110、108を順次経由して逆
量子化部118に入力するとともに、メモリ112に入
力する。一方、入力端子101からの情報がデータ
“0”であった場合には、スイッチ113の端子114
は端子115に接続する。この場合にはスイッチ103
の端子106からの出力は復号対象ブロックの直流成分
係数値であるため、スイッチ113の端子115の出力
が復号対象ブロックの直流成分係数値となっており、そ
の値が端子114、110、108を順次経由して逆量
子化部118に入力するとともに、メモリ112に入力
する。
The information from the input terminal 101 is data "1".
In this case, the terminal 114 of the switch 113 is connected to the terminal 116. In this case, since the output from the terminal 106 of the switch 103 is the DC component coefficient prediction error value of the decoding target block, the output of the terminal 116 of the switch 113 is the DC component coefficient value of the decoding target block.
The value is input to the inverse quantization unit 118 via the terminals 114, 110, and 108 sequentially, and is input to the memory 112. On the other hand, if the information from the input terminal 101 is data “0”, the terminal 114 of the switch 113
Is connected to the terminal 115. In this case, the switch 103
Since the output from the terminal 106 is the DC component coefficient value of the decoding target block, the output of the terminal 115 of the switch 113 is the DC component coefficient value of the decoding target block, and the value is output to the terminals 114, 110, and 108. The signals are sequentially input to the inverse quantization unit 118 and input to the memory 112.

【0032】逆量子化部118では各係数が逆量子化さ
れ、さらに逆離散コサイン変換部119で逆離散コサイ
ン変換され、フレーム間差分信号が得られる。フレーム
メモリ117には既に第(N−1)フレーム再生画像が
蓄積されており、動き補償部l23において入力端子1
22から入力した動ベクトルだけずらした画素の値が加
算器120に入力する。加算器120では、両画像が加
算されて第Nフレーム再生画像として出力端子121か
ら出力されると共にフレームメモリ117に蓄えられ
る。
Each coefficient is inversely quantized by the inverse quantization unit 118, and is inversely discrete cosine transformed by the inverse discrete cosine transform unit 119, thereby obtaining an inter-frame difference signal. The (N-1) th frame reproduced image has already been stored in the frame memory 117, and the motion compensation unit 123 has the input terminal 1
The value of the pixel shifted by the motion vector input from 22 is input to the adder 120. In the adder 120, the two images are added and output from the output terminal 121 as an N-th frame reproduced image and stored in the frame memory 117.

【0033】なお、本実施形態の動画像復号装置が本発
明の第1の実施形態の動画像符号化装置によって符号化
されたデータを復号する場合には、入力端子101から
はフレーム単位にデータが入力し、したがってスイッチ
113もフレーム単位に切換わる。一方、本実施形態の
動画像復号装置が本発明の第2の実施形態の動画像符号
化装置によって符号化されたデータを復号する場合に
は、入力端子101からはブロック単位にデータが入力
し、したがってスイッチ113もブロック単位に切換わ
る。
When the moving picture decoding apparatus of the present embodiment decodes the data coded by the moving picture coding apparatus of the first embodiment of the present invention, the data is inputted from the input terminal 101 in frame units. , And the switch 113 is also switched in frame units. On the other hand, when the video decoding device of the present embodiment decodes data encoded by the video encoding device of the second embodiment of the present invention, data is input from the input terminal 101 in block units. Therefore, the switch 113 is also switched in block units.

【0034】[0034]

【発明の効果】以上説明したように、本発明では、フレ
ーム間差分信号のブロック内直流成分値を既に符号化/
復号された隣近ブロックのブロック内直流成分値から予
測し、その予測誤差を符号化/復号のために用いる手段
を設けるとともに、ある領域全体に輝度変化が生じたフ
レームに対しては上記手段を用い、それ以外の領域に対
しては上記手段を用いないことで、効率のよい符号化を
実現することができる。
As described above, in the present invention, the intra-block DC component value of the inter-frame difference signal is already encoded /
Means for predicting from the DC component value in the decoded neighboring block and using the prediction error for encoding / decoding are provided, and the above means is applied to a frame in which a luminance change has occurred in an entire area. Efficient coding can be realized by using the above means for the other areas.

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

【図1】本発明の第1の実施形態の動画像符号化装置の
構成図である。
FIG. 1 is a configuration diagram of a video encoding device according to a first embodiment of the present invention.

【図2】量子化される前の離散コサイン変換係数の値を
表す図である。
FIG. 2 is a diagram illustrating values of discrete cosine transform coefficients before being quantized.

【図3】量子化後の離散コサイン変換係数の値を表す図
である。
FIG. 3 is a diagram illustrating values of discrete cosine transform coefficients after quantization.

【図4】本発明の第2の実施形態の動画像符号化装置の
構成図である。
FIG. 4 is a configuration diagram of a video encoding device according to a second embodiment of the present invention.

【図5】本発明の一実施形態の動画像復号装置の構成図
である。
FIG. 5 is a configuration diagram of a video decoding device according to an embodiment of the present invention.

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

1 入力端子 2,3 フレームメモリ 4 動き検出部 5 動き補償部 6 ブロック内差分平均値算出部 7 直流成分予測オン/オフ決定部 8 スイッチ 9 離散コサイン変換部 10 量子化部 11 スイッチ 12〜14 端子 15 スイッチ 16 減算器 17 出力端子 18 メモリ 19〜21 端子 22 スイッチ 23〜25 端子 26 逆量子化部 27 逆離散コサイン変換部 28 加算器 29 フレームメモリ 30 減算器 31,32 出力端子 33〜35 端子 51 入力端子 52 減算器 53 離散コサイン変換部 54 量子化部 55 スイッチ 56〜58 端子 59 スイッチ 60〜62 端子 63 スイッチ 64〜66 端子 67 直流成分予測オン/オフ決定部 68 減算器 69 メモリ 70 スイッチ 71〜73 端子 74 逆量子化部 75 逆離散コサイン変換部 76 加算器 77 フレームメモリ 78 動き検出部 79 動き補償部 80〜82 出力端子 101、102 入力端子 103 スイッチ 104〜106 端子 107 スイッチ 108〜110 端子 111 加算器 112 メモリ 113 スイッチ 114〜116 端子 117 フレームメモリ 118 逆量子化部 119 逆離散コサイン変換部 120 加算器 121 出力端子 122 入力端子 123 動き補償部 Reference Signs List 1 input terminal 2, 3 frame memory 4 motion detecting unit 5 motion compensating unit 6 intra-block difference average calculating unit 7 DC component prediction on / off determining unit 8 switch 9 discrete cosine transform unit 10 quantizing unit 11 switch 12 to 14 terminal Reference Signs List 15 switch 16 subtractor 17 output terminal 18 memory 19-21 terminal 22 switch 23-25 terminal 26 inverse quantization unit 27 inverse discrete cosine transform unit 28 adder 29 frame memory 30 subtractor 31, 32 output terminal 33-35 terminal 51 Input terminal 52 Subtractor 53 Discrete cosine transform unit 54 Quantization unit 55 Switch 56 to 58 Terminal 59 Switch 60 to 62 Terminal 63 Switch 64 to 66 Terminal 67 DC component prediction on / off determination unit 68 Subtractor 69 Memory 70 Switch 71 to 71 73 terminal 74 inverse quantization unit 75 inverse discrete In-conversion unit 76 Adder 77 Frame memory 78 Motion detection unit 79 Motion compensation unit 80-82 Output terminal 101, 102 Input terminal 103 Switch 104-106 terminal 107 Switch 108-110 terminal 111 Adder 112 Memory 113 Switch 114-116 terminal 117 Frame memory 118 Inverse quantization unit 119 Inverse discrete cosine transform unit 120 Adder 121 Output terminal 122 Input terminal 123 Motion compensation unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 動画像の符号化対象フレームと参照フレ
ームとのフレーム間差分信号を、予め定められたブロッ
ク毎に符号化する動画像符号化装置において、 前記符号化対象フレーム内の符号化対象ブロックにおけ
るフレーム間差分信号直流成分値を、符号化対象フレー
ム内の既に符号化されたブロックのフレーム間差分信号
直流成分値から予測し、その予測誤差値を出力するフレ
ーム間差分信号直流成分予測手段と、 該フレーム間差分信号直流成分予測手段から出力される
予測誤差値を符号化のために用いるのか、それとも前記
符号化対象ブロックにおけるフレーム間差分信号直流成
分値を符号化のために用いるのかを定められた領域単位
に決定し、その決定情報を出力するフレーム間差分信号
直流成分予測オン/オフ決定手段と、 該フレーム間差分信号直流成分予測オン/オフ決定手段
から出力される決定情報が「フレーム間差分信号直流成
分予測オン」であった場合には、前記フレーム間差分信
号直流成分予測手段から出力される予測誤差値を符号化
のために用い、逆に該フレーム間差分信号直流成分予測
オン/オフ決定手段から出力される決定情報が「フレー
ム間差分信号直流成分予測オフ」であった場合には、前
記符号化対象ブロックにおけるフレーム間差分信号直流
成分値を符号化のために用いるフレーム間差分信号直流
成分予測オン/オフ切替手段を有することを特徴とする
動画像符号化装置。
1. A moving image encoding apparatus that encodes an inter-frame difference signal between an encoding target frame of a moving image and a reference frame for each predetermined block, wherein the encoding target in the encoding target frame is Inter-frame difference signal DC component prediction means for predicting an inter-frame difference signal DC component value in a block from an inter-frame difference signal DC component value of an already coded block in a frame to be encoded and outputting a prediction error value thereof Whether to use the prediction error value output from the inter-frame difference signal DC component prediction means for encoding, or whether to use the inter-frame difference signal DC component value in the encoding target block for encoding. An inter-frame difference signal DC component prediction on / off determining means for determining in a predetermined area unit and outputting the determined information; When the determination information output from the inter-frame difference signal DC component prediction on / off determination means is “inter-frame difference signal DC component prediction on”, the information is output from the inter-frame difference signal DC component prediction means. When the prediction error value is used for encoding, and conversely, when the decision information output from the inter-frame difference signal DC component prediction on / off determining means is “inter-frame difference signal DC component prediction off”, A moving image encoding apparatus comprising: an inter-frame difference signal DC component prediction on / off switching unit that uses an inter-frame difference signal DC component value in the encoding target block for encoding.
【請求項2】 前記フレーム間差分信号直流成分予測オ
ン/オフ決定手段は、前記フレーム間差分信号直流成分
予測手段から出力される予測誤差値を符号化のために用
いいるのか、それとも前記符号化対象ブロックにおける
フレーム間差分信号直流成分値を符号化するために用い
るのかをフレーム単位に決定する、請求項1記載の動画
像符号化装置。
2. The method according to claim 1, wherein said inter-frame difference signal DC component prediction on / off determining means uses a prediction error value output from said inter-frame difference signal DC component prediction means for encoding, or said encoding means. The moving picture coding apparatus according to claim 1, wherein whether to use the DC component value of the inter-frame difference signal in the target block for coding is determined on a frame basis.
【請求項3】 前記フレーム間差分信号直流成分予測オ
ン/オフ決定手段は、前記符号化対象フレームと前記参
照フレームとの間の動きを検出する動き検出部と、前記
参照フレームを該動き分だけずらす動き補償部と、前記
予め定められたブロック毎に、前記符号化対象フレーム
と前記動き分だけずらした参照フレームとの差分のブロ
ック内平均値を算出するブロック内差分平均値算出部
と、該ブロック内差分平均値の1フレーム分の平均値、
分散値、または相関係数値を算出し、該値に基づいて、
前記符号化対象フレームに対してフレーム間差分信号直
流成分予測オンとするかフレーム間差分信号直流成分予
測オフとするかを決定する直流成分予測オン/オフ決定
部を含む、請求項2記載の動画像符号化装置。
3. An inter-frame difference signal DC component prediction on / off determining means, comprising: a motion detecting unit that detects a motion between the encoding target frame and the reference frame; A motion compensating unit that shifts, an intra-block difference average value calculating unit that calculates an intra-block average value of a difference between the encoding target frame and the reference frame shifted by the motion for each of the predetermined blocks, The average value of one frame of the average difference value within a block,
Calculate the variance value, or correlation coefficient value, based on the value,
The moving image according to claim 2, further comprising a DC component prediction on / off determining unit that determines whether to turn on the inter-frame difference signal DC component prediction or to turn off the inter-frame difference signal DC component prediction for the encoding target frame. Image coding device.
【請求項4】 前記フレーム間差分直流成分予測オン/
オフ決定手段は、前記フレーム間差分信号直流成分予測
手段から出力される予測誤差値を符号化のために用いる
のか、それとも前記符号化対象ブロックにおけるフレー
ム間差分信号直流成分値を符号化のために用いるのか
を、前記予め定められたブロック単位に決定する、請求
項1記載の動画像符号化装置。
4. An inter-frame difference DC component prediction on / off
Off determining means for using the prediction error value output from the inter-frame difference signal DC component prediction means for encoding, or for encoding the inter-frame difference signal DC component value in the encoding target block for encoding The moving picture coding apparatus according to claim 1, wherein whether to use the moving picture coding unit is determined in units of the predetermined block.
【請求項5】 前記フレーム間差分信号直流成分予測オ
ン/オフ決定手段は、符号化対象ブロックのフレーム間
差分直流成分の絶対値と、符号化対象ブロックのフレー
ム間差分直流成分値と既に符号化されたブロックのフレ
ーム間差分直流成分値との差分の絶対値を比較し、符号
化対象ブロックのフレーム間差分直流成分の絶対値の方
が小さい場合にはフレーム間差分信号直流成分予測オフ
と決定し、符号化対象ブロックのフレーム間差分直流成
分値と既に符号化されたブロックのフレーム間差分直流
成分値との差分の絶対値の方が小さい場合にはフレーム
間差分信号直流成分予測オンと決定する直流成分予測オ
ン/オフ決定部を含む、請求項4記載の動画像符号化装
置。
5. The inter-frame difference signal DC component prediction on / off determining means includes an absolute value of an inter-frame difference DC component of an encoding target block, and an inter-frame difference DC component value of an encoding target block. The absolute value of the difference between the inter-frame difference DC component value of the block subjected to encoding and the absolute value of the inter-frame difference DC component of the encoding target block is smaller, and it is determined that the inter-frame difference signal DC component prediction is off. If the absolute value of the difference between the inter-frame difference DC component value of the encoding target block and the inter-frame difference DC component value of the already encoded block is smaller, it is determined that the inter-frame difference signal DC component prediction is ON. The moving picture coding apparatus according to claim 4, further comprising a DC component prediction on / off determining unit that performs the prediction.
【請求項6】 前記フレーム間差分信号直流成分予測手
段と前記フレーム間差分信号直流成分予測オン/オフ切
替手段が、量子化部で量子化された交流成分値、直流成
分値がそれぞれ出力される第1、第2の信号路と、前記
量子化部で量子化された交流成分値、直流成分値をそれ
ぞれ第1、第2の信号路に出力する第1のスイッチと、
第2の信号路の出力を入力し、既に符号化されたブロッ
クの直流成分値として蓄えるメモリと、第2の信号路に
出力された直流成分値と前記メモリの出力との差分をと
り、その出力である直流成分予測誤差値を第3の信号路
に出力する減算器と、前記フレーム間差分信号直流成分
予測決定手段から「フレーム間差分信号直流成分予測オ
ン」の情報が出力されたとき第3の信号路上の出力を選
択し、「フレーム間差分信号直流成分予測オフ」の情報
が出力されたとき第2の信号路上の出力を選択する第2
のスイッチと、前記量子化部から交流成分値が出力され
たとき前記第1の信号路上の出力を選択し、前記量子化
部から直流成分値が出力されたときは前記第2のスイッ
チの出力を選択し、出力端子に出力する第3のスイッチ
と、前記量子化部から交流成分値が出力されたときは前
記第1の信号路上の出力を選択し、前記量子化部から直
流成分値が出力されたときは前記第2の信号路上の出力
を選択し、逆量子化部に出力する第4のスイッチを含
む、請求項1記載の動画像符号化装置。
6. The inter-frame difference signal DC component prediction means and the inter-frame difference signal DC component prediction on / off switching means output an AC component value and a DC component value quantized by a quantization unit, respectively. First and second signal paths, and a first switch for outputting the AC component value and the DC component value quantized by the quantization unit to the first and second signal paths, respectively;
A memory that receives the output of the second signal path and stores it as a DC component value of a block that has already been encoded, and calculates the difference between the DC component value output to the second signal path and the output of the memory, A subtractor that outputs a DC component prediction error value that is an output to a third signal path; and a subtractor that outputs “interframe difference signal DC component prediction on” information from the interframe difference signal DC component prediction determination means. The output on the second signal path is selected when the information on the signal path No. 3 is selected and the information of “DC component prediction off between frames is output” is output.
And an output on the first signal path when an AC component value is output from the quantization unit, and an output of the second switch when a DC component value is output from the quantization unit. And an output on the first signal path when an AC component value is output from the quantization unit, and a DC component value is output from the quantization unit when the AC component value is output from the quantization unit. 2. The moving picture coding apparatus according to claim 1, further comprising a fourth switch that selects an output on the second signal path when output, and outputs the selected signal to an inverse quantization unit.
【請求項7】 請求項1に記載の動画像符号化装置によ
って符号化された符号化データを復号する動画像復号装
置において、 入力端子から入力したフレーム間差分信号直流成分予測
オン/オフ決定情報が「フレーム間差分信号直流成分予
測オン」であった場合には、別に入力端子から入力した
フレーム間差分信号直流成分予測誤差値に、既に復号さ
れたフレーム間差分信号直流成分値を加算した値を復号
のために用い、入力端子から入力したフレーム間差分信
号直流成分予測オン/オフ決定情報が「フレーム間差分
信号直流成分予測オフ」であった場合には、別に入力端
子から入力したフレーム間差分信号直流成分値そのもの
を復号するために用いるフレーム間差分信号直流成分予
測オン/オフ切替手段を有することを特徴とする動画像
復号装置。
7. A moving picture decoding apparatus for decoding coded data coded by the moving picture coding apparatus according to claim 1, comprising: an inter-frame difference signal DC component prediction on / off determination information input from an input terminal. Is "inter-frame difference signal DC component prediction ON", the value obtained by adding the already decoded inter-frame difference signal DC component value to the inter-frame difference signal DC component prediction error value separately input from the input terminal. Is used for decoding, and if the inter-frame difference signal DC component prediction on / off determination information input from the input terminal is “inter-frame difference signal DC component prediction off”, the inter-frame difference signal DC component prediction Moving picture decoding characterized by comprising inter-frame difference signal DC component prediction on / off switching means used for decoding the difference signal DC component value itself. Location.
【請求項8】 前記フレーム間差分信号直流成分予測オ
ン/オフ切替手段が、請求項1記載の動画像符号化装置
の出力端子から出力された前記交流成分値が伝送される
第1の信号路と、請求項1記載の動画像符号化装置の出
力端子から出力された前記直流成分値または前記直流成
分予測誤差値が伝送される第2の信号路と、前記交流成
分値は第1の信号路に出力し、前記直流成分値または前
記直流成分予測誤差値は第2の信号路に出力する第1の
スイッチと、前記第2の信号路上の出力と直流成分予測
値とを加算し第3の信号路に出力する加算器と、前記フ
レーム間差分信号直流成分予測オン/オフ決定情報が
「フレーム間差分信号直流成分予測オン」の場合には前
記第3の信号路上の出力を選択し、前記フレーム間差分
信号直流成分予測オン/オフ決定情報が「フレーム間差
分信号直流成分予測オフ」の場合には前記第2の信号路
上の出力を選択する第2のスイッチと、第2のスイッチ
の出力を蓄え、前記直流成分予測値として前記加算器へ
出力するメモリと、それぞれ第1の信号路上の交流成分
値と第2のスイッチから出力する直流成分値を逆量子化
部に出力する第3のスイッチを含む、請求項7記載の動
画像復号装置。
8. A first signal path through which the inter-frame difference signal DC component prediction on / off switching means transmits the AC component value output from an output terminal of the moving picture coding apparatus according to claim 1. And a second signal path through which the DC component value or the DC component prediction error value output from the output terminal of the video encoding device according to claim 1 is transmitted, and wherein the AC component value is a first signal. And the DC component value or the DC component prediction error value is added to the first switch for outputting to the second signal path, and the output of the second signal path and the DC component predicted value are added to the third switch. An adder that outputs the signal on the third signal path, and selects the output on the third signal path when the inter-frame difference signal DC component prediction on / off determination information is “inter-frame difference signal DC component prediction on”. The inter-frame difference signal DC component prediction ON When the / off determination information is “inter-frame difference signal DC component prediction off”, a second switch for selecting an output on the second signal path, and storing the output of the second switch, the DC component prediction value 8. A memory for outputting to said adder as a memory, and a third switch for outputting an AC component value on a first signal path and a DC component value output from a second switch to an inverse quantization unit, respectively. Video decoding device.
JP31217596A 1996-11-22 1996-11-22 Moving image coder and moving image decoder Pending JPH10155154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31217596A JPH10155154A (en) 1996-11-22 1996-11-22 Moving image coder and moving image decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31217596A JPH10155154A (en) 1996-11-22 1996-11-22 Moving image coder and moving image decoder

Publications (1)

Publication Number Publication Date
JPH10155154A true JPH10155154A (en) 1998-06-09

Family

ID=18026132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31217596A Pending JPH10155154A (en) 1996-11-22 1996-11-22 Moving image coder and moving image decoder

Country Status (1)

Country Link
JP (1) JPH10155154A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100451257B1 (en) * 2001-11-06 2004-10-06 (주)씨앤에스 테크놀로지 Reconstruction Circuit and Method of DCT AC/DC Coefficient in MPEG-4
JP2005339579A (en) * 1998-11-28 2005-12-08 Samsung Electronics Co Ltd Property information encoding device of mesh object
US7813571B2 (en) 2004-04-22 2010-10-12 Mitsubishi Electric Corporation Image encoding apparatus and image decoding apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339579A (en) * 1998-11-28 2005-12-08 Samsung Electronics Co Ltd Property information encoding device of mesh object
JP4610439B2 (en) * 1998-11-28 2011-01-12 三星電子株式会社 Mesh Object Characteristic Information Encoder
KR100451257B1 (en) * 2001-11-06 2004-10-06 (주)씨앤에스 테크놀로지 Reconstruction Circuit and Method of DCT AC/DC Coefficient in MPEG-4
US7813571B2 (en) 2004-04-22 2010-10-12 Mitsubishi Electric Corporation Image encoding apparatus and image decoding apparatus

Similar Documents

Publication Publication Date Title
KR100964526B1 (en) Multimedia coding techniques for transitional effects
JP4077135B2 (en) Method and apparatus for selecting between intraframe coding mode and interframe coding mode on a context basis
KR100415494B1 (en) Image encoding method and apparatus, recording apparatus, video signal encoding apparatus, processing apparatus and method, video data processing apparatus and method
JPH07112284B2 (en) Predictive encoding device and decoding device
JPH10178645A (en) Moving image encoding method and device, moving image signal transmitting method and signal recording medium
JPH0984025A (en) Digital image signal coder and its method and coding image signal decoder and its method
JP2000059792A (en) High efficiency encoding device of dynamic image signal
JPH10155154A (en) Moving image coder and moving image decoder
JP2614212B2 (en) Image signal encoding method and apparatus
JP2947103B2 (en) Moving picture coding apparatus and moving picture coding method
JPS63310293A (en) Reproducing system for compressedly recorded picture
KR0172902B1 (en) Mpeg encoder
JPH09261530A (en) Video recorder
JPH0537786A (en) Picture data encoder and decoder
JP2000188735A (en) Motion vector detector and dynamic picture coder using the same
JPH0646412A (en) Animation image predictive coding/decoding method
JPH1013836A (en) Motion vector detector
JPH07184206A (en) Picture coder
JPH02241285A (en) Highly efficient encoder for moving image signal
JPH1032824A (en) Luminance change detecting, luminance change compensating and position detecting methods for dynamic image and dynamic image encoding and decoding device
JPH06153181A (en) Prediction coding method, prediction decoding method, prediction coder and prediction decoder
JPS63311889A (en) Decoder for compressed recording picture signal
JP3168723B2 (en) Video signal encoding device
KR0124162B1 (en) Prediction coding method
JPH09182081A (en) Movement compensation estimation encoder