# US 12,120,323 B2 · Luma mapping-and chroma scaling-based video or image coding

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

- Number: US 12,120,323 B2
- Document ID: US12120323B2
- Status: Granted
- Kind: B2
- Application number: 18/213,614
- Filed: 2023-06-23
- Published: 2023-10-19
- Granted: 2024-10-15
- Earliest claimed: 2019-06-24
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jie Zhao; Seunghwan Kim
- Web page: https://patentgrep.com/patent/US12120323B2

## CPC

- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/109: among a plurality of temporal predictive coding modes
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/172: the region being a picture, frame or field
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

According to a disclosure of the present document, image information including prediction mode information and information associated with luma mapping with chroma scaling (LMCS) is acquired from a bitstream, wherein the image information includes LMCS adaptation parameter sets (APSs), and by limiting the range of APS ID information included in the LMCS APSs, a memory used in a LMCS procedure may be reduced (limited).

## Claims

### Claim 1

A decoding apparatus for image decoding, the decoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
obtain image information including prediction mode information, residual information and luma mapping with chroma scaling (LMCS) related information from a bitstream;
derive an inter prediction mode for a current block in a current picture based on the prediction mode information;
generate predicted luma samples based on the inter prediction mode;
generate mapped predicted luma samples based on a mapping process for luma samples;
derive residual luma samples based on the residual information; and
generate reconstructed luma samples based on the mapped predicted luma samples and the residual luma samples,
wherein the image information includes LMCS adaptation parameter sets (APSs),
wherein an LMCS APS includes an LMCS data field and ID information,
wherein the LMCS data field includes the LMCS related information,
wherein LMCS codewords used in the mapping process are derived based on the LMCS data field,
wherein a value of the ID information is in a predetermined range, and
wherein the predetermined range is a range of 0 to 3.

### Claim 2

An encoding apparatus for image encoding, the encoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
derive an inter prediction mode;
generate predicted luma samples based on the inter prediction mode;
generate luma mapping with chroma scaling (LMCS) related information;
generate mapped predicted luma samples based on a mapping process for luma samples;
derive residual luma samples based on the mapped predicted luma samples;
generate reconstructed luma samples based on the mapped predicted luma samples and the residual luma samples;
generate residual information based on the mapped predicted luma samples; and
encode image information including the LMCS related information and the residual information,
wherein the image information includes LMCS adaptation parameter sets (APSs),
wherein an LMCS APS includes an LMCS data field and ID information,
wherein the LMCS data field includes the LMCS related information,
wherein LMCS codewords used in the mapping process are derived based on the LMCS data field,
wherein a value of the ID information is in a predetermined range, and
wherein the predetermined range is a range of 0 to 3.

### Claim 3

An apparatus for transmitting data for an image, the apparatus comprising:
at least one processor configured to obtain a bitstream for the image, wherein the bitstream is generated based on deriving an inter prediction mode, generating predicted luma samples based on the inter prediction mode, generating luma mapping with chroma scaling (LMCS) related information, generating mapped predicted luma samples based on a mapping process for luma samples, deriving residual luma samples based on the mapped predicted luma samples, generating reconstructed luma samples based on the mapped predicted luma samples and the residual luma samples, generating residual information based on the mapped predicted luma samples, and encoding image information including the LMCS related information and the residual information; and
a transmitter configured to transmit data comprising the bitstream,
wherein the image information includes LMCS adaptation parameter sets (APSs),
wherein an LMCS APS includes an LMCS data field and ID information,
wherein the LMCS data field includes the LMCS related information,
wherein LMCS codewords used in the mapping process are derived based on the LMCS data field,
wherein a value of the ID information is in a predetermined range, and
wherein the predetermined range is a range of 0 to 3.
