# US 2023/0067360 A1 · Image coding apparatus, image coding method, and program, and image decoding apparatus, image decoding method, and program

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

- Number: US 2023/0067360 A1
- Document ID: US20230067360A1
- Status: Published application
- Kind: A1
- Application number: 18/048,367
- Filed: 2022-10-20
- Published: 2023-03-02
- Earliest claimed: 2018-06-27
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Osamu Kawaguchi; Masato Shima
- Web page: https://patentgrep.com/patent/US20230067360A1

## CPC

- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/124: Quantisation
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/1883: {the unit relating to sub-band structure, e.g. hierarchical level, directional tree, e.g. low-high [LH], high-low [HL], high-high [HH]}
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Control over encoding of a quantization parameter is appropriately enabled with not only square sub-blocks but also rectangular sub-blocks by using a quantization control size adaptively according to a shape of sub-blocks, with the result that coding efficiency is improved.

## Claims

### Claim 1

An image encoding apparatus capable of encoding an image in units of blocks, the image encoding apparatus comprising:
a first splitting unit configured to split an image into a plurality of coding tree units;
a second splitting unit configured to split a coding tree unit into a plurality of blocks;
a comparing unit configured to compare a division value with a threshold for determining a block group to share a quantization parameter, the division value being a value that increases as a number of times the coding tree unit is split increases, the block group being capable of including at least a plurality of blocks of which the division value is greater than the threshold;
an encoding unit configured to encode data indicating a value of a quantization parameter in accordance with a comparison result obtained by the comparing unit; and
a filtering unit configured to perform deblocking filtering,
wherein, in a case where at least any block included in the block group includes a non-zero coefficient,
the encoding unit is configured to encode first data indicating a first value of a quantization parameter shared in the block group in association with the block including the non-zero coefficient,
wherein, in a case where the block group consists of three blocks and the three blocks included in the block group do not include a non-zero coefficient,
the encoding unit is configured not to encode the first data for the block group, and the filtering unit is configured to perform deblocking filtering on the three blocks included in the block group by using a second value of a quantization parameter which is a value derived by calculating a mean value of quantization parameters for blocks other than the block group, and
wherein the encoding unit is configured to encode, into a bitstream, information for specifying a type of splitting used for the splitting into the plurality of blocks.

### Claim 2

An image decoding apparatus capable of decoding a bitstream encoded by splitting an image into a plurality of coding tree units and splitting a coding tree unit into a plurality of blocks, the image decoding apparatus comprising:
a comparing unit configured to compare a division value with a threshold for determining a block group to share a quantization parameter, the division value being a value that increases as a number of times the coding tree unit is split increases, the block group being capable of including at least a plurality of blocks of which the division value is greater than the threshold;
a decoding unit configured to decode data indicating a value of a quantization parameter in accordance with a comparison result obtained by the comparing unit; and
a filtering unit configured to perform deblocking filtering,
wherein, in a case where at least any block included in the block group includes a non-zero coefficient, the decoding unit is configured to decode first data indicating a first value of a quantization parameter shared in the block group in processing the block including the non-zero coefficient,
wherein, in a case where the block group consists of three blocks and the three blocks included in the block group do not include a non-zero coefficient,
the decoding unit is configured not to decode the first data for the block group, and the filtering unit is configured to perform deblocking filtering on the three blocks included in the block group by using a second value of a quantization parameter which is a value derived by calculating a mean value of quantization parameters for blocks other than the block group, and
wherein the decoding unit is configured to decode, from the bitstream, information for specifying a type of splitting used for the splitting into the plurality of blocks.

### Claim 3

