# US 2022/0046252 A1 · Adaptive coding unit (cu) partitioning based on image statistics

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

- Number: US 2022/0046252 A1
- Document ID: US20220046252A1
- Status: Published application
- Kind: A1
- Application number: 17/499,301
- Filed: 2021-10-12
- Published: 2022-02-10
- Earliest claimed: 2012-11-19
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Hyung Joon Kim
- Web page: https://patentgrep.com/patent/US20220046252A1

## CPC

- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for determining coding unit (CU) partitioning of a largest coding unit (LCU) of a picture is provided that includes computing a first statistical measure and a second statistical measure for the LCU, selecting the LCU as the CU partitioning when the first statistical measure does not exceed a first threshold and the second statistical measure does not exceed a second threshold, and selecting CUs in one or more lower layers of a CU hierarchy of the LCU to form the CU partitioning when the first statistical measure exceeds the first threshold and/or the second statistical measure exceeds the second threshold.

## Claims

### Claim 1

An encoder comprising:
a coding component configured to output a largest coding unit (LCU) of an image; and
a partitioning component configured to:
receive the LCU;
determine a first statistical measure of the LCU;
determine a second statistical measure of the LCU;
compare the first statistical measure to a first threshold;
compare the second statistical measure to a second threshold; and
responsive to the first statistical measure exceeding the first threshold or the second statistical measure exceeding the second threshold, partition the LCU into a set of child coding units (CUs).

### Claim 2 (depends on 1)

The encoder of claim 1, wherein:
the first statistical measure is a variance; and
the second statistical measure is a gradient.

### Claim 3 (depends on 1)

The encoder of claim 1, wherein:
the coding component is further configured to:
receive a digital video sequence;
process the digital video sequence into a plurality of images; and
divide each of the plurality of images into respective LCUs;
the LCU is one of the respective LCUs; and
the image is one of the plurality of images.

### Claim 4 (depends on 3)

The encoder of claim 3, wherein:
the first threshold and the second threshold are based on an expected content of the digital video sequence.

### Claim 5 (depends on 1)

The encoder of claim 1, wherein:
the coding component is further configured to:
responsive to the first statistical measure not exceeding the first threshold and the second statistical measure not exceeding the second threshold, select the LCU as a partition of the image.

### Claim 6 (depends on 1)

The encoder of claim 1, wherein:
the coding component is further configured to:
determine a third statistical measure for a first child CU of the set of child CUs;
determine a fourth statistical measure for the first child CU the set of child CUs;
compare the third statistical measure to a third threshold;
compare the fourth statistical measure to a fourth threshold; and
responsive to the third statistical measure exceeding the third threshold or the fourth statistical measure exceeding the fourth threshold, partition the first child CU into a second set of child CUs.

### Claim 7 (depends on 6)

The encoder of claim 6, wherein:
the coding component is further configured to:
determine a fifth statistical measure for a second child CU of the set of child CUs;
determine a sixth statistical measure for the second child CU the set of child CUs;
compare the fifth statistical measure to the third threshold;
compare the sixth statistical measure to the fourth threshold; and
responsive to the fifth statistical measure exceeding the third threshold or the sixth statistical measure exceeding the fourth threshold, partition the second child CU into a third set of child CUs.

### Claim 8

A method comprising:
receiving, by a processor, a largest coding unit (LCU);
determining, by the processor, a first statistical measure of the LCU;
determining, by the processor, a second statistical measure of the LCU;
comparing, by the processor, the first statistical measure to a first threshold;
comparing, by the processor, the second statistical measure to a second threshold; and
responsive to the first statistical measure exceeding the first threshold or the second statistical measure exceeding the second threshold, partitioning, by the processor, the LCU into a set of child coding units (CUs).

### Claim 9 (depends on 8)

