# US 2025/0168323 A1 · Method and device for encoding/decoding image, and recording medium storing bit stream

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

- Number: US 2025/0168323 A1
- Document ID: US20250168323A1
- Status: Published application
- Kind: A1
- Application number: 19/029,815
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2016-10-04
- Assignees: Lx Semicon Co., Ltd.
- Applicants: LX Semicon Co., Ltd.
- Inventors: Jin Ho LEE; Hyun Suk KO; Jung Won KANG; Sung Chang LIM; Ha Hyun LEE; Dong San JUN; Seung Hyun CHO; Hui Yong KIM; Jin Soo CHOI
- Web page: https://patentgrep.com/patent/US20250168323A1

## 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/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- 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/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/51: Motion estimation or motion compensation
- H04N 19/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/80: Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation (H04N19/635, H04N19/86 take precedence)
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image decoding/encoding method and apparatus are discussed. The image decoding method can include deriving an intra prediction mode of a current chroma block, wherein an inter-color component intra prediction is applied to the current chroma block, deriving luma reference samples of a luma block related to the current chroma block, deriving downsampled luma reference samples based on the luma reference samples, and deriving chroma reference samples for the current chroma block.

## Claims

### Claim 1

An image decoding method performed by a decoding apparatus, the method comprising:
deriving an intra prediction mode of a current chroma block, wherein an inter-color component intra prediction is applied to the current chroma block;
deriving luma reference samples of a luma block related to the current chroma block;
deriving downsampled luma reference samples based on the luma reference samples;
deriving chroma reference samples for the current chroma block;
deriving prediction parameters based on the downsampled luma reference samples and the chroma reference samples;
generating a predicted block for the current chroma block based on the prediction parameters; and
wherein a downsampled luma reference sample of the position [x, y] is derived according to the following equation:
(
p
⁢
1
[
2
⁢
x
-
1
,
2
⁢
y
]
+
2
*
p
⁢
1
[
2
⁢
x
,
2
⁢
y
]
+
p
⁢
1
[
2
⁢
x
+
1
,
2
⁢
y
]
+
p
⁢
1
[
2
⁢
x
-
1
,
2
⁢
y
+
1
]
+
2
*
p
⁢
1
[
2
⁢
x
,
2
⁢
y
+
1
]
+
p
⁢
1
[
2
⁢
x
+
1
,
2
⁢
y
+
1
]
+
4
)
≫
3
,
wherein p1[2x−1, 2y] represents a sample value of a first luma reference sample, p1[2x, 2y] represents a sample value of a second luma reference sample, p1[2x+1, 2y] represents a sample value of a third luma reference sample, p1[2x−1, 2y+1] represents a sample value of a fourth luma reference sample, p1[2x, 2y+1] represents a sample value of a fifth luma reference sample, and p1[2x+1, 2y+1] represents a sample value of a sixth luma reference sample,
wherein the downsampled luma reference samples include a left downsampled luma reference sample and an above downsampled luma reference sample,
wherein based on that an above boundary of the luma block overlaps with an above boundary of a coding tree unit (CTU) and a left boundary of the luma block overlaps with a left boundary of the CTU, a number of the above luma sample lines for deriving the above downsampled luma reference sample is less than a number of the left luma sample lines for deriving the left downsampled luma reference sample,
wherein based on that the above boundary of the luma block overlaps with the above boundary of the CTU,
the left downsampled luma reference sample is derived by using six luma reference samples in three left luma sample lines and the above downsampled luma reference sample is derived by using three luma reference samples in one above luma sample line, and
the prediction parameters are derived based on (i) the left downsampled luma reference sample which is derived by using the six luma reference samples in the three left luma sample lines and (ii) the above downsampled luma reference sample which is derived by using the three luma reference samples in the one above luma sample line.

### Claim 2 (depends on 1)

The method of claim 1, wherein the prediction block of the current chroma block is deduced according to the following equation:
p
⁢
2
[
x
,
y
]
=
a
×
p
⁢
1
′
[
x
,
y
]
+
b
,
wherein p2[x, y] represents the prediction block of the current chroma block, p1′[x, y] represents the downsampled luma reference samples, and the prediction parameters include a scaling factor a and an offset b.

### Claim 3 (depends on 1)

The method of claim 1, wherein selected chroma neighboring reference samples are derived from the chroma neighboring reference samples,
wherein the prediction parameters are derived by using the selected chroma neighboring reference samples, and
wherein a number of the selected chroma neighboring reference samples is smaller than a width or height of the current chroma block.

### Claim 4

