# US 2019/0379893 A1 · Fast region of interest coding using multi-segment resampling

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

- Number: US 2019/0379893 A1
- Document ID: US20190379893A1
- Status: Published application
- Kind: A1
- Application number: 16/004,271
- Filed: 2018-06-08
- Published: 2019-12-12
- Earliest claimed: 2018-06-08
- Assignees: Sony Interactive Entertainment Inc.
- Applicants: Sony Interactive Entertainment LLC
- Inventors: Rathish Krishnan
- Web page: https://patentgrep.com/patent/US20190379893A1

## CPC

- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- 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/162: User input
- H04N 19/17: the unit being an image region, e.g. an object
- H04N 19/172: the region being a picture, frame or field
- H04N 19/198: {including smoothing of a sequence of encoding parameters, e.g. by averaging, by choice of the maximum, minimum or median value}
- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

In a method for video encoding, one or more parameters are determined for a region of interest (ROI) within a digital image. The parameters relate to a size, location, and shape of the ROI. Multi-segment downsampling is performed on the input image to generate a downsampled image having fewer pixels than the digital image. The downsampling uses a different sample density for the ROI than for a portion of the digital image outside the ROI. The downsampled image is encoded to generate encoded image data and the encoded image data is combined with the one or more parameters to generate combined data, which may then be transmitted or stored. A method for video decoding comprising decoding the encoded video and performing multi-segment upsampling on the decoded video is also disclosed.

## Claims

### Claim 1

A method for video encoding, comprising:
a) determining one or more parameters for a region of interest (ROI) within a digital image, wherein the one or more parameters relate to a size, location, and shape of the ROI;
b) performing multi-segment downsampling on the input image to generate a downsampled image having fewer pixels than the digital image, wherein the multi-segment downsampling performed on the digital image uses a different sample density for the ROI than for a portion of the digital image outside the region of interest;
c) encoding the downsampled image to generate encoded image data;
d) combining the encoded image data with the one or more parameters to generate combined data; and
e) transmitting or storing the combined data.

### Claim 2 (depends on 1)

The method of claim 1, wherein the multi-segment downsampling performed on the digital image uses a higher sample density for the ROI than for a portion of the digital image outside the region of interest.

### Claim 3 (depends on 2)

The method of claim 2, wherein the sample density of the ROI is the sample density of the digital image.

### Claim 4 (depends on 1)

The method of claim 1, wherein the one or more parameters include offsets from each edge of a rectangular image to an ROI boundary.

### Claim 5 (depends on 1)

The method of claim 1, wherein the ROI is rectangular.

### Claim 6 (depends on 1)

The method of claim 1 wherein the ROI is substantially circular.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more parameters for the ROI include an offset of the ROI from an edge of the digital image.

### Claim 8 (depends on 1)

The method of claim 1, wherein the one or more parameters for the ROI include offsets of the ROI from left, right, top, and bottom edges of the digital image.

### Claim 9 (depends on 1)

The method of claim 1 wherein the multi-segment downsampling performed on the digital image uses a lower sample density for the ROI than for a portion of the digital image outside the region of interest.

### Claim 10 (depends on 1)

The method of claim 1 wherein multi-segment downsampling is performed non-linearly outside the ROI.

### Claim 11 (depends on 10)

The method of claim 10 wherein the multi-segment downsampling is performed using a quadratic function wherein the sampling density becomes progressively sparser as a function of distance from the ROI.

### Claim 12 (depends on 1)

The method of claim 1 wherein multi-segment downsampling is performed linearly outside the ROI.

### Claim 13 (depends on 1)

The method of claim 1 wherein the one or more parameters for a ROI are determined from gaze tracking data.

### Claim 14 (depends on 1)

The method of claim 1 wherein the one or more parameters for a ROI are determined from an area of interest prediction algorithm.

### Claim 15 (depends on 1)

The method of claim 1 wherein there are more than one ROI.

### Claim 16 (depends on 15)

The method of claim 15 wherein the one or more parameters for the ROI include an identifier in the parameters to specify which ROI the parameters refer.

### Claim 17 (depends on 1)

The method of claim 1 wherein a) further comprises comparing the one or more parameters for the ROI to a threshold and adjusting the one or more parameters to increase or decrease a downsampling ratio if the one or more parameters for the ROI do not meet the threshold.

### Claim 18 (depends on 1)

The method of claim 1 wherein a) further comprises comparing the one or more parameters for the ROI to a threshold and when the one or more parameters for the ROI do not meet the threshold, b) comprises terminating the multi-segment downsampling operation at a current output resolution and c) comprises encoding a higher or lower resolution version of the multi-segment downsampled digital image.

### Claim 19

A method for video decoding, comprising:
a) decoding encoded image data to generate decoded image data for a digital image;
b) performing multi-segment upsampling on the decoded image data to convert the digital image to an upsampled image having more pixels than the digital image using one or more parameters that relate to a location, size, and shape of a region of interest (ROI) to the upsampled image, wherein the multi-segment upsampling performed on the digital image uses a different sample density for the ROI than for a portion of the digital image outside the region of interest; and
c) displaying or storing the upsampled image.

### Claim 20 (depends on 19)

The method of claim 19, wherein the multi-segment upsampling performed on the digital image uses a lower sample density for the ROI than for a portion of the digital image outside the region of interest.

### Claim 21 (depends on 19)

The method of claim 19 wherein the multi-segment upsampling is performed non-linearly outside the ROI.

### Claim 22 (depends on 21)

The method of claim 21 where the multi-segment upsampling is performed using a square-root function wherein the wherein the sampling density becomes progressively more dense as a function of distance to the ROI.
