# US 2022/0286691 A1 · Method and apparatus for deriving rice parameter in video/image coding system

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

- Number: US 2022/0286691 A1
- Document ID: US20220286691A1
- Status: Published application
- Kind: A1
- Application number: 17/637,290
- Filed: 2020-08-20
- Published: 2022-09-08
- Earliest claimed: 2019-08-23
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jungah CHOI; Jin HEO; Sunmi YOO; Jangwon CHOI; Jaehyun LIM; Seunghwan KIM
- Web page: https://patentgrep.com/patent/US20220286691A1

## CPC

- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video decoding method performed by a decoding apparatus comprises the steps of: acquiring, from a bitstream, residual information for a current transform block, wherein the residual information includes at least one of information indicating a level value of a target transform coefficient within the current transform block or information indicating a residual level value; based on a neighboring transform coefficient of the target transform coefficient, deriving a rice parameter for at least one of the information indicating the level value of the target transform coefficient or the information indicating the residual level value; based on the rice parameter, deriving a bin string for at least one of the information indicating the level value of the target transform coefficient or the information indicating the residual level value; and based on the bin string, deriving the level value of the target transform coefficient.

## Claims

### Claim 1

A video decoding method performed by a decoding apparatus, the method comprising:
obtaining residual information for a current transform block from a bitstream, the residual information including at least one of information representing a level value of a target transform coefficient in the current transform block or information representing a residual level value;
deriving a rice parameter for at least one of the information representing the level value of the target transform coefficient or the information representing the residual level value based on a neighboring transform coefficient of the target transform coefficient;
deriving a bin string for at least one of the information representing the level value of the target transform coefficient or the information representing the residual level value based on the rice parameter; and
deriving the level value of the target transform coefficient based on the bin string,
wherein the rice parameter is derived based on the number of available neighboring transform coefficients for the target transform coefficient and a level value of the available neighboring transform coefficient for the target transform coefficient.

### Claim 2 (depends on 1)

The video decoding method of claim 1, wherein the information representing the level value of the transform coefficient corresponds to a dec_abs_level syntax element, and the information representing the residual level value corresponds to an abs_remainder syntax element.

### Claim 3 (depends on 1)

The video decoding method of claim 1, wherein based on that the neighboring transform coefficient is present within a boundary of the current transform block and is present within an effective area after high-frequency zeroing, the neighboring transform coefficient is determined to be available.

### Claim 4 (depends on 1)

The video decoding method of claim 1, wherein the deriving the rice parameter comprises:
deriving the number of available neighboring transform coefficients for the target transform coefficient;
deriving a sum of level values of the available neighboring transform coefficients; and
deriving the rice parameter based on a difference value between the sum of the level values of the available neighboring transform coefficients and a product between a base level and the number of the available neighboring transform coefficients.

### Claim 5 (depends on 4)

The video decoding method of claim 4, wherein the sum of the level values of the available neighboring transform coefficients is equal to or larger than 0 and equal to or smaller than 31.

### Claim 6 (depends on 4)

The video decoding method of claim 4, wherein based on that the current transform block is not a transform skip block, the number of the available neighboring transform coefficients has an integer value that is equal to or smaller than 5.

### Claim 7 (depends on 6)

The video decoding method of claim 6, wherein if the sum of the level values of the available neighboring transform coefficients is equal to or larger than 0 and equal to or smaller than 6, a value of the rice parameter is 0, if the sum of the level values of the available neighboring transform coefficients is equal to or larger than 7 and equal to or smaller than 13, the value of the rice parameter is 1, if the sum of the level values of the available neighboring transform coefficients is equal to or larger than 14 and equal to or smaller than 27, the value of the rice parameter is 2, and if the sum of the level values of the available neighboring transform coefficients is equal to or larger than 28 and equal to or smaller than 31, the value of the rice parameter is 3.

### Claim 8 (depends on 4)

The video decoding method of claim 4, wherein based on that the current transform block is a transform skip block, the number of the available neighboring transform coefficients has an integer value that is equal to or smaller than 2.

### Claim 9 (depends on 8)

The video decoding method of claim 8, wherein if the sum of the level values of the available neighboring transform coefficients is equal to or larger than 0 and equal to or smaller than 11, a value of the rice parameter is 0, if the sum of the level values of the available neighboring transform coefficients is equal to or larger than 12 and equal to or smaller than 24, the value of the rice parameter is 1, and if the sum of the level values of the available neighboring transform coefficients is equal to or larger than 25 and equal to or smaller than 31, the value of the rice parameter is 2.

### Claim 10 (depends on 8)

The video decoding method of claim 8, wherein the available neighboring transform coefficient is a transform coefficient that is present within a boundary of the current transform block between a transform coefficient adjacent to a left side of the target transform coefficient and a transform coefficient adjacent to a top side of the target transform coefficient.

### Claim 11

A video encoding method performed by an encoding apparatus, the method comprising:
generating at least one of information representing a level value of a target transform coefficient in a current transform block or information representing a residual level value;
deriving a rice parameter for at least one of the information representing the level value of the target transform coefficient or the information representing the residual level value based on a neighboring transform coefficient of the target transform coefficient;
deriving a bin string for at least one of the information representing the level value of the target transform coefficient or the information representing the residual level value based on the rice parameter; and
encoding the bin string,
wherein the rice parameter is derived based on the number of available neighboring transform coefficients for the target transform coefficient and a level value of the available neighboring transform coefficient for the target transform coefficient.

### Claim 12 (depends on 11)

The video encoding method of claim 11, wherein the information representing the level value of the transform coefficient corresponds to a dec_abs_level syntax element, and the information representing the residual level value corresponds to an abs_remainder syntax element.

### Claim 13 (depends on 11)

The video encoding method of claim 11, wherein based on that the neighboring transform coefficient is present within a boundary of the current transform block and is present within an effective area after high-frequency zeroing, the neighboring transform coefficient is determined to be available.

### Claim 14 (depends on 11)

The video encoding method of claim 11, wherein the rice parameter is derived based on a difference value between a sum of level values of available neighboring transform coefficients and a product between a base level and the number of the available neighboring transform coefficients for the target transform coefficient.

### Claim 15

A computer-readable digital storage medium including information causing a decoding apparatus to perform a video decoding method, the video decoding method comprising:
obtaining residual information for a current transform block from a bitstream, the residual information including at least one of information representing a level value of a target transform coefficient in the current transform block or information representing a residual level value;
deriving a rice parameter for at least one of the information representing the level value of the target transform coefficient or the information representing the residual level value based on a neighboring transform coefficient of the target transform coefficient;
deriving a bin string for at least one of the information representing the level value of the target transform coefficient or the information representing the residual level value based on the rice parameter; and
deriving the level value of the target transform coefficient based on the bin string,
wherein the rice parameter is derived based on the number of available neighboring transform coefficients for the target transform coefficient and a level value of the available neighboring transform coefficient for the target transform coefficient.
