JP7315509B2 - Image decoding device, image decoding method and program - Google Patents
Image decoding device, image decoding method and program Download PDFInfo
- Publication number
- JP7315509B2 JP7315509B2 JP2020061226A JP2020061226A JP7315509B2 JP 7315509 B2 JP7315509 B2 JP 7315509B2 JP 2020061226 A JP2020061226 A JP 2020061226A JP 2020061226 A JP2020061226 A JP 2020061226A JP 7315509 B2 JP7315509 B2 JP 7315509B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- bdpcm
- maximum size
- transform
- intra
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、画像復号装置、画像復号方法及びプログラムに関する。 The present invention relates to an image decoding device, an image decoding method and a program.
非特許文献1には、BDPCM(Block-wise Differential Pulse-Code Modulation)の適用条件の1つとして、符号化ブロックのサイズが変換スキップモードの最大サイズ以下であるかという判定を備えることが規定されている。
しかしながら、本願の発明者は、非特許文献1では、変換スキップモードの最大サイズは、変換ブロックの最大サイズとは無関係に決定されるため、BDPCMの適用条件の判定に用いられる変換スキップモードの最大サイズと、実際の変換スキップ処理が実行される変換ブロックサイズが不一致になる場合があるという問題点を発見した。
However, in
そこで、本発明は、上述の課題に鑑みてなされたものであり、BDPCMの適用条件として変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いることで、実際に変換スキップ処理が行われる変換ブロックサイズを考慮したBDPCMの適用条件の判定を実現することができる画像復号装置、画像復号方法及びプログラムを提供することを目的とする。 Therefore, the present invention has been made in view of the above-mentioned problems, and it is an object of the present invention to provide an image decoding device, an image decoding method, and a program that can realize determination of BDPCM application conditions in consideration of the transform block size in which the transform skip process is actually performed by using both the maximum size of the transform skip mode and the maximum size of the transform block as the conditions for applying the BDPCM.
本発明の第1の特徴は、画像復号装置であって、符号化ブロックに対してBDPCMを適用可能かどうかについて判定する所定条件として、変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いるように構成されているイントラ予測モード復号部を備えることを要旨とする。 A first feature of the present invention is an image decoding device comprising an intra-prediction mode decoding unit configured to use both the maximum size of a transform skip mode and the maximum size of a transform block as a predetermined condition for determining whether or not BDPCM can be applied to a coded block.
本発明の第2の特徴は、符号化ブロックに対してBDPCMを適用可能かどうかについて判定する所定条件として、変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いる工程を有することを要旨とする。 A second aspect of the present invention is summarized in comprising the step of using both the transform skip mode maximum size and the transform block maximum size as predetermined conditions for determining whether BDPCM is applicable to a coded block.
本発明の第3の特徴は、画像復号装置で用いるプログラムであって、コンピュータに、符号化ブロックに対してBDPCMを適用可能かどうかについて判定する所定条件として、変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いる工程を実行させることを要旨とする。 A third feature of the present invention is a program for use in an image decoding device, the gist of which is to cause a computer to execute a step of using both the maximum size of a transform skip mode and the maximum size of a transform block as predetermined conditions for determining whether or not BDPCM can be applied to an encoded block.
本発明によれば、BDPCMの適用条件として変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いることで、実際に変換スキップ処理が行われる変換ブロックサイズを考慮したBDPCMの適用条件の判定を実現することができる画像復号装置、画像復号方法及びプログラムを提供することができる。 According to the present invention, by using both the maximum size of the transform skip mode and the maximum size of the transform block as the conditions for applying BDPCM, it is possible to provide an image decoding device, an image decoding method, and a program that can determine the conditions for applying BDPCM in consideration of the transform block size in which transform skip processing is actually performed.
以下、本発明の実施の形態について、図面を参照しながら説明する。なお、以下の実施形態における構成要素は、適宜、既存の構成要素等との置き換えが可能であり、また、他の既存の構成要素との組み合わせを含む様々なバリエーションが可能である。したがって、以下の実施形態の記載をもって、特許請求の範囲に記載された発明の内容を限定するものではない。
(第1実施形態)
以下、図1~図8を参照して、本発明の第1実施形態に係る画像処理システム10について説明する。図1は、本実施形態に係る実施形態に係る画像処理システム10を示す図である。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings. It should be noted that the constituent elements in the following embodiments can be appropriately replaced with existing constituent elements and the like, and various variations including combinations with other existing constituent elements are possible. Therefore, the following description of the embodiments is not intended to limit the scope of the invention described in the claims.
(First embodiment)
An
図1に示すように、画像処理システム10は、画像符号化装置100及び画像復号装置200を有する。
As shown in FIG. 1 , the
画像符号化装置100は、入力画像信号を符号化することによって符号化データを生成するように構成されている。画像復号装置200は、符号化データを復号することによって出力画像信号を生成するように構成されている。
The
ここで、かかる符号化データは、画像符号化装置100から画像復号装置200に対して伝送路を介して送信されてもよい。また、符号化データは、記憶媒体に格納された上で、画像符号化装置100から画像復号装置200に提供されてもよい。
Here, such encoded data may be transmitted from the
(画像復号装置200)
以下、図2を参照して、本実施形態に係る画像復号装置200について説明する。図2は、本実施形態に係る画像復号装置200の機能ブロックの一例について示す図である。
(Image decoding device 200)
The
図2に示すように、画像復号装置200は、復号部210と、逆変換・逆量子化部220と、加算器230と、インター予測部241と、イントラ予測部242と、インループフィルタ処理部250と、フレームバッファ260とを有する。
As shown in FIG. 2, the
復号部210は、画像符号化装置100によって生成される符号化データを復号し、係数レベル値を復号するように構成されている。
The
ここで、例えば、復号は、係数レベル値の発生確率に基づいて異なる長さの符号を割り当てるエントロピー符号化されたデータの復号である。 Here, for example, decoding is decoding of entropy-encoded data that assigns codes of different lengths based on the probability of occurrence of coefficient level values.
復号部210は、符号化データの復号処理によって制御データを取得するように構成されていてもよい。
The
ここで、制御データは、符号化ブロック(CU:Coding Unit)サイズや、予測ブロック(PU:Prediction Unit)サイズや、変換ブロック(TU:Transform Unit)サイズ等のサイズデータを含んでもよい。 Here, the control data may include size data such as a coding block (CU: Coding Unit) size, a prediction block (PU: Prediction Unit) size, a transform block (TU: Transform Unit) size, and the like.
逆変換・逆量子化部220は、復号部210から出力される係数レベル値の逆変換処理を行うように構成されている。ここで、逆変換・逆量子化部220は、逆変換処理に先立って、係数レベル値の逆量子化を行うように構成されていてもよい。
The inverse transform/
加算器230は、逆変換・逆量子化部220から出力される予測残差信号に予測信号を加算してフィルタ処理前復号信号を生成し、フィルタ処理前復号信号をイントラ予測部242及びインループフィルタ処理部250に出力するように構成されている。
The
ここで、フィルタ処理前復号信号は、イントラ予測部242で用いる参照ブロックを構成する。
Here, the unfiltered decoded signal constitutes a reference block used in
インター予測部241は、インター予測(フレーム間予測)によって予測信号を生成するように構成されている。
The
具体的には、インター予測部241は、符号化データから復号した動きベクトルと参照フレームに含まれる参照信号に基づいて予測信号を予測ブロック毎に生成するように構成されている。インター予測部241は、予測信号を加算器230に出力するように構成されている。
Specifically, the
イントラ予測部242は、イントラ予測(フレーム内予測)によって予測信号を生成するように構成されている。
The
具体的には、イントラ予測部242は、対象フレームに含まれる参照ブロックを特定し、特定された参照ブロックに基づいて予測信号を予測ブロック毎に生成するように構成されている。イントラ予測部242は、予測信号を加算器230に出力するように構成されている。
Specifically, the
インループフィルタ処理部250は、加算器230から出力されるフィルタ処理前復号信号に対してフィルタ処理を行うとともに、フィルタ処理後復号信号をフレームバッファ260に出力するように構成されている。
The in-
ここで、インループフィルタ処理は、複数のフィルタ処理から構成されていてもよい。例えば、フィルタ処理は、ブロック(符号化ブロック、予測ブロック、変換ブロック或いはそれらを分割したサブブロック)の境界部分で生じる歪みを減少するデブロッキングフィルタ処理や、画像符号化装置100から伝送されるフィルタ係数やフィルタ選択情報や画像の絵柄の局所的な性質等に基づいてフィルタを切り替える適応ループフィルタ処理である。
Here, the in-loop filtering process may consist of a plurality of filtering processes. For example, the filter processing is deblocking filter processing that reduces distortion occurring at the boundary of blocks (encoding blocks, prediction blocks, transform blocks, or sub-blocks obtained by dividing them), or adaptive loop filtering that switches filters based on filter coefficients, filter selection information, local properties of image patterns, etc. transmitted from the
フレームバッファ260は、インター予測部241で用いる参照フレームを蓄積するように構成されている。
The
ここで、フィルタ処理後復号信号は、インター予測部241で用いる参照フレームを構成する。
Here, the decoded signal after filtering constitutes a reference frame used in the
(イントラ予測部242)
以下、図3を参照して、本実施形態に係るイントラ予測部242について説明する。図3は、本実施形態に係る画像復号装置200のイントラ予測部242の機能ブロックの一例について示す図である。
(Intra prediction unit 242)
The
図3に示すように、イントラ予測部242は、イントラ予測モード復号部242Bと、予測信号生成部242Cとを有する。
As shown in FIG. 3, the
イントラ予測部242は、イントラ予測(フレーム内予測)によって予測信号を生成するように構成されている予測部の一例である。
The
イントラ予測モード復号部242Bは、ブロックごとにイントラ予測を行うために必要な情報を復号するように構成されている。
The intra-prediction
図4は、イントラ予測モード復号部242Bによる輝度信号のイントラ予測モードの復号処理のフローの一例を示すフローチャートである。以下、図4を用いて、イントラ予測モード復号部242Bによる輝度信号のイントラ予測モードの復号処理のフローの一例を説明する。
FIG. 4 is a flowchart showing an example of a flow of decoding processing in the intra prediction mode of the luminance signal by the intra prediction
ステップS401において、イントラ予測モード復号部242Bは、所定条件1が満たされているか否かについて判定する。
In step S401, the intra-prediction
かかる所定条件1には、対象CUの幅がTransform Skipを適用する際の最大サイズ(例えば、非特許文献1のMaxTsSize)以下であることという条件が含まれていてもよい。
Such
また、かかる所定条件1には、対象CUの高さがTransform Skipを適用する際の最大サイズ(例えば、非特許文献1のMaxTsSize)以下であることという条件が含まれていてもよい。
The
ここで、CUの幅や高さは、輝度信号のCUサイズ(幅/高さ)としてもよい。 Here, the width and height of the CU may be the CU size (width/height) of the luminance signal.
なお、MaxTsSizeの具体的な値は、画像符号化装置100で決定され、復号部210で復号される制御データ内に含まれていてもよい。MaxTsSizeの設定可能な値は、例えば、4、8、16、32としてもよい。
A specific value of MaxTsSize may be determined by the
同様に、輝度信号の変換ブロック(TU)の最大サイズ(例えば、非特許文献1のMaxTbSizeY)の具体的な値も、画像符号化装置100で決定され、復号部210で復号される制御データ内に含まれていてもよい。MaxTbSizeYとして設定可能な値は、32、64としてもよい。
Similarly, a specific value of the maximum size of the transform block (TU) of the luminance signal (for example, MaxTbSizeY in Non-Patent Document 1) may also be determined by the
例えば、MaxTbSizeYを32と設定した場合、幅又は高さが32より大きなCUにおいては、逆変換処理に際して、幅及び高さがいずれも32画素以下になるように複数のTUに分割された後、逆変換処理が行われることとなる。例えば、図6に示すように、64×64画素サイズの輝度(Y信号)CUは、32×32画素の4つのTUに分割される。 For example, when MaxTbSizeY is set to 32, a CU with a width or height greater than 32 is divided into a plurality of TUs so that both the width and height are 32 pixels or less, and then the inverse transformation is performed. For example, as shown in FIG. 6, a luminance (Y signal) CU with a size of 64×64 pixels is divided into four TUs of 32×32 pixels.
以上のような2つの条件を所定条件1に含めた場合、MaxTsSizeを取り得る最大値(32)にしたとしても、上述の所定条件1を満たすCUは、必ず32×32画素サイズ以下である。
When the above two conditions are included in the
一方で、MaxTbSizeYの最小値は、32であるため、上述の2つの条件を含む所定条件1を満たすCUのサイズは、必ずMaxTbSizeY以下となるため、かかるCUは、複数のTUに分割されず、CUサイズ=TUサイズとなる。
On the other hand, since the minimum value of MaxTbSizeY is 32, the size of a CU that satisfies the
図12に、MaxTsSize=32として、復号画像のカラーフォーマット(4:2:0、4:2:2又は4:4:4)とMaxTbSizeYを変更した場合の変換ブロックの最大サイズとTransform Skipを適用する際の最大サイズとの関係を示す。 FIG. 12 shows the relationship between the maximum size of the transform block when MaxTsSize=32 and the color format of the decoded image (4:2:0, 4:2:2 or 4:4:4) and MaxTbSizeY are changed, and the maximum size when Transform Skip is applied.
以上で説明した通り、MaxTbSizeY=32の時(図12のNo.4~6)、輝度信号の最大変換ブロックサイズ及び輝度信号の最大Transform Skipサイズの両方が32×32画素となっていることが分かる。 As described above, when MaxTbSizeY=32 (Nos. 4 to 6 in FIG. 12), both the maximum transform block size of the luminance signal and the maximum transform skip size of the luminance signal are 32×32 pixels.
さらに、所定条件1には、SPS(Sequence Parameter Set)において、BDPCM(Block DPCM)が有効になっていること(例えば、sps_bdcpm_enabled_flagの値が「0」より大きいこと)という条件が含まれていてもよい。
Furthermore, the
所定条件1が全て満たされる場合には、本処理は、ステップS402へ進み、どれか1つでも満たされない場合には、本処理は、ステップS403へ進む。
If all of the
ステップS402において、イントラ予測モード復号部242Bは、intra_bdpcm_luma_flagを復号する。
In step S402, the intra prediction
intra_bdpcm_luma_flagの値が「1」の場合は、当該輝度CUでBDPCMを適用することを意味し、intra_bdpcm_luma_flagの値が「0」の場合は、当該輝度CUでBDPCMを適用しないことを意味する。 If the value of intra_bdpcm_luma_flag is '1', it means that BDPCM is applied in the corresponding luminance CU, and if the value of intra_bdpcm_luma_flag is '0', it means that BDPCM is not applied in this luminance CU.
ステップS403において、イントラ予測モード復号部242Bは、intra_bdpcm_luma_flagの値が「0」より大きいかどうかを判定する。
In step S403, the intra prediction
intra_bdpcm_luma_flagの値が「0」より大きい場合には、本処理は、ステップS408へ進み、そうでない場合には、本処理は、ステップS404へ進む。 If the value of intra_bdpcm_luma_flag is greater than "0", the process proceeds to step S408; otherwise, the process proceeds to step S404.
なお、上述の所定条件1が満たされずに、ステップS402の処理が、スキップされた場合には、イントラ予測モード復号部242Bは、intra_bdpcm_luma_flagの値を「0」とみなす。
In addition, when the above-mentioned
ステップS408において、イントラ予測モード復号部242Bは、intra_bdpcm_luma_dir_flagを復号する。intra_bdpcm_luma_dir_flagは、当該輝度CUにBDPCMを適用する場合に、垂直方向から予測を行うか或いは水平方向から予測を行うかのどちらなのかということを示す。
In step S408, the intra prediction
ステップS408の処理が終了した後、本処理は、ステップS410へ進み終了する。 After the process of step S408 ends, the process proceeds to step S410 and ends.
ステップS404において、イントラ予測モード復号部242Bは、所定条件2を満足するかどうかを判定する。
In step S404, the intra-prediction
ここで、所定条件2には、当該輝度CUでMIP(行列ベースイントラ予測)が使用可能であるという条件が含まれていてもよい。
Here, the
所定条件2が満たされる場合は、本処理は、ステップS405へ進み、そうでない場合は、本処理は、ステップS406へ進む。
If the
ステップS405において、イントラ予測モード復号部242Bは、intra_mip_flagを復号する。
In step S405, the intra prediction
intra_mip_flagの値が「1」の場合、当該輝度CUでMIPを適用することを意味し、intra_mip_flagの値が「0」の場合、当該輝度CUでMIPを適用しないことを意味する。 When the value of intra_mip_flag is '1', it means that MIP is applied to the luminance CU, and when the value of intra_mip_flag is '0', it means that MIP is not applied to the luminance CU.
ステップS406において、イントラ予測モード復号部242Bは、intra_mip_flagの値が「0」より大きいかどうかを判定する。
In step S406, the intra prediction
intra_mip_flagの値が「0」より大きい場合には、本処理は、ステップS409へ進み、そうでない場合には、本処理は、ステップS407へ進む。 If the value of intra_mip_flag is greater than "0", the process proceeds to step S409; otherwise, the process proceeds to step S407.
なお、上述の所定条件2が満たされずに、ステップS405の処理がスキップされた場合には、イントラ予測モード復号部242Bは、intra_mip_flagの値を「0」とみなす。
In addition, when the above-mentioned
ステップS409において、イントラ予測モード復号部242Bは、MIP処理に必要なシンタックスを復号する。
In step S409, the intra-prediction
ステップS409の処理が終了した後、本処理は、ステップS410へ進み終了する。 After the process of step S409 ends, the process proceeds to step S410 and ends.
ステップS407では、イントラ予測モード復号部242Bは、通常のイントラ予測のモード及びイントラサブ分割の適用有無等のシンタックスを復号する。
In step S407, the intra-prediction
ステップS407の処理が終了した後、本処理は、ステップS410へ進み終了する。 After the process of step S407 ends, the process proceeds to step S410 and ends.
以上のように、輝度BDPCMの適用可否の判定に、輝度CUのサイズ(幅又は高さ)がMaxTsSize以下であることという条件を含めることで、上述の通り、MaxTbSizeYの設定値に関わらず、輝度BDPCMが適用可能なCUは、複数のTUに分割されることがなく、必ずCUサイズ=TUサイズとなることが担保される。 As described above, the condition that the size (width or height) of the luminance CU is equal to or smaller than MaxTsSize is included in the determination of whether or not the luminance BDPCM can be applied. As described above, regardless of the set value of MaxTbSizeY, the CU to which the luminance BDPCM can be applied is not divided into a plurality of TUs, and the CU size is always equal to the TU size.
図5は、イントラ予測モード復号部242Bによる色差信号のイントラ予測モードの復号処理フローの一例を示すフローチャートである。以下、図5を用いてイントラ予測モード復号部242Bによる色差信号のイントラ予測モードの復号処理フローの一例を説明する。
FIG. 5 is a flow chart showing an example of a decoding process flow in intra prediction mode for color difference signals by the intra prediction
ステップS501において、イントラ予測モード復号部242Bは、所定条件3を満たしているかどうかを判定する。
In step S501, the intra-prediction
上述の所定条件3には、当該CUの幅が、後述する方法で算出されるMaxBdpcmWidthC以下であることという条件が含まれていてもよい。
The
また、所定条件3には、当該CUの高さが、後述する方法で算出されるMaxBdpcmHeightC以下であることという条件が含まれていてもよい。
Further, the
ここで、CUの幅や高さは、当該色差信号のサンプリング比に応じた色差信号の実際のCUサイズ(幅/高さ)である。例えば、YUV4:2:0サンプリングの場合、色差信号のCUサイズ(幅/高さ)は、輝度信号の場合と比較して半分になる。 Here, the width and height of the CU are the actual CU size (width/height) of the color difference signal according to the sampling ratio of the color difference signal. For example, in the case of YUV 4:2:0 sampling, the CU size (width/height) of the chrominance signal is half that of the luma signal.
MaxBdpcmWidthC及びMaxBdpcmHightCは、以下の通り、算出され得る。なお、Min()は引数の中で最小値を返す関数である。 MaxBdpcmWidthC and MaxBdpcmHightC may be calculated as follows. Note that Min( ) is a function that returns the minimum value among the arguments.
MaxBdpcmWidthC=Min(maxTbWidth,MaxTsSize)
MaxBdpcmHeightC=Min(maxTbHeight,MaxTsSize)
ここで、maxTbWidth及びmaxTbHeightは、輝度信号の最大TUサイズ(MaxTbSizeY)及びとカラーフォーマット(4:2:0、4:2:2又は4:4:4)に応じて決定される色差信号の最大TUサイズであり、具体的には、以下のように算出される。
MaxBdpcmWidthC=Min(maxTbWidth, MaxTsSize)
MaxBdpcmHeightC=Min(maxTbHeight, MaxTsSize)
Here, maxTbWidth and maxTbHeight are the maximum TU size (MaxTbSizeY) of the luminance signal and the maximum TU size of the color difference signal determined according to the color format (4:2:0, 4:2:2 or 4:4:4), and are specifically calculated as follows.
maxTbWidth=MaxTbSizeY/SubWidthC
maxTbHeight=MaxTbSizeY/SubHeightC
ここで、SubWidthCは、4:2:0及び4:2:2フォーマットの場合は「2」であり、それ以外の場合は「1」である。SubHeightCは、4:2:0フォーマットの場合は「2」であり、それ以外の場合は「1」である。
maxTbWidth=MaxTbSizeY/SubWidthC
maxTbHeight=MaxTbSizeY/SubHeightC
where SubWidthC is "2" for 4:2:0 and 4:2:2 formats, and "1" otherwise. SubHeightC is "2" for 4:2:0 format and "1" otherwise.
例えば、4:2:0フォーマットで、且つ、MaxTbSizeYの値が32(取り得る最小値)であった場合、maxTbWidth及びmaxTbHeightは、共に16となる。一方、MaxTbSizeの値が32(取り得る最大値)であった場合、MaxBdpcmWidthC及びMaxBdpcmHeightCは、それぞれ16及び32の小さい方の値が代入されるため、いずれも16となる。 For example, if the format is 4:2:0 and the value of MaxTbSizeY is 32 (the smallest possible value), then maxTbWidth and maxTbHeight will both be 16. On the other hand, if the value of MaxTbSize is 32 (maximum possible value), MaxBdpcmWidthC and MaxBdpcmHeightC are assigned the smaller values of 16 and 32, respectively, so both are 16.
上述の例は、図12のNo.4に対応している。この場合、例えば、32×32画素サイズの色差CUは、図6に示すように、4つの16×16画素サイズのTUに分割される。 The above example corresponds to No. 4 in FIG. In this case, for example, a 32×32 pixel size chrominance CU is divided into four 16×16 pixel size TUs as shown in FIG.
すなわち、イントラ予測モード復号部242Bは、色差CU(符号化ブロック)に対して色差BDPCMを適用可能かどうかについて判定する所定条件3として、MaxTsSize(変換スキップモードの最大サイズ)及びMaxTbSizeY(変換ブロックの最大サイズ)の両方を用いるように構成されている。
That is, the intra-prediction
上述のように、所定条件3に、当該色差CUの幅がMaxBdpcmWidthCであり且つ当該色差CUの高さがMaxBdpcmHeightC以下であるという条件を含めることで、所定条件3を満たすCUサイズは、常に、maxTbWidth及びmaxTbHeight以下であることが担保される。よって、当該CUは、複数のTUには分割されず、必ずCUサイズ=TUサイズとなることが担保される。
As described above, by including the condition that the width of the color difference CU is MaxBdpcmWidthC and the height of the color difference CU is MaxBdpcmHeightC or less in the
所定条件3には、SPS(Sequence Parameter Set)においてBDPCM(Block-wise DPCM)が有効になっていること(例えば、sps_bdpcm_chroma_enabled_flagの値が「0」より大きいこと)という条件が含まれていてもよい。
所定条件3が全て満たされる場合には、本処理は、ステップS502へ進み、どれか1つでも満たされない場合には、本処理は、ステップS503へ進む。
If all of the
ステップS502において、イントラ予測モード復号部242Bは、intra_bdpcm_chroma_flagを復号する。
In step S502, the intra prediction
intra_bdpcm_chroma_flagの値が「1」の場合、当該色差CUでBDPCMを適用することを意味し、intra_bdpcm_chroma_flagの値が「0」の場合は、BDPCMを適用しないことを意味する。 If the value of intra_bdpcm_chroma_flag is '1', it means that BDPCM is applied in the chrominance CU, and if the value of intra_bdpcm_chroma_flag is '0', it means that BDPCM is not applied.
ステップS503において、イントラ予測モード復号部242Bは、intra_bdpcm_chroma_flagの値が「0」より大きいかどうかを判定する。
In step S503, the intra prediction
intra_bdpcm_chroma_flagの値が「0」より大きい場合には、本処理は、ステップS508へ進み、そうでない場合には、本処理は、ステップS504へ進む。 If the value of intra_bdpcm_chroma_flag is greater than "0", the process proceeds to step S508; otherwise, the process proceeds to step S504.
なお、所定条件3が満たされずに、ステップS502の処理がスキップされた場合には、イントラ予測モード復号部242Bは、intra_bdpcm_chroma_flagの値を「0」とみなす。
In addition, when the process of step S502 is skipped without satisfy|filling the
ステップS508において、イントラ予測モード復号部242Bは、intra_bdpcm_chroma_dir_flagを復号する。
In step S508, the intra prediction
intra_bdpcm_chroma_dir_flagは、当該色差CUにBDPCMを適用する場合に、垂直方向から予測を行うか或いは水平方向から予測を行うかのどちらなのかということを示す。 intra_bdpcm_chroma_dir_flag indicates whether prediction is performed from the vertical direction or from the horizontal direction when BDPCM is applied to the chrominance CU.
ステップS508の処理が終了した後、本処理は、ステップS510へ進み終了する。 After the process of step S508 ends, the process proceeds to step S510 and ends.
ステップS504において、イントラ予測モード復号部242Bは、所定条件4を満足するかどうかを判定する。
In step S504, the intra-prediction
ここで、所定条件4には、当該色差CUでCCLM(色差線形予測)が使用可能であるという条件が含まれていてもよい。
Here, the
所定条件4が満たされる場合は、本処理は、ステップS505へ進み、そうでない場合は、本処理は、ステップS506へ進む。
If the
ステップS505において、イントラ予測モード復号部242Bは、cclm_mode_flagを復号する。
In step S505, the intra prediction
cclm_mode_flagの値が「1」の場合は、当該色差CUでCCLMを適用することを意味し、cclm_mode_flagの値が「0」の場合は、当該色差CUでCCLMを適用しないことを意味する。 When the value of cclm_mode_flag is "1", it means that CCLM is applied in the relevant color difference CU, and when the value of cclm_mode_flag is "0", it means that CCLM is not applied in the relevant color difference CU.
ステップS506において、イントラ予測モード復号部242Bは、cclm_mode_flagの値が「0」より大きいかどうかを判定する。
In step S506, the intra prediction
cclm_mode_flagの値が「0」より大きい場合には、本処理は、ステップS509へ進み、そうでない場合には、本処理は、ステップS507へ進む。 If the value of cclm_mode_flag is greater than "0", the process proceeds to step S509; otherwise, the process proceeds to step S507.
なお、上述の所定条件4が満たされずに、ステップS505の処理がスキップされた場合には、イントラ予測モード復号部242Bは、cclm_mode_flagの値を「0」とみなす。
In addition, when the above-mentioned
ステップS509において、イントラ予測モード復号部242Bは、cclm_mode_idxを復号する。
In step S509, the intra prediction
ステップS509の処理が終了した後、本処理は、ステップS510へ進み終了する。 After the process of step S509 ends, the process proceeds to step S510 and ends.
ステップS507では、イントラ予測モード復号部242Bは、通常のイントラ予測のモード(intra_chroma_pred_mode)を復号する。
In step S507, the intra prediction
ステップS507の処理が終了した後、本処理は、ステップS510へ進み終了する。 After the process of step S507 ends, the process proceeds to step S510 and ends.
以上のように、色差BDPCMの適用可否の判定に、色差CUの幅がMaxTsSize及びmaxTbWidthの小さい方の値以下であり、かつ、色差CUの高さがMaxTsSize及びmaxTbHeightの小さい方の値以下であるという条件を含めることで、上述の通り、MaxTbSizeYの設定値に関わらず、色差BDPCMが適用可能なCUは、複数のTUに分割されることがなく、必ずCUサイズ=TUサイズとなることが担保される。 As described above, by including the condition that the width of the chrominance CU is equal to or less than the smaller value of MaxTsSize and maxTbWidth and the height of the chrominance CU is equal to or less than the smaller value of MaxTsSize and maxTbHeight in the determination of whether or not to apply the chrominance BDPCM, as described above, the chrominance BDPCM can be applied regardless of the set value of MaxTbSizeY. A CU is never split into multiple TUs, and it is guaranteed that CU size=TU size.
さらに、上述のように、輝度BDPCMが適用可能なCUについても必ずCUサイズ=TUサイズとなることが担保されるため、上述のような構成とすることで、BDPCMが適用可能なCUについては、輝度及び色差を問わず、必ずCUサイズ=TUサイズとなることが担保される。 Furthermore, as described above, it is guaranteed that CU size=TU size for CUs to which luminance BDPCM can be applied. Therefore, with the configuration described above, it is guaranteed that CU size=TU size for CUs to which BDPCM can be applied regardless of luminance and color difference.
上述の具体例を図11に示す。図11は、カラーフォーマットが4:2:0、MaxTsSize=32(取り得る最大値)、MaxTbSizeY=32(取り得る最小値)の場合の、輝度(Luma)CUサイズに対応する輝度TUサイズ、色差(Chroma)CUサイズ、色差TUサイズ及びBDPCM適用可否をまとめた表である。 A specific example of the above is shown in FIG. FIG. 11 is a table summarizing the luminance TU size corresponding to the luminance (Luma) CU size, the chroma CU size, the chroma TU size, and the BDPCM applicability when the color format is 4:2:0, MaxTsSize=32 (maximum possible value), and MaxTbSizeY=32 (minimum possible value).
なお、CUサイズLumaの値は、あくまで一例であり、CUサイズのバリエーションを表に記載の種類のみに限定するものではない。 Note that the value of the CU size Luma is merely an example, and the variations of the CU size are not limited to those listed in the table.
例えば、非特許文献1では、64×16、64×8といったサイズのブロックも使用可能である。非特許文献1では、色差BDPCMの適用判定においても、輝度BDPCMと同様に、当該色差CUのサイズ(高さ及び幅)がMaxTsSize以下であることを条件としている。
For example, in
よって、図11のNo.4~6のケースにおいて、輝度CUでは、幅又は高さが32より大きいので、BDPCMが適用不可だが、色差CUでは。幅及び高さの両方が32以下になるため、BDPCMが適用可能である。 Therefore, in the cases of Nos. 4 to 6 in FIG. 11, since the width or height is greater than 32 in the luminance CU, the BDPCM cannot be applied, but in the chrominance CU. BDPCM is applicable since both width and height are 32 or less.
一方、No.4~6のケースでは、輝度CU及び色差CUのいずれも複数のTUに分割される。これに対して、第1実施形態では、以上のような構成とすることで、輝度信号及び色差信号の両方について、CUサイズ=TUサイズとなる場合(No.7~10のケースに対応)にのみBDPCMを適用可能としている。 On the other hand, in cases Nos. 4 to 6, both the luminance CU and the chrominance CU are divided into a plurality of TUs. On the other hand, in the first embodiment, with the configuration as described above, BDPCM can be applied only when the CU size=TU size for both the luminance signal and the color difference signal (corresponding to cases Nos. 7 to 10).
これにより、予測モード(BDPCM)とCUサイズとTU分割の有無に関する組み合わせ数を削減することができ、画像復号装置200の設計及び検証が容易になる。
This makes it possible to reduce the number of combinations relating to the prediction mode (BDPCM), CU size, and presence/absence of TU partitioning, thereby facilitating design and verification of the
図3に示す予測信号生成部242Cは、イントラ予測モード復号部242Bで復号された処理対象ブロックの予測モードに基づいて、予測信号を生成するように構成されている。ここで、予測信号の生成方法は、例えば、非特許文献1に記載の公知の方法を用いることができる。
242 C of prediction signal production|generation parts shown in FIG. 3 are comprised so that a prediction signal may be produced|generated based on the prediction mode of the block to be processed decoded by the intra prediction
(画像符号化装置100)
以下、図7を参照して、本実施形態に係る画像符号化装置100について説明する。図7は、本実施形態に係る画像符号化装置100の機能ブロックの一例について示す図である。
(Image encoding device 100)
The
図7に示すように、画像符号化装置100は、インター予測部111と、イントラ予測部112と、減算器121と、加算器122と、変換・量子化部131と、逆変換・逆量子化部132と、符号化部140と、インループフィルタ処理部150と、フレームバッファ160とを有する。
As shown in FIG. 7, the
インター予測部111は、インター予測部241と同様に、インター予測(フレーム間予測)によって予測信号を生成するように構成されている。
The
具体的には、インター予測部111は、符号化対象のフレーム(以下、対象フレーム)とフレームバッファ160に格納される参照フレームとの比較によって、参照フレームに含まれる参照ブロックを特定し、特定された参照ブロックに対する動きベクトルを決定するように構成されている。
Specifically, the
また、インター予測部111は、参照ブロック及び動きベクトルに基づいて予測ブロックに含まれる予測信号を予測ブロック毎に生成するように構成されている。インター予測部111は、予測信号を減算器121及び加算器122に出力するように構成されている。ここで、参照フレームは、対象フレームとは異なるフレームである。
Also, the
イントラ予測部112は、イントラ予測部242と同様に、イントラ予測(フレーム内予測)によって予測信号を生成するように構成されている。
The
具体的には、イントラ予測部112は、対象フレームに含まれる参照ブロックを特定し、特定された参照ブロックに基づいて予測信号を予測ブロック毎に生成するように構成されている。また、イントラ予測部112は、予測信号を減算器121及び加算器122に出力するように構成されている。
Specifically, the
ここで、参照ブロックは、予測対象のブロック(以下、対象ブロック)について参照されるブロックである。例えば、参照ブロックは、対象ブロックに隣接するブロックである。 Here, the reference block is a block that is referred to for a prediction target block (hereinafter referred to as target block). For example, the reference block is a block adjacent to the target block.
減算器121は、入力画像信号から予測信号を減算し、予測残差信号を変換・量子化部131に出力するように構成されている。ここで、減算器121は、イントラ予測又はインター予測によって生成される予測信号と入力画像信号との差分である予測残差信号を生成するように構成されている。
The
加算器122は、逆変換・逆量子化部132から出力される予測残差信号に予測信号を加算してフィルタ処理前復号信号を生成し、かかるフィルタ処理前復号信号をイントラ予測部112及びインループフィルタ処理部150に出力するように構成されている。
The
ここで、フィルタ処理前復号信号は、イントラ予測部112で用いる参照ブロックを構成する。
Here, the unfiltered decoded signal constitutes a reference block used in
変換・量子化部131は、予測残差信号の変換処理を行うとともに、係数レベル値を取得するように構成されている。さらに、変換・量子化部131は、係数レベル値の量子化を行うように構成されていてもよい。
The transform/
ここで、変換処理は、予測残差信号を周波数成分信号に変換する処理である。かかる変換処理では、離散コサイン変換(DCT;Discrete Cosine Transform)に対応する基底パターン(変換行列)が用いられてもよく、離散サイン変換(DST;Discrete Sine Transform)に対応する基底パターン(変換行列)が用いられてもよい。 Here, transform processing is processing for transforming a prediction residual signal into a frequency component signal. In such transform processing, a base pattern (transformation matrix) corresponding to a discrete cosine transform (DCT) may be used, or a base pattern (transformation matrix) corresponding to a discrete sine transform (DST) may be used.
逆変換・逆量子化部132は、逆変換・逆量子化部220と同様に、変換・量子化部131から出力される係数レベル値の逆変換処理を行うように構成されている。ここで、逆変換・逆量子化部132は、逆変換処理に先立って、係数レベル値の逆量子化を行うように構成されていてもよい。
Like the inverse transform/
ここで、逆変換処理及び逆量子化は、変換・量子化部131で行われる変換処理及び量子化とは逆の手順で行われる。
Here, the inverse transform processing and inverse quantization are performed in the reverse order of the transform processing and quantization performed by the transform/
符号化部140は、変換・量子化部131から出力された係数レベル値を符号化し、符号化データを出力するように構成されている。
The
ここで、例えば、符号化は、係数レベル値の発生確率に基づいて異なる長さの符号を割り当てるエントロピー符号化である。 Here, for example, the coding is entropy coding that assigns codes of different lengths based on the probability of occurrence of coefficient level values.
また、符号化部140は、係数レベル値に加えて、復号処理で用いる制御データを符号化するように構成されている。
In addition to the coefficient level values, the
なお、上述したように、制御データは、符号化ブロックサイズや予測ブロックサイズや変換ブロックサイズ等のサイズデータを含んでもよい。 Note that, as described above, the control data may include size data such as the encoding block size, prediction block size, transform block size, and the like.
インループフィルタ処理部150は、インループフィルタ処理部250と同様に、加算器122から出力されるフィルタ処理前復号信号に対してフィルタ処理を行うとともに、フィルタ処理後復号信号をフレームバッファ160に出力するように構成されている。
Like the in-
フレームバッファ160は、インター予測部111で用いる参照フレームを蓄積するように構成されている。
The
ここで、フィルタ処理後復号信号は、インター予測部111で用いる参照フレームを構成する。
Here, the filtered decoded signal constitutes a reference frame used in
(イントラ予測部112)
以下、図8を参照して、本実施形態に係るイントラ予測部112について説明する。図8は、本実施形態に係る画像符号化装置112のイントラ予測部112の機能ブロックの一例について示す図である。
(Intra prediction unit 112)
The
図8に示すように、イントラ予測部112は、イントラ予測モード決定部112Aと、イントラ予測モード符号化部112Bと、予測信号生成部112Cとを有する。
As shown in FIG. 8, the
イントラ予測部112は、イントラ予測(フレーム内予測)によって予測信号を生成するように構成されている予測部の一例である。
The
イントラ予測モード決定部112Aは、当該ブロックのイントラ予測モードやBDPCMの適用有無等、後段のイントラ予測モード符号化部112Bで符号化する情報を決定するように構成されている。決定の方法は、公知の方法を用いることが可能であるため詳細は省略する。
The intra-prediction
イントラ予測モード符号化部112Bは、対象ブロックの予測モードを符号化するように構成されている。処理内容は、イントラ予測モード復号部242Bと同様の処理となる。具体的には、例えば、図4及び図5に示すイントラ予測モード復号部242Bの処理フローチャートのうち「復号」の部分を「符号化」に変更した処理となる。
The intra prediction
予測信号生成部112Cは、イントラ予測モード112Bで符号化した予測モードにしたがって、当該ブロックの予測信号を生成するように構成されている。予測信号の生成方法は、予測信号生成部242Cと同一である。
112 C of prediction signal production|generation parts are comprised so that the prediction signal of the said block may be produced|generated according to the prediction mode encoded by intra
(第2実施形態)
以下、図9~図10を参照して、本発明の第2実施形態について説明する。なお、以降では第1実施形態との差分のみを説明することとし、第1実施形態と同一の処理の箇所については説明を省略する。
(Second embodiment)
A second embodiment of the present invention will be described below with reference to FIGS. 9 to 10. FIG. In the following description, only the differences from the first embodiment will be described, and the description of the same processing as in the first embodiment will be omitted.
図9は、イントラ予測モード復号部242Bによる輝度信号のイントラ予測モードの復号処理フローの一例を示すフローチャートである。図9は、図4のステップS401がステップS901に置き換わっている以外は、図4を用いて説明した第1実施形態の処理と同一である。 FIG. 9 is a flowchart showing an example of a decoding processing flow of the intra prediction mode of the luminance signal by the intra prediction mode decoding unit 242B. 9 is the same as the processing of the first embodiment described using FIG. 4, except that step S401 in FIG. 4 is replaced with step S901.
ステップS901において、イントラ予測モード復号部242Bは、所定条件5を満足するかどうかを判定する。
In step S901, the intra-prediction
所定条件5には、当該CUの幅が、後述する方法で算出されるMaxBdpcmSizeY以下であることという条件が含まれていてもよい。
The
また、所定条件5には、当該CUの高さが、後述する方法で算出されるMaxBdpcmSizeY以下であることという条件が含まれていてもよい。
Further, the
MaxBdpcmSizeYは、以下の通り、算出され得る。 MaxBdpcmSizeY may be calculated as follows.
MaxBdpcmSizeY=(MaxTbSizeY>MaxTsSize)? MazTsSize:CtbSizeY
ここで、a ? b : cは、条件aが真のときはbの値を返し、条件aが偽の時はcの値を返す関数である。
MaxBdpcmSizeY=(MaxTbSizeY>MaxTsSize)? MazTsSize: CtbSizeY
where a? b:c is a function that returns the value of b when condition a is true and returns the value of c when condition a is false.
よって、例えば、MaxTbSizeYが64であり、MaxTsSizeが32である場合は、MaxBdpcmSizeYの値は、MaxTsSize(=32)となる。 Therefore, for example, when MaxTbSizeY is 64 and MaxTsSize is 32, the value of MaxBdpcmSizeY is MaxTsSize (=32).
同様に、例えば、MaxTbSizeYが32であり、MaxTsSizeが32の場合、MaxBdpcmSizeYの値は、CtbSizeYとなる。CtbSizeYは、CUの最大サイズであり、例えば、非特許文献1では、32、64、128の値をとることができる。この場合、すなわち、MaxTbSizeY≦MaxTsSizeであり、MaxBdpcmSizeY=CtbSizeYとなる場合、所定条件5は、当該CUの幅及び高さがCUの最大サイズ以下であることという意味になるため、全てのCUについて所定条件5が満たされるようになる。
Similarly, for example, if MaxTbSizeY is 32 and MaxTsSize is 32, the value of MaxBdpcmSizeY will be CtbSizeY. CtbSizeY is the maximum size of the CU, and can take values of 32, 64, and 128 in
また、非特許文献1では、BDPCMを適用するCUに対応するTUには、必ずTransform Skip(TS)を適用する必要があるが、上述のように、MaxTbSizeY(TUの最大サイズ)がMaxTsSize(TSが適用可能なTUの最大サイズ)以下の場合、全てのTUに対してTSが適用可能となる。
In
すなわち、イントラ予測モード復号部242Bは、輝度CU(符号化ブロック)に対して輝度BDPCMを適用可能かどうかについて判定する所定条件5として、MaxTSize(変換スキップモードの最大サイズ)及びMaxTbSizeY(変換ブロックの最大サイズ)の両方を用いるように構成されている。
That is, the intra-prediction
よって、上述のように、全てのCUサイズに対してBDPCMを適用可能としても、非特許文献1の制約(BDPCMを適用するCUに対応するTUには、必ずTSを適用する)を担保しつつ、第1実施形態と比較して、BDPCMを適用可能なCUサイズのパターンを増やすことができる。 Therefore, as described above, even if BDPCM can be applied to all CU sizes, it is possible to increase the number of CU size patterns to which BDPCM can be applied, compared to the first embodiment, while ensuring the constraint of Non-Patent Document 1 (TS is always applied to TUs corresponding to CUs to which BDPCM is applied).
さらに、所定条件5には、SPS(Sequence Parameter Set)においてBDPCM(Block-wise DPCM)が有効になっていること(例えば、sps_bdpcm_enabled_flagの値が「0」より大きいこと)という条件が含まれていてもよい。
Furthermore, the
所定条件5が全て満たされる場合には、本処理は、ステップS402へ進み、どれか1つでも満たされない場合には、本処理は、ステップS403へ進む。
If all of the
以上のように、maxTbWidth及びmaxTbHeightが、MaxTsSize以下の場合、上述のように、全てのCUでBDPCMを適用可能とすることで、非特許文献1の制約(BDPCMを適用するCUに対応するTUには、必ずTSを適用する)を担保しつつ、第1実施形態と比較して、BDPCMを適用可能なCUサイズのパターンを増やすことができる。これにより、符号化効率の向上が見込まれる(図11参照)。 As described above, when maxTbWidth and maxTbHeight are equal to or less than MaxTsSize, by enabling BDPCM to be applied to all CUs as described above, it is possible to increase the number of CU size patterns to which BDPCM can be applied, compared to the first embodiment, while ensuring the constraint of Non-Patent Document 1 (TS is always applied to TUs corresponding to CUs to which BDPCM is applied). This is expected to improve coding efficiency (see FIG. 11).
図10は、イントラ予測モード復号部242Bによる色差信号のイントラ予測モードの復号処理フローの一例を示すフローチャートである。図10は、図5のステップS501がステップS1001に置き換わっている以外は、図5を用いて説明した第1実施形態の処理と同一である。 FIG. 10 is a flow chart showing an example of a decoding process flow of the intra prediction mode of the color difference signal by the intra prediction mode decoding unit 242B. 10 is the same as the processing of the first embodiment described using FIG. 5, except that step S501 of FIG. 5 is replaced with step S1001.
ステップS1001において、イントラ予測モード復号部242Bは、所定条件6を満足するかどうかを判定する。
In step S1001, the intra-prediction
所定条件6には、当該CUの幅が、後述する方法で算出されるMaxBdpcmWidthC以下であることという条件が含まれていてもよい。
The
また、所定条件6には、当該CUの高さが、後述する方法で算出されるMaxBdpcmHeightC以下であることという条件が含まれていてもよい。
Further, the
ここで、CUの幅や高さは、当該色差信号のサンプリング比に応じた色差信号の実際のCUサイズ(幅/高さ)である。例えば、YUV4:2:0サンプリングの場合、色差信号のCUサイズ(幅/高さ)は、輝度信号の場合と比較して半分になる。 Here, the width and height of the CU are the actual CU size (width/height) of the color difference signal according to the sampling ratio of the color difference signal. For example, in the case of YUV 4:2:0 sampling, the CU size (width/height) of the chrominance signal is half that of the luma signal.
MaxBdpcmWidthC及びMaxBdpcmHeightCは、以下の通り、算出され得る。 MaxBdpcmWidthC and MaxBdpcmHeightC may be calculated as follows.
MaxBdpcmWidthC=(maxTbWidth>MaxTsSize)? MaxTsSize:CtbSizeY/SubWidthC
MaxBdpcmHeightC=(maxTbHeight>MaxTsSize)? MaxTsSize:CtbSizeY/SubHeightC
すなわち、イントラ予測モード復号部242Bは、色差CU(符号化ブロック)に対して色差BDPCMを適用可能かどうかについて判定する所定条件1として、MaxTSize(変換スキップモードの最大サイズ)及びMaxTbSizeY(変換ブロックの最大サイズ)の両方を用いるように構成されている。
MaxBdpcmWidthC=(maxTbWidth>MaxTsSize)? MaxTsSize: CtbSizeY/SubWidthC
MaxBdpcmHeightC=(maxTbHeight>MaxTsSize)? MaxTsSize: CtbSizeY/SubHeightC
That is, the intra-prediction
図9を用いて説明した輝度CUの場合と同様に、例えば、maxTbWidthがMaxTsSize以下で且つmaxTbHeightがMaxTsSize以下の場合、MaxBdpcmWidthCは、CtbSizeY/SubWidthC(色差CUの幅の最大値)となり、MaxBdpcmHeightCは、CtbSizeY/SubHeightC(色差CUの高さの最大値)となる。よって、この場合、全ての色差CUについて所定条件6が満たされるようになる。
As in the case of the luminance CU described with reference to FIG. 9, for example, when maxTbWidth is MaxTsSize or less and maxTbHeight is MaxTsSize or less, MaxBdpcmWidthC is CtbSizeY/SubWidthC (the maximum value of the width of the color difference CU), and MaxBdpcmHeightC is CtbSizeY/SubHeightC (maximum height of color difference CU). Therefore, in this case, the
また、輝度CUの場合と同様に、全てのCUサイズに対してBDPCMを適用可能としても、非特許文献1の制約(BDPCMを適用するCUに対応するTUには必ずTSを適用する)を担保しつつ、第1実施形態と比較してBDPCMを適用可能な色差CUサイズのパターンを増やすことができる。 Also, as in the case of the luminance CU, even if BDPCM can be applied to all CU sizes, it is possible to increase the number of chrominance CU size patterns to which BDPCM can be applied, compared to the first embodiment, while ensuring the constraint of Non-Patent Document 1 (TS is always applied to TUs corresponding to CUs to which BDPCM is applied).
さらに、所定条件6には、SPS(Sequence Parameter Set)においてBDPCM(Block-wise DPCM)が有効になっていること(例えば、sps_bdcpm_enabled_flagの値が「0」より大きいこと)という条件が含まれていてもよい。
Furthermore, the
所定条件6が全て満たされる場合には、本処理は、ステップS502へ進み、どれか1つでも満たされない場合には、本処理は、ステップS503へ進む。
If all of the
以上のように、maxTbWidth及びmaxTbHeightが、MaxTsSize以下の場合、上記のように、全ての色差CUでBDPCMを適用可能とすることで、非特許文献1の制約(BDPCMを適用するCUに対応するTUには必ずTSを適用する)を担保しつつ、第1実施形態と比較してBDPCMを適用可能なCUサイズのパターンを増やすことができる。これにより、符号化効率の向上が見込まれる。 As described above, when maxTbWidth and maxTbHeight are equal to or less than MaxTsSize, by making BDPCM applicable to all color difference CUs as described above, it is possible to increase the number of CU size patterns to which BDPCM can be applied as compared to the first embodiment while ensuring the constraint of Non-Patent Document 1 (TS is always applied to TUs corresponding to CUs to which BDPCM is applied). This is expected to improve coding efficiency.
また、上述の画像符号化装置100及び画像復号装置200は、コンピュータに各機能(各工程)を実行させるプログラムであって実現されていてもよい。
Also, the
なお、上記の各実施形態では、本発明を画像符号化装置100及び画像復号装置200への適用を例にして説明したが、本発明は、かかる例のみに限定されるものではなく、画像符号化装置100及び画像復号装置200の各機能を備えた画像符号化/復号システムにも同様に適用できる。
In the above-described embodiments, the present invention is applied to the
10…画像処理システム
100…画像符号化装置
111、241…インター予測部
112、242…イントラ予測部
112A…イントラ予測モード決定部
112B…イントラ予測モード符号化部
112C、242C…予測信号生成部
121…減算器
122、230…加算器
131…変換・量子化部
132、220…逆変換・逆量子化部
140…符号化部
150、250…インループフィルタ処理部
160、260…フレームバッファ
200…画像復号装置
210…復号部
242B…イントラ予測モード復号部
DESCRIPTION OF
Claims (8)
符号化ブロックに対してBDPCMを適用可能かどうかについて判定する所定条件として、変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いるように構成されているイントラ予測モード復号部を備え、
前記イントラ予測モード復号部は、前記符号化ブロックのサイズが前記変換スキップモードの最大サイズ及び前記変換ブロックの最大サイズのうち小さい方の値以下の場合に、前記符号化ブロックに対してBDPCMを適用可能と判定するように構成されていることを特徴とする画像復号装置。 An image decoding device,
An intra-prediction mode decoding unit configured to use both the maximum size of the transform skip mode and the maximum size of the transform block as a predetermined condition for determining whether BDPCM can be applied to the encoded block ,
The intra prediction mode decoding unit is configured to determine that BDPCM can be applied to the coded block when the size of the coded block is equal to or smaller than the smaller of the maximum size of the transform skip mode and the maximum size of the transform block. An image decoding device characterized by being configured to determine.
符号化ブロックに対してBDPCMを適用可能かどうかについて判定する所定条件として、変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いるように構成されているイントラ予測モード復号部を備え、
前記イントラ予測モード復号部は、前記変換ブロックの最大サイズが前記変換スキップモードの最大サイズ以下の場合に、全てのサイズの前記符号化ブロックに対してBDPCMを適用可能と判定するように構成されていることを特徴とする画像復号装置。 An image decoding device,
An intra-prediction mode decoding unit configured to use both the maximum size of the transform skip mode and the maximum size of the transform block as a predetermined condition for determining whether BDPCM can be applied to the encoded block,
The intra prediction mode decoding unit is configured to determine that BDPCM can be applied to the coded blocks of all sizes when the maximum size of the transform block is equal to or less than the maximum size of the transform skip mode. An image decoding device.
前記工程において、前記符号化ブロックのサイズが前記変換スキップモードの最大サイズ及び前記変換ブロックの最大サイズのうち小さい方の値以下の場合に、前記符号化ブロックに対してBDPCMを適用可能と判定することを特徴とする画像復号方法。 using both a transform skip mode maximum size and a transform block maximum size as predetermined conditions for determining whether BDPCM is applicable to an encoded block ;
In the step, if the size of the encoded block is equal to or smaller than the smaller one of the maximum size of the transform skip mode and the maximum size of the transform block, it is determined that BDPCM can be applied to the encoded block. An image decoding method.
前記工程において、前記符号化ブロックのサイズが前記変換スキップモードの最大サイズ及び前記変換ブロックの最大サイズのうち小さい方の値以下の場合に、前記符号化ブロックに対してBDPCMを適用可能と判定することを特徴とするプログラム。 A program for use in an image decoding device, causing a computer to execute a step of using both the maximum size of a transform skip mode and the maximum size of a transform block as predetermined conditions for determining whether or not BDPCM can be applied to an encoded block ,
In the above step, if the size of the encoded block is equal to or smaller than the smaller value of the maximum size of the transform skip mode and the maximum size of the transform block, it is determined that BDPCM can be applied to the encoded block.
前記工程において、前記変換ブロックの最大サイズが前記変換スキップモードの最大サイズ以下の場合に、全てのサイズの前記符号化ブロックに対してBDPCMを適用可能と判定することを特徴とする画像復号方法。 The image decoding method, wherein, in the step, when the maximum size of the transform block is equal to or less than the maximum size of the transform skip mode, it is determined that BDPCM is applicable to the coding blocks of all sizes.
前記工程において、前記変換ブロックの最大サイズが前記変換スキップモードの最大サイズ以下の場合に、全てのサイズの前記符号化ブロックに対してBDPCMを適用可能と判定することを特徴とするプログラム。 The program, wherein in the step, when the maximum size of the transform block is equal to or less than the maximum size of the transform skip mode, it is determined that BDPCM is applicable to the coding blocks of all sizes.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020061226A JP7315509B2 (en) | 2020-03-30 | 2020-03-30 | Image decoding device, image decoding method and program |
| PCT/JP2021/006371 WO2021199780A1 (en) | 2020-03-30 | 2021-02-19 | Image decoding device, image decoding method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020061226A JP7315509B2 (en) | 2020-03-30 | 2020-03-30 | Image decoding device, image decoding method and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021164003A JP2021164003A (en) | 2021-10-11 |
| JP7315509B2 true JP7315509B2 (en) | 2023-07-26 |
Family
ID=77927069
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020061226A Active JP7315509B2 (en) | 2020-03-30 | 2020-03-30 | Image decoding device, image decoding method and program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7315509B2 (en) |
| WO (1) | WO2021199780A1 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021015524A1 (en) | 2019-07-19 | 2021-01-28 | 주식회사 윌러스표준기술연구소 | Method and device for processing video signal |
-
2020
- 2020-03-30 JP JP2020061226A patent/JP7315509B2/en active Active
-
2021
- 2021-02-19 WO PCT/JP2021/006371 patent/WO2021199780A1/en not_active Ceased
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021015524A1 (en) | 2019-07-19 | 2021-01-28 | 주식회사 윌러스표준기술연구소 | Method and device for processing video signal |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2021199780A1 (en) | 2021-10-07 |
| JP2021164003A (en) | 2021-10-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7422913B2 (en) | Video coding method and device based on conversion | |
| CN113287311B (en) | Indication of two-step cross component prediction mode | |
| KR102006236B1 (en) | Methods of coding block information using quadtree and appararuses for using the same | |
| JP2023126408A (en) | Intra prediction method and encoder and decoder using it | |
| KR101538837B1 (en) | Multiple sign bit hiding within a transform unit | |
| CN113812155B (en) | Interaction between multiple inter-frame coding and decoding methods | |
| CN118509587A (en) | Position dependent intra prediction combining using wide angle intra prediction | |
| US12506873B2 (en) | Method and device for coding/decoding image using differential coding of residual coefficient, and method for transmitting bitstream | |
| CN110679149A (en) | Loop Filtering Method Based on Adaptive Pixel Classification Benchmark | |
| CN104380734B (en) | Method and apparatus for encoding and decoding video data | |
| CN113812150A (en) | Matrix-based intra prediction using filtering | |
| JP2022533190A (en) | Matrix-based intra-prediction using upsampling | |
| CN103891278A (en) | Image coding and decoding method, device and program | |
| CN113728647A (en) | Context coding for matrix-based intra prediction | |
| CN114747211B (en) | Efficient implementation of matrix-based intra prediction | |
| WO2020059341A1 (en) | Image decoding device, image encoding device, image processing system, and program | |
| JP7315509B2 (en) | Image decoding device, image decoding method and program | |
| CN114830641A (en) | Image encoding method and image decoding method | |
| JP6590412B2 (en) | Video encoding apparatus, method and program, and video decoding apparatus, method and program | |
| CN114830644A (en) | Image encoding method and image decoding method | |
| JP7593876B2 (en) | Image encoding device, image decoding device, image processing system and program | |
| KR20190023294A (en) | Method and apparatus for encoding/decoding a video signal | |
| JP2024523793A (en) | Codec method, codestream, encoding device, decoding device, and computer storage medium | |
| CN114830645A (en) | Image encoding method and image decoding method | |
| CN114830643A (en) | Image encoding method and image decoding method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20210407 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220202 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230131 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230403 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230411 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230627 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230713 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7315509 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |