[go: up one dir, main page]

JP2006340014A - Low complexity motion compensated temporal direction filtering method and apparatus - Google Patents

Low complexity motion compensated temporal direction filtering method and apparatus Download PDF

Info

Publication number
JP2006340014A
JP2006340014A JP2005161907A JP2005161907A JP2006340014A JP 2006340014 A JP2006340014 A JP 2006340014A JP 2005161907 A JP2005161907 A JP 2005161907A JP 2005161907 A JP2005161907 A JP 2005161907A JP 2006340014 A JP2006340014 A JP 2006340014A
Authority
JP
Japan
Prior art keywords
motion vector
block
motion
residual
update
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
JP2005161907A
Other languages
Japanese (ja)
Inventor
Sun Rimu Chon
スン・リム チョン
Mei Shen Shen
メイ・シェン シェン
Han Rii Men
ハン・リー メン
Sugiri Pranata
スギリ・プラナタ
Toshiyuki Kondo
敏志 近藤
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 JP2005161907A priority Critical patent/JP2006340014A/en
Publication of JP2006340014A publication Critical patent/JP2006340014A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motion compensation type time direction filter processing method capable of reducing complexity and delay caused by motion compensation type time direction filter processing, in consideration that a conventional motion compensation type time direction filter processing method imposes a motion picture decoding device to perform inverse update processing, and inverse prediction processing so that a great deal of complexity for the device and a large amount of delay in decoding processing are required. <P>SOLUTION: Inverse update processing is performed immediately after decoding processing of an inter-picture encoding macroblock in wide area pictures. Consequently, a delay time for restoration processing and complexity in a decoding device can be reduced. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、あらゆるマルチメディアデータ符号化において用いられ、特に、動き補償型時間方向フィルタ処理に対応する動画像符号化において用いることができる。   The present invention is used in any multimedia data coding, and in particular, can be used in video coding corresponding to motion compensation type time direction filtering.

近年の動画像圧縮技術の発達は、従来技術であるH. 264/AVCを超える符号化効率を向上させるという試みのもと、動画像コーデックにおける動き補償型時間方向フィルタ処理(motion-compensated temporal filtering (MCTF))の使用の拡大にみられる。MCTFに基づいた動画像符号化と、ISO/IEC 11172-2、ISO/IEC 13818-2、およびISO/IEC14496-2 Part 10等の従来の動画像符号化との差は、予測残差成分を線形結合させた成分が、更新ステップにより入力信号の画素に付加され、時間的低域成分が得られるという点である。   In recent years, the development of video compression technology has been developed in an effort to improve the coding efficiency that exceeds the conventional H.264 / AVC, and motion-compensated temporal filtering (motion-compensated temporal filtering) (MCTF)) seen in the expansion of use. The difference between video coding based on MCTF and conventional video coding such as ISO / IEC 11172-2, ISO / IEC 13818-2, and ISO / IEC14496-2 Part 10 is the prediction residual component. The linearly combined component is added to the pixel of the input signal by the update step, and a temporal low frequency component is obtained.

MCTFで用いられる上記リフティング方法は以下のように表すことができる。   The lifting method used in MCTF can be expressed as follows.

Figure 2006340014
Figure 2006340014

Figure 2006340014
Figure 2006340014

ここでは信号を、とはそれぞれ予測/更新オペレータを、は高域信号を、そしては低域信号を示す。動き補償型時間方向フィルタ処理において最もよく使われるフィルタには2つの種類がある。それらはハール型フィルタと5/3変換フィルタである。   Here, a signal represents a prediction / update operator, a high-frequency signal, and a low-frequency signal, respectively. There are two types of filters that are most often used in motion compensated temporal filtering. They are a Haar filter and a 5/3 conversion filter.

ハール型フィルタでは、とは以下のように表される。
In the Haar type filter, is expressed as follows.

Figure 2006340014
Figure 2006340014

Figure 2006340014
Figure 2006340014

5/3変換フィルタでは、予測/更新オペレータは以下のように求められる。   In the 5/3 conversion filter, the prediction / update operator is obtained as follows.

Figure 2006340014
Figure 2006340014

Figure 2006340014
Figure 2006340014

リフティング方法に基づき画素を再構成するためには、逆更新処理が逆予測処理より前に行われなければならない。よって、再構成処理は以下の様に表すことができる。
In order to reconstruct pixels based on the lifting method, the reverse update process must be performed before the reverse prediction process. Therefore, the reconstruction process can be expressed as follows.

Figure 2006340014
Figure 2006340014

Figure 2006340014
Figure 2006340014

ここで、は信号を、とはそれぞれ予測/更新オペレータを、は再構成された高域信号を、は再構成された低域信号を示す。   Here, denotes a signal, denotes a prediction / update operator, denotes a reconstructed high-frequency signal, and denotes a reconstructed low-frequency signal.

現在、ISO/IEC 14496-10 Amendment 2 Scalable Video Codingのような動画像コーデックにおいて、ハール型フィルタと5/3変換フィルタの両方を動き補償型時間方向フィルタ処理に用いることができる。これら2つのフィルタにおける更新処理はそれぞれ異なるため、動画像復号化装置は、初めに高域ピクチャを復号化し高域復号化装置のメモリに格納する必要がある。十分な高域ピクチャが復号化され復号化装置のピクチャバッファに格納された場合、復号化装置は、次に、前記高域ピクチャを用いて、逆予測処理を伴った逆更新処理を低域ピクチャに対して行うだろう。   Currently, in a moving image codec such as ISO / IEC 14496-10 Amendment 2 Scalable Video Coding, both a Haar type filter and a 5/3 conversion filter can be used for motion compensation type time direction filter processing. Since the update processes in these two filters are different from each other, the moving picture decoding apparatus must first decode the high-frequency picture and store it in the memory of the high-frequency decoding apparatus. When sufficient high-frequency pictures are decoded and stored in the picture buffer of the decoding device, the decoding device then uses the high-frequency pictures to perform reverse update processing with reverse prediction processing on the low-frequency pictures. Would do against.

図1は、従来のピクチャ符号化装置の構成を示すブロック図である。ピクチャ符号化装置は、ピクチャメモリ500、動き検出部502、動き補償部504、差分計算部506、直交変換部508、量子化部510、エントロピー符号化部512、残差ピクチャメモリ514、更新動きベクトル演算部516、更新処理選択部518、第2動き補償部520、スイッチ522、重み更新部および加算部526を備える。   FIG. 1 is a block diagram showing a configuration of a conventional picture coding apparatus. The picture coding apparatus includes a picture memory 500, a motion detection unit 502, a motion compensation unit 504, a difference calculation unit 506, an orthogonal transformation unit 508, a quantization unit 510, an entropy coding unit 512, a residual picture memory 514, an updated motion vector. A calculation unit 516, an update process selection unit 518, a second motion compensation unit 520, a switch 522, a weight update unit, and an addition unit 526 are provided.

ピクチャ符号化装置に入力されたピクチャは、まずピクチャメモリ500に格納される。動き検出部502は、ピクチャメモリからのPictEvenとPictOddの比較に基づいて、動きベクトル、ref_idx_10およびref_idx_11を算出する。動き補償部504は、動きベクトル、ref_idx_10およびref_idx_11情報を用い、ピクチャメモリから予測ピクチャを算出する。差分計算部506は、高域ピクチャの残差を出力するために、PictEvenから予測ピクチャを減算する。この残差は、直交変換部508へ入力され、変換係数として出力される。次に、量子化部510は、この係数を量子化し、量子化係数QuantCoeffを出力する。エントロピー符号化部512は、QuantCoeff、動きベクトル、ref_idx_10およびref_idx_11を符号化し一つのビットストリームにする。差分計算部506によって出力された残差は、残差ピクチャメモリ514に格納される。更新動きベクトル演算部は、動き検出部から出力された動きベクトル、ref_idx_10およびref_idx_11を取得し、更新動きベクトル、update_ref_idx_10およびupdate_ref_idx_11の演算を行う。更新処理選択部518は、残差ピクチャメモリから残差を取得し、残差のエネルギー強度を演算し、更新処理を行うかどうかの決定をスイッチ522へ、重みを重み更新部524へ出力する。動き補償部520は、更新動きベクトル、update_ref_idx_10およびupdate_ref_idx_11を用い、更新残差UpdatedResを出力するために、残差ピクチャメモリ514の残差ピクチャに動き補償を行う。スイッチ522は、更新処理選択部518から出力された決定に従って、更新処理を切るために用いられる。重み更新部524は、更新処理選択部518から出力された重みによって、UpdatedResをスケーリングする。最後に、加算部526は、スケーリングされたWi*UpdatedResをPictoddに加算することによって、PictOddを更新し、更新されたピクチャをピクチャメモリ500へ格納する。 A picture input to the picture coding apparatus is first stored in the picture memory 500. The motion detection unit 502 calculates motion vectors, ref_idx_10 and ref_idx_11 based on a comparison between Pict Even and Pict Odd from the picture memory. The motion compensation unit 504 uses the motion vector, ref_idx_10, and ref_idx_11 information to calculate a predicted picture from the picture memory. The difference calculation unit 506 subtracts the predicted picture from Pict Even in order to output the residual of the high frequency picture. This residual is input to the orthogonal transform unit 508 and output as a transform coefficient. Next, the quantization unit 510 quantizes this coefficient and outputs a quantization coefficient QuantCoeff. The entropy encoding unit 512 encodes the QuantCoeff, the motion vector, ref_idx_10, and ref_idx_11 into one bit stream. The residual output by the difference calculation unit 506 is stored in the residual picture memory 514. The update motion vector calculation unit obtains the motion vectors, ref_idx_10 and ref_idx_11 output from the motion detection unit, and calculates the update motion vectors, update_ref_idx_10 and update_ref_idx_11. The update process selection unit 518 acquires the residual from the residual picture memory, calculates the energy intensity of the residual, and outputs a decision as to whether or not to perform the update process to the switch 522 and the weight to the weight update unit 524. The motion compensation unit 520 performs motion compensation on the residual picture in the residual picture memory 514 in order to output the updated residual UpdatedRes using the updated motion vectors, update_ref_idx_10 and update_ref_idx_11. The switch 522 is used to turn off the update process according to the determination output from the update process selection unit 518. The weight update unit 524 scales UpdatedRes by the weight output from the update process selection unit 518. Finally, the adding unit 526 updates Pict Odd by adding the scaled Wi * UpdatedRes to Pict odd , and stores the updated picture in the picture memory 500.

