# US 2023/0055729 A1 · Method for coding intra-prediction mode, and device for same

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

- Number: US 2023/0055729 A1
- Document ID: US20230055729A1
- Status: Published application
- Kind: A1
- Application number: 17/979,642
- Filed: 2022-11-02
- Published: 2023-02-23
- Earliest claimed: 2018-07-11
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Ling Li; Seunghwan Kim
- Web page: https://patentgrep.com/patent/US20230055729A1

## 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/463: by compressing encoding parameters before transmission
- 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/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/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A picture decoding method which is performed by a decoding apparatus according to an example of the present disclosure includes constructing a Most Probable Modes (MPM) list including intra prediction mode candidates for a current block based on neighboring blocks of the current block, decoding remaining mode information indicating one of remaining intra prediction modes other than the intra prediction mode candidates included in the MPM list from a bitstream, determining an intra prediction mode of the current block based on the decoded remaining mode information, generating prediction samples for the current block based on the determined intra prediction mode, and generating reconstructed samples for the current block based on the prediction samples for the current block, wherein the remaining mode information is decoded based on a truncated binary code.

## Claims

### Claim at position 1

1-15. (canceled)

### Claim 16

A picture decoding method performed by a decoding apparatus, the method comprising:
receiving prediction related information and residual information from a bitstream;
determining that an intra prediction is applied for a current block based on the prediction related information;
constructing a Most Probable Modes (MPM) list including intra prediction mode candidates for the current block based on neighboring blocks of the current block;
decoding remaining mode information indicating one of remaining intra prediction modes not included in the MPM list from the bitstream;
deriving an intra prediction mode of the current block based on the remaining mode information;
generating prediction samples for the current block based on the intra prediction mode;
generating residual samples for the current block based on the residual information; and
generating reconstructed samples for the current block based on the prediction samples for the current block and the residual samples for the current block,
wherein the remaining mode information is decoded based on a truncated binary code,
wherein a number of bits of the truncated binary code for first intra prediction modes of the remaining intra prediction modes is k, and a number of bits of the truncated binary code for second intra prediction modes excepting the first intra prediction modes among the remaining intra prediction modes is k+1,
wherein a number of the first intra prediction modes is L, and
wherein a following equation is applied between the k and u,
k = floor(log2u)
where the u represents a total number of the remaining intra prediction modes.

### Claim 17 (depends on 16)

The picture decoding method of claim 16, wherein a following equation is applied between the L and the k,
L
=
2
k
+
1
−
u
.
.

### Claim 18 (depends on 17)

The picture decoding method of claim 17, wherein the L is 3, the k is 5, and the u is 61.

### Claim 19 (depends on 18)

The picture decoding method of claim 18, wherein the truncated binary codes for the first intra prediction modes are 00000, 00001 and 00010, respectively, and the truncated binary codes for the second intra prediction modes are 000110, 000111, 001000, ..., 111111, respectively.

### Claim 20 (depends on 16)

The picture decoding method of claim 16, wherein the intra prediction mode candidates and the remaining intra prediction modes are included in a list and are sorted based on a predetermined order.

### Claim 21 (depends on 20)

The picture decoding method of claim 20, wherein the predetermined order is based on a frequency of use of each of the intra prediction mode candidates and the remaining intra prediction modes.

### Claim 22 (depends on 20)

The picture decoding method of claim 20, wherein the predetermined order is based on intra prediction mode numbers and offset values of the intra prediction mode candidates.

### Claim 23 (depends on 16)

The picture decoding method of claim 16, wherein the remaining intra prediction modes are included in a list and are sorted based on a predetermined order.

### Claim 24 (depends on 23)

The picture decoding method of claim 23, wherein the predetermined order is an ascending order based on an intra prediction mode number of each of the remaining intra prediction modes.

### Claim 25 (depends on 23)

The picture decoding method of claim 23, wherein the predetermined order is based on a frequency of use of each of the remaining intra prediction modes.

### Claim 26 (depends on 23)

The picture decoding method of claim 23, wherein the predetermined order is based on intra prediction mode numbers and offset values of the intra prediction mode candidates.

### Claim 27 (depends on 26)

