# US 2025/0379979 A1 · Method and device for encoding/decoding image using color space conversion, and method for transmitting bitstream

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

- Number: US 2025/0379979 A1
- Document ID: US20250379979A1
- Status: Published application
- Kind: A1
- Application number: 19/244,492
- Filed: 2025-06-20
- Published: 2025-12-11
- Earliest claimed: 2019-10-28
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jie ZHAO; Seung Hwan KIM; Hendry HENDRY; Seethal PALURI
- Web page: https://patentgrep.com/patent/US20250379979A1

## CPC

- H04N 19/124: Quantisation
- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- 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/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/60: using transform coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Provided are an image encoding/decoding method and device. An image decoding method performed by an image decoding device according to the present disclosure includes the steps of: determining a quantization parameter of the current block on the basis of whether color space conversion is applied to a residual sample of the current block; determining a transform coefficient of the current block on the basis of the quantization parameter; determining the residual sample of the current block by using the transform coefficient; and resetting the value of the residual sample on the basis of whether the color space conversion is applied.

## Claims

### Claim 1

An image decoding method performed by an image decoding apparatus, the method comprising:
determining a current block by partitioning a picture;
determining a tree type of the current block;
determining quantization parameter of the current block based on a color space conversion for a residual sample of the current block;
determining transformation coefficient of the current block based on the quantization parameter;
determining the residual sample of the current block based on the transformation coefficient; and
resetting a value of the residual sample based on the color space conversion being applied;
wherein the quantization parameter is derived by clipping operation based on a value of transformation skip flag of the current block;
wherein the determining of the quantization parameter is performed based on clipping on the quantization parameter such that a value of the quantization parameter has a value less than or equal to a predetermined upper limit value and greater than or equal to a predetermined lower limit value,
wherein the predetermined upper limit value is derived based on sum of quantization parameter range offset and a predetermined constant value,
wherein the whether the color space conversion for the residual sample of the current block is applied is derived based on the tree type of the current block, and
wherein the color space conversion is not applied based on the tree type of the current block not being a single tree.

### Claim 2 (depends on 1)

The method of claim 1, wherein the predetermined constant value is 63.

### Claim 3 (depends on 1)

The method of claim 1, wherein the quantization parameter is derived based on initial quantization parameter derived based on a color component of the current block.

### Claim 4 (depends on 1)

The method of claim 1, wherein the quantization parameter is derived based on quantization parameter offset derived based on a color component of the current block.

### Claim 5 (depends on 4)

The method of claim 4, wherein a size of the quantization parameter offset is derived as 5 based on the color component of the current block being a luma component and the color space conversion being applied.

### Claim 6 (depends on 4)

The method of claim 4, wherein a size of the quantization parameter offset is derived as 3 based on the color component of the current block being a chroma Cr component and the color space conversion being applied.

### Claim 7 (depends on 4)

The method of claim 4,
wherein subtraction result based on a size of a first value of the quantization parameter offset and a size of a second value of the quantization parameter offset is 2,
wherein based on the color space conversion being applied, the first value is derived based on the quantization parameter offset of the color component of the current block being a chroma Cr component, and the second value is derived based on the quantization parameter offset of the color component of the current block being a chroma Cb component.

### Claim 8 (depends on 1)

The method of claim 1, wherein the predetermined lower limit value is derived based on the transformation skip flag of the current block.

### Claim 9 (depends on 1)

The method of claim 1, wherein based on the transformation skip flag indicating not applying the transformation for the current block, the predetermined lower limit value is derived as minimum allowed quantization parameter for transform skip mode.

### Claim 10 (depends on 1)

The method of claim 1, wherein based on the information on applying transformation indicating that applying the transformation for the current block is determined by other syntax elements, the predetermined lower limit value is derived as 0.

### Claim 11 (depends on 1)

The method of claim 1, wherein a value of the quantization parameter range offset is derived based on a syntax element for a bit depth of the current block.

### Claim 12

An image encoding method performed by an image encoding apparatus, the method comprising:
determining a current block by partitioning a picture;
determining a tree type of the current block;
resetting a residual sample based on color space conversion being applied;
determining transform coefficient based on the reset residual sample;
determining quantization parameter based on the color space conversion being applied; and
encoding the transform coefficient based on the quantization parameter,
wherein the determining of the quantization parameter is performed by performing clipping on the quantization parameter such that a value of the quantization parameter has a value less than or equal to a predetermined upper limit value and greater than or equal to a predetermined lower limit value,
wherein the predetermined upper limit value is derived based on sum of quantization parameter range offset and a predetermined constant value,
wherein the whether the color space conversion for the residual sample of the current block is applied is derived based on the tree type of the current block, and
wherein the color space conversion is not applied based on the tree type of the current block not being a single tree.

### Claim 13 (depends on 12)

The method of claim 12, wherein the predetermined constant value is 63.

### Claim 14

A method of transmitting a bitstream generated by an image encoding method, the image encoding method comprising:
determining a current block by partitioning a picture;
determining a tree type of the current block;
resetting a residual sample based on color space conversion being applied;
determining transform coefficient based on the reset residual sample;
determining quantization parameter based on the color space conversion being applied; and
encoding the transform coefficient based on the quantization parameter,
wherein the determining of the quantization parameter is performed by performing clipping on the quantization parameter such that a value of the quantization parameter has a value less than or equal to a predetermined upper limit value and greater than or equal to a predetermined lower limit value,
wherein the predetermined upper limit value is derived based on sum of quantization parameter range offset and a predetermined constant value,
wherein the whether the color space conversion for the residual sample of the current block is applied is derived based on the tree type of the current block, and
wherein the color space conversion is not applied based on the tree type of the current block not being a single tree.
