# US 2021/0289215 A1 · Encoder, decoder amd methods for enhancing a robustness for calculation of cross-component linear model parameters

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

- Number: US 2021/0289215 A1
- Document ID: US20210289215A1
- Status: Published application
- Kind: A1
- Application number: 17/337,898
- Filed: 2021-06-03
- Published: 2021-09-16
- Earliest claimed: 2018-12-07
- Assignees: Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
- Applicants: Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
- Inventors: Christian HELMRICH; Heiko SCHWARZ; Detlev MARPE; Thomas WIEGAND
- Web page: https://patentgrep.com/patent/US20210289215A1

## 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/176: the region being a block, e.g. a macroblock
- H04N 19/107: between spatial and temporal predictive coding, e.g. picture refresh
- 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/182: the unit being a pixel
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/503: involving temporal prediction (adaptive coding with adaptive selection between spatial and temporal predictive coding H04N19/107; adaptive coding with adaptive selection among a plurality of temporal predictive coding modes H04N19/109)
- H04N 19/593: involving spatial prediction techniques
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A decoder for block-based decoding of picture data of a picture is configured to decode a current block of the picture by determining first and second sets of luma in a neighborhood of the current block, the first set of luma samples having smaller luma values than the second set of luma samples, fitting a straight-line having a linear function through first and second pairs of luma-chroma samples, wherein the first and second pairs of luma-chroma samples are determined based on the first and second sets of luma samples, respectively, and on first and second corresponding chroma samples, respectively, in said neighborhood of the current block, and predicting chroma samples of the current block using luma samples of the current block and said linear function. The present proposal further concerns a respective encoder and corresponding methods for encoding and decoding.

## Claims

### Claim 1

A decoder for block-based decoding of picture data of a picture, the decoder being configured to decode a current block of the picture by
determining a first set of luma samples and a second set of luma samples in a neighborhood of the current block, the first set of luma samples comprising smaller luma values than the second set of luma samples,
fitting a straight-line comprising a linear function through first pairs of luma-chroma samples and second pairs of luma-chroma samples, wherein the first pairs of luma-chroma samples are determined based on the first set of luma samples and first corresponding chroma samples in said neighborhood of the current block, and wherein the second pairs of luma-chroma samples are determined based on the second set of luma samples and second corresponding chroma samples in said neighborhood of the current block, and
predicting chroma samples of the current block using luma samples of the current block and said linear function.

### Claim 2 (depends on 1)

The decoder of claim 1, configured to
reconstruct the luma samples of the current block by intra prediction and/or by inter prediction.

### Claim 3 (depends on 1)

The decoder of claim 1, configured to
decode luma sample residuals for the current block from a data stream, and to
reconstruct the luma samples of the current block by intra prediction and/or inter prediction to acquire predicted luma samples and correcting said predicted luma samples using the luma sample residuals.

### Claim 4 (depends on 1)

The decoder of claim 1, configured to
determine the first set of luma samples by finding n>1 smallest luma values in said neighborhood of the current block, and/or
determine the second set of luma samples by finding n>1 largest luma values in said neighborhood of the current block.

### Claim 5 (depends on 1)

The decoder of claim 1, configured to
determine the first set of luma samples by finding n=2 smallest luma values in said neighborhood of the current block, and/or
determine the second set of luma samples by finding n=2 largest luma values in said neighborhood of the current block.

### Claim 6 (depends on 1)

The decoder of claim 1, configured to
fit the straight-line so that said straight-line extends through an average of the first pairs of luma-chroma samples and an average of the second pairs of luma-chroma samples for deriving the linear function of said straight-line.

### Claim 7 (depends on 1)

The decoder of claim 1, wherein said linear function is given by the equation y=α·x+β, wherein α is a first cross-component linear model parameter representing a slope of said straight-line, β is a second cross-component linear model parameter representing an offset of said straight-line, and wherein the decoder is further configured to
predict for one or more luma samples x of the current block at least one corresponding chroma sample y of the current block using said linear function.

### Claim 8

An encoder for block-based encoding of picture data of a picture into a data stream, the encoder being configured to encode a current block of the picture by
determining a first set of luma samples and a second set of luma samples in a neighborhood of the current block, the first set of luma samples comprising smaller luma values than the second set of luma samples,
fitting a straight-line comprising a linear function through first pairs of luma-chroma samples and second pairs of luma-chroma samples, wherein the first pairs of luma-chroma samples are determined based on the first set of luma samples and first corresponding chroma samples in said neighborhood of the current block, and wherein the second pairs of luma-chroma samples are determined based on the second set of luma samples and second corresponding chroma samples of said neighborhood of the current block, and
predicting chroma samples of the current block using luma samples of the current block and said linear function.

