# US 2015/0103890 A1 · Image coding method, image decoding method, image coding apparatus, image decoding apparatus, image coding and decoding apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0103890 A1
- Document ID: US20150103890A1
- Status: Published application
- Kind: A1
- Application number: 14/566,100
- Filed: 2014-12-10
- Published: 2015-04-16
- Earliest claimed: 2012-09-06
- Assignees: Panasonic Intellectual Property Corporation of America
- Applicants: Panasonic Intellectual Property Corporation of America
- Inventors: Kengo TERADA; Youji SHIBAHARA; Kyoko TANIKAWA; Hisao SASAI; Toshiyasu SUGIO; Toru MATSUNOBU
- Web page: https://patentgrep.com/patent/US20150103890A1

## CPC

- H04N 19/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- H04N 19/124: Quantisation
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/90: using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image coding method includes: coding (i) coefficient information, (ii) a first flag indicating whether to quantize one or more blocks using quantization, (iii) a second flag indicating whether the plurality of quantization matrices are included in a sequence parameter set, and (iv) a third flag indicating whether the plurality of quantization matrices are included in a picture parameter set; and quantizing the plurality of coefficients, wherein when the one or more blocks are quantized using a plurality of default matrices, the following are coded in the coding: (i) the first flag indicating that the one or more blocks are quantized using the plurality of quantization matrices, (ii) the second flag indicating that the plurality of quantization matrices are not included in the sequence parameter set, and (iii) the third flag indicating that the plurality of quantization matrices are not included in the picture parameter set.

## Claims

### Claim 1

An image decoding method for decoding an image, the method comprising:
decoding coefficient information indicating a plurality of coefficients of blocks in the image and quantization information used in inverse quantization of the plurality of coefficients; and
inverse-quantizing the plurality of coefficients,
wherein the quantization information includes at least one of (i) a first flag indicating whether or not the blocks have been quantized using a plurality of quantization matrices each having coefficients respectively corresponding to the plurality of coefficients, (ii) a second flag indicating whether or not the plurality of quantization matrices are included in a sequence parameter set, and (iii) a third flag indicating whether or not the plurality of quantization matrices are included in a picture parameter set, and
when only the following have been decoded as the quantization information in the decoding: (i) the first flag indicating that the blocks have been quantized using the plurality of quantization matrices, (ii) the second flag indicating that the plurality of quantization matrices are not included in the sequence parameter set, and (iii) the third flag indicating that the plurality of quantization matrices are not included in the picture parameter set, all of the blocks are inverse-quantized in the inverse-quantizing using only the plurality of default matrices as the plurality of quantization matrices.

### Claim 2 (depends on 1)

The image decoding method according to claim 1,
wherein when the first flag has been decoded which indicates that the blocks have not been quantized using the plurality of quantization matrices, the blocks are inverse-quantized in the inverse-quantizing using the plurality of flat matrices each having same coefficients instead of the plurality of quantization matrices.

### Claim 3 (depends on 1)

The image decoding method according to claim 1,
wherein in the inverse-quantizing:
the blocks have been inverse-quantized using the plurality of quantization matrices included in the sequence parameter set, when the following have been decoded: the first flag indicating that the blocks have been quantized using the plurality of quantization matrices and the second flag indicating that the plurality of quantization matrices are included in the sequence parameter set; and
the blocks are inverse-quantized using the plurality of quantization matrices included in the picture parameter set, when the following have been decoded: the first flag indicating that the blocks have been quantized using the plurality of quantization matrices and the third flag indicating that the plurality of quantization matrices are included in the picture parameter set.

### Claim 4 (depends on 3)

The image decoding method according to claim 3,
wherein when a parameter set which is one of the sequence parameter set and the picture parameter set includes the plurality of quantization matrices including a first quantization matrix and a second quantization matrix, and the parameter set includes an identifier indicating the second quantization matrix as a copy matrix identifier indicating a matrix whose copy is used as the first quantization matrix, the blocks are inverse-quantized in the inverse-quantizing using the plurality of quantization matrices including the first quantization matrix as which a copy of the second quantization matrix is used; and
when the parameter set includes the plurality of quantization matrices including the first quantization matrix, and the parameter set includes an identifier indicating one of the default matrices as the copy matrix identifier, the blocks are inverse-quantized in the inverse-quantizing using the plurality of quantization matrices including the first quantization matrix as which a copy of the default matrix is used.

