# US 12,113,967 B2 · Encoding/decoding method and apparatus for coding unit partitioning

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

- Number: US 12,113,967 B2
- Document ID: US12113967B2
- Status: Granted
- Kind: B2
- Application number: 18/478,555
- Filed: 2023-09-29
- Published: 2024-02-01
- Granted: 2024-10-08
- Earliest claimed: 2018-01-15
- Assignees: B1 Institute of Image Technology, Inc.
- Applicants: B1 Institute of Image Technology, Inc.
- Inventors: Ki Baek Kim
- Web page: https://patentgrep.com/patent/US12113967B2

## 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/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/124: Quantisation
- H04N 19/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- 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/593: involving spatial prediction techniques
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed is an image decoding method using the correlation between color components to perform into prediction of chrominance components. Here, the image decoding method using the correlation between color components to perform intra prediction of chrominance components comprises the steps of: checking image data and a prediction mode in a bitstream; generating a prediction block according to a reconstructed prediction mode; determining compensation settings according to the size of a current block and the reconstructed prediction mode; compensating the prediction block according to the determined compensation settings; and reconstructing the current block by adding reconstructed image data to the prediction block.

## Claims

### Claim 1

An image decoding method performed by an image decoding apparatus (30) comprising a prediction unit (310) and an adder (325), the image decoding method comprising:
generating, by the prediction unit (310), a prediction pixel of a current block of a first color space, the prediction pixel of the current block being generated by using a plurality of reference pixels belonging to a corresponding block of a second color space;
deriving, by the prediction unit (310), correlation information between the current block of the first color space and the corresponding block of the second color space, using a first neighboring region adjacent to the current block of the first color space and a second neighboring region adjacent to the corresponding block of the second color space;
correcting, by the prediction unit (310), the prediction pixel of the current block based on the correlation information;
obtaining, by the image decoding apparatus (30), a residual pixel for the current block; and
reconstructing, by the adder (325), the current block of the first color space based on the corrected prediction pixel and the residual pixel,
wherein generating the prediction pixel of the current block of the first color space comprises performing a filtering on the reference pixels belonging to the corresponding block of the second color space,
wherein the reference pixels include at least one of a filtering target pixel or a neighboring pixel of the filtering target pixel,
wherein the neighboring pixel of the filtering target pixel includes at least one of a top pixel, a left pixel, a right pixel, a top-left pixel, a top-right pixel, a bottom pixel, a bottom-left pixel, or a bottom-right pixel adjacent to the filtering target pixel, and
wherein a number of the reference pixels to be used to generate the prediction pixel of the current block of the first color space is variably determined based on a flag signaled from an encoding apparatus.

### Claim 2 (depends on 1)

The image decoding method of claim 1,
wherein a position of each of the first neighboring region and the second neighboring region is determined based on an intra prediction mode of the current block of the first color space.

### Claim 3 (depends on 2)

The image decoding method of claim 2,
wherein the first neighboring region includes at least one of a top region, a left region, a top-left region, a bottom-left region or a top-right region of the current block of the first color space.

### Claim 4 (depends on 1)

The image decoding method of claim 1, wherein deriving the correlation information comprises:
determining a plurality of pixels for correcting the prediction pixel of the current block, among pixels belonging to the second neighboring region adjacent to the corresponding block of the second color space; and
generating one pixel by applying a weighting filter to the determined plurality of pixels.

### Claim 5

An image encoding method performed by an image encoding apparatus (20) comprising a prediction unit (200), the image encoding method comprising:
generating, by the prediction unit (200), a prediction pixel of a current block of a first color space, the prediction pixel of the current block being generated by using a plurality of reference pixels belonging to a corresponding block of a second color space;
deriving, by the prediction unit (200), correlation information between the current block of the first color space and the corresponding block of the second color space, using a first neighboring region adjacent to the current block of the first color space and a second neighboring region adjacent to the corresponding block of the second color space;
correcting, by the prediction unit (200), the prediction pixel of the current block based on the correlation information;
generating, by the image encoding apparatus (20), a residual pixel for the current block based on the corrected prediction pixel; and
encoding, by the image encoding apparatus (20), the current block of the first color space based on the residual pixel,
wherein generating the prediction pixel of the current block of the first color space comprises performing a filtering on the reference pixels belonging to the corresponding block of the second color space,
wherein the reference pixels include at least one of a filtering target pixel or a neighboring pixel of the filtering target pixel,
wherein the neighboring pixel of the filtering target pixel includes at least one of a top pixel, a left pixel, a right pixel, a top-left pixel, a top-right pixel, a bottom pixel, a bottom-left pixel or a bottom-right pixel adjacent to the filtering target pixel, and
wherein a flag for determining a number of the reference pixels to be used to generate the prediction pixel of the current block of the first color space is encoded.