An image encoding method performed by an encoding apparatus, the method comprising:
determining an intra prediction mode of a current chroma block;
deriving luma reference samples of a luma block related to the current chroma block;
deriving downsampled luma reference samples based on the luma reference samples;
deriving chroma reference samples for the current chroma block;
deriving prediction parameters based on the downsampled luma reference samples and the chroma reference samples;
generating a predicted block for the current chroma block based on the prediction parameters; and
encoding image information including information related to the intra prediction mode,
wherein a downsampled luma reference sample of the position [x, y] is derived according to the following equation:
(
p
⁢
1
[
2
⁢
x
-
1
,
2
⁢
y
]
+
2
*
p
⁢
1
[
2
⁢
x
,
2
⁢
y
]
+
p
⁢
1
[
2
⁢
x
+
1
,
2
⁢
y
]
+
p
⁢
1
[
2
⁢
x
-
1
,
2
⁢
y
+
1
]
+
2
*
p
⁢
1
[
2
⁢
x
,
2
⁢
y
+
1
]
+
p
⁢
1
[
2
⁢
x
+
1
,
2
⁢
y
+
1
]
+
4
)
≫
3
,
wherein p1[2x−1, 2y] represents a sample value of a first luma reference sample, p1[2x, 2y] represents a sample value of a second luma reference sample, p1[2x+1, 2y] represents a sample value of a third luma reference sample, p1[2x−1, 2y+1] represents a sample value of a fourth luma reference sample, p1[2x, 2y+1] represents a sample value of a fifth luma reference sample, and p1[2x+1, 2y+1] represents a sample value of a sixth luma reference sample,
wherein the downsampled luma reference samples include a left downsampled luma reference sample and an above downsampled luma reference sample,
wherein based on that an above boundary of the luma block overlaps with an above boundary of a coding tree unit (CTU) and a left boundary of the luma block overlaps with a left boundary of the CTU, a number of the above luma sample lines for deriving the above downsampled luma reference sample is less than a number of the left luma sample lines for deriving the left downsampled luma reference sample,
wherein based on that the above boundary of the luma block overlaps with the above boundary of the CTU,
the left downsampled luma reference sample is derived by using six luma reference samples in three left luma sample lines and the above downsampled luma reference sample is derived by using three luma reference samples in one above luma sample line, and
the prediction parameters are derived based on (i) the left downsampled luma reference sample which is derived by using the six luma reference samples in the three left luma sample lines and (ii) the above downsampled luma reference sample which is derived by using the three luma reference samples in the one above luma sample line.

### Claim 5 (depends on 4)

The method of claim 4, wherein the prediction block of the current chroma block is deduced according to the following equation:
p
⁢
2
[
x
,
y
]
=
a
×
p
⁢
1
′
[
x
,
y
]
+
b
,
wherein p2[x, y] represents the prediction block of the current chroma block, p1′[x, y] represents the downsampled luma reference samples, and the prediction parameters include a scaling factor a and an offset b.

### Claim 6 (depends on 4)

The method of claim 4, wherein selected chroma neighboring reference samples are derived from the chroma neighboring reference samples,
wherein the prediction parameters are derived by using the selected chroma neighboring reference samples, and
wherein a number of the selected chroma neighboring reference samples is smaller than a width or height of the current chroma block.

### Claim 7

A transmission method for image data performed by a transmission apparatus, the method comprising:
obtaining a bitstream of encoded image information, wherein the encoded image information is generated based on determining an intra prediction mode of a current chroma block, deriving luma reference samples of a luma block related to the current chroma block, deriving downsampled luma reference samples based on the luma reference samples, deriving chroma reference samples for the current chroma block, deriving prediction parameters based on the downsampled luma reference samples and the chroma reference samples, generating a predicted block for the current chroma block based on the prediction parameters, and encoding image information including information related to the intra prediction mode; and
transmitting the image data comprising the bitstream,
wherein a downsampled luma reference sample of the position [x, y] is derived according to the following equation:
(
p
⁢
1
[
2
⁢
x
-
1
,
2
⁢
y
]
+
2
*
p
⁢
1
[
2
⁢
x
,
2
⁢
y
]
+
p
⁢
1
[
2
⁢
x
+
1
,
2
⁢
y
]
+
p
⁢
1
[
2
⁢
x
-
1
,
2
⁢
y
+
1
]
+
2
*
p
⁢
1
[
2
⁢
x
,
2
⁢
y
+
1
]
+
p
⁢
1
[
2
⁢
x
+
1
,
2
⁢
y
+
1
]
+
4
)
≫
3
,
wherein p1[2x−1, 2y] represents a sample value of a first luma reference sample, p1[2x, 2y] represents a sample value of a second luma reference sample, p1[2x+1, 2y] represents a sample value of a third luma reference sample, p1[2x−1, 2y+1] represents a sample value of a fourth luma reference sample, p1[2x, 2y+1] represents a sample value of a fifth luma reference sample, and p1[2x+1, 2y+1] represents a sample value of a sixth luma reference sample,
wherein the downsampled luma reference samples include a left downsampled luma reference sample and an above downsampled luma reference sample,
wherein based on that an above boundary of the luma block overlaps with an above boundary of a coding tree unit (CTU) and a left boundary of the luma block overlaps with a left boundary of the CTU, a number of the above luma sample lines for deriving the above downsampled luma reference sample is less than a number of the left luma sample lines for deriving the left downsampled luma reference sample,
wherein based on that the above boundary of the luma block overlaps with the above boundary of the CTU,
the left downsampled luma reference sample is derived by using six luma reference samples in three left luma sample lines and the above downsampled luma reference sample is derived by using three luma reference samples in one above luma sample line, and
the prediction parameters are derived based on (i) the left downsampled luma reference sample which is derived by using the six luma reference samples in the three left luma sample lines and (ii) the above downsampled luma reference sample which is derived by using the three luma reference samples in the one above luma sample line.
