# US 10,958,939 B2 · Method of coding transform coefficient based on high frequency zeroing and apparatus thereof

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

- Number: US 10,958,939 B2
- Document ID: US10958939B2
- Status: Granted
- Kind: B2
- Application number: 16/841,062
- Filed: 2020-04-06
- Published: 2020-07-23
- Granted: 2021-03-23
- Earliest claimed: 2018-11-12
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jungah Choi; Sunmi Yoo; Jin Heo; Ling Li; Jangwon Choi; Seunghwan Kim
- Web page: https://patentgrep.com/patent/US10958939B2

## CPC

- H04N 19/647: {using significance based coding, e.g. Embedded Zerotrees of Wavelets [EZW] or Set Partitioning in Hierarchical Trees [SPIHT]}
- H04N 19/124: Quantisation
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/176: the region being a block, e.g. a macroblock
- 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 19/513: Processing of motion vectors
- H04N 19/619: {the transform being operated outside the prediction loop}
- H04N 19/64: characterised by ordering of coefficients or of bits for transmission
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image decoding method performed by a decoding apparatus according to the present disclosure includes receiving a bitstream including residual information; deriving quantized transform coefficients for a current block based on the residual information included in the bitstream; deriving residual samples for the current block based on the quantized transform coefficients; and generating a reconstructed picture based on the residual samples for the current block.

## Claims

### Claim 1

An image decoding method, by a decoding apparatus, comprising:
receiving a bitstream including residual information;
deriving transform coefficients for the current block based on the residual information;
deriving residual samples for the current block by applying inverse transform to the derived transform coefficients; and
generating a reconstructed picture based on the residual samples for the current block,
wherein the current block includes a low frequency transform coefficient region including at least one significant transform coefficient and a region except the low frequency transform coefficient region including transform coefficient 0,
the residual information includes last significant coefficient prefix information and last significant coefficient suffix information on position of last non-zero transform coefficient among the transform coefficients for the current block,
the position of the last non-zero transform coefficient is determined based on a prefix codeword and the last significant coefficient suffix information,
the prefix codeword is related to the last significant coefficient prefix information, and
a maximum length of the prefix codeword is determined based on a size of the low frequency transform coefficient region.

### Claim 2 (depends on 1)

The image decoding method of claim 1, wherein the size of the low frequency transform coefficient region is determined based on a width and height of the low frequency transform coefficient region, and
the last significant coefficient prefix information includes x-axis prefix information and y-axis prefix information, and the prefix codeword is a codeword for the x-axis prefix information or a codeword for the y-axis prefix information.

### Claim 3 (depends on 2)

The image decoding method of claim 2, wherein a maximum length of the codeword, which indicates the x-axis prefix information, is determined to be 9 based on the width of the low frequency transform coefficient region being 32, and
a maximum length of the codeword, which indicates the y-axis prefix information, is determined to be 9 based on the height of the low frequency transform coefficient region being 32.

### Claim 4 (depends on 3)

The image decoding method of claim 3, wherein a maximum binarized value of the codeword for the x-axis prefix information is determined to be 111111111 based on a width of the current block being greater than 32, and that the width of the low frequency transform coefficient region is 32, and
a maximum binarized value of the codeword for the y-axis prefix information is determined to be 111111111 based on a height of the current block being greater than 32, and that the height of the low frequency transform coefficient region is 32.

### Claim 5 (depends on 2)

The image decoding method of claim 2, wherein a maximum length of the codeword for the x-axis prefix information is determined based on cMaxx, wherein cMaxx being calculated based on the following equation:
cMaxx=(log 2(Min(W1,W2))<<1)−1
where cMaxx is equal to the maximum length of the codeword for the x-axis prefix information; the W1 is a width of the current block; and the W2 is a width of the low frequency transform coefficient region.

### Claim 6 (depends on 5)