### Claim 5 (depends on 1)

The image decoding method according to claim 1, further comprising:
setting a plurality of sequence quantization matrices for a sequence including a picture; and
setting a plurality of picture quantization matrices for the picture,
wherein the blocks of the picture is inverse-quantized in the inverse-quantizing using, as the plurality of quantization matrices, the plurality of picture quantization matrices which have been set for the picture, when the first flag is has been decoded which indicates that the blocks have been quantized using the plurality of quantization matrices, and
in the setting:
the plurality of default matrices for the sequence are set as the plurality of sequence quantization matrices, when the second flag has been decoded which indicates that the plurality of quantization matrices are not included in the sequence parameter set; and
the plurality of sequence quantization matrices which have been set for the sequence are set for the picture as the plurality of picture quantization matrices, when the third flag has been decoded which indicates that the plurality of quantization matrices are not included in the picture parameter set.

### Claim 6 (depends on 1)

The image decoding method according to claim 1,
wherein when the following have been decoded: (i) the first flag indicating that the blocks have been quantized using the plurality of quantization matrices; (ii) the second flag indicating that the plurality of quantization matrices are not included in the sequence parameter set; and (iii) the third flag indicating that the plurality of quantization matrices are not included in the picture parameter set,
a block not subject to transform is inverse-quantized in the inverse-quantizing using a flat matrix having same coefficients, and a block subject to transform is inverse-quantized in the inverse-quantizing using one of the default matrices.

### Claim 7

An image decoding apparatus which decodes an image, the apparatus comprising:
processing circuitry; and
storage accessible from the processing circuitry,
wherein the processing circuitry executes, using the storage,
decoding coefficient information indicating a plurality of coefficients of blocks in the image and quantization information used in inverse quantization of the plurality of coefficients; and
inverse-quantizing the plurality of coefficients,
wherein the quantization information includes at least one of (i) a first flag indicating whether or not the blocks have been quantized using a plurality of quantization matrices each having coefficients respectively corresponding to the plurality of coefficients, (ii) a second flag indicating whether or not the plurality of quantization matrices are included in a sequence parameter set, and (iii) a third flag indicating whether or not the plurality of quantization matrices are included in a picture parameter set, and
when only the following have been decoded as the quantization information in the decoding: (i) the first flag indicating that the blocks have been quantized using the plurality of quantization matrices, (ii) the second flag indicating that the plurality of quantization matrices are not included in the sequence parameter set, and (iii) the third flag indicating that the plurality of quantization matrices are not included in the picture parameter set, all of the blocks are inverse-quantized in the inverse-quantizing using only the plurality of default matrices as the plurality of quantization matrices.

### Claim 8

An image decoding apparatus which decodes an image, the apparatus comprising:
a decoder which decodes decoding coefficient information indicating a plurality of coefficients of blocks in the image and quantization information used in inverse quantization of the plurality of coefficients; and
an inverse quantizing unit configured to perform inverse quantization on the plurality of coefficients,
wherein the quantization information includes at least one of (i) a first flag indicating whether or not the blocks have been quantized using a plurality of quantization matrices each having coefficients respectively corresponding to the plurality of coefficients, (ii) a second flag indicating whether or not the plurality of quantization matrices are included in a sequence parameter set, and (iii) a third flag indicating whether or not the plurality of quantization matrices are included in a picture parameter set, and
when only the following have been decoded as the quantization information in the decoding: (i) the first flag indicating that the blocks have been quantized using the plurality of quantization matrices, (ii) the second flag indicating that the plurality of quantization matrices are not included in the sequence parameter set, and (iii) the third flag indicating that the plurality of quantization matrices are not included in the picture parameter set, the inverse quantizing unit is configured to perform inverse quantization on all of the blocks using only the plurality of default matrices as the plurality of quantization matrices.