The picture decoding method of claim 26, wherein:
the offset values include a first offset value, a second offset value, a third offset value, and a fourth offset value;
based on a number of the intra prediction mode candidates being 6 and the intra prediction mode numbers of the intra prediction mode candidates being a, b, c, d, e, and f in order, an intra prediction mode whose intra prediction mode number is a` - the first offset value, an intra prediction mode whose intra prediction mode number is a + the first offset value, an intra prediction mode whose intra prediction mode number is b - the first offset value, an intra prediction mode whose intra prediction mode number is b + the first offset value, an intra prediction mode whose intra prediction mode number is c - the first offset value, an intra prediction mode whose intra prediction mode number is c + the first offset value, an intra prediction mode whose intra prediction mode number is d - the first offset value, an intra prediction mode whose intra prediction mode number is d + the first offset value, an intra prediction mode whose intra prediction mode number is e - the first offset value, an intra prediction mode whose intra prediction mode number is e + the first offset value, an intra prediction mode whose intra prediction mode number is f - the first offset value, an intra prediction mode whose intra prediction mode number is f + the first offset value, an intra prediction mode whose intra prediction mode number is a - the second offset value, an intra prediction mode whose intra prediction mode number is a + the second offset value, ... , an intra prediction mode whose intra prediction mode number is f - the fourth offset value, and an intra prediction mode whose intra prediction mode number is f + the fourth offset value are sorted in that order in the list,
based on an invalid intra prediction mode number among the intra prediction mode numbers to which the offset values are summed being present, the intra prediction mode according to the invalid intra prediction mode number is excepted from the list; and
the offset values are not applied to an intra non-directional mode among the intra prediction mode candidates.

### Claim 28 (depends on 27)

The picture decoding method of claim 27, wherein the first offset value is 1, the second offset value is 2, the third offset value is 3, and the fourth offset value is 4.

### Claim 29

A picture encoding method performed by an encoding apparatus, the method comprising:
determining that an intra prediction is applied for a current block;
constructing a Most Probable Modes (MPM) list including intra prediction mode candidates for the current block based on neighboring blocks of the current block;
generating remaining mode information indicating, as an intra prediction mode of the current block, one of remaining intra prediction modes not included in the MPM list;
generating prediction samples for the current block based on the intra prediction mode of the current block;
deriving residual samples for the current block based on the prediction samples for the current block;
generating residual information based on the residual samples for the current block; and
encoding image information including the residual information and the remaining mode information,
wherein the remaining mode information included in the image information is encoded based on a truncated binary code,
wherein a number of bits of the truncated binary code for first intra prediction modes of the remaining intra prediction modes is k, and a number of bits of the truncated binary code for second intra prediction modes excepting the first intra prediction modes among the remaining intra prediction modes is k+1,
wherein a number of the first intra prediction modes is L, and
wherein a following equation is applied between the k and u,
k = floor(log2u)
where the u represents a total number of the remaining intra prediction modes.

### Claim 30 (depends on 29)

A non-transitory computer readable storage medium storing a bitstream generated by the picture encoding method of claim 29.

### Claim 31

A method for transmitting data for an image, comprising:
obtaining a bitstream of image information, wherein the bitstream is generated based on determining that an intra prediction is applied for a current block, constructing a Most Probable Modes (MPM) list including intra prediction mode candidates for the current block based on neighboring blocks of the current block, generating remaining mode information indicating, as an intra prediction mode of the current block, one of remaining intra prediction modes not included in the MPM list, generating prediction samples for the current block based on the intra prediction mode of the current block, deriving residual samples for the current block based on the prediction samples for the current block, generating residual information based on the residual samples for the current block, and encoding image information including the residual information and the remaining mode information; and
transmitting the data comprising the bitstream of the image information including the residual information and the remaining mode information,
wherein the remaining mode information included in the image information is encoded based on a truncated binary code,
wherein a number of bits of the truncated binary code for first intra prediction modes of the remaining intra prediction modes is k, and a number of bits of the truncated binary code for second intra prediction modes excepting the first intra prediction modes among the remaining intra prediction modes is k+1,
wherein a number of the first intra prediction modes is L, and
wherein a following equation is applied between the k and u,
k = floor(log2u)
where the u represents a total number of the remaining intra prediction modes.