図2は、従来のピクチャ復号化装置の構成を示す構成図である。復号化装置は、エントロピー復号化部400、逆量子化部402、逆直交変換部404、復号化残差メモリ406、更新動きベクトル演算部408、更新処理選択部410、動き補償部412、スイッチ416、重み更新部416、差分計算部418、再構成ピクチャメモリ420、第2動き補償部422および加算部424を備える。   FIG. 2 is a configuration diagram showing a configuration of a conventional picture decoding apparatus. The decoding apparatus includes an entropy decoding unit 400, an inverse quantization unit 402, an inverse orthogonal transform unit 404, a decoding residual memory 406, an update motion vector calculation unit 408, an update process selection unit 410, a motion compensation unit 412, and a switch 416. , A weight update unit 416, a difference calculation unit 418, a reconstructed picture memory 420, a second motion compensation unit 422, and an addition unit 424.

エントロピー復号部400は、符号化された入力信号を取得し、符号化信号の量子化された係数、動きベクトル、ref_idx_10およびref_idx_11を出力する。逆量子化部402は、符号化信号を復号化係数に逆量子化する。逆直交変換部404は、次に復号化係数を取得し、復号化残差 DecodedResに変換する。これらの復号化残差は、復号化残差メモリ406に格納される。更新動きベクトル演算部408は、エントロピー復号部400から出力された動きベクトル、ref_idx_10およびref_idx_11を用い、更新動きベクトル、update_ref_idx_10およびupdate_ref_idx_11の演算を行う。更新処理選択部410は、残差ピクチャメモリから残差を取得し、残差のエネルギー強度を演算し、更新処理を行うかどうかの決定をスイッチ414へ、重みを重み更新部416へ出力する。動き補償部412は、更新動きベクトル、update_ref_idx_10およびupdate_ref_idx_11を用い、更新残差UpdatedResを出力するために、復号化残差メモリ406の残差ピクチャに動き補償を行う。スイッチ414は、更新処理選択部410から出力された決定に従って、更新処理を切るために用いられる。重み更新部416は、更新処理選択部410から出力された重みによって、UpdatedResをスケーリングする。差分計算部418は、再構成ピクチャメモリ420にある再構成ピクチャからスケーリングされた残差Wi*UpdatedResを減算し、再構成ピクチャメモリ420に更新ピクチャを格納する。動き補償部422は、再構成ピクチャメモリから予測するために、動きベクトル、ref_idx_10およびref_idx_11を用い、予測ピクチャPredを出力する。加算部424は、予測ピクチャと復号化残差メモリ406の復号化残差の総計を求め、復号化ピクチャを出力する。復号化ピクチャが参照ピクチャであれば、復号化ピクチャはまた再構成ピクチャメモリ420へ格納される。 The entropy decoding unit 400 acquires an encoded input signal, and outputs quantized coefficients, motion vectors, ref_idx_10, and ref_idx_11 of the encoded signal. The inverse quantization unit 402 inversely quantizes the encoded signal into decoded coefficients. Next, the inverse orthogonal transform unit 404 acquires a decoding coefficient and converts it into a decoding residual DecodedRes. These decoded residuals are stored in the decoded residual memory 406. The update motion vector calculation unit 408 calculates the update motion vector, update_ref_idx_10, and update_ref_idx_11 using the motion vectors, ref_idx_10 and ref_idx_11 output from the entropy decoding unit 400. The update process selection unit 410 obtains the residual from the residual picture memory, calculates the energy intensity of the residual, and outputs a decision as to whether or not to perform the update process to the switch 414 and the weight to the weight update unit 416. The motion compensation unit 412 performs motion compensation on the residual picture in the decoded residual memory 406 in order to output the updated residual UpdatedRes using the updated motion vectors, update_ref_idx_10 and update_ref_idx_11. The switch 414 is used to turn off the update process according to the determination output from the update process selection unit 410. The weight update unit 416 scales UpdatedRes by the weight output from the update process selection unit 410. The difference calculation unit 418 subtracts the scaled residual Wi * UpdatedRes from the reconstructed picture in the reconstructed picture memory 420 and stores the updated picture in the reconstructed picture memory 420. The motion compensation unit 422 uses the motion vectors, ref_idx_10, and ref_idx_11 in order to predict from the reconstructed picture memory, and outputs a predicted picture Pred. The adding unit 424 calculates the sum of the prediction picture and the decoding residual in the decoding residual memory 406, and outputs the decoded picture. If the decoded picture is a reference picture, the decoded picture is also stored in the reconstructed picture memory 420.

図3はMCTFの概念を説明する図である。MCTFにおける符号化処理は以下のように説明される。時間方向レベル4において奇数ピクチャ1101、1103、1105等は、高域ピクチャ1117、1118、1119等を取得するために、隣接する偶数ピクチャからの予測ピクチャによって減算される。これらの高域ピクチャは、一つのビットストリームに符号化される。偶数ピクチャ1100、1102、1104、1106等は、次に、低域ピクチャ1125、1126、1127等を形成するために、高域ピクチャの残差からの予測を用いて更新される。これらの低域ピクチャには、時間方向レベル2における新しい高域と低域のピクチャの組を生成するために、次の工程の予測および更新処理が行われる。それぞれの予測、更新工程における低域ピクチャは、一つの低域ピクチャがGOPまたはパーティションに使用可能となるまで、次の工程の予測、更新処理が行われる。予測、更新処理の全ての工程における高域ピクチャは、ビットストリームに格納される。低域ピクチャは、ピクチャ内符号化ピクチャとして符号化、もしくは別のGOPに属するあらかじめ符号化された符号化ピクチャから予測された予測ピクチャとして符号化される。   FIG. 3 is a diagram for explaining the concept of MCTF. The encoding process in MCTF is described as follows. In temporal direction level 4, odd pictures 1101, 1103, 1105, etc. are subtracted by predicted pictures from adjacent even pictures in order to obtain high-frequency pictures 1117, 1118, 1119, etc. These high frequency pictures are encoded into one bit stream. The even pictures 1100, 1102, 1104, 1106, etc. are then updated using predictions from the residuals of the high pass pictures to form low pass pictures 1125, 1126, 1127, etc. In order to generate a new high-frequency and low-frequency picture pair in the temporal direction level 2, prediction and update processing in the next step is performed on these low-frequency pictures. The low-pass pictures in the respective prediction and update processes are subjected to prediction and update processes in the next process until one low-pass picture can be used for GOP or partition. High-frequency pictures in all processes of prediction and update processing are stored in a bit stream. The low-frequency picture is encoded as an intra-picture encoded picture, or is encoded as a predicted picture predicted from a previously encoded picture belonging to another GOP.

MCTFの復号化処理において、最初に更新処理が予測処理の前に行われる。ビットストリームから復号化された高域ピクチャ1145は、低域ピクチャ1144とするために、低域ピクチャ1146に更新される。低域ピクチャ1144からの予測ピクチャは、次に、低域ピクチャ1143を生成するために、高域ピクチャ1145に加算される。これら更新、予測処理の工程は、時間方向レベル4における全てのピクチャが再構成されるまで繰り返される。中間低域ピクチャは高域ピクチャから再構成されるが、全ての高域ピクチャは、一つのビットストリームに符号化される。   In the MCTF decoding process, an update process is first performed before the prediction process. The high frequency picture 1145 decoded from the bit stream is updated to the low frequency picture 1146 to be a low frequency picture 1144. The predicted picture from low pass picture 1144 is then added to high pass picture 1145 to generate low pass picture 1143. These update and prediction processing steps are repeated until all pictures in the time direction level 4 are reconstructed. The middle low-pass picture is reconstructed from the high-pass picture, but all the high-pass pictures are encoded into one bit stream.

先行技術における逆更新処理および逆予測処理は、どちらも1/4画素精度の動き補償を伴う。この問題点は、どちらも1/4画素精度の動き補償を伴うことで、逆更新処理が逆予測処理と同じぐらい複雑になってしまうことである。さらに、逆更新処理は全ての対応高域ピクチャの再構成後にしか行うことができないため、動画像復号装置の複雑さには制限があるため、ピクチャの再構成にかかる時間に大きな遅延が生じる。この時間の遅延は、いくつかの復号化装置の実施において削減されるが、復号化装置の複雑さを高度化するコストが増加するため、間接的に復号化装置にかかるコストを増加させる。   Both the inverse update process and the inverse prediction process in the prior art involve motion compensation with a 1/4 pixel accuracy. The problem is that both of them involve motion compensation with 1/4 pixel accuracy, so that the reverse update process becomes as complicated as the reverse prediction process. Furthermore, since the inverse update process can be performed only after the reconstruction of all corresponding high-frequency pictures, the complexity of the video decoding device is limited, resulting in a large delay in the time required for the reconstruction of pictures. This time delay is reduced in some decoding device implementations, but increases the cost of increasing the complexity of the decoding device, thus indirectly increasing the cost of the decoding device.

逆更新処理における上記複雑さの問題を解決するために、低複雑度動き補償型時間方向フィルタ処理のための新しい方法を提案する。本発明が新しい点は、本発明において、動画像復号化装置は、逆更新処理を高域ピクチャにおけるピクチャ間符号化マクロブロックの復号化処理の直後に行うことができることである。これにより、ピクチャの復元に必要な時間の遅延および復号化装置の複雑さが削減される。   In order to solve the above complexity problem in inverse update processing, a new method for low complexity motion compensated temporal direction filtering is proposed. The new point of the present invention is that, in the present invention, the moving picture decoding apparatus can perform the reverse update process immediately after the decoding process of the inter-picture encoded macroblock in the high-frequency picture. This reduces the time delay required for picture restoration and the complexity of the decoding device.

本発明の効果は、動き補償型時間方向フィルタ処理における更新処理を行うために必要な複雑さ減らし、符号化装置と復号化装置にかかるコストを間接的に減らすことである。   The effect of the present invention is to reduce the complexity required to perform the update process in the motion compensation type time direction filter process, and to indirectly reduce the cost for the encoding apparatus and the decoding apparatus.

復号化処理における遅延および復号化装置の複雑さを減らすために、本発明は、数3、4に示される先行技術において用いられたハール型フィルタに替えて新しい2タップフィルタを用いる。新しい2タップフィルタは数9、数10に示される。また、本発明は、5/3変換フィルタにモディファイド逆更新演算子を用いることによって、二つのフィルタの更新演算子間の適合性を達成する。   In order to reduce the delay in the decoding process and the complexity of the decoding apparatus, the present invention uses a new 2-tap filter in place of the Haar filter used in the prior art shown in equations (3) and (4). The new 2-tap filter is shown in Equation 9 and Equation 10. The present invention also achieves compatibility between the update operators of two filters by using a modified inverse update operator in the 5/3 transform filter.

