# US 2025/0220165 A1 · Image encoding/decoding method and apparatus

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

- Number: US 2025/0220165 A1
- Document ID: US20250220165A1
- Status: Published application
- Kind: A1
- Application number: 18/847,005
- Filed: 2023-03-15
- Published: 2025-07-03
- Earliest claimed: 2022-03-15
- Assignees: Kt Corporation
- Applicants: Kt Corporation
- Inventors: Sung Won LIM
- Web page: https://patentgrep.com/patent/US20250220165A1

## CPC

- H04N 19/11: among a plurality of spatial predictive coding modes
- 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/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/593: involving spatial prediction techniques
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image encoding/decoding method according to the present invention comprises determining at least one intra prediction mode for a current block; and on the basis of the at least one intra prediction mode, performing intra prediction on the current block. Here, the at least one intra prediction mode may be determined via a histogram derived from a reference region of the current block.

## Claims

### Claim 1

A method of decoding an image, the method comprising:
determining at least one intra prediction mode for a current block; and
based on the at least one intra prediction mode, performing an intra prediction on the current block,
wherein the at least one intra prediction mode is determined via a histogram derived from a reference region of the current block.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the reference region includes a top reference region at a top position of the current block and a left reference region at a left position of the current block, and
the histogram is generated based on an intra prediction mode and an amplitude of each reference sample belonging to the reference region.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
an intra prediction mode of a reference sample is obtained based on a ratio between an absolute value of a horizontal gradient and an absolute value of a vertical gradient of the reference sample.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
an amplitude of the reference sample is derived as a sum of the absolute value of the horizontal gradient and the absolute value of the vertical gradient of the reference sample.

### Claim 5 (depends on 3)

The method of claim 3, wherein:
the horizontal gradient and the vertical gradient of the reference sample are obtained by applying a filter to the reference sample, and
the filter is a Sobel mask or a Prewitt mask.

### Claim 6 (depends on 2)

The method of claim 2, wherein:
the histogram is obtained by accumulating an amplitude of a reference sample per intra prediction mode.

### Claim 7 (depends on 6)

The method of claim 6, wherein:
the at least one intra prediction mode is determined in a descending order of accumulated amplitude values in the histogram.

### Claim 8 (depends on 7)

The method of claim 7, wherein when a plurality of intra prediction modes are selected from the histogram, an intra prediction is performed based on each of the plurality of intra prediction modes to obtain a plurality of prediction blocks, and
wherein a final prediction block of the current block is obtained through an average operation or a weighted sum operation of the plurality of prediction blocks.

### Claim 9 (depends on 1)

The method of claim 1, wherein:
an intra prediction is performed based on each of the at least one intra prediction mode and a default mode to obtain a plurality of prediction blocks, and
a final prediction block of the current block is obtained through an average operation or a weighted sum operation of the plurality of prediction blocks.

### Claim 10 (depends on 9)

The method of claim 9, wherein:
the default mode includes at least one of a planar mode, a DC mode, a vertical mode or a horizontal mode.

### Claim 11

A method of encoding an image, the method comprising:
determining at least one intra prediction mode for a current block; and
based on the at least one intra prediction mode, performing an intra prediction on the current block,
wherein the at least one intra prediction mode is determined via a histogram derived from a reference region of the current block.

### Claim 12 (depends on 11)

The method of claim 11, wherein:
the reference region includes a top reference region at a top position of the current block and a left reference region at a left position of the current block, and
the histogram is generated based on an intra prediction mode and an amplitude of each reference sample belonging to the reference region.

### Claim 13 (depends on 12)

The method of claim 12, wherein:
an intra prediction mode of a reference sample is obtained based on a ratio between an absolute value of a horizontal gradient and an absolute value of a vertical gradient of the reference sample.

### Claim 14 (depends on 13)

The method of claim 13, wherein:
an amplitude of the reference sample is derived as a sum of the absolute value of the horizontal gradient and the absolute value of the vertical gradient of the reference sample.

### Claim 15

A computer-readable recording medium that stores a bitstream generated by an image encoding method, the image encoding method comprising:
determining at least one intra prediction mode for a current block; and
based on the at least one intra prediction mode, performing an intra prediction on the current block,
wherein the at least one intra prediction mode is determined via a histogram derived from a reference region of the current block.
