Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7315509B2 - Image decoding device, image decoding method and program - Google Patents
[go: Go Back, main page]

JP7315509B2 - Image decoding device, image decoding method and program - Google Patents

Image decoding device, image decoding method and program Download PDF

Info

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
Application number
JP2020061226A
Other languages
Japanese (ja)
Other versions
JP2021164003A (en
Inventor
恭平 海野
圭 河村
整 内藤
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.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2020061226A priority Critical patent/JP7315509B2/en
Priority to PCT/JP2021/006371 priority patent/WO2021199780A1/en
Publication of JP2021164003A publication Critical patent/JP2021164003A/en
Application granted granted Critical
Publication of JP7315509B2 publication Critical patent/JP7315509B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods 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つとして、符号化ブロックのサイズが変換スキップモードの最大サイズ以下であるかという判定を備えることが規定されている。 Non-Patent Document 1 defines that one of the application conditions for BDPCM (Block-wise Differential Pulse-Code Modulation) is to determine whether the size of a coded block is equal to or less than the maximum size of the transform skip mode.

Versatile Video Coding (Draft 8)、JVET-Q2001Versatile Video Coding (Draft 8), JVET-Q2001

しかしながら、本願の発明者は、非特許文献1では、変換スキップモードの最大サイズは、変換ブロックの最大サイズとは無関係に決定されるため、BDPCMの適用条件の判定に用いられる変換スキップモードの最大サイズと、実際の変換スキップ処理が実行される変換ブロックサイズが不一致になる場合があるという問題点を発見した。 However, in Non-Patent Document 1, the inventors of the present application have found a problem that the maximum size of the transform skip mode is determined independently of the maximum size of the transform block, so that the maximum size of the transform skip mode used to determine the BDPCM application condition and the transform block size for which the actual transform skip processing is performed may not match.

そこで、本発明は、上述の課題に鑑みてなされたものであり、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.

一実施形態に係る画像処理システム10の構成の一例を示す図である。It is a figure showing an example of composition of image processing system 10 concerning one embodiment. 一実施形態に係る画像復号装置200の機能ブロックの一例を示す図である。2 is a diagram showing an example of functional blocks of an image decoding device 200 according to one embodiment; FIG. 一実施形態に係る画像復号装置200のイントラ予測部242の機能ブロックの一例を示す図である。4 is a diagram showing an example of functional blocks of an intra prediction unit 242 of the image decoding device 200 according to one embodiment; FIG. 一実施形態に係る画像復号装置200のイントラ予測部242のイントラ予測モード復号部242Bによる輝度信号のイントラ予測モードの復号処理のフローの一例を示すフローチャートである。FIG. 11 is a flowchart showing an example of a flow of decoding processing in an intra prediction mode of a luminance signal by an intra prediction mode decoding unit 242B of an intra prediction unit 242 of the image decoding device 200 according to one embodiment; FIG. 一実施形態に係る画像復号装置200のイントラ予測部242のイントラ予測モード復号部242Bによる色差信号のイントラ予測モードの復号処理のフローの一例を示すフローチャートである。10 is a flowchart showing an example of a flow of decoding processing in an intra prediction mode of a color difference signal by an intra prediction mode decoding unit 242B of an intra prediction unit 242 of the image decoding device 200 according to an embodiment; MaxTbSizeY=32の場合の輝度CU及び色差CUがそれぞれ4つのTUに分割される様子を示す図である。FIG. 10 is a diagram showing how a luminance CU and a chrominance CU are each divided into four TUs when MaxTbSizeY=32; 一実施形態に係る画像符号化装置100の機能ブロックの一例を示す図である。1 is a diagram showing an example of functional blocks of an image encoding device 100 according to an embodiment; FIG. 一実施形態に係る画像符号化装置100のイントラ予測部112の機能ブロックの一例を示す図である。3 is a diagram showing an example of functional blocks of an intra prediction unit 112 of the image encoding device 100 according to one embodiment; FIG. 一実施形態に係る画像復号装置200のイントラ予測部242のイントラ予測モード復号部242Bによる輝度信号のイントラ予測モードの復号処理のフローの一例を示すフローチャートである。FIG. 11 is a flowchart showing an example of a flow of decoding processing in an intra prediction mode of a luminance signal by an intra prediction mode decoding unit 242B of an intra prediction unit 242 of the image decoding device 200 according to one embodiment; FIG. 一実施形態に係る画像復号装置200のイントラ予測部242のイントラ予測モード復号部242Bによる色差信号のイントラ予測モードの復号処理のフローの一例を示すフローチャートである。10 is a flowchart showing an example of a flow of decoding processing in an intra prediction mode of a color difference signal by an intra prediction mode decoding unit 242B of an intra prediction unit 242 of the image decoding device 200 according to an embodiment; 変換ブロックの最大サイズとMaxTsSizeとBDPCM適用可否との対応の一例を示す表である。FIG. 11 is a table showing an example of the correspondence between the maximum size of a transform block, MaxTsSize, and BDPCM applicability; FIG. カラーフォーマットと変換ブロックの最大サイズとMaxTsSizeとの対応の一例を示す表である。3 is a table showing an example of correspondence between color formats, maximum sizes of conversion blocks, and MaxTsSize;

以下、本発明の実施の形態について、図面を参照しながら説明する。なお、以下の実施形態における構成要素は、適宜、既存の構成要素等との置き換えが可能であり、また、他の既存の構成要素との組み合わせを含む様々なバリエーションが可能である。したがって、以下の実施形態の記載をもって、特許請求の範囲に記載された発明の内容を限定するものではない。
(第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 image processing system 10 according to a first embodiment of the present invention will be described below with reference to FIGS. 1 to 8. FIG. FIG. 1 is a diagram showing an image processing system 10 according to an embodiment according to this embodiment.

図1に示すように、画像処理システム10は、画像符号化装置100及び画像復号装置200を有する。 As shown in FIG. 1 , the image processing system 10 has an image encoding device 100 and an image decoding device 200 .

画像符号化装置100は、入力画像信号を符号化することによって符号化データを生成するように構成されている。画像復号装置200は、符号化データを復号することによって出力画像信号を生成するように構成されている。 The image encoding device 100 is configured to generate encoded data by encoding an input image signal. The image decoding device 200 is configured to generate an output image signal by decoding encoded data.

ここで、かかる符号化データは、画像符号化装置100から画像復号装置200に対して伝送路を介して送信されてもよい。また、符号化データは、記憶媒体に格納された上で、画像符号化装置100から画像復号装置200に提供されてもよい。 Here, such encoded data may be transmitted from the image encoding device 100 to the image decoding device 200 via a transmission line. Also, the encoded data may be stored in a storage medium and then provided from the image encoding device 100 to the image decoding device 200 .

(画像復号装置200)
以下、図2を参照して、本実施形態に係る画像復号装置200について説明する。図2は、本実施形態に係る画像復号装置200の機能ブロックの一例について示す図である。
(Image decoding device 200)
The image decoding device 200 according to this embodiment will be described below with reference to FIG. FIG. 2 is a diagram showing an example of functional blocks of the image decoding device 200 according to this embodiment.

図2に示すように、画像復号装置200は、復号部210と、逆変換・逆量子化部220と、加算器230と、インター予測部241と、イントラ予測部242と、インループフィルタ処理部250と、フレームバッファ260とを有する。 As shown in FIG. 2, the image decoding device 200 includes a decoding unit 210, an inverse transform/inverse quantization unit 220, an adder 230, an inter prediction unit 241, an intra prediction unit 242, an in-loop filtering unit 250, and a frame buffer 260.

復号部210は、画像符号化装置100によって生成される符号化データを復号し、係数レベル値を復号するように構成されている。 The decoding unit 210 is configured to decode the encoded data generated by the image encoding device 100 and decode the coefficient level values.

ここで、例えば、復号は、係数レベル値の発生確率に基づいて異なる長さの符号を割り当てるエントロピー符号化されたデータの復号である。 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 decoding unit 210 may be configured to obtain the control data by decoding the encoded data.

ここで、制御データは、符号化ブロック(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/inverse quantization unit 220 is configured to perform inverse transform processing on the coefficient level values output from the decoding unit 210 . Here, the inverse transform/inverse quantization unit 220 may be configured to perform inverse quantization of the coefficient level values prior to the inverse transform processing.

加算器230は、逆変換・逆量子化部220から出力される予測残差信号に予測信号を加算してフィルタ処理前復号信号を生成し、フィルタ処理前復号信号をイントラ予測部242及びインループフィルタ処理部250に出力するように構成されている。 The adder 230 adds the prediction signal to the prediction residual signal output from the inverse transform/inverse quantization unit 220 to generate a pre-filtering decoded signal, and outputs the pre-filtering decoded signal to the intra prediction unit 242 and the in-loop filtering unit 250.

ここで、フィルタ処理前復号信号は、イントラ予測部242で用いる参照ブロックを構成する。 Here, the unfiltered decoded signal constitutes a reference block used in intra prediction section 242 .

インター予測部241は、インター予測(フレーム間予測)によって予測信号を生成するように構成されている。 The inter prediction unit 241 is configured to generate a prediction signal by inter prediction (inter-frame prediction).

具体的には、インター予測部241は、符号化データから復号した動きベクトルと参照フレームに含まれる参照信号に基づいて予測信号を予測ブロック毎に生成するように構成されている。インター予測部241は、予測信号を加算器230に出力するように構成されている。 Specifically, the inter prediction unit 241 is configured to generate a prediction signal for each prediction block based on a motion vector decoded from encoded data and a reference signal included in a reference frame. The inter prediction section 241 is configured to output a prediction signal to the adder 230 .

イントラ予測部242は、イントラ予測(フレーム内予測)によって予測信号を生成するように構成されている。 The intra prediction unit 242 is configured to generate a prediction signal by intra prediction (intra-frame prediction).

具体的には、イントラ予測部242は、対象フレームに含まれる参照ブロックを特定し、特定された参照ブロックに基づいて予測信号を予測ブロック毎に生成するように構成されている。イントラ予測部242は、予測信号を加算器230に出力するように構成されている。 Specifically, the intra prediction unit 242 is configured to identify a reference block included in the target frame and generate a prediction signal for each prediction block based on the identified reference block. The intra prediction section 242 is configured to output the prediction signal to the adder 230 .

インループフィルタ処理部250は、加算器230から出力されるフィルタ処理前復号信号に対してフィルタ処理を行うとともに、フィルタ処理後復号信号をフレームバッファ260に出力するように構成されている。 The in-loop filtering section 250 is configured to filter the unfiltered decoded signal output from the adder 230 and output the filtered decoded signal to the frame buffer 260 .

ここで、インループフィルタ処理は、複数のフィルタ処理から構成されていてもよい。例えば、フィルタ処理は、ブロック(符号化ブロック、予測ブロック、変換ブロック或いはそれらを分割したサブブロック)の境界部分で生じる歪みを減少するデブロッキングフィルタ処理や、画像符号化装置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 image encoding device 100.

フレームバッファ260は、インター予測部241で用いる参照フレームを蓄積するように構成されている。 The frame buffer 260 is configured to accumulate reference frames used by the inter prediction section 241 .

ここで、フィルタ処理後復号信号は、インター予測部241で用いる参照フレームを構成する。 Here, the decoded signal after filtering constitutes a reference frame used in the inter prediction section 241 .

(イントラ予測部242)
以下、図3を参照して、本実施形態に係るイントラ予測部242について説明する。図3は、本実施形態に係る画像復号装置200のイントラ予測部242の機能ブロックの一例について示す図である。
(Intra prediction unit 242)
The intra prediction unit 242 according to this embodiment will be described below with reference to FIG. FIG. 3 is a diagram showing an example of functional blocks of the intra prediction unit 242 of the image decoding device 200 according to this embodiment.

図3に示すように、イントラ予測部242は、イントラ予測モード復号部242Bと、予測信号生成部242Cとを有する。 As shown in FIG. 3, the intra prediction unit 242 has an intra prediction mode decoding unit 242B and a prediction signal generation unit 242C.

イントラ予測部242は、イントラ予測(フレーム内予測)によって予測信号を生成するように構成されている予測部の一例である。 The intra prediction unit 242 is an example of a prediction unit configured to generate a prediction signal by intra prediction (intra-frame prediction).

イントラ予測モード復号部242Bは、ブロックごとにイントラ予測を行うために必要な情報を復号するように構成されている。 The intra-prediction mode decoding unit 242B is configured to decode information necessary to perform intra-prediction for each block.

図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 mode decoding unit 242B. An example of the flow of the intra prediction mode decoding process of the luminance signal by the intra prediction mode decoding unit 242B will be described below with reference to FIG.

ステップS401において、イントラ予測モード復号部242Bは、所定条件1が満たされているか否かについて判定する。 In step S401, the intra-prediction mode decoding unit 242B determines whether or not the predetermined condition 1 is satisfied.

かかる所定条件1には、対象CUの幅がTransform Skipを適用する際の最大サイズ(例えば、非特許文献1のMaxTsSize)以下であることという条件が含まれていてもよい。 Such predetermined condition 1 may include a condition that the width of the target CU is equal to or less than the maximum size (for example, MaxTsSize in Non-Patent Document 1) when applying Transform Skip.

また、かかる所定条件1には、対象CUの高さがTransform Skipを適用する際の最大サイズ(例えば、非特許文献1のMaxTsSize)以下であることという条件が含まれていてもよい。 The predetermined condition 1 may also include a condition that the height of the target CU is equal to or less than the maximum size (for example, MaxTsSize in Non-Patent Document 1) when applying Transform Skip.

ここで、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 image encoding device 100 and included in the control data decoded by the decoding unit 210 . Possible values for MaxTsSize may be 4, 8, 16, 32, for example.

同様に、輝度信号の変換ブロック(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 image encoding device 100 and included in the control data decoded by the decoding unit 210. Possible values for MaxTbSizeY may be 32 and 64.

例えば、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 predetermined condition 1, even if MaxTsSize is set to the maximum possible value (32), the CU that satisfies the above-described predetermined condition 1 is always 32×32 pixel size or less.

一方で、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 predetermined condition 1 including the above two conditions is always MaxTbSizeY or less, so such a CU is not split into multiple TUs, and CU size=TU size.

図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 predetermined condition 1 may include a condition that BDPCM (Block DPCM) is enabled in SPS (Sequence Parameter Set) (for example, the value of sps_bdcpm_enabled_flag is greater than "0").

所定条件1が全て満たされる場合には、本処理は、ステップS402へ進み、どれか1つでも満たされない場合には、本処理は、ステップS403へ進む。 If all of the predetermined conditions 1 are satisfied, the process proceeds to step S402, and if even one of them is not satisfied, the process proceeds to step S403.

ステップS402において、イントラ予測モード復号部242Bは、intra_bdpcm_luma_flagを復号する。 In step S402, the intra prediction mode decoding unit 242B decodes intra_bdpcm_luma_flag.

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 mode decoding unit 242B determines whether the value of intra_bdpcm_luma_flag is greater than "0".

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 predetermined condition 1 is not satisfied and the process of step S402 is skipped, the intra prediction mode decoding unit 242B regards the value of intra_bdpcm_luma_flag as "0".

ステップS408において、イントラ予測モード復号部242Bは、intra_bdpcm_luma_dir_flagを復号する。intra_bdpcm_luma_dir_flagは、当該輝度CUにBDPCMを適用する場合に、垂直方向から予測を行うか或いは水平方向から予測を行うかのどちらなのかということを示す。 In step S408, the intra prediction mode decoding unit 242B decodes intra_bdpcm_luma_dir_flag. intra_bdpcm_luma_dir_flag indicates whether prediction is performed from the vertical direction or from the horizontal direction when BDPCM is applied to the luminance CU.

ステップ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 mode decoding unit 242B determines whether or not the predetermined condition 2 is satisfied.

ここで、所定条件2には、当該輝度CUでMIP(行列ベースイントラ予測)が使用可能であるという条件が含まれていてもよい。 Here, the predetermined condition 2 may include a condition that MIP (matrix-based intra prediction) can be used in the luminance CU.

所定条件2が満たされる場合は、本処理は、ステップS405へ進み、そうでない場合は、本処理は、ステップS406へ進む。 If the predetermined condition 2 is satisfied, the process proceeds to step S405; otherwise, the process proceeds to step S406.

ステップS405において、イントラ予測モード復号部242Bは、intra_mip_flagを復号する。 In step S405, the intra prediction mode decoding unit 242B decodes intra_mip_flag.

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 mode decoding unit 242B determines whether the value of intra_mip_flag is greater than "0".

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 predetermined condition 2 is not satisfied and the process of step S405 is skipped, the intra prediction mode decoding unit 242B regards the value of intra_mip_flag as "0".

ステップS409において、イントラ予測モード復号部242Bは、MIP処理に必要なシンタックスを復号する。 In step S409, the intra-prediction mode decoding unit 242B decodes syntax necessary for MIP processing.

ステップ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 mode decoding unit 242B decodes syntax such as the normal intra-prediction mode and whether intra sub-division is applied.

ステップ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 mode decoding unit 242B. An example of the intra prediction mode decoding processing flow of the color difference signal by the intra prediction mode decoding unit 242B will be described below with reference to FIG.

ステップS501において、イントラ予測モード復号部242Bは、所定条件3を満たしているかどうかを判定する。 In step S501, the intra-prediction mode decoding unit 242B determines whether or not the predetermined condition 3 is satisfied.

上述の所定条件3には、当該CUの幅が、後述する方法で算出されるMaxBdpcmWidthC以下であることという条件が含まれていてもよい。 The predetermined condition 3 described above may include a condition that the width of the CU is less than or equal to MaxBdpcmWidthC calculated by a method described later.

また、所定条件3には、当該CUの高さが、後述する方法で算出されるMaxBdpcmHeightC以下であることという条件が含まれていてもよい。 Further, the predetermined condition 3 may include a condition that the height of the CU is less than or equal to MaxBdpcmHeightC calculated by a method described later.

ここで、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 mode decoding unit 242B is configured to use both MaxTsSize (maximum size of the transform skip mode) and MaxTbSizeY (maximum size of the transform block) as the predetermined condition 3 for determining whether or not the chroma BDPCM can be applied to the chroma CU (encoding block).

上述のように、所定条件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 predetermined condition 3, it is ensured that the CU size that satisfies the predetermined condition 3 is always maxTbWidth and maxTbHeight or less. Therefore, the CU is not divided into a plurality of TUs, and it is ensured that CU size=TU size.

所定条件3には、SPS(Sequence Parameter Set)においてBDPCM(Block-wise DPCM)が有効になっていること(例えば、sps_bdpcm_chroma_enabled_flagの値が「0」より大きいこと)という条件が含まれていてもよい。 Predetermined condition 3 may include a condition that BDPCM (Block-wise DPCM) is enabled in SPS (Sequence Parameter Set) (for example, the value of sps_bdpcm_chroma_enabled_flag is greater than “0”).

所定条件3が全て満たされる場合には、本処理は、ステップS502へ進み、どれか1つでも満たされない場合には、本処理は、ステップS503へ進む。 If all of the predetermined conditions 3 are satisfied, the process proceeds to step S502, and if even one of them is not satisfied, the process proceeds to step S503.

ステップS502において、イントラ予測モード復号部242Bは、intra_bdpcm_chroma_flagを復号する。 In step S502, the intra prediction mode decoding unit 242B decodes intra_bdpcm_chroma_flag.

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 mode decoding unit 242B determines whether the value of intra_bdpcm_chroma_flag is greater than "0".

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 predetermined condition 3, the intra prediction mode decoding part 242B regards the value of intra_bdpcm_chroma_flag as "0".

ステップS508において、イントラ予測モード復号部242Bは、intra_bdpcm_chroma_dir_flagを復号する。 In step S508, the intra prediction mode decoding unit 242B decodes intra_bdpcm_chroma_dir_flag.

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 mode decoding unit 242B determines whether or not the predetermined condition 4 is satisfied.

ここで、所定条件4には、当該色差CUでCCLM(色差線形予測)が使用可能であるという条件が含まれていてもよい。 Here, the predetermined condition 4 may include a condition that CCLM (color difference linear prediction) can be used in the relevant color difference CU.

所定条件4が満たされる場合は、本処理は、ステップS505へ進み、そうでない場合は、本処理は、ステップS506へ進む。 If the predetermined condition 4 is satisfied, the process proceeds to step S505; otherwise, the process proceeds to step S506.

ステップS505において、イントラ予測モード復号部242Bは、cclm_mode_flagを復号する。 In step S505, the intra prediction mode decoding unit 242B decodes cclm_mode_flag.

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 mode decoding unit 242B determines whether the value of cclm_mode_flag is greater than "0".

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 predetermined condition 4 is not satisfied and the process of step S505 is skipped, the intra-prediction mode decoding unit 242B regards the value of cclm_mode_flag as "0".

ステップS509において、イントラ予測モード復号部242Bは、cclm_mode_idxを復号する。 In step S509, the intra prediction mode decoding unit 242B decodes cclm_mode_idx.

ステップ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 mode decoding unit 242B decodes the normal intra prediction mode (intra_chroma_pred_mode).

ステップ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 Non-Patent Document 1, blocks of sizes such as 64×16 and 64×8 can also be used. In Non-Patent Document 1, the size (height and width) of the chrominance CU is equal to or smaller than MaxTsSize, as in the case of the luminance BDPCM, in determining the application of the chrominance BDPCM.

よって、図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 image decoding device 200 .

図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 mode decoding part 242B. Here, for example, a known method described in Non-Patent Document 1 can be used as a method for generating the prediction signal.

(画像符号化装置100)
以下、図7を参照して、本実施形態に係る画像符号化装置100について説明する。図7は、本実施形態に係る画像符号化装置100の機能ブロックの一例について示す図である。
(Image encoding device 100)
The image coding apparatus 100 according to this embodiment will be described below with reference to FIG. FIG. 7 is a diagram showing an example of functional blocks of the image encoding device 100 according to this embodiment.

図7に示すように、画像符号化装置100は、インター予測部111と、イントラ予測部112と、減算器121と、加算器122と、変換・量子化部131と、逆変換・逆量子化部132と、符号化部140と、インループフィルタ処理部150と、フレームバッファ160とを有する。 As shown in FIG. 7, the image coding apparatus 100 includes an inter prediction unit 111, an intra prediction unit 112, a subtractor 121, an adder 122, a transform/quantization unit 131, an inverse transform/inverse quantization unit 132, an encoding unit 140, an in-loop filtering unit 150, and a frame buffer 160.

インター予測部111は、インター予測部241と同様に、インター予測(フレーム間予測)によって予測信号を生成するように構成されている。 The inter prediction unit 111, like the inter prediction unit 241, is configured to generate a prediction signal by inter prediction (inter-frame prediction).

具体的には、インター予測部111は、符号化対象のフレーム(以下、対象フレーム)とフレームバッファ160に格納される参照フレームとの比較によって、参照フレームに含まれる参照ブロックを特定し、特定された参照ブロックに対する動きベクトルを決定するように構成されている。 Specifically, the inter prediction unit 111 is configured to identify a reference block included in the reference frame by comparing a frame to be encoded (hereinafter referred to as the target frame) and a reference frame stored in the frame buffer 160, and to determine a motion vector for the identified reference block.

また、インター予測部111は、参照ブロック及び動きベクトルに基づいて予測ブロックに含まれる予測信号を予測ブロック毎に生成するように構成されている。インター予測部111は、予測信号を減算器121及び加算器122に出力するように構成されている。ここで、参照フレームは、対象フレームとは異なるフレームである。 Also, the inter prediction unit 111 is configured to generate, for each prediction block, a prediction signal included in the prediction block based on the reference block and motion vector. The inter prediction section 111 is configured to output the prediction signal to the subtractor 121 and the adder 122 . Here, the reference frame is a frame different from the target frame.

イントラ予測部112は、イントラ予測部242と同様に、イントラ予測(フレーム内予測)によって予測信号を生成するように構成されている。 The intra prediction unit 112, like the intra prediction unit 242, is configured to generate a prediction signal by intra prediction (intra-frame prediction).

具体的には、イントラ予測部112は、対象フレームに含まれる参照ブロックを特定し、特定された参照ブロックに基づいて予測信号を予測ブロック毎に生成するように構成されている。また、イントラ予測部112は、予測信号を減算器121及び加算器122に出力するように構成されている。 Specifically, the intra prediction unit 112 is configured to identify a reference block included in the target frame and generate a prediction signal for each prediction block based on the identified reference block. Also, the intra prediction unit 112 is configured to output the prediction signal to the subtractor 121 and the adder 122 .

ここで、参照ブロックは、予測対象のブロック(以下、対象ブロック)について参照されるブロックである。例えば、参照ブロックは、対象ブロックに隣接するブロックである。 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 subtractor 121 is configured to subtract the prediction signal from the input image signal and output the prediction residual signal to the transform/quantization section 131 . Here, the subtractor 121 is configured to generate a prediction residual signal that is a difference between a prediction signal generated by intra prediction or inter prediction and an input image signal.

加算器122は、逆変換・逆量子化部132から出力される予測残差信号に予測信号を加算してフィルタ処理前復号信号を生成し、かかるフィルタ処理前復号信号をイントラ予測部112及びインループフィルタ処理部150に出力するように構成されている。 The adder 122 adds the prediction signal to the prediction residual signal output from the inverse transform/inverse quantization unit 132 to generate a pre-filtering decoded signal, and outputs the pre-filtering decoded signal to the intra prediction unit 112 and the in-loop filtering unit 150.

ここで、フィルタ処理前復号信号は、イントラ予測部112で用いる参照ブロックを構成する。 Here, the unfiltered decoded signal constitutes a reference block used in intra prediction section 112 .

変換・量子化部131は、予測残差信号の変換処理を行うとともに、係数レベル値を取得するように構成されている。さらに、変換・量子化部131は、係数レベル値の量子化を行うように構成されていてもよい。 The transform/quantization unit 131 is configured to perform transform processing on the prediction residual signal and to obtain coefficient level values. Further, the transform/quantization unit 131 may be configured to quantize the coefficient level values.

ここで、変換処理は、予測残差信号を周波数成分信号に変換する処理である。かかる変換処理では、離散コサイン変換(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/inverse quantization unit 220 , the inverse transform/inverse quantization unit 132 is configured to perform inverse transform processing on the coefficient level values output from the transform/quantization unit 131 . Here, the inverse transform/inverse quantization unit 132 may be configured to perform inverse quantization of the coefficient level values prior to the inverse transform processing.

ここで、逆変換処理及び逆量子化は、変換・量子化部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/quantization unit 131 .

符号化部140は、変換・量子化部131から出力された係数レベル値を符号化し、符号化データを出力するように構成されている。 The encoding unit 140 is configured to encode the coefficient level values output from the transform/quantization unit 131 and output encoded data.

ここで、例えば、符号化は、係数レベル値の発生確率に基づいて異なる長さの符号を割り当てるエントロピー符号化である。 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 encoding unit 140 is also configured to encode control data used in the decoding process.

なお、上述したように、制御データは、符号化ブロックサイズや予測ブロックサイズや変換ブロックサイズ等のサイズデータを含んでもよい。 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-loop filtering unit 250, the in-loop filtering unit 150 is configured to perform filtering on the unfiltered decoded signal output from the adder 122 and to output the filtered decoded signal to the frame buffer 160.

フレームバッファ160は、インター予測部111で用いる参照フレームを蓄積するように構成されている。 The frame buffer 160 is configured to accumulate reference frames used by the inter prediction section 111 .

ここで、フィルタ処理後復号信号は、インター予測部111で用いる参照フレームを構成する。 Here, the filtered decoded signal constitutes a reference frame used in inter prediction section 111 .

(イントラ予測部112)
以下、図8を参照して、本実施形態に係るイントラ予測部112について説明する。図8は、本実施形態に係る画像符号化装置112のイントラ予測部112の機能ブロックの一例について示す図である。
(Intra prediction unit 112)
The intra prediction unit 112 according to this embodiment will be described below with reference to FIG. FIG. 8 is a diagram showing an example of functional blocks of the intra prediction unit 112 of the image encoding device 112 according to this embodiment.

図8に示すように、イントラ予測部112は、イントラ予測モード決定部112Aと、イントラ予測モード符号化部112Bと、予測信号生成部112Cとを有する。 As shown in FIG. 8, the intra prediction unit 112 has an intra prediction mode determination unit 112A, an intra prediction mode coding unit 112B, and a prediction signal generation unit 112C.

イントラ予測部112は、イントラ予測(フレーム内予測)によって予測信号を生成するように構成されている予測部の一例である。 The intra prediction unit 112 is an example of a prediction unit configured to generate a prediction signal by intra prediction (intra-frame prediction).

イントラ予測モード決定部112Aは、当該ブロックのイントラ予測モードやBDPCMの適用有無等、後段のイントラ予測モード符号化部112Bで符号化する情報を決定するように構成されている。決定の方法は、公知の方法を用いることが可能であるため詳細は省略する。 The intra-prediction mode determination unit 112A is configured to determine information to be encoded by the subsequent intra-prediction mode encoding unit 112B, such as the intra-prediction mode of the block and whether or not BDPCM is applied. Since a known method can be used for the determination method, the details are omitted.

イントラ予測モード符号化部112Bは、対象ブロックの予測モードを符号化するように構成されている。処理内容は、イントラ予測モード復号部242Bと同様の処理となる。具体的には、例えば、図4及び図5に示すイントラ予測モード復号部242Bの処理フローチャートのうち「復号」の部分を「符号化」に変更した処理となる。 The intra prediction mode encoding unit 112B is configured to encode the prediction mode of the target block. The processing contents are the same as those of the intra prediction mode decoding unit 242B. Specifically, for example, in the processing flowcharts of the intra-prediction mode decoding unit 242B shown in FIGS. 4 and 5, the “decoding” portion is changed to “encoding”.

予測信号生成部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 prediction mode 112B. The prediction signal generation method is the same as that of the prediction signal generator 242C.

(第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 mode decoding unit 242B determines whether or not the predetermined condition 5 is satisfied.

所定条件5には、当該CUの幅が、後述する方法で算出されるMaxBdpcmSizeY以下であることという条件が含まれていてもよい。 The predetermined condition 5 may include a condition that the width of the CU is less than or equal to MaxBdpcmSizeY calculated by a method described later.

また、所定条件5には、当該CUの高さが、後述する方法で算出されるMaxBdpcmSizeY以下であることという条件が含まれていてもよい。 Further, the predetermined condition 5 may include a condition that the height of the CU is equal to or less than MaxBdpcmSizeY calculated by a method described later.

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 Non-Patent Document 1, for example. In this case, that is, when MaxTbSizeY≦MaxTsSize and MaxBdpcmSizeY=CtbSizeY, the predetermined condition 5 means that the width and height of the CU are equal to or less than the maximum size of the CU, so the predetermined condition 5 is satisfied for all CUs.

また、非特許文献1では、BDPCMを適用するCUに対応するTUには、必ずTransform Skip(TS)を適用する必要があるが、上述のように、MaxTbSizeY(TUの最大サイズ)がMaxTsSize(TSが適用可能なTUの最大サイズ)以下の場合、全てのTUに対してTSが適用可能となる。 In Non-Patent Document 1, Transform Skip (TS) must always be applied to TUs corresponding to CUs to which BDPCM is applied. However, as described above, when MaxTbSizeY (maximum size of TU) is MaxTsSize (maximum size of TU applicable to TS) or less, TS can be applied to all TUs.

すなわち、イントラ予測モード復号部242Bは、輝度CU(符号化ブロック)に対して輝度BDPCMを適用可能かどうかについて判定する所定条件5として、MaxTSize(変換スキップモードの最大サイズ)及びMaxTbSizeY(変換ブロックの最大サイズ)の両方を用いるように構成されている。 That is, the intra-prediction mode decoding unit 242B is configured to use both MaxTSize (maximum size of transform skip mode) and MaxTbSizeY (maximum size of transform block) as predetermined condition 5 for determining whether or not luma BDPCM can be applied to luma CU (encoding block).

よって、上述のように、全ての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 predetermined condition 5 may include a condition that BDPCM (Block-wise DPCM) is enabled in SPS (Sequence Parameter Set) (for example, the value of sps_bdpcm_enabled_flag is greater than "0").

所定条件5が全て満たされる場合には、本処理は、ステップS402へ進み、どれか1つでも満たされない場合には、本処理は、ステップS403へ進む。 If all of the predetermined conditions 5 are satisfied, the process proceeds to step S402, and if even one of them is not satisfied, the process proceeds to step S403.

以上のように、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 mode decoding unit 242B determines whether or not the predetermined condition 6 is satisfied.

所定条件6には、当該CUの幅が、後述する方法で算出されるMaxBdpcmWidthC以下であることという条件が含まれていてもよい。 The predetermined condition 6 may include a condition that the width of the CU is less than or equal to MaxBdpcmWidthC calculated by a method described later.

また、所定条件6には、当該CUの高さが、後述する方法で算出されるMaxBdpcmHeightC以下であることという条件が含まれていてもよい。 Further, the predetermined condition 6 may include a condition that the height of the CU is equal to or less than MaxBdpcmHeightC calculated by a method described later.

ここで、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 mode decoding unit 242B is configured to use both MaxTSize (maximum size of transform skip mode) and MaxTbSizeY (maximum size of transform block) as predetermined condition 1 for determining whether chroma BDPCM can be applied to chroma CU (encoding block).

図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 predetermined condition 6 is satisfied for all color difference CUs.

また、輝度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 predetermined condition 6 may include a condition that BDPCM (Block-wise DPCM) is enabled in SPS (Sequence Parameter Set) (for example, the value of sps_bdcpm_enabled_flag is greater than "0").

所定条件6が全て満たされる場合には、本処理は、ステップS502へ進み、どれか1つでも満たされない場合には、本処理は、ステップS503へ進む。 If all of the predetermined conditions 6 are satisfied, the process proceeds to step S502, and if even one of them is not satisfied, the process proceeds to step S503.

以上のように、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 image encoding device 100 and the image decoding device 200 described above may be implemented as a program that causes a computer to execute each function (each process).

なお、上記の各実施形態では、本発明を画像符号化装置100及び画像復号装置200への適用を例にして説明したが、本発明は、かかる例のみに限定されるものではなく、画像符号化装置100及び画像復号装置200の各機能を備えた画像符号化/復号システムにも同様に適用できる。 In the above-described embodiments, the present invention is applied to the image encoding device 100 and the image decoding device 200 as examples, but the present invention is not limited to such examples, and can be applied to an image encoding/decoding system having the functions of the image encoding device 100 and the image decoding device 200.

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 SYMBOLS 10... Image processing system 100... Image encoding apparatus 111, 241... Inter prediction part 112, 242... Intra prediction part 112A... Intra prediction mode determination part 112B... Intra prediction mode encoding part 112C, 242C... Prediction signal generation part 121... Subtractor 122, 230... Adder 131... Transform/quantization part 132, 220... Inverse transform/inverse quantization part 140... Encoding part 150, 250... In-loop filter processing units 160, 260... Frame buffer 200... Image decoding device 210... Decoding unit 242B... Intra prediction mode decoding unit

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を適用可能と判定するように構成されていることを特徴とする請求項に記載の画像復号装置。 The intra prediction mode decoding unit is configured to determine that BDPCM can be applied to the coding block when the width of the coding block is equal to or less than the smaller one of the maximum size of the transform skip mode and the maximum width of the transform block, and the height of the coding block is equal to or less than the smaller value of the maximum size of the transform skip mode and the maximum value of the transform block height. 画像復号装置であって、
符号化ブロックに対して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を適用可能と判定するように構成されていることを特徴とする請求項に記載の画像復号装置。 The image decoding device according to claim 3 , wherein 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 value of the width of the transform block is equal to or less than the maximum size of the transform skip mode and the maximum value of the height of the transform block is equal to or less than the maximum size of the transform skip mode. 符号化ブロックに対してBDPCMを適用可能かどうかについて判定する所定条件として、変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いる工程を有し、
前記工程において、前記符号化ブロックのサイズが前記変換スキップモードの最大サイズ及び前記変換ブロックの最大サイズのうち小さい方の値以下の場合に、前記符号化ブロックに対して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を適用可能かどうかについて判定する所定条件として、変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いる工程を実行させ
前記工程において、前記符号化ブロックのサイズが前記変換スキップモードの最大サイズ及び前記変換ブロックの最大サイズのうち小さい方の値以下の場合に、前記符号化ブロックに対して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を適用可能かどうかについて判定する所定条件として、変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いる工程を有し、 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;
前記工程において、前記変換ブロックの最大サイズが前記変換スキップモードの最大サイズ以下の場合に、全てのサイズの前記符号化ブロックに対して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を適用可能かどうかについて判定する所定条件として、変換スキップモードの最大サイズ及び変換ブロックの最大サイズの両方を用いる工程を実行させ、 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,
前記工程において、前記変換ブロックの最大サイズが前記変換スキップモードの最大サイズ以下の場合に、全てのサイズの前記符号化ブロックに対して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.
JP2020061226A 2020-03-30 2020-03-30 Image decoding device, image decoding method and program Active JP7315509B2 (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021015524A1 (en) 2019-07-19 2021-01-28 주식회사 윌러스표준기술연구소 Method and device for processing video signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
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