新しい2タップフィルタでは、とは以下のように表される。   In the new 2-tap filter, this is expressed as:

Figure 2006340014
Figure 2006340014

Figure 2006340014
Figure 2006340014

5/3変換フィルタでは、予測および更新演算子は以下のように求められる。   In the 5/3 conversion filter, the prediction and update operators are obtained as follows.

Figure 2006340014
Figure 2006340014

Figure 2006340014
Figure 2006340014

数10、数12から、上記モディフィケーションにより、2タップフィルタの更新演算子は5/3変換フィルタ更新演算子の一部を形成することがはっきりと分かる。よって、使用されたフィルタの種類に関わらず、それぞれの高域ピクチャに逆更新処理を行うことが可能であることが分かる。これによって、逆更新処理の前に全ての高域ピクチャが処理可能になるのを待つ必要がなくなる。本発明において、W1は1/4の値もしくは1/2の値であると定義できる。   From Equations 10 and 12, it is clear from the above modification that the 2-tap filter update operator forms part of the 5/3 transform filter update operator. Therefore, it can be seen that the reverse update processing can be performed on each high-frequency picture regardless of the type of filter used. This eliminates the need to wait for all high-frequency pictures to be processed before the reverse update process. In the present invention, W1 can be defined as a 1/4 value or a 1/2 value.

図4は本発明におけるピクチャ符号化装置の構成を示すブロック図である。ピクチャ符号化装置は、ピクチャメモリ700、動き検出部702、動き補償部704、差分計算部706、直交変換部708、量子化部710、エントロピー符号化部712、更新処理選択部714、更新重み選択部716、3つのスイッチ718、720および726、2つのスケーリング部722および724、更新動きベクトル演算部728、動き更新部、および加算部732を備える。   FIG. 4 is a block diagram showing the configuration of the picture coding apparatus according to the present invention. The picture coding apparatus includes a picture memory 700, a motion detection unit 702, a motion compensation unit 704, a difference calculation unit 706, an orthogonal transformation unit 708, a quantization unit 710, an entropy coding unit 712, an update processing selection unit 714, and an update weight selection. Unit 716, three switches 718, 720 and 726, two scaling units 722 and 724, an updated motion vector calculation unit 728, a motion update unit, and an addition unit 732.

ピクチャ符号化装置に入力されたピクチャは、最初にピクチャメモリ700に格納される。動き検出部702は、ピクチャメモリのPictEvenとPictOddの比較に基づいて、動きベクトル、ref_idx_10およびref_idx_11を算出する。動き補償部704は、動きベクトル、ref_idx_10およびref_idx_11情報を用い、ピクチャメモリから予測ピクチャを算出する。差分計算部706は、高域ピクチャの残差を出力するために、PictEvenから予測ピクチャを減算する。これら残差は直交変換部708に入力され、変換係数として出力される。量子化部710は、次にこれら係数の量子化を行い、量子化係数QuantCoeffを出力する。エントロピー符号化部712は、QuantCoeff、動きベクトル、ref_idx_10およびref_idx_11を一つのビットストリームに符号化する。更新重み選択部716は、更新処理に用いられる重みを選択し、スイッチ720および726にUpdateWeightType情報を出力する。このUpdateWeightType情報は、エントロピー符号化部712に送信され、一つのビットストリームに符号化される。 A picture input to the picture coding apparatus is first stored in the picture memory 700. The motion detection unit 702 calculates motion vectors, ref_idx_10 and ref_idx_11 based on a comparison between Pict Even and Pict Odd in the picture memory. The motion compensation unit 704 calculates a prediction picture from the picture memory using the motion vector, ref_idx_10, and ref_idx_11 information. The difference calculation unit 706 subtracts the predicted picture from Pict Even in order to output the residual of the high frequency picture. These residuals are input to the orthogonal transform unit 708 and output as transform coefficients. The quantization unit 710 next quantizes these coefficients and outputs a quantization coefficient QuantCoeff. The entropy encoding unit 712 encodes the QuantCoeff, the motion vector, ref_idx_10, and ref_idx_11 into one bit stream. The update weight selection unit 716 selects a weight used for the update process, and outputs UpdateWeightType information to the switches 720 and 726. This UpdateWeightType information is transmitted to the entropy encoding unit 712 and encoded into one bit stream.

スイッチ718は、更新処理選択部714によって制御される。更新処理選択部714は、ref_idx_10およびref_idx_11情報を用い、更新処理を行うことができるか否かの決定を出力する。上記処理が可能な場合、差分計算部706から出力された残差は、スケーリング部722もしくは724によってスケーリングされ、加算部732に入力される。更新動きベクトル演算部728は、動き検出部702から動きベクトルを取得し、更新動きベクトルを出力する。動き更新部730は、次に、動き予測部702からref_idx_10およびref_idx_11、および更新動きベクトル演算部728の出力を取得し、ピクチャメモリ700からLowPassBlkを出力する。加算部732は、LowPassBlkおよびScaleResの値を加算し、その総計をピクチャメモリ700へ格納する。   The switch 718 is controlled by the update process selection unit 714. The update process selection unit 714 uses the ref_idx_10 and ref_idx_11 information and outputs a determination as to whether or not the update process can be performed. When the above processing is possible, the residual output from the difference calculation unit 706 is scaled by the scaling unit 722 or 724 and input to the addition unit 732. The updated motion vector calculation unit 728 acquires a motion vector from the motion detection unit 702 and outputs an updated motion vector. Next, the motion update unit 730 acquires the outputs of the ref_idx_10 and ref_idx_11 and the updated motion vector calculation unit 728 from the motion prediction unit 702, and outputs LowPassBlk from the picture memory 700. The adder 732 adds the values of LowPassBlk and ScaleRes, and stores the sum in the picture memory 700.

別の実施の形態においては、更新重み選択部716、スイッチ722および724、および第2スケーリング部724を省いてもよい。この場合、UpdateWeightTypeはビットストリームに符号化されない。残差はひとつのスケーリング部によってW1の重みでスケーリングされる。W1の値は1/4もしくは1/2である。   In another embodiment, the update weight selection unit 716, the switches 722 and 724, and the second scaling unit 724 may be omitted. In this case, UpdateWeightType is not encoded in the bitstream. The residual is scaled with a weight of W1 by one scaling unit. The value of W1 is 1/4 or 1/2.

図5は、本発明におけるピクチャ復号装置の構成を示すブロック図である。ピクチャ復号装置は、エントロピー復号化部600、逆量子化部602、逆直交変換部604、加算部606、更新処理選択部606、3つのスイッチ608、610および616、2つのスケーリング部612および614、差分計算部622、更新動きベクトル演算部618、動き更新部620、復号化ピクチャメモリ624、および動き補償部626を備える。   FIG. 5 is a block diagram showing a configuration of a picture decoding apparatus according to the present invention. The picture decoding apparatus includes an entropy decoding unit 600, an inverse quantization unit 602, an inverse orthogonal transform unit 604, an addition unit 606, an update processing selection unit 606, three switches 608, 610 and 616, two scaling units 612 and 614, A difference calculation unit 622, an updated motion vector calculation unit 618, a motion update unit 620, a decoded picture memory 624, and a motion compensation unit 626 are provided.

エントロピー復号化部600は、符号化された入力信号を取得し、符号化信号の量子化された係数、動きベクトル、ref_idx_10およびref_idx_11を出力する。逆量子化部602は、符号化信号を復号化係数に逆量子化を行う。逆直交変換部604は、次に、復号化係数を取得し、復号化残差DecodedResに変換する。更新処理選択部606は、ref_idx_10およびref_idx_11を取得し、スイッチ610で更新処理を行うか否かを制御する。スイッチ610および616は、エントロピー復号化部600によって復号化されたUpdateWeightTypeによって制御される。UpdateWeightTypeは、スイッチ608の出力から復号化残差をスケーリングするために用いられる2つの異なるスケーリング部612および614のうち一つを選択するために用いられる。   The entropy decoding unit 600 acquires an encoded input signal, and outputs quantized coefficients, motion vectors, ref_idx_10, and ref_idx_11 of the encoded signal. The inverse quantization unit 602 performs inverse quantization on the encoded signal into a decoded coefficient. Next, the inverse orthogonal transform unit 604 obtains a decoding coefficient and converts it into a decoding residual DecodedRes. The update process selection unit 606 acquires ref_idx_10 and ref_idx_11, and controls whether or not the switch 610 performs the update process. The switches 610 and 616 are controlled by the UpdateWeightType decoded by the entropy decoding unit 600. UpdateWeightType is used to select one of two different scaling units 612 and 614 that are used to scale the decoding residual from the output of switch 608.

更新動きベクトル演算部618は、エントロピー復号化部600から動きベクトルを取得し、更新動きベクトルを算出する。動き更新部620は、更新動きベクトル、ref_idx_10およびref_idx_11を取得し、復号化ピクチャメモリから再構成ブロックを取得する。差分計算部622は、再構成ブロックReconBlkの値からスケーリングされた残差ScaledResの値を減算し、その減算結果を復号化ピクチャメモリ624に格納し戻す。動き補償部626は、動きベクトル、ref_idx_10およびref_idx_11情報を用い、復号化ピクチャメモリから予測ピクチャを出力する。加算部606は、予測ピクチャと逆直交変換部604からの復号化残差を加算し、再構成ピクチャを出力する。この再構成ピクチャが他のピクチャの予測ピクチャの生成に用いられる場合は、再構成ピクチャは復号化ピクチャメモリ624に格納される。   The updated motion vector calculation unit 618 obtains a motion vector from the entropy decoding unit 600 and calculates an updated motion vector. The motion update unit 620 acquires update motion vectors, ref_idx_10 and ref_idx_11, and acquires a reconstructed block from the decoded picture memory. The difference calculation unit 622 subtracts the value of the scaled residual ScaledRes from the value of the reconstructed block ReconBlk, and stores the result of the subtraction back into the decoded picture memory 624. The motion compensation unit 626 outputs a predicted picture from the decoded picture memory using the motion vector, ref_idx_10, and ref_idx_11 information. The adding unit 606 adds the prediction picture and the decoding residual from the inverse orthogonal transform unit 604, and outputs a reconstructed picture. When this reconstructed picture is used to generate a predicted picture of another picture, the reconstructed picture is stored in the decoded picture memory 624.