The image decoding method of claim 5, wherein a width of the low frequency transform coefficient region is 32, and
a maximum length of the codeword for the x-axis prefix information is determined based on cMaxx, wherein cMaxx being calculated based on the following equation:
cMaxx=(Min(log2W1,5))<<1)−1
where cMaxx is equal to the maximum length of the codeword for the x-axis prefix information, and the W1 is a width of the current block.

### Claim 7 (depends on 2)

The image decoding method of claim 2, wherein a maximum length of the codeword for the y-axis prefix information is determined based on cMaxy, wherein cMaxx being calculated based on the following equation:
cMaxy=(log 2(Min(H1,H2))<<1)−1
where cMaxy is equal to the maximum length of the codeword for the y-axis prefix information; the H1 is a height of the current block; and the H2 is a height of the low frequency transform coefficient region.

### Claim 8 (depends on 7)

The image decoding method of claim 7, wherein the height of the low frequency transform coefficient is 32, and
the maximum length of the codeword for the y-axis prefix information is determined based on cMaxy, wherein cMaxx being calculated based on the following equation:
cMaxy=(Min(log2H1,5))<<1)−1
where cMaxy is equal to the maximum length of the codeword for the y-axis prefix information, and the H1 is a height of the current block.

### Claim 9 (depends on 1)

The image decoding method of claim 1, wherein the current block is a square block or a non-square block,
a width of the low frequency transform coefficient region is determined to be 32 based on a width of the current block being 64, and
a height of the low frequency transform coefficient region is determined to be 32 based on a height of the current block being 64.

### Claim 10 (depends on 1)

The image decoding method of claim 1, wherein the size of the low frequency transform coefficient region is one of 32×16, 16×32, 16×16 or 32×32.

### Claim 11 (depends on 1)

The image decoding method of claim 1, wherein the size of the low frequency transform coefficient region is determined based on a size of the current block.

### Claim 12 (depends on 1)

The image decoding method of claim 1, wherein the residual information includes information on the size of the low frequency transform coefficient region.

### Claim 13 (depends on 1)

The image decoding method of claim 1, wherein a size of the current block is 64×64, the size of the low frequency transform coefficient region is 32×32, and a maximum length of the prefix codeword is 9.

### Claim 14

An image encoding method, by an encoding apparatus, comprising:
deriving residual samples for a current block;
deriving transform coefficients for the current block based on the residual samples for the current block; and
encoding residual information related with the transform coefficients, wherein the current block includes a low frequency transform coefficient region including at least one significant transform coefficient and a region except the low frequency transform coefficient region including transform coefficient 0,
the residual information includes last significant coefficient prefix information and last significant coefficient suffix information on position of a last non-zero transform coefficient among the transform coefficients for the current block,
the position of the last non-zero transform coefficient is based on a prefix codeword and the last significant coefficient suffix information,
the prefix codeword is related to the last significant coefficient prefix information, and
a maximum length of the prefix codeword is determined based on a size of the low frequency transform coefficient region.

### Claim 15

A non-transitory computer readable storage medium storing encoded information causing a decoding apparatus to perform an image decoding method, the method comprising;
receiving a bitstream including residual information;
deriving transform coefficients for the current block based on the residual information;
deriving residual samples for the current block by applying inverse transform to the derived transform coefficients; and
generating a reconstructed picture based on the residual samples for the current block,
wherein the current block includes a low frequency transform coefficient region including at least one significant transform coefficient and a region except the low frequency transform coefficient region including transform coefficient 0,
wherein the residual information includes last significant coefficient prefix information and last significant coefficient suffix information on position of last non-zero transform coefficient among the transform coefficients for the current block,
wherein the position of the last non-zero transform coefficient is determined based on a prefix codeword and the last significant coefficient suffix information,
wherein the prefix codeword is related to the last significant coefficient prefix information, and
wherein a maximum length of the prefix codeword is determined based on a size of the low frequency transform coefficient region.