An image encoding method for encoding an image in units of blocks, the image encoding method comprising:
splitting an image into a plurality of coding tree units;
splitting a coding tree unit into a plurality of blocks;
comparing a division value with a threshold for determining a block group to share a quantization parameter, the division value being a value that increases as a number of times the coding tree unit is split increases, the block group being capable of including at least a plurality of blocks of which the division value is greater than the threshold; and
encoding data indicating a value of a quantization parameter in accordance with a comparison result,
wherein, in a case where at least any block included in the block group includes a non-zero coefficient,
first data indicating a first value of a quantization parameter shared in the block group is encoded in association with the block including the non-zero coefficient,
wherein, in a case where the block group consists of three blocks and the three blocks included in the block group do not include a non-zero coefficient,
the first data for the block group is not encoded, and the image encoding method further comprises performing deblocking filtering on the three blocks included in the block group by using a second value of a quantization parameter which is a value derived by calculating a mean value of quantization parameters for blocks other than the block group, and
wherein the image encoding method further comprises encoding, into the bitstream, information for specifying a type of splitting used for the splitting into the plurality of blocks.

### Claim 4

An image decoding method for decoding a bitstream encoded by splitting an image into a plurality of coding tree units and splitting a coding tree unit into a plurality of blocks, the image decoding method comprising:
comparing a division value with a threshold for determining a block group to share a quantization parameter, the division value being a value that increases as a number of times the coding tree unit is split increases, the block group being capable of including at least a plurality of blocks of which the division value is greater than the threshold; and
decoding data indicating a value of a quantization parameter in accordance with a comparison result;
wherein, in a case where at least any block included in the block group includes a non-zero coefficient,
first data indicating a first value of a quantization parameter shared in the block group is decoded in processing the block including the non-zero coefficient,
wherein, in a case where the block group consists of three blocks and the three blocks included in the block group do not include a non-zero coefficient,
the first data for the block group is not decoded, and the image decoding method further comprises performing deblocking filtering on the three blocks included in the block group by using a second value of a quantization parameter which is a value derived by calculating a mean value of quantization parameters for blocks other than the block group, and
wherein the image decoding method further comprises decoding, from the bitstream, information for specifying a type of splitting used for the splitting into the plurality of blocks.

### Claim 5

A non-transitory computer readable medium storing a computer-executable program for causing a computer to perform an image encoding method for encoding an image in units of blocks, the image encoding method comprising:
splitting an image into a plurality of coding tree units;
splitting a coding tree unit into a plurality of blocks;
comparing a division value with a threshold for determining a block group to share a quantization parameter, the division value being a value that increases as a number of times the coding tree unit is split increases, the block group being capable of including at least a plurality of blocks of which the division value is greater than the threshold; and
encoding data indicating a value of a quantization parameter in accordance with a comparison result,
wherein, in a case where at least any block included in the block group includes a non-zero coefficient,
first data indicating a first value of a quantization parameter shared in the block group is encoded in association with the block including the non-zero coefficient,
wherein, in a case where the block group consists of three blocks and the three blocks included in the block group do not include a non-zero coefficient,
the first data for the block group is not encoded, and the image encoding method further comprises performing deblocking filtering on the three blocks included in the block group by using a second value of a quantization parameter which is a value derived by calculating a mean value of quantization parameters for blocks other than the block group, and
wherein the image encoding method further comprises encoding, into a bitstream, information for specifying a type of splitting used for the splitting into the plurality of blocks.

### Claim 6

A non-transitory computer readable medium storing a computer-executable program for causing a computer to perform an image decoding method for decoding a bitstream encoded by splitting an image into a plurality of coding tree units and splitting a coding tree unit into a plurality of blocks, the image decoding method comprising:
comparing a division value with a threshold for determining a block group to share a quantization parameter, the division value being a value that increases as a number of times the coding tree unit is split increases, the block group being capable of including at least a plurality of blocks of which the division value is greater than the threshold; and
decoding data indicating a value of a quantization parameter in accordance with a comparison result,
wherein, in a case where at least any block included in the block group includes a non-zero coefficient,
first data indicating a first value of a quantization parameter shared in the block group is decoded in processing the block including the non-zero coefficient,
wherein, in a case where the block group consists of three blocks and the three blocks included in the block group do not include a non-zero coefficient,
the first data for the block group is not decoded, and the image decoding method further comprises performing deblocking filtering on the three blocks included in the block group by using a second value of a quantization parameter which is a value derived by calculating a mean value of quantization parameters for blocks other than the block group, and
wherein the image decoding method further comprises decoding, from the bitstream, information for specifying a type of splitting used for the splitting into the plurality of blocks.
