# US 2018/0027241 A1 · Method and Apparatus for Multi-Level Region-of-Interest Video Coding

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

- Number: US 2018/0027241 A1
- Document ID: US20180027241A1
- Status: Published application
- Kind: A1
- Application number: 15/651,151
- Filed: 2017-07-17
- Published: 2018-01-25
- Earliest claimed: 2016-07-20
- Assignees: Mediatek Inc.
- Applicants: Mediatek Inc.
- Inventors: Tung-Hsing WU; Li-Heng CHEN; Han-Liang CHOU
- Web page: https://patentgrep.com/patent/US20180027241A1

## CPC

- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/124: Quantisation
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and apparatus for video encoding with multi-level regions of interest is disclosed. According to the present invention, a target frame in the input video data is configured into multiple-level region-of-interest (ROI) regions. Each target higher-level ROI region is located within one target lower-level ROI region. The multiple-level ROI regions are then encoded according to a plurality of quality levels, where at least two different quality levels are applied to two different multiple-level ROI regions respectively.

## Claims

### Claim 1

A method of video encoding comprising:
receiving input video data comprising a sequence of frames;
configuring a target frame in the input video data into multiple-level region-of-interest (ROI) regions, wherein each target higher-level ROI region is located within one target lower-level ROI region; and
encoding the multiple-level ROI regions according to a plurality of quality levels, wherein at least two different quality levels are applied to two different multiple-level ROI regions respectively.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of quality levels correspond to a set of level offsets and each level corresponds to one quality level offset from a base quality level, and wherein the base quality level is selected as the quality level of a designated multiple-level ROI region.

### Claim 3 (depends on 2)

The method of claim 2, wherein the designated multiple-level ROI region corresponds to a non-ROI region or a lowest-level region.

### Claim 4 (depends on 1)

The method of claim 1, wherein each quality level corresponds to one quantization parameter and each level offset corresponds to one offset value representing one target quantization parameter offset from a base quantization parameter associated with a non-ROI region or a lowest-level region.

### Claim 5 (depends on 4)

The method of claim 4, wherein each level offset is associated with a target bit allocation.

### Claim 6 (depends on 1)

The method of claim 1, wherein the target frame includes at least two images from at least two cameras.

### Claim 7 (depends on 6)

The method of claim 6, wherein the target frame consists of a left image and a right image, and wherein the left image is configured into first multiple-level ROI regions and the right image is configured into second multiple-level ROI regions different from the first multiple-level ROI regions.

### Claim 8 (depends on 1)

The method of claim 1, wherein the target frame is partitioned into non-overlapping coding units and encoding process is applied to each coding unit.

### Claim 9 (depends on 8)

The method of claim 8, wherein boundaries of each ROI region are aligned with boundaries of one or more coding units.

### Claim 10 (depends on 1)

The method of claim 1, wherein a group of pixels in a highest-level ROI region are coded using a highest quality level.

### Claim 11 (depends on 1)

The method of claim 1, wherein different target frames in the input video data are configured into different multiple-level ROI regions.

### Claim 12 (depends on 1)

The method of claim 1, wherein different pluralities of quality levels are used for two different target frames.

### Claim 13 (depends on 1)

The method of claim 1, wherein the multiple-level ROI regions are encoded using rate control.

### Claim 14 (depends on 13)

The method of claim 13, wherein the rate control is achieved by controlling quantization parameters for blocks of pixels within the target frame.

### Claim 15 (depends on 14)

The method of claim 14, wherein said controlling the quantization parameters for blocks of pixels within the target frame takes into consideration of the multiple-level ROI regions and the plurality of quality levels.

### Claim 16

An apparatus for video encoding comprising one or more electronic circuits or processors arranged to:
receive input video data comprising a sequence of frames;
configure a target frame in the input video data into multiple-level region-of-interest (ROI) regions, wherein each target higher-level ROI region is located within one target lower-level ROI region; and
encode the multiple-level ROI regions according to a plurality of quality levels, wherein at least two different quality levels are applied to two different multiple-level ROI regions respectively.
