# US 2022/0046246 A1 · Transform-based image coding method and device therefor

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

- Number: US 2022/0046246 A1
- Document ID: US20220046246A1
- Status: Published application
- Kind: A1
- Application number: 17/431,908
- Filed: 2020-03-12
- Published: 2022-02-10
- Earliest claimed: 2019-03-12
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Moonmo KOO; Jaehyun LIM; Jungah CHOI; Seunghwan KIM; Mehdi SALEHIFAR
- Web page: https://patentgrep.com/patent/US20220046246A1

## CPC

- 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/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- 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/18: the unit being a set of transform coefficients
- 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/60: using transform coding
- H04N 19/625: using discrete cosine transform [DCT]
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image decoding method according to the present document comprises a step for deriving a residual sample, wherein the step for deriving the residual sample comprises the steps of: deriving a zero out block for a current block; deriving a context model for last significant coefficient location information on the basis of the width or height of the current block; deriving a value of a last significant coefficient location on the basis of the context model; and deriving the last significant coefficient location on the basis of a value of the last significant coefficient location information and the width or height of the zero out block.

## Claims

### Claim 1

An image decoding method performed by a decoding apparatus, the method comprising:
receiving a bitstream comprising residual information;
deriving transform coefficients for a current block based on the residual information;
deriving residual samples for the current block based on the transform coefficients; and
generating a reconstructed picture based on the residual samples,
wherein the residual information comprises last significant coefficient position information, and
wherein the deriving of the residual samples comprises:
deriving a zero-out block for the current block;
deriving a context model for the last significant coefficient position information based on a width or a height of the current block;
deriving a value of the last significant coefficient position information based on the context model; and
deriving a last significant coefficient position based on the value of the last significant coefficient position information and a width or a height of the zero-out block.

### Claim 2 (depends on 1)

The image decoding method of claim 1, wherein the width of the zero-out block is smaller than the width of the current block.

### Claim 3 (depends on 1)

The image decoding method of claim 1, wherein the height of the zero-out block is smaller than the height of the current block.

### Claim 4 (depends on 1)

The image decoding method of claim 1, wherein the last significant coefficient position information comprises last significant coefficient prefix information and last significant coefficient suffix information,
wherein the last significant coefficient prefix information comprises x-axis prefix information and y-axis prefix information, and
wherein a context increment for the x-axis prefix information and the y-axis prefix information is derived based on the width or the height of the current block.

### Claim 5 (depends on 4)

The image decoding method of claim 4, wherein a maximum value allowed for the last significant coefficient prefix information is derived based on a size of the zero-out block.

### Claim 6 (depends on 1)

The image decoding method of claim 1, wherein the width or the height of the zero-out block is derived based on the width or the height of the current block.

### Claim 7 (depends on 6)

The image decoding method of claim 6, wherein based on the width of the current block being 32 and the height of the current block being 32 or less, the width of the zero-out block is set to 16, and
wherein based on the width of the current block being not 32 or the height of the current block being 64 or greater, the width of the zero-out block is set to a smaller value of the width of the current block and 32.

### Claim 8 (depends on 6)

The image decoding method of claim 6, wherein based on the height of the current block being 32 and the width of the current block being 32 or less, the height of the zero-out block is set to 16, and
wherein based on the height of the current block being not 32 or the width of the current block being 64 or greater, the height of the zero-out block is set to a smaller value of the height of the current block and 32.

### Claim 9

An image encoding method performed by an image encoding apparatus, the method comprising:
deriving residual samples for a current block;
deriving quantized transform coefficients based on the residual samples for the current block; and
encoding residual information comprising information on the quantized transform coefficients,
wherein the residual information comprises last significant coefficient position information, and
wherein the encoding of the residual information comprises:
deriving a zero-out block for the current block;
deriving a last significant coefficient position based on a width or a height of the zero-out block;
deriving a context model for the last significant coefficient position information based on a width or a height of the current block; and
encoding the last significant coefficient position information based on the context model.

### Claim 10 (depends on 9)

The image encoding method of claim 9, wherein the width of the zero-out block is smaller than the width of the current block.

### Claim 11 (depends on 9)

The image encoding method of claim 9, wherein the height of the zero-out block is smaller than the height of the current block.

### Claim 12 (depends on 9)

The image encoding method of claim 9, wherein the last significant coefficient position information comprises last significant coefficient prefix information and last significant coefficient suffix information,
wherein the last significant coefficient prefix information comprises x-axis prefix information and y-axis prefix information, and
wherein a context increment for the x-axis prefix information and the y-axis prefix information is derived based on the width or the height of the current block.

### Claim 13 (depends on 12)

The image encoding method of claim 12, wherein a maximum value allowed for the last significant coefficient prefix information is derived based on a size of the zero-out block.

### Claim 14 (depends on 9)

The image encoding method of claim 9, wherein the width or the height of the zero-out block is derived based on the width or the height of the current block.

### Claim 15

A computer-readable digital storage medium that stores indication information to cause an image decoding method to be performed, the image decoding method comprising:
receiving a bitstream comprising residual information;
deriving quantized transform coefficients for a current block based on the residual information;
deriving residual samples for the current block based on the quantized transform coefficients; and
generating a reconstructed picture based on the residual samples,
wherein the residual information comprises last significant coefficient position information, and
wherein the deriving of the residual sample comprises:
deriving a zero-out block for the current block;
deriving a context model for the last significant coefficient position information based on a width or a height of the current block;
deriving a value of the last significant coefficient position information based on the context model; and
deriving a last significant coefficient position based on the value of the last significant coefficient position information and a width or a height of the zero-out block.