### Claim 9 (depends on 8)

The encoder of claim 8, configured to
encode luma sample residuals for the current block into the data stream, so that the luma samples of the current block are reconstructable by intra prediction and/or inter prediction to acquire predicted luma samples, wherein said predicted luma samples are correctable by using the luma sample residuals.

### Claim 10 (depends on 8)

The encoder of claim 8, configured to
determine the first set of luma samples by finding n>1 smallest luma values in said neighborhood of the current block, and/or
determine the second set of luma samples by finding n>1 largest luma values in said neighborhood of the current block.

### Claim 11 (depends on 8)

The encoder of claim 8, configured to
determine the first set of luma samples by finding n=2 smallest luma values in said neighborhood of the current block, and/or
determine the second set of luma samples by finding n=2 largest luma values in said neighborhood of the current block.

### Claim 12 (depends on 8)

The encoder of claim 8, configured to
fit the straight-line so that said straight-line extends through an average of the first pairs of luma-chroma samples and an average of the second pairs of luma-chroma samples for deriving the linear function of said straight-line.

### Claim 13 (depends on 8)

The encoder of claim 8, wherein said linear function is given by the equation y=α·x+β, wherein α is a first cross-component linear model parameter representing a slope of said straight-line, β is a second cross-component linear model parameter representing an offset of said straight-line, and wherein the encoder is further configured to predict for one or more luma samples x of the current block at least one corresponding chroma sample y of the current block using said linear function.

### Claim 14

A method for block-based decoding of picture data of a picture, wherein decoding a current block of the picture comprises:
determining a first set of luma samples and a second set of luma samples in a neighborhood of the current block, the first set of luma samples comprising smaller luma values than the second set of luma samples,
fitting a straight-line comprising a linear function through first pairs of luma-chroma samples and second pairs of luma-chroma samples, wherein the first pairs of luma-chroma samples are determined based on the first set of luma samples and first corresponding chroma samples in said neighborhood of the current block, and wherein the second pairs of luma-chroma samples are determined based on the second set of luma samples and second corresponding chroma samples in said neighborhood of the current block, and
predicting chroma samples of the current block using luma samples of the current block and said linear function.

### Claim 15

A method for block-based encoding of picture data of a picture, wherein encoding a current block of the picture comprises:
determining a first set of luma samples and a second set of luma samples in a neighborhood of the current block, the first set of luma samples comprising smaller luma values than the second set of luma samples,
fitting a straight-line comprising a linear function through first pairs of luma-chroma samples and second pairs of luma-chroma samples, wherein the first pairs of luma-chroma samples are determined based on the first set of luma samples and first corresponding chroma samples in said neighborhood of the current block, and wherein the second pairs of luma-chroma samples are determined based on the second set of luma samples and second corresponding chroma samples of said neighborhood of the current block, and
predicting chroma samples of the current block using luma samples of the current block and said linear function.

### Claim 16

A non-transitory digital storage medium having a computer program stored thereon to perform the method for block-based decoding of picture data of a picture, wherein decoding a current block of the picture comprises:
determining a first set of luma samples and a second set of luma samples in a neighborhood of the current block, the first set of luma samples comprising smaller luma values than the second set of luma samples,
fitting a straight-line comprising a linear function through first pairs of luma-chroma samples and second pairs of luma-chroma samples, wherein the first pairs of luma-chroma samples are determined based on the first set of luma samples and first corresponding chroma samples in said neighborhood of the current block, and wherein the second pairs of luma-chroma samples are determined based on the second set of luma samples and second corresponding chroma samples in said neighborhood of the current block, and
predicting chroma samples of the current block using luma samples of the current block and said linear function,
when said computer program is run by a computer.

### Claim 17

A non-transitory digital storage medium having a computer program stored thereon to perform the method for block-based encoding of picture data of a picture, wherein encoding a current block of the picture comprises:
determining a first set of luma samples and a second set of luma samples in a neighborhood of the current block, the first set of luma samples comprising smaller luma values than the second set of luma samples,
fitting a straight-line comprising a linear function through first pairs of luma-chroma samples and second pairs of luma-chroma samples, wherein the first pairs of luma-chroma samples are determined based on the first set of luma samples and first corresponding chroma samples in said neighborhood of the current block, and wherein the second pairs of luma-chroma samples are determined based on the second set of luma samples and second corresponding chroma samples of said neighborhood of the current block, and
predicting chroma samples of the current block using luma samples of the current block and said linear function,
when said computer program is run by a computer.

### Claim 18 (depends on 15)

A data stream acquired by a method according to claim 15.
