# US 2023/0276045 A1 · Method and device for decoding images using cclm prediction in image coding system

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

- Number: US 2023/0276045 A1
- Document ID: US20230276045A1
- Status: Published application
- Kind: A1
- Application number: 18/144,458
- Filed: 2023-05-08
- Published: 2023-08-31
- Earliest claimed: 2018-09-22
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jangwon CHOI; Seunghwan KIM; Jin HEO
- Web page: https://patentgrep.com/patent/US20230276045A1

## CPC

- 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/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image decoding method performed by a decoding device according to the present document comprises: a step for deriving the number of samples of upper peripheral chroma samples and left peripheral chroma samples of a current chroma block on the basis of a specific value and the width and height of the current chroma block; a step for deriving said number of upper peripheral chroma samples and said number of left peripheral chroma samples; and a step for deriving CCLM parameters on the basis of the upper peripheral chroma samples, the left peripheral chroma samples, and down-sampled peripheral luma samples, wherein, when the specific value is derived as 2 and the width and the height of the current chroma block are larger than the specific value, the number of samples is derived as the specific value.

## Claims

### Claim at position 1

-15. (canceled)

### Claim 16

An image decoding apparatus for an image decoding, the 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 for a current luma block and prediction mode information and residual information for a current chroma block;
derive an intra prediction mode of the current luma block based on the prediction mode information;
generate luma samples for the current luma block based on the intra prediction mode and neighboring luma samples of the current luma block;
derive an intra prediction mode of the current chroma block as a cross-component linear model (CCLM) mode based on the prediction mode information for the current chroma block;
derive a sample number for top neighboring chroma samples and left neighboring chroma samples of the current chroma block based on a specific value, a width and a height of the current chroma block;
derive the top neighboring chroma samples of the sample number and the left neighboring chroma samples of the sample number;
derive down-sampled neighboring luma samples based on the neighboring luma samples of the current luma block;
derive down-sampled luma samples based on the luma samples of the current luma block;
derive CCLM parameters based on the top neighboring chroma samples, the left neighboring chroma samples, and the down-sampled neighboring luma samples;
derive prediction samples for the current chroma block based on the CCLM parameters and the down-sampled luma samples;
derive residual samples for the current chroma block based on the residual information; and
generate reconstructed samples for the current chroma block based on the prediction samples and the residual samples,
wherein the specific value is derived as 2, and
wherein based on the width and the height of the current chroma block being greater than the specific value, the sample number is derived as the specific value.

### Claim 17

An image encoding apparatus for an image encoding, the apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
derive an intra prediction mode of a current luma block;
generate luma samples for the current luma block based on the intra prediction mode and neighboring luma samples of the current luma block;
determine an intra prediction mode of a current chroma block as a cross-component linear model (CCLM) mode;
derive a sample number for top neighboring chroma samples and left neighboring chroma samples of the current chroma block based on a specific value, a width and a height of the current chroma block;
derive the top neighboring chroma samples of the sample number and the left neighboring chroma samples of the sample number;
derive down-sampled neighboring luma samples based on the neighboring luma samples of the current luma block;
derive down-sampled luma samples based on the luma samples of the current luma block;
derive CCLM parameters based on the top neighboring chroma samples, the left neighboring chroma samples, and the down-sampled neighboring luma samples;
derive prediction samples for the current chroma block based on the CCLM parameters and the down-sampled luma samples;
derive residual samples for the current chroma block based on the prediction samples; and
encode image information including prediction mode information for the current luma block and prediction mode information and residual information for the current chroma block,
wherein the specific value is derived as 2, and
wherein based on the width and the height of the current chroma block being greater than the specific value, the sample number is derived as the specific value.

### Claim 18

An apparatus for transmitting data for an image, the apparatus comprising:
at least one processor configured to obtain a bitstream, wherein the bitstream is generated based on deriving an intra prediction mode of a current luma block, generating luma samples for the current luma block based on the intra prediction mode and neighboring luma samples of the current luma block, determining an intra prediction mode of a current chroma block as a cross-component linear model (CCLM) mode, deriving a sample number for top neighboring chroma samples and left neighboring chroma samples of the current chroma block based on a specific value, a width and a height of the current chroma block, deriving the top neighboring chroma samples of the sample number and the left neighboring chroma samples of the sample number, deriving down-sampled neighboring luma samples based on the neighboring luma samples of the current luma block, deriving down-sampled luma samples based on the luma samples of the current luma block, deriving CCLM parameters based on the top neighboring chroma samples, the left neighboring chroma samples, and the down-sampled neighboring luma samples, deriving prediction samples for the current chroma block based on the CCLM parameters and the down-sampled luma samples, deriving residual samples for the current chroma block based on the prediction samples, encoding image information including prediction mode information for the current luma block and prediction mode information and residual information for the current chroma block, and generating the bitstream including the image information; and
a transmitter configured to transmit the data comprising the bitstream,
wherein the specific value is derived as 2, and
wherein based on the width and the height of the current chroma block being greater than the specific value, the sample number is derived as the specific value.
