# US 2022/0286700 A1 · Image or video coding based on palette escape coding

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

- Number: US 2022/0286700 A1
- Document ID: US20220286700A1
- Status: Published application
- Kind: A1
- Application number: 17/638,628
- Filed: 2020-08-26
- Published: 2022-09-08
- Earliest claimed: 2019-08-26
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jie ZHAO; Seunghwan KIM; Seethal PALURI
- Web page: https://patentgrep.com/patent/US20220286700A1

## CPC

- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/124: Quantisation
- H04N 19/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- 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/176: the region being a block, e.g. a macroblock
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

According to the disclosure of the present document, information used in a palette coding mode may be effectively signaled. For example, information relating to availability of a palette mode may be signaled, and information relating to a quantized escape value may be signaled on the basis of the information relating to the availability of the palette mode. In addition, as a quantization parameter for the quantized escape value, minimum quantization parameter information relating to a transform skip mode may be signaled. Accordingly, information required for palette mode coding can be efficiently signaled, and escape coding efficiency in a palette mode can be improved.

## Claims

### Claim 1

An image decoding method performed by a decoding apparatus, comprising:
obtaining image information including information on whether a palette mode is enabled from a bitstream;
deriving a quantized escape value for a current block based on the information on whether the palette mode is enabled;
deriving an escape value for the current block based on the quantized escape value and a quantization parameter; and
generating reconstructed samples based on the escape value,
wherein the image information includes minimum quantization parameter information for a transform skip mode, and
wherein the quantization parameter is derived based on the minimum quantization parameter information for the transform skip mode.

### Claim 2 (depends on 1)

The image decoding method of claim 1, wherein the quantization parameter has a value greater than or equal to a minimum quantization parameter value derived from the minimum quantization parameter information for the transform skip mode.

### Claim 3 (depends on 1)

The image decoding method of claim 1, wherein for the current block including at least one escape-coded sample, the quantized escape value is included in the image information.

### Claim 4 (depends on 1)

The image decoding method of claim 1, wherein a range of the quantized escape value is determined based on a bit depth (BitDepth).

### Claim 5 (depends on 4)

The image decoding method of claim 4, wherein the bit depth includes a bit depth BitDepthY for a luma component and a bit depth BitDepthC for a chroma component,
wherein a range of the quantized escape value information for the luma component has a value between 0 and (1<<BitDepthY)−1, and a range of the quantized escape value information for the chroma component has a value between 0 and (1<<BitDepthC)−1.

### Claim 6 (depends on 1)

The image decoding method of claim 1, wherein the image information includes a sequence parameter set (SPS),
wherein the SPS includes the minimum quantization parameter information for the transform skip mode.

### Claim 7 (depends on 1)

The image decoding method of claim 1, wherein the image information includes palette size information about a maximum index of a palette table,
wherein the palette size information is a preset value or is determined based on the size of a coding unit.

### Claim 8 (depends on 1)

The image decoding method of claim 1, further comprising:
configuring a palette table based on palette entry information;
configuring a palette index map for the current block based on palette index information;
deriving sample values for palette entries in the palette table based on the palette index map; and
generating the reconstructed samples based on the palette index map and the sample values for the palette entries,
wherein the image information includes the palette entry information and the palette index information.

### Claim 9

An image encoding method performed by an encoding apparatus, comprising:
determining whether a palette mode is enabled for a current block;
deriving an escape value for the current block based on whether the palette mode is enabled;
deriving a quantized escape value based on the escape value and a quantization parameter; and
encoding image information including the information on whether the palette mode is enabled and information on the quantized escape value,
wherein the image information includes minimum quantization parameter information for a transform skip mode, and
wherein the quantization parameter is derived based on the minimum quantization parameter information for the transform skip mode.

### Claim 10 (depends on 9)

The image encoding method of claim 9, wherein the quantization parameter has a value greater than or equal to a minimum quantization parameter value derived from the minimum quantization parameter information for the transform skip mode.

### Claim 11 (depends on 9)

The image encoding method of claim 9, wherein for the current block including at least one escape-coded sample, the quantized escape value is included in the image information.

### Claim 12 (depends on 9)

The image encoding method of claim 9, wherein a range of the quantized escape value is determined based on a bit depth (BitDepth).

### Claim 13 (depends on 12)

The image encoding method of claim 12, wherein the bit depth includes a bit depth BitDepthY for a luma component and a bit depth BitDepthC for a chroma component,
wherein a range of the quantized escape value information for the luma component has a value between 0 and (1<<BitDepthY)−1, and a range of the quantized escape value information for the chroma component has a value between 0 and (1<<BitDepthC)−1.

### Claim 14 (depends on 9)

The image encoding method of claim 9, wherein the image information includes a sequence parameter set (SPS),
wherein the SPS includes the minimum quantization parameter information for the transform skip mode.

### Claim 15 (depends on 9)

The image encoding method of claim 9, wherein the image information includes palette size information about a maximum index of a palette table,
wherein the palette size information is a preset value or is determined based on the size of a coding unit.

### Claim 16 (depends on 9)

The image encoding method of claim 9, further comprising:
generating palette entry information based on sample values of the current block;
generating palette index information for the current block based on the palette entry information; and
encoding the image information including the palette entry information and the palette index information.

### Claim 17

A non-transitory computer readable storage medium storing a bitstream generated by a method, the method comprising: performing determining whether a palette mode is enabled for a current block, deriving an escape value for the current block based on whether the palette mode is enabled, deriving a quantized escape value based on the escape value and a quantization parameter, and generating the bitstream by encoding image information including the information on whether the palette mode is enabled and information on the quantized escape value,
wherein the image information includes minimum quantization parameter information for a transform skip mode, and
wherein the quantization parameter is derived based on the minimum quantization parameter information for the transform skip mode.