別の実施の形態において、2つのスイッチ610および616、および第2のスケーリング部614は省いてもよい。UpdateWeightTypeはエントロピー復号化部から出力されず、残差は、ひとつのスケーリング部によってW1の重みでスケーリングされる。W1の値は1/4もしくは1/2である。   In another embodiment, the two switches 610 and 616 and the second scaling unit 614 may be omitted. UpdateWeightType is not output from the entropy decoding unit, and the residual is scaled by the weight of W1 by one scaling unit. The value of W1 is 1/4 or 1/2.

図6Aは、本発明のピクチャ符号化装置がピクチャ単位で更新スケーリング部のスケーリングの重みを切り替える場合における符号化されたビットストリームのストリーム構造を示す図である。図6Bは、本発明のピクチャ符号化装置がスライス単位で更新スケーリング部のスケーリングの重みを切り替える場合における符号化されたビットストリームのストリーム構造を示す図である
符号化されたビットストリームは、複数の更新スケーリングの重みのうち一つを特定する更新スケーリング重み型情報UpdateWeightTypeを含む。符号化されたビットストリームを復号化する本発明のピクチャ復号化装置は、ビットストリームに符号化された更新スケーリング重み型情報を確認することによって、符号化に用いられた更新スケーリングの重みと同じ種類の重みを選択する。
FIG. 6A is a diagram illustrating a stream structure of an encoded bit stream when the picture encoding apparatus of the present invention switches the scaling weight of the update scaling unit in units of pictures. FIG. 6B is a diagram illustrating a stream structure of an encoded bit stream when the picture encoding apparatus of the present invention switches the scaling weight of the update scaling unit in units of slices. Update weight type information UpdateWeightType that identifies one of the update scaling weights is included. The picture decoding apparatus of the present invention that decodes an encoded bitstream is the same type as the update scaling weight used for encoding by checking the update scaling weight type information encoded in the bitstream. Select the weight of.

ピクチャ単位で更新スケーリングの重みが切り替えられる場合、図6Aに示されるように、UpdateWeightType情報はヘッダ801に格納することができる。ヘッダ801はパラメータと1以上のピクチャに関する情報を含む。スライス単位で更新スケーリングの重みが切り替えられる場合、図6Bに示されるように、UpdateWeightType情報はスライスヘッダ802に格納することができる。スライスヘッダ802はパラメータとスライスヘッダに伴うスライスデータに関する情報を含む。   When the weight of update scaling is switched in units of pictures, UpdateWeightType information can be stored in the header 801 as shown in FIG. 6A. The header 801 includes information regarding parameters and one or more pictures. When the weight of update scaling is switched in units of slices, UpdateWeightType information can be stored in the slice header 802 as shown in FIG. 6B. The slice header 802 includes information on parameters and slice data accompanying the slice header.

図7は本発明のピクチャ符号化装置における動き補償型時間方向フィルタ処理を示す。図示されるように、モジュール900において、動き検出はピクチャメモリ902の隣接するピクチャと処理対象ピクチャを比較することによって行われる。次に、モジュール904において、予測のための動きベクトルおよび参照インデックスが決定される。それから、モジュール906において、動きベクトルと参照インデックスを用いてピクチャメモリのピクチャから予測することによって予測ピクチャを生成するために、動き補償が行われる。モジュール908において、マクロブロックの残差が計算される。次に、動きベクトル、参照インデックスおよび残差は、モジュール910において一つのビットストリームに符号化される。上記処理は、動き補償型時間方向フィルタ処理の予測処理に含まれる。   FIG. 7 shows the motion compensation type time direction filter processing in the picture coding apparatus of the present invention. As illustrated, in the module 900, motion detection is performed by comparing adjacent pictures in the picture memory 902 with the current picture. Next, in module 904, motion vectors and reference indices for prediction are determined. Then, in module 906, motion compensation is performed to generate a predicted picture by predicting from a picture in the picture memory using the motion vector and the reference index. In module 908, the macroblock residual is calculated. The motion vector, reference index, and residual are then encoded into a single bitstream at module 910. The above process is included in the prediction process of the motion compensation type time direction filter process.

モジュール918において、残差の処理対象ブロックは、更新処理に用いられるかどうかの決定のために解析される。モジュール920に示されるように、処理対象ブロックが更新処理に用いられる場合は、モジュール922において更新動きベクトルが決定される。更新動きベクトルに基づいて、モジュール928に示されるように、残差はあらかじめ動き補償に用いられた参照フレームへ更新される。更新参照フレームはピクチャメモリに格納される。   In module 918, the residual block to be processed is analyzed to determine if it will be used in the update process. As shown in module 920, when the processing target block is used for update processing, an update motion vector is determined in module 922. Based on the updated motion vector, the residual is updated to the reference frame previously used for motion compensation, as shown in module 928. The updated reference frame is stored in the picture memory.

図8は本発明のピクチャ復号化装置における逆動き補償型時間方向フィルタ処理を示す。モジュール100において、動き予測に用いられる参照ピクチャが決定される。これは、どの参照ピクチャをマクロブロックが予測に使用しているかを示す符号化マクロブロックヘッダにある情報を復号化することによって行われる。次に、モジュール102において、マクロブロックヘッダから動きベクトルは復号化される。これらの動きベクトルは後の逆予測処理に用いられる。モジュール104において、動画像ビットストリームからブロック残差が復号化される。モジュール106において、復号化ブロック残差は残差メモリに格納されるので、残差は逆予測処理に用いることができる。モジュール110において、処理対象ブロックが逆更新処理に用いられる場合は、処理対象ブロックが決定される。モジュール112に示されるように、ブロック残差が更新される場合は、モジュール114において更新動きベクトルが決定され、ブロック残差は、モジュール116において更新動きベクトルによって示される参照フレームにおける対応位置に更新される。これらの更新動きベクトルは画素精度が整数画素である。上記記載の処理は逆動き補償型時間方向フィルタ処理の逆更新処理に含まれる。   FIG. 8 shows inverse motion compensation type time direction filter processing in the picture decoding apparatus of the present invention. In module 100, a reference picture used for motion prediction is determined. This is done by decoding information in the encoded macroblock header that indicates which reference picture is used by the macroblock for prediction. Next, in module 102, the motion vector is decoded from the macroblock header. These motion vectors are used in the subsequent inverse prediction process. In module 104, the block residual is decoded from the video bitstream. In module 106, the decoded block residual is stored in a residual memory so that the residual can be used for inverse prediction processing. In the module 110, when the processing target block is used for the reverse update process, the processing target block is determined. As shown in module 112, if the block residual is updated, an updated motion vector is determined in module 114 and the block residual is updated in module 116 to the corresponding position in the reference frame indicated by the updated motion vector. The These updated motion vectors have an integer pixel accuracy. The process described above is included in the inverse update process of the inverse motion compensation type time direction filter process.

モジュール120において、動き補償は更新参照ピクチャから予測するための予測動作ベクトルと参照インデックスを用いて行われる。次に、モジュール122において、ピクチャはピクチャメモリのブロック残差を動き補償処理によって導出された予測ブロックに加算することによって再構成される。そして、再構成されたピクチャが他のピクチャの予測に用いられる場合、この再構成ピクチャは、モジュール126に示されるように、参照フレームメモリ128に格納される。   In module 120, motion compensation is performed using a prediction motion vector and a reference index for prediction from an updated reference picture. Next, in module 122, the picture is reconstructed by adding the block residual of the picture memory to the prediction block derived by the motion compensation process. Then, when the reconstructed picture is used for prediction of another picture, this reconstructed picture is stored in the reference frame memory 128 as shown in the module 126.

図9はブロック残差を参照ピクチャに更新する処理を示す。まず、モジュール200において、予測画素のブロックは、更新動きベクトルに示されるように、ピクチャメモリ202に位置する参照ピクチャから整数画素更新動きベクトルを用いて取得される。次に、モジュール204において、更新スケーリング重み型UpdateWeightTypeはビットストリームから復号化される。モジュール206に示されるように、UpdateWeightTypeが1の場合、モジュール208において更新残差は1/4の倍率によってスケーリングされる。モジュール210に示されるように、UpdateWeightTypeが0の場合、更新残差は1/2の倍率によってスケーリングされる。次に、モジュール212において、予測画素はピクチャ符号化装置のためにスケーリングされた残差に加算される。ピクチャ復号化装置の場合、モジュール212において、予測画素からスケーリングされた残差が減算される。そして、モジュール213において、減算の総計は符号なし8ビットの値にクリッピングされる。モジュール214において更新動きベクトルによって示されるように、再構成ピクチャはピクチャメモリ216に格納し戻される。   FIG. 9 shows a process of updating the block residual to the reference picture. First, in the module 200, a block of predicted pixels is obtained from a reference picture located in the picture memory 202 using an integer pixel update motion vector, as indicated by the update motion vector. Next, in module 204, the update scaling weight type UpdateWeightType is decoded from the bitstream. As shown in module 206, if UpdateWeightType is 1, the update residual is scaled by a factor of 1/4 in module 208. As shown in module 210, if UpdateWeightType is 0, the update residual is scaled by a factor of 1/2. Next, in module 212, the predicted pixels are added to the residual scaled for the picture encoder. In the case of a picture decoding device, in module 212, the scaled residual is subtracted from the predicted pixel. Then, in module 213, the subtraction sum is clipped to an unsigned 8-bit value. The reconstructed picture is stored back into the picture memory 216 as indicated by the updated motion vector in module 214.

図10は予測動きベクトルから更新動きベクトルを決定する処理を示す。まず、モジュール300において、更新動きベクトルは予測動きベクトルと同じ値をもつように設定される。次に、モジュール302において、残差ブロックが輝度画素を含む場合は、残差ブロックが決定される。処理対象ブロックが輝度ブロックである場合は、輝度動きベクトルの精度はモジュール306において決定される。例えば、ISO/IEC 14496-10 MPEG-4 AVCにおいて、輝度動きベクトルの精度は1/4画素である。処理対象ブロックが輝度ブロックでない場合は、輝度動きベクトルの精度はモジュール304において決定される。符号化フォーマットが4:2:0である場合、輝度動きベクトルは1/8画素精度である。符号化フォーマットが4:2:2である場合、輝度動きベクトルの水平成分は1/8画素精度であるが、輝度動きベクトルの垂直成分は1/4画素精度である。   FIG. 10 shows a process for determining an updated motion vector from a predicted motion vector. First, in the module 300, the updated motion vector is set to have the same value as the predicted motion vector. Next, in module 302, if the residual block includes luminance pixels, the residual block is determined. If the processing target block is a luminance block, the accuracy of the luminance motion vector is determined in the module 306. For example, in ISO / IEC 14496-10 MPEG-4 AVC, the accuracy of the luminance motion vector is 1/4 pixel. If the block to be processed is not a luminance block, the accuracy of the luminance motion vector is determined in the module 304. When the encoding format is 4: 2: 0, the luminance motion vector is 1/8 pixel accuracy. When the encoding format is 4: 2: 2, the horizontal component of the luminance motion vector has 1/8 pixel accuracy, but the vertical component of the luminance motion vector has 1/4 pixel accuracy.