### Claim 6

A method of transmitting a bitstream performed by an image encoding apparatus (20) comprising a prediction unit (200), the method comprising:
generating, by the prediction unit (200), a prediction pixel of a current block of a first color space, the prediction pixel of the current block being generated by using a plurality of reference pixels belonging to a corresponding block of a second color space;
deriving, by the prediction unit (200), correlation information between the current block of the first color space and the corresponding block of the second color space, using a first neighboring region adjacent to the current block of the first color space and a second neighboring region adjacent to the corresponding block of the second color space;
correcting, by the prediction unit (200), the prediction pixel of the current block based on the correlation information;
generating, by the image encoding apparatus (20), a residual pixel for the current block based on the corrected prediction pixel;
encoding, by the image encoding apparatus (20), the current block of the first color space based on the residual pixel to generate the bitstream; and
transmitting, by the image encoding apparatus (20), the generated bitstream to an image decoding apparatus,
wherein generating the prediction pixel of the current block of the first color space comprises performing a filtering on the reference pixels belonging to the corresponding block of the second color space,
wherein the reference pixels include at least one of a filtering target pixel or a neighboring pixel of the filtering target pixel,
wherein the neighboring pixel of the filtering target pixel includes at least one of a top pixel, a left pixel, a right pixel, a top-left pixel, a top-right pixel, a bottom pixel, a bottom-left pixel or a bottom-right pixel adjacent to the filtering target pixel, and
wherein a flag for determining a number of the reference pixels to be used to generate the prediction pixel of the current block of the first color space is encoded.

### Claim 7

A method of transmitting a bitstream generated by an image encoding method, wherein the image encoding method comprising:
generating, by a prediction unit (200), a prediction pixel of a current block of a first color space, the prediction pixel of the current block being generated by using a plurality of reference pixels belonging to a corresponding block of a second color space;
deriving, by the prediction unit (200), correlation information between the current block of the first color space and the corresponding block of the second color space, using a first neighboring region adjacent to the current block of the first color space and a second neighboring region adjacent to the corresponding block of the second color space;
correcting, by the prediction unit (200), the prediction pixel of the current block based on the correlation information;
generating, by an image encoding apparatus (20), a residual pixel for the current block based on the corrected prediction pixel;
encoding, by the image encoding apparatus (20), the current block of the first color space based on the residual pixel to generate the bitstream; and
transmitting, by the image encoding apparatus (20), the generated bitstream to an image decoding apparatus,
wherein generating the prediction pixel of the current block of the first color space comprises performing a filtering on the reference pixels belonging to the corresponding block of the second color space,
wherein the reference pixels include at least one of a filtering target pixel or a neighboring pixel of the filtering target pixel,
wherein the neighboring pixel of the filtering target pixel includes at least one of a top pixel, a left pixel, a right pixel, a top-left pixel, a top-right pixel, a bottom pixel, a bottom-left pixel or a bottom-right pixel adjacent to the filtering target pixel, and
wherein a flag for determining a number of the reference pixels to be used to generate the prediction pixel of the current block of the first color space is encoded.

### Claim 8

A non-transitory computer-readable storage medium storing a bitstream that is generated by a method of encoding an image, the method of encoding the image comprising:
generating, by a prediction unit (200), a prediction pixel of a current block of a first color space, the prediction pixel of the current block being generated by using a plurality of reference pixels belonging to a corresponding block of a second color space;
deriving, by the prediction unit (200), correlation information between the current block of the first color space and the corresponding block of the second color space, using a first neighboring region adjacent to the current block of the first color space and a second neighboring region adjacent to the corresponding block of the second color space;
correcting, by the prediction unit (200), the prediction pixel of the current block based on the correlation information;
generating, by an image encoding apparatus (20), a residual pixel for the current block based on the corrected prediction pixel; and
encoding, by the image encoding apparatus (20), the current block of the first color space based on the residual pixel,
wherein generating the prediction pixel of the current block of the first color space comprises performing a filtering on the reference pixels belonging to the corresponding block of the second color space,
wherein the reference pixels include at least one of a filtering target pixel or a neighboring pixel of the filtering target pixel,
wherein the neighboring pixel of the filtering target pixel includes at least one of a top pixel, a left pixel, a right pixel, a top-left pixel, a top-right pixel, a bottom pixel, a bottom-left pixel or a bottom-right pixel adjacent to the filtering target pixel, and
wherein a flag for determining a number of the reference pixels to be used to generate the prediction pixel of the current block of the first color space is encoded.