The method of claim 8, wherein:
the first statistical measure is a variance; and
the second statistical measure is a gradient.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
receiving, by the processor, a digital video sequence;
processing, by the processor, the digital video sequence into a plurality of images; and
dividing, by the processor, each of the plurality of images into respective LCUs, wherein the LCU is one of the respective LCUs.

### Claim 11 (depends on 10)

The method of claim 10, wherein:
the first threshold and the second threshold are based on an expected content of the digital video sequence.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
responsive to the first statistical measure not exceeding the first threshold and the second statistical measure not exceeding the second threshold, selecting, by the processor, the LCU as a partition of an image.

### Claim 13 (depends on 8)

The method of claim 8, further comprising:
determining, by the processor, a third statistical measure for a first child CU of the set of child CUs;
determining, by the processor, a fourth statistical measure for the first child CU the set of child CUs;
comparing, by the processor, the third statistical measure to a third threshold;
comparing, by the processor, the fourth statistical measure to a fourth threshold; and
responsive to the third statistical measure exceeding the third threshold or the fourth statistical measure exceeding the fourth threshold, partitioning, by the processor, the first child CU into a second set of child CUs.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
determining, by the processor, a fifth statistical measure for a second child CU of the set of child CUs;
determining, by the processor, a sixth statistical measure for the second child CU the set of child CUs;
comparing, by the processor, the fifth statistical measure to the third threshold;
comparing, by the processor, the sixth statistical measure to the fourth threshold; and
responsive to the fifth statistical measure exceeding the third threshold or the sixth statistical measure exceeding the fourth threshold, partitioning, by the processor, the second child CU into a third set of child CUs.

### Claim 15

A computer readable medium storing software instructions that, when executed by at least one processor, causes a method for determining coding unit (CU) partitioning of a largest coding unit (LCU) of a picture to be performed, the method comprising:
determining a first statistical measure of the LCU;
determining a second statistical measure of the LCU;
comparing the first statistical measure to a first threshold;
comparing the second statistical measure to a second threshold; and
responsive to the first statistical measure exceeding the first threshold or the second statistical measure exceeding the second threshold, partitioning the LCU into a set of child CUs.

### Claim 16 (depends on 15)

The computer readable medium of claim 15, wherein:
the first statistical measure is a variance; and
the second statistical measure is a gradient.

### Claim 17 (depends on 15)

The computer readable medium of claim 15, wherein the method further comprises:
receiving a digital video sequence;
processing the digital video sequence into a plurality of images; and
dividing each of the plurality of images into respective LCUs, wherein the LCU is one of the respective LCUs.

### Claim 18 (depends on 15)

The computer readable medium of claim 15, wherein the method further comprises:
responsive to the first statistical measure not exceeding the first threshold and the second statistical measure not exceeding the second threshold, selecting, by the processor, the LCU as a partition of an image.

### Claim 19 (depends on 15)

The computer readable medium of claim 15, wherein the method further comprises:
determining, by the processor, a third statistical measure for a first child CU of the set of child CUs;
determining, by the processor, a fourth statistical measure for the first child CU the set of child CUs;
comparing, by the processor, the third statistical measure to a third threshold;
comparing, by the processor, the fourth statistical measure to a fourth threshold; and
responsive to the third statistical measure exceeding the third threshold or the fourth statistical measure exceeding the fourth threshold, partitioning, by the processor, the first child CU into a second set of child CUs.

### Claim 20 (depends on 19)

The computer readable medium of claim 19, wherein the method further comprises:
determining, by the processor, a fifth statistical measure for a second child CU of the set of child CUs;
determining, by the processor, a sixth statistical measure for the second child CU the set of child CUs;
comparing, by the processor, the fifth statistical measure to the third threshold;
comparing, by the processor, the sixth statistical measure to the fourth threshold; and
responsive to the fifth statistical measure exceeding the third threshold or the sixth statistical measure exceeding the fourth threshold, partitioning, by the processor, the second child CU into a third set of child CUs.