次に、モジュール308において、オフセットの値が設定される。オフセット値は動きベクトルの精度によって異なる。動きベクトルが1/8画素精度の場合、オフセット値は4に設定される。動きベクトルが1/4画素精度の場合、オフセット値は2に設定される。次に、モジュール309において、シフト係数が設定される。動きベクトルが1/8画素精度の場合、シフト係数は3に設定される。動きベクトルが1/4画素精度の場合、シフト係数は2に設定される。それから、モジュール310において、オフセット値が更新動きベクトルに加算される。モジュール312において、加算された総計が、シフト係数によって示されるビットの数だけ右にシフトされる。その後、モジュール314において、更新動きベクトルは、シフト係数によって示される同じビットの数だけ左にシフトされる。   Next, in the module 308, an offset value is set. The offset value varies depending on the accuracy of the motion vector. When the motion vector is 1/8 pixel precision, the offset value is set to 4. When the motion vector is 1/4 pixel accuracy, the offset value is set to 2. Next, in module 309, a shift coefficient is set. When the motion vector is 1/8 pixel precision, the shift coefficient is set to 3. When the motion vector is 1/4 pixel accuracy, the shift coefficient is set to 2. Then, in module 310, the offset value is added to the updated motion vector. In module 312, the summed sum is shifted right by the number of bits indicated by the shift factor. Thereafter, in module 314, the updated motion vector is shifted left by the same number of bits as indicated by the shift factor.

図11は本発明における更新処理選択処理を行う処理を示す。まず、モジュール1000において、マクロブロックの種類MBTypeがマクロブロックヘッダから決定される。モジュール1002に示されるように、MBTypeがIntraである場合は、更新処理はスキップされる。MBTypeがIntraでない場合は、モジュール1004において、ビットストリームから参照インデックスおよびref_idx_10が決定される。モジュール1006に示されるように、ref_idx_10が0でない場合は、ref_idx_10に参照される参照フレームへの更新処理はスキップされる。モジュール1006に示されるように、ref_idx_10が0である場合は、モジュール1008において、更新処理はref_idx_10に参照される参照ピクチャのために選択される。   FIG. 11 shows a process for performing the update process selection process in the present invention. First, in the module 1000, the macroblock type MBType is determined from the macroblock header. As shown in the module 1002, when MBType is Intra, the update process is skipped. If MBType is not Intra, module 1004 determines a reference index and ref_idx_10 from the bitstream. As shown in the module 1006, when ref_idx_10 is not 0, the update process to the reference frame referenced by ref_idx_10 is skipped. As shown in module 1006, if ref_idx_10 is 0, in module 1008, the update process is selected for the reference picture referenced by ref_idx_10.

次に、モジュール1010において、マクロブロックの種類がBiPredである場合は、マクロブロックの種類を決定する。MBTypeがBiPredでない場合は、更新処理選択処理は終了する。MBTypeがBiPredである場合は、モジュール1012において、ビットストリームから参照インデックスref_idx_11が決定される。モジュール1014に示されるように、ref_idx_11が0でない場合は、ref_idx_11に参照される参照フレームに対する更新処理はスキップされる。モジュール1014に示されるように、ref_idx_11が0である場合は、モジュール1016において、ref_idx_11に参照される参照ピクチャのために更新処理が選択される。   Next, in the module 1010, when the macroblock type is BiPred, the macroblock type is determined. If MBType is not BiPred, the update process selection process ends. When MBType is BiPred, the module 1012 determines the reference index ref_idx_11 from the bitstream. As shown in the module 1014, when ref_idx_11 is not 0, the update process for the reference frame referenced by ref_idx_11 is skipped. As shown in module 1014, if ref_idx_11 is 0, in module 1016, an update process is selected for the reference picture referenced by ref_idx_11.

図1は従来のピクチャ符号化装置の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a conventional picture coding apparatus. 図2は従来のピクチャ復号化装置の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a conventional picture decoding apparatus. 図3はMCTF処理における高域ピクチャと低域ピクチャを説明する図である。FIG. 3 is a diagram for explaining high-frequency pictures and low-frequency pictures in MCTF processing. 図4は本発明におけるピクチャ符号化装置の構成を示すブロック図である。FIG. 4 is a block diagram showing the configuration of the picture coding apparatus according to the present invention. 図5は本発明におけるピクチャ復号化装置の構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a picture decoding apparatus according to the present invention. 図6Aは本発明のピクチャ符号化装置から出力された符号化されたビットストリームのストリーム構造を示すブロック図である。FIG. 6A is a block diagram showing a stream structure of an encoded bit stream output from the picture encoding apparatus of the present invention. 図6Bは本発明のピクチャ符号化装置がスライス単位で更新重みを切り替えた時に出力された符号化されたビットストリームのストリーム構造を示す図である。FIG. 6B is a diagram illustrating a stream structure of an encoded bit stream output when the picture encoding apparatus of the present invention switches update weights in units of slices. 図7は本発明のピクチャ符号化装置における動き補償型時間方向フィルタ処理を示すフローチャートである。FIG. 7 is a flowchart showing motion compensation type time direction filter processing in the picture coding apparatus of the present invention. 図8は本発明のピクチャ復号化装置における動き補償時間方向フィルタ処理を示すフローチャートである。FIG. 8 is a flowchart showing motion compensation time direction filter processing in the picture decoding apparatus of the present invention. 図9は本発明における更新処理を行う処理を示すフローチャートである。FIG. 9 is a flowchart showing a process for performing the update process in the present invention. 図10は本発明における更新動きベクトルを導出する処理を示すフローチャートである。FIG. 10 is a flowchart showing a process for deriving an updated motion vector in the present invention. 図11は本発明における更新処理選択を行う処理を示すフローチャートである。FIG. 11 is a flowchart showing processing for selecting update processing in the present invention.

Claims (41)

ピクチャの符号化処理における低複雑度動き補償型時間方向フィルタ処理方法であって、
動き検出を行い(900)、
動きベクトルと参照ピクチャを決定し(904)、
動き補償を行い(906)、
マクロブロック残差を算出し(908)、
前記マクロブロック残差、動きベクトル、および参照インデックスを符号化して一つのビットストリームとし(910)、
前記残差の処理対象ブロックが更新処理に用いられるどうかを決定し(918)、
前記処理対象ブロックが更新処理に用いられる場合は、更新動きベクトルを決定し(922)、
前記残差のブロックを前記参照ピクチャに更新する(928)
ステップを含むことを特徴とする。
A low-complexity motion-compensated temporal filter method in picture encoding processing,
Perform motion detection (900),
Determining a motion vector and a reference picture (904);
Perform motion compensation (906),
Calculating a macroblock residual (908);
Encoding the macroblock residual, motion vector, and reference index into one bitstream (910);
Determining whether the processing block of the residual is used for update processing (918);
When the processing target block is used for update processing, an update motion vector is determined (922),
Update the residual block to the reference picture (928)
Including steps.
前記ブロック残差を前記参照ピクチャに更新するステップは、
再構成された参照ピクチャから予測画素を取得し(200)、
更新のための重みの種類UpdateWeightTypeを決定し(204)、
前記UpdateWeightTypeが1であるかを確認し(206)、
前記UpdateWeightTypeが1である場合は、1/4の倍率で前記ブロック残差をスケーリングし(208)、
前記UpdateWeightTypeが0(コメント:「1」の間違いだとは思いますが、原文から間違っているのでこのままで良いです)でない場合は、1/2の倍率で前記ブロック残差をスケーリングし(210)、
前記スケーリングされた残差に前記予測画素を加算し(212)、
前記計算結果を8ビットの正の値にクリッピングし(213)、
前記クリッピングされた値を前記参照ピクチャに複写し戻す(214)
ステップを含むことを特徴とする請求項1記載の低複雑度動き補償型時間方向フィルタ処理方法。
Updating the block residual to the reference picture;
Obtaining predicted pixels from the reconstructed reference picture (200);
Update weight type for update is determined (204),
Check whether the UpdateWeightType is 1 (206),
If the UpdateWeightType is 1, the block residual is scaled by a factor of 1/4 (208),
If the UpdateWeightType is not 0 (comment: I think it is a mistake of “1”, but it can be left as it is wrong from the original), the block residual is scaled by a factor of 1/2 (210) ,
Adding the predicted pixel to the scaled residual (212);
Clip the calculation result to an 8-bit positive value (213);
Copy the clipped value back to the reference picture (214)
The method according to claim 1, further comprising: steps.
ピクチャの復号化処理における低複雑度動き補償型時間方向フィルタ処理方法であって、
参照ピクチャを決定し(100)、
予測動きベクトルを復号化し(102)、
ブロック残差を復号化し(104)、
前記ブロック残差を残差メモリに格納し(106)、
前記ブロックが更新処理に用いられるかどうかを決定し(110)、
前記ブロックが更新される場合は、更新動きベクトルを決定し(114)、
前記ブロックが更新される場合は、前記ブロック残差を前記参照ピクチャに更新し
(116)、
前記予測動きベクトルに基づいて動き補償を行い(120)、
前記残差に前記動き補償からの予測値を加算することによって、前記ピクチャを再構成し(122)、
前記ピクチャが他のピクチャに参照される場合、参照フレームメモリに前記再構成されたピクチャを格納する(126)
ステップを含むことを特徴とする。
A low-complexity motion compensated temporal direction filtering method in picture decoding processing, comprising:
Determine a reference picture (100);
Decoding the predicted motion vector (102);
Decoding the block residual (104);
Storing the block residual in a residual memory (106);
Determining whether the block is used for update processing (110);
If the block is updated, determine an updated motion vector (114);
If the block is updated, update the block residual to the reference picture (116);
Performing motion compensation based on the predicted motion vector (120);
Reconstructing the picture by adding the prediction value from the motion compensation to the residual (122);
If the picture is referenced by another picture, store the reconstructed picture in a reference frame memory (126)
Including steps.
前記参照ピクチャはマクロブロックヘッダから情報を復号化することによって決定される
ことを特徴とする請求項3記載の低複雑度動き補償型時間方向フィルタ処理方法。
The method of claim 3, wherein the reference picture is determined by decoding information from a macroblock header.
前記予測動きベクトルは、マクロブロックヘッダから復号化され、逆予測処理に用いられる
ことを特徴とする請求項3記載の低複雑度動き補償型時間方向フィルタ処理方法。
The low-complexity motion compensated temporal direction filter processing method according to claim 3, wherein the motion vector predictor is decoded from a macroblock header and used for inverse prediction processing.
前記ブロックが更新処理に用いられるかどうかを決定する処理は、
マクロブロックの種類を決定し(1000)、
前記マクロブロックの種類がIntraであるかどうかを確認し
(1002)、
前記マクロブロックの種類がIntraである場合は、前記ブロックに対する更新処理をスキップする決定に戻り、
前記マクロブロックの種類がIntraでない場合は、前記ビットストリームから変数ref_idx_10を決定し(1004)、
前記変数ref_idx_10が0であるかどうかを確認し(1006)、
前記変数ref_idx_10が0でない場合は、前記ref_idx_10に参照される参照フレームに対する更新処理をスキップする決定に戻り、
前記変数ref_idx_10が0である場合は、前記ref_idx_10に参照される参照フレームに対する更新処理を行う決定に戻り(1008)、
前記マクロブロックの種類がBiPredであるかどうかを決定し(1010)、
前記マクロブロックの種類がBiPredでない場合は、前記ブロックの第2参照フレームに対する更新処理をスキップする決定に戻り、
前記マクロブロックの種類がBiPredである場合は、前記ビットストリームから変数ref_idx_11を決定し(1012)、
前記変数ref_idx_11が0であるかどうかを確認し(1014)、
前記変数ref_idx_11が0でない場合は、前記ref_idx_11に参照される参照フレームに対する更新処理をスキップする決定に戻り、
前記変数ref_idx_11が0である場合は、前記ref_idx_11に参照される参照フレームに対して更新処理を行う決定に戻る(1016)
ステップを含むことを特徴とする請求項1および3記載の低複雑度動き補償型時間方向フィルタ処理方法。
The process of determining whether the block is used for update processing is as follows:
Determine the type of macroblock (1000)
Check whether the macroblock type is Intra (1002),
If the type of the macroblock is Intra, return to the decision to skip the update process for the block,
If the macroblock type is not Intra, a variable ref_idx_10 is determined from the bitstream (1004),
Check whether the variable ref_idx_10 is 0 (1006),
If the variable ref_idx_10 is not 0, return to the decision to skip the update process for the reference frame referenced by the ref_idx_10,
If the variable ref_idx_10 is 0, the process returns to the decision to perform update processing on the reference frame referenced by the ref_idx_10 (1008),
Determining whether the macroblock type is BiPred (1010);
If the macroblock type is not BiPred, the process returns to the decision to skip the update process for the second reference frame of the block,
If the type of the macroblock is BiPred, a variable ref_idx_11 is determined from the bitstream (1012),
Check whether the variable ref_idx_11 is 0 (1014),
If the variable ref_idx_11 is not 0, return to the decision to skip the update process for the reference frame referenced by the ref_idx_11,
If the variable ref_idx_11 is 0, the process returns to the decision to perform update processing on the reference frame referenced by the ref_idx_11 (1016).
4. The low complexity motion compensated temporal direction filtering method according to claim 1 and 3, further comprising steps.
前記変数ref_idx10およびref_idx_11は、参照ピクチャメモリにある参照ピクチャを特定するために用いられる
ことを特徴とする請求項1、3および6記載の低複雑度動き補償型時間方向フィルタ処理方法。
The low-complexity motion compensated temporal direction filter processing method according to claim 1, 3 or 6, wherein the variables ref_idx10 and ref_idx_11 are used for specifying a reference picture in a reference picture memory.
前記更新動きベクトルを決定する処理は、
前記更新動きベクトルを前記復号化予測動きベクトルに等しく設定し(300)、
前記ブロックが輝度ブロックであるかどうかを決定し(300)、
前記ブロックが輝度ブロックである場合は、輝度動きベクトルの精度を決定し(306)、
前記ブロックが輝度ブロックでない場合は、色差動きベクトルの精度を決定し(304)、
前記予測動きベクトルの精度に基づいて、オフセット値を設定し(308)、
前記予測動きベクトルの精度に基づいて、シフト係数を設定し(309)、
前記オフセット値を前記更新動きベクトルの値に加算し(310)、
前記シフト係数によって示されたビット数だけ右に前記更新動きベクトルの値をシフトし(312)、
前記シフト係数によって示されたビット数だけ左に前記更新動きベクトルの値をシフトする(314)
ステップを含むことを特徴とする請求項1および3記載の低複雑度動き補償型時間方向フィルタ処理方法。
The process of determining the updated motion vector includes:
Setting the updated motion vector equal to the decoded predicted motion vector (300);
Determining whether the block is a luminance block (300);
If the block is a luminance block, determine the accuracy of the luminance motion vector (306);
If the block is not a luminance block, determine the accuracy of the chrominance motion vector (304);
Based on the accuracy of the predicted motion vector, an offset value is set (308),
A shift coefficient is set based on the accuracy of the predicted motion vector (309),
Adding the offset value to the value of the updated motion vector (310);
Shifting the value of the updated motion vector to the right by the number of bits indicated by the shift factor (312);
The value of the updated motion vector is shifted to the left by the number of bits indicated by the shift coefficient (314).
4. The low complexity motion compensated temporal direction filtering method according to claim 1 and 3, further comprising steps.
前記輝度動きベクトルの精度は1/4画素である
ことを特徴とする請求項1、3および8記載の低複雑度動き補償型時間方向フィルタ処理方法。
The low-complexity motion compensation type time direction filter processing method according to claim 1, wherein the accuracy of the luminance motion vector is ¼ pixel.
符号化動画像フォーマットが4:2:0のとき、前記色差動きベクトルの精度は1/8画素である
ことを特徴とする請求項1、3および8記載の低複雑度動き補償型時間方向フィルタ処理方法。
The low-complexity motion-compensated temporal filter according to claim 1, 3 or 8, wherein when the encoded video format is 4: 2: 0, the accuracy of the color difference motion vector is 1/8 pixel. Processing method.
符号化動画像フォーマットが4:2:2のとき、前記色差動きベクトルの垂直成分の精度は1/4画素であり、前記色差動きベクトルの水平成分の精度は1/8である
ことを特徴とする請求項1、3および8記載の低複雑度動き補償型時間方向フィルタ処理方法。
When the encoded moving image format is 4: 2: 2, the accuracy of the vertical component of the color difference motion vector is 1/4 pixel, and the accuracy of the horizontal component of the color difference motion vector is 1/8. 9. The low complexity motion compensated temporal direction filtering method according to claim 1, 3 and 8.
符号化動画像フォーマットが4:4:4のとき、前記色差動きベクトルの精度は1/4画素である
ことを特徴とする請求項1、3および8記載の低複雑度動き補償型時間方向フィルタ処理方法。
The low-complexity motion-compensated temporal filter according to claim 1, 3 and 8, wherein when the encoded video format is 4: 4: 4, the accuracy of the color difference motion vector is 1/4 pixel. Processing method.
前記動きベクトルの精度が1/4画素である場合、前記オフセット値は2の値に設定される
ことを特徴とする請求項1、3および8記載の低複雑度動き補償型時間方向フィルタ処理方法。
The low-complexity motion-compensated temporal direction filtering method according to claim 1, 3 or 8, wherein when the accuracy of the motion vector is 1/4 pixel, the offset value is set to a value of 2. .
前記動きベクトルの精度が1/8画素である場合、前記オフセット値は4の値に設定される
ことを特徴とする請求項1、3および8記載の低複雑度動き補償型時間方向フィルタ処理方法。
The low-complexity motion-compensated temporal direction filtering method according to claim 1, 3 or 8, wherein when the accuracy of the motion vector is 1/8 pixel, the offset value is set to a value of 4. .
前記動きベクトルの精度が1/4画素である場合、前記シフト係数は2の値に設定される
ことを特徴とする請求項1、3および8記載の低複雑度動き補償型時間方向フィルタ処理方法。
9. The low-complexity motion-compensated temporal direction filtering method according to claim 1, 3 and 8, wherein when the accuracy of the motion vector is 1/4 pixel, the shift coefficient is set to a value of 2. .
前記動きベクトルの精度が1/8画素である場合、前記シフト係数は3の値に設定される
ことを特徴とする請求項1、3および8記載の低複雑度動き補償型時間方向フィルタ処理方法。
9. The low-complexity motion compensated temporal direction filtering method according to claim 1, 3 and 8, wherein when the accuracy of the motion vector is 1/8 pixel, the shift coefficient is set to a value of 3. .
前記ブロック残差を前記参照ピクチャに更新するステップは、
再構成参照ピクチャから予測画素を取得し(200)、
前記更新処理のための重みの種類UpdateWeightTypeを決定し(204)、
前記UpdateWeightTypeが1であるかどうかを確認し(206)、
前記UpdateWeightTypeが1である場合は、1/4の倍率で前記ブロック残差をスケーリングし(208)、
前記UpdateWeightTypeが0でない場合は、1/2の倍率で前記ブロック残差をスケーリングし(210)、
前記予測画素から前記スケーリングされた残差を減算し(212)、
前記計算結果を8ビットの正の値にクリッピングし(213)、
前記クリッピングされた値を前記参照ピクチャに複写し戻す(214)
ステップを備えることを特徴とする請求項3記載の低複雑度動き補償型時間方向フィルタ処理方法。
Updating the block residual to the reference picture;
Obtaining a predicted pixel from the reconstructed reference picture (200);
A weight type UpdateWeightType for the update process is determined (204);
Check whether the UpdateWeightType is 1 (206),
If the UpdateWeightType is 1, the block residual is scaled by a factor of 1/4 (208),
If the UpdateWeightType is not 0, the block residual is scaled by a factor of 1/2 (210),
Subtracting the scaled residual from the predicted pixel (212);
Clip the calculation result to an 8-bit positive value (213);
Copy the clipped value back to the reference picture (214)
The method according to claim 3, further comprising a step.
前記予測画素は、前記更新動きベクトルを用いて、前記参照ピクチャから取得される
ことを特徴とする請求項1、2、3および17記載の低複雑度動き補償型時間方向フィルタ処理方法。
The low-complexity motion-compensated temporal direction filtering method according to claim 1, 2, 3, or 17, wherein the prediction pixel is acquired from the reference picture using the updated motion vector.
前記計算結果を8ビットの正の値にクリッピングするステップは、
前記計算結果が255より大きな値の場合、前記計算結果を255の値に設定し、
前記画素が0より小さい値の場合、前記計算結果を0の値に設定する
ステップを備えることを特徴とする請求項1、2、3および17記載の低複雑度動き補償型時間方向フィルタ処理方法。
Clipping the calculation result to an 8-bit positive value includes:
If the calculation result is greater than 255, set the calculation result to a value of 255;
18. The low-complexity motion-compensated temporal direction filtering method according to claim 1, further comprising a step of setting the calculation result to a value of 0 when the pixel has a value smaller than 0. .
前記クリッピングされた値を前記参照ピクチャに複写し戻すステップは、
前記更新動きベクトルを用いて、前記参照ピクチャにある更新位置を見つけ、
前記参照ピクチャの前記更新位置にある画素の値を前記クリッピングされた値に置き換える
ステップを備えることを特徴とする請求項1、2、3および17記載の低複雑度動き補償型時間方向フィルタ処理方法。
Copying the clipped value back into the reference picture;
Using the updated motion vector to find an update position in the reference picture;
18. The low-complexity motion compensated temporal direction filtering method according to claim 1, further comprising: replacing a value of a pixel at the update position of the reference picture with the clipped value. .
ピクチャ符号化処理のための低複雑度動き補償型時間方向フィルタ処理装置であって、
動き検出を行う手段と(900)、
動きベクトルと参照ピクチャを決定する手段と(904)、
動き補償を行う手段と(906)、
マクロブロック残差を算出する手段と(908)、
前記マクロブロック残差、動きベクトル、および参照インデックスを符号化して一つのビットストリームにする手段と(910)、
前記残差の処理対象ブロックが更新処理に用いられるかどうかを決定する手段と(918)、
前記処理対象ブロックが更新処理に用いられる場合は、更新動きベクトルを決定する手段と
(922)、
前記残差の処理対象ブロックを前記参照ピクチャに更新する手段(928)
を備えることを特徴とする。
A low-complexity motion-compensated temporal filter device for picture encoding processing,
Means for performing motion detection (900);
Means for determining a motion vector and a reference picture (904);
Means for performing motion compensation (906);
Means for calculating a macroblock residual (908);
Means for encoding said macroblock residual, motion vector and reference index into one bitstream (910);
Means for determining whether the residual processing block is used for update processing (918);
When the block to be processed is used for update processing, means for determining an update motion vector (922);
Means (928) for updating the processing block of the residual with the reference picture
It is characterized by providing.
前記残差の処理対象ブロックを前記参照ピクチャに更新する手段は、
再構成参照ピクチャから予測画素を取得する手段と(200)、
更新処理のための重みの種類UpdateWeightTypeを決定する手段と(204)、
前記UpdateWeightTypeが1であるかどうかを確認する手段と(206)、
前記UpdateWeightTypeが1である場合は、1/4の倍率で前記ブロック残差をスケーリングする手段と(208)、
前記UpdateWeightTypeが0でない場合は、1/2の倍率で前記ブロック残差をスケーリングする手段と(210)、
前記スケーリングされた残差に前記予測画素を加算する手段と(212)、
前記計算結果を8ビットの正の値にクリッピングする手段と(213)、
前記クリッピングされた値を前記参照ピクチャに複写し戻す手段と(214)
を備えることを特徴とする請求項21記載の低複雑度動き補償型時間方向フィルタ処理装置。
The means for updating the processing block of the residual to the reference picture,
Means for obtaining a prediction pixel from the reconstructed reference picture (200);
Means for determining a weight type UpdateWeightType for update processing (204);
Means for confirming whether the UpdateWeightType is 1 (206);
When the UpdateWeightType is 1, means for scaling the block residual by a factor of 1/4 (208);
Means (210) for scaling the block residual by a factor of 1/2 if the UpdateWeightType is not 0;
Means for adding the predicted pixel to the scaled residual (212);
Means for clipping the calculation result to an 8-bit positive value (213);
Means for copying the clipped value back to the reference picture;
The low-complexity motion compensated temporal direction filter processing apparatus according to claim 21, comprising:
ピクチャの符号化処理のための低複雑度動き補償型時間方向フィルタ処理装置であって、
参照ピクチャを決定する手段と(100)、
予測動きベクトルを復号化する手段と(102)、
ブロック残差を復号化する手段と(104)、
前記ブロック残差を残差メモリに格納する手段と(106)、
前記ブロックが更新処理に用いられるかどうかを決定する手段と(110)、
前記ブロックが更新される場合は、更新動きベクトルを決定する手段と(114)、
前記ブロックが更新される場合は、前記ブロック残差を前記参照ピクチャに更新する手段と(116)、
前記予測動きベクトルに基づいて動き補償を行う手段と(120)、
前記残差に前記動き補償からの予測値を加算することによって、前記ピクチャを再構成する手段と(122)、
前記ピクチャが他のピクチャに参照される場合、参照フレームメモリに前記再構成されたピクチャを格納する手段(126)
を備えることを特徴とする。
A low-complexity motion-compensated temporal filter device for picture coding processing,
Means for determining a reference picture (100);
Means for decoding the predicted motion vector (102);
Means for decoding the block residual (104);
Means for storing the block residual in a residual memory (106);
Means for determining whether said block is used for update processing (110);
Means for determining an updated motion vector if the block is updated (114);
Means for updating the block residual to the reference picture if the block is updated (116);
Means for performing motion compensation based on the predicted motion vector (120);
Means for reconstructing the picture by adding a prediction value from the motion compensation to the residual (122);
Means (126) for storing the reconstructed picture in a reference frame memory when the picture is referenced by another picture;
It is characterized by providing.
前記参照ピクチャはマクロブロックヘッダから情報を復号化することによって決定される
ことを特徴とする請求項23記載の低複雑度動き補償型時間方向フィルタ処理装置。
The low-complexity motion compensated temporal filter apparatus according to claim 23, wherein the reference picture is determined by decoding information from a macroblock header.
前記予測動きベクトルは、マクロブロックヘッダから復号化され、逆予測処理に用いられる
ことを特徴とする請求項23記載の低複雑度動き補償型時間方向フィルタ処理装置。
The low-complexity motion compensated temporal direction filter processing apparatus according to claim 23, wherein the motion vector predictor is decoded from a macroblock header and used for inverse prediction processing.
前記ブロックが更新処理に用いられるかどうかを決定する処理において、
マクロブロックの種類を決定する手段と(1000)、
前記マクロブロックの種類がIntraであるかどうかを確認する手段と(1002)、
前記マクロブロックの種類がIntraである場合は、前記ブロックに対する更新処理をスキップする決定に戻る手段と、
前記マクロブロックの種類がIntraでない場合は、前記ビットストリームから変数ref_idx_10を決定する手段と(1004)、
前記変数ref_idx_10が0であるかどうかを確認する手段と(1006)、
前記変数ref_idx_10が0でない場合は、前記ref_idx_10に参照される参照フレームに対する更新処理をスキップする決定に戻る手段と、
前記変数ref_idx_10が0である場合は、前記ref_idx_10に参照される参照フレームに対する更新処理を行う決定に戻る手段と(1008)、
前記マクロブロックの種類がBiPredであるかどうかを決定する手段と(1010)、
前記マクロブロックの種類がBiPredでない場合は、前記ブロックの第2参照フレームに対する更新処理をスキップする決定に戻る手段と、
前記マクロブロックの種類がBiPredである場合は、前記ビットストリームから変数ref_idx_11を決定する手段と(1012)、
前記変数ref_idx_11が0であるかどうかを確認する手段と(1014)、
前記変数ref_idx_11が0でない場合は、前記ref_idx_11に参照される参照フレームに対する更新処理をスキップする決定に戻る手段と、
前記変数ref_idx_11が0である場合は、前記ref_idx_11に参照される参照フレームに対して更新処理を行う決定に戻る手段(1016)
を備えることを特徴とする請求項21および23記載の低複雑度動き補償型時間方向フィルタ処理装置。
In the process of determining whether the block is used for update processing,
Means for determining the type of macroblock (1000);
Means for confirming whether the type of the macroblock is Intra (1002);
If the type of the macroblock is Intra, means for returning to the decision to skip the update process for the block;
If the type of the macroblock is not Intra, means for determining a variable ref_idx_10 from the bitstream (1004);
Means for checking whether the variable ref_idx_10 is 0 (1006);
If the variable ref_idx_10 is not 0, means for returning to the decision to skip the update process for the reference frame referenced by the ref_idx_10;
If the variable ref_idx_10 is 0, means for returning to the decision to perform update processing on the reference frame referenced by the ref_idx_10 (1008);
Means for determining whether the macroblock type is BiPred (1010);
Means for returning to the decision to skip the update process for the second reference frame of the block if the type of the macroblock is not BiPred;
When the type of the macroblock is BiPred, means for determining a variable ref_idx_11 from the bitstream (1012),
Means for checking whether the variable ref_idx_11 is 0 (1014);
If the variable ref_idx_11 is not 0, means for returning to the decision to skip the update process for the reference frame referenced by the ref_idx_11;
When the variable ref_idx_11 is 0, a means for returning to the decision to perform update processing on the reference frame referenced by the ref_idx_11 (1016)
24. The low-complexity motion compensated temporal direction filter processing apparatus according to claim 21 and 23.
前記変数ref_idx10およびref_idx_11は、参照ピクチャメモリにある参照ピクチャを特定するために用いられる
ことを特徴とする請求項21、23および26記載の低複雑度動き補償型時間方向フィルタ処理装置。
27. The low-complexity motion-compensated temporal direction filter processing apparatus according to claim 21, 23, and 26, wherein the variables ref_idx10 and ref_idx_11 are used for specifying a reference picture in a reference picture memory.
前記更新動きベクトルを決定する手段は、
前記更新動きベクトルを前記復号化予測動きベクトルに等しく設定する手段(300)、
前記ブロックが輝度ブロックであるかどうかを決定する手段(300)、
前記ブロックが輝度ブロックである場合は、輝度動きベクトルの精度を決定する手段
(306)、
前記ブロックが輝度ブロックでない場合は、色差動きベクトルの精度を決定する手段
(304)、
前記予測動きベクトルの精度に基づいて、オフセット値を設定する手段(308)、
前記予測動きベクトルの精度に基づいて、シフト係数を設定する手段(309)、
前記オフセット値を前記更新動きベクトルの値に加算する手段(310)、
前記シフト係数によって示されたビット数だけ右に前記更新動きベクトルの値をシフトする手段(312)、
前記シフト係数によって示されたビット数だけ左に前記更新動きベクトルの値をシフトする手段(314)
を備えることを特徴とする請求項21および23記載の低複雑度動き補償型時間方向フィルタ処理装置。
The means for determining the updated motion vector comprises:
Means (300) for setting the updated motion vector equal to the decoded predicted motion vector;
Means (300) for determining whether the block is a luminance block;
Means (306) for determining the accuracy of the luminance motion vector, if the block is a luminance block;
Means (304) for determining the accuracy of the chrominance motion vector if the block is not a luminance block;
Means (308) for setting an offset value based on the accuracy of the predicted motion vector;
Means (309) for setting a shift coefficient based on the accuracy of the predicted motion vector;
Means (310) for adding the offset value to the value of the updated motion vector;
Means (312) for shifting the value of the updated motion vector to the right by the number of bits indicated by the shift factor;
Means (314) for shifting the value of the updated motion vector to the left by the number of bits indicated by the shift coefficient
24. The low-complexity motion compensated temporal direction filter processing apparatus according to claim 21 and 23.
前記輝度動きベクトルの精度は1/4画素である
ことを特徴とする請求項21、23および28記載の低複雑度動き補償型時間方向フィルタ処理装置。
29. The low-complexity motion compensated temporal direction filter processing apparatus according to claim 21, 23, or 28, wherein the accuracy of the luminance motion vector is 1/4 pixel.
符号化動画像フォーマットが4:2:0のとき、前記色差動きベクトルの精度は1/8画素である
ことを特徴とする請求項21、23および28記載の低複雑度動き補償型時間方向フィルタ処理装置。
29. The low-complexity motion-compensated temporal filter according to claim 21, 23 and 28, wherein when the encoded video format is 4: 2: 0, the accuracy of the color difference motion vector is 1/8 pixel. Processing equipment.
符号化動画像フォーマットが4:2:2のとき、前記色差動きベクトルの垂直成分の精度は1/4画素であり、前記色差動きベクトルの水平成分の精度は1/8である
ことを特徴とする請求項21、23および28記載の低複雑度動き補償型時間方向フィルタ処理装置。
When the encoded moving image format is 4: 2: 2, the accuracy of the vertical component of the color difference motion vector is 1/4 pixel, and the accuracy of the horizontal component of the color difference motion vector is 1/8. 29. The low-complexity motion-compensated time-direction filter processing apparatus according to claim 21, 23 and 28.
符号化動画像フォーマットが4:4:4のとき、前記色差動きベクトルの精度は1/4画素である
ことを特徴とする請求項21、23および28記載の低複雑度動き補償型時間方向フィルタ処理装置。
29. The low-complexity motion-compensated temporal filter according to claim 21, 23 and 28, wherein when the encoded video format is 4: 4: 4, the accuracy of the color difference motion vector is 1/4 pixel. Processing equipment.
前記動きベクトルの精度が1/4画素である場合、前記オフセット値は2の値に設定される
ことを特徴とする請求項21、23および28記載の低複雑度動き補償型時間方向フィルタ処理装置。
29. The low-complexity motion compensated temporal direction filter processing apparatus according to claim 21, 23, or 28, wherein when the accuracy of the motion vector is 1/4 pixel, the offset value is set to a value of 2. .
前記動きベクトルの精度が1/8画素である場合、前記オフセット値は4の値に設定される
ことを特徴とする請求項21、23および28記載の低複雑度動き補償型時間方向フィルタ処理装置。
29. The low-complexity motion compensated temporal direction filter processing apparatus according to claim 21, 23, or 28, wherein when the accuracy of the motion vector is 1/8 pixel, the offset value is set to a value of 4. .
前記動きベクトルの精度が1/4画素である場合、前記シフト係数は2の値に設定される
ことを特徴とする請求項21、23および28記載の低複雑度動き補償型時間方向フィルタ処理装置。
29. The low-complexity motion compensated temporal direction filter processing apparatus according to claim 21, 23, or 28, wherein when the accuracy of the motion vector is 1/4 pixel, the shift coefficient is set to a value of 2. .
前記動きベクトルの精度が1/8画素である場合、前記シフト係数は3の値に設定される
ことを特徴とする請求項21、23および28記載の低複雑度動き補償型時間方向フィルタ処理方法。
29. The low-complexity motion compensated temporal direction filtering method according to claim 21, 23 and 28, wherein when the accuracy of the motion vector is 1/8 pixel, the shift coefficient is set to a value of 3. .
再構成参照ピクチャから予測画素を取得し(200)、
前記更新処理のための重みの種類UpdateWeightTypeを決定し(204)、
前記UpdateWeightTypeが1であるかどうかを確認し(206)、
前記UpdateWeightTypeが1である場合は、1/4の倍率で前記ブロック残差をスケーリングし(208)、
前記UpdateWeightTypeが0でない場合は、1/2の倍率で前記ブロック残差をスケーリングし(210)、
前記予測画素から前記スケーリングされた残差を減算し(212)、
前記計算結果を8ビットの正の値にクリッピングし(213)、
前記クリッピングされた値を前記参照ピクチャに複写し戻す(214)
ステップを含む前記ブロック残差を前記参照ピクチャに更新するステップを実行することを特徴とする請求項23記載の低複雑度動き補償型時間方向フィルタ処理装置。
Obtaining a predicted pixel from the reconstructed reference picture (200);
A weight type UpdateWeightType for the update process is determined (204);
Check whether the UpdateWeightType is 1 (206),
If the UpdateWeightType is 1, the block residual is scaled by a factor of 1/4 (208),
If the UpdateWeightType is not 0, the block residual is scaled by a factor of 1/2 (210),
Subtracting the scaled residual from the predicted pixel (212);
Clip the calculation result to an 8-bit positive value (213);
Copy the clipped value back to the reference picture (214)
24. The low complexity motion compensated temporal direction filter processing apparatus according to claim 23, wherein the block residual including the step is updated to the reference picture.
前記予測画素は、前記更新動きベクトルを用いて、前記参照ピクチャから取得される
ことを特徴とする請求項21、22、23および27記載の低複雑度動き補償型時間方向フィルタ処理装置。
The low-complexity motion compensated temporal direction filter processing apparatus according to claim 21, 22, 23, or 27, wherein the prediction pixel is acquired from the reference picture using the updated motion vector.
前記計算結果を8ビットの正の値にクリッピングする手段は、
前記計算結果が255より大きな値の場合、前記計算結果を255の値に設定する手段と、
前記画素が0より小さい値の場合、前記計算結果を0の値に設定する手段
を備えることを特徴とする請求項21、22、23および27記載の低複雑度動き補償型時間方向フィルタ処理装置。
The means for clipping the calculation result to an 8-bit positive value is:
Means for setting the calculation result to a value of 255 if the calculation result is a value greater than 255;
28. The low-complexity motion compensated temporal direction filter processing apparatus according to claim 21, comprising means for setting the calculation result to a value of 0 when the pixel has a value smaller than 0. .
前記クリッピングされた値を前記参照ピクチャに複写し戻す手段は、
前記更新動きベクトルを用いて、前記参照ピクチャにある更新位置を見つける手段と、
前記参照ピクチャの前記更新位置にある画素の値を前記クリッピングされた値に置き換える手段
を備えることを特徴とする請求項21、22、23および27記載の低複雑度動き補償型時間方向フィルタ処理方法。
Means for copying the clipped value back to the reference picture;
Means for finding an update position in the reference picture using the update motion vector;
The low-complexity motion compensated temporal direction filter processing method according to claim 21, comprising means for replacing a value of a pixel at the update position of the reference picture with the clipped value. .
符号化ピクチャデータと前記符号化ピクチャデータの関連データを記録する、コンピュータ読み込み可能な記録媒体であって、
複数の更新スケーリングの重みから、符号化ピクチャデータの復号化における更新処理中に残差値のスケーリングのために用いられる更新スケーリングの重みを特定する情報を、前記符号化ピクチャデータの所定のデータ単位で、前記記録媒体に記録する
ことを特徴とする。
A computer-readable recording medium for recording encoded picture data and related data of the encoded picture data,
Information for specifying an update scaling weight used for scaling of a residual value during update processing in decoding of encoded picture data from a plurality of update scaling weights is a predetermined data unit of the encoded picture data. And recording on the recording medium.
JP2005161907A 2005-06-01 2005-06-01 Low complexity motion compensated temporal direction filtering method and apparatus Pending JP2006340014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005161907A JP2006340014A (en) 2005-06-01 2005-06-01 Low complexity motion compensated temporal direction filtering method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005161907A JP2006340014A (en) 2005-06-01 2005-06-01 Low complexity motion compensated temporal direction filtering method and apparatus

Publications (1)

Publication Number Publication Date
JP2006340014A true JP2006340014A (en) 2006-12-14

Family

ID=37560156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005161907A Pending JP2006340014A (en) 2005-06-01 2005-06-01 Low complexity motion compensated temporal direction filtering method and apparatus

Country Status (1)

Country Link
JP (1) JP2006340014A (en)

Similar Documents

Publication Publication Date Title
JP4659823B2 (en) Method and apparatus for weighted prediction in prediction frames
JP5330647B2 (en) Adaptive reference image generation
CN101023673B (en) Video codec with weighted prediction utilizing local brightness variation
US10390034B2 (en) Innovations in block vector prediction and estimation of reconstructed sample values within an overlap area
CN102823250B (en) Picture coding device, picture decoding apparatus, method for encoding images and picture decoding method
KR101377883B1 (en) Non-zero rounding and prediction mode selection techniques in video encoding
US20070098067A1 (en) Method and apparatus for video encoding/decoding
CN102415098B (en) Image processing apparatus and method
US20140105295A1 (en) Moving image encoding method and apparatus, and moving image decoding method and apparatus
EP2497271A2 (en) Hybrid video coding
JP2022501870A (en) Video coding and decoding
KR20120079180A (en) Dynamic image decoding method and device
KR101394209B1 (en) Method for predictive intra coding for image data
WO2010131601A1 (en) Image processing device, method, and program
KR20080069069A (en) Method and apparatus for intra/inter prediction
JP2008154155A (en) Video encoding device
KR20050074286A (en) Image encoding device, image encoding method and image encoding program
JP2007235944A (en) Method and system for selecting modes for encoding macroblocks in sequence of frames of video
WO2006035584A1 (en) Encoder, encoding method, program of encoding method and recording medium wherein program of encoding method is recorded
JPWO2009133845A1 (en) Moving picture encoding / decoding apparatus and method
KR20170114598A (en) Video coding and decoding methods using adaptive cross component prediction and apparatus
WO2011155376A1 (en) Encoding device and encoding method
KR101841352B1 (en) Reference frame selection method and apparatus
JP2007013298A (en) Image coding apparatus
KR101891192B1 (en) Method and Apparatus for image encoding