# US 2020/0402202 A1 · Methods and apparatus for efficient interpolation

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

- Number: US 2020/0402202 A1
- Document ID: US20200402202A1
- Status: Published application
- Kind: A1
- Application number: 16/667,902
- Filed: 2019-10-29
- Published: 2020-12-24
- Earliest claimed: 2019-06-20
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Rahul KUMAR; FNU GURUPAD; David TANNENBAUM
- Web page: https://patentgrep.com/patent/US20200402202A1

## CPC

- G06T 3/4007: based on interpolation, e.g. bilinear interpolation (image demosaicing G06T3/4015; edge-driven or edge-based scaling G06T3/403)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for interpolating values of an attribute for an image grid may include determining a root value of the attribute for a root node located centrally in the image grid, pre-calculating metadata for multiple child nodes in one or more hierarchical levels based on one or more gradients of the attribute, and deriving values of the attribute for each of the child nodes at each of the hierarchical levels based on the corresponding root value and metadata for the hierarchical level of each child node, wherein each child node may be used as a root node in the next hierarchical level. The image grid may have multiple outer cells arranged radially around a central cell, and the root node may be located in the central cell.

## Claims

### Claim 1

A method for interpolating attribute values for an image grid, the method comprising:
determining a first-level root value of an attribute at a first-level root node located centrally in the image grid;
calculating first-level metadata based on a first gradient of the attribute in a first direction and a second gradient of the attribute in a second direction; and
deriving, based on the first-level root value and the first-level metadata, first-level child values of the attribute for two or more first-level child nodes arranged radially around the first-level root node in the image grid.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
using one of the first-level child nodes and its corresponding first-level child value as a second-level root node and second-level root value for a cell of the image grid, wherein the root node of the cell is located centrally in the cell;
calculating second-level metadata based on the first gradient and the second gradient; and
deriving, based on the second-level root value and the second-level metadata, second-level child values of the attribute for two or more second-level child nodes arranged radially around the second-level root node in the cell.

### Claim 3 (depends on 1)

The method of claim 1, wherein each of the first-level child nodes is offset symmetrically from the first-level root node in the first and second directions.

### Claim 4 (depends on 3)

The method of claim 3, wherein each of the first-level child nodes is offset from the first-level root node by substantially zero or substantially the same distance in the first and second directions.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the image grid comprises a 3×3 array of cells having a center cell and eight outer cells;
the two or more first-level child nodes include eight first-level child nodes;
the first-level root node is located at a center of the center cell; and
each first-level child node is located at a center of one of the outer cells.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first-level metadata includes incremental values of the attribute for offsets in the first and second directions.

### Claim 7 (depends on 1)

The method of claim 1, wherein:
a value of a first parameter A is based on the first gradient;
a value of a second parameter B is based on the second gradient; and
the first-level metadata includes the values A, B, A+B, and A−B.

### Claim 8

(canceled)

### Claim 9 (depends on 2)

The method of claim 2, wherein:
a value of a first parameter A is based on the first gradient;
a value of a second parameter B is based on the second gradient;
the image grid comprises a 3×3 array of cells;
the first-level metadata includes the values 3A, 3B, 3(A+B), and 3(A−B); and
the second-level metadata includes the values A, B, A+B, and A−B.

### Claim 10 (depends on 1)

The method of claim 1, wherein the first-level metadata is calculated based on a plane equation.

### Claim 11 (depends on 10)

The method of claim 10, wherein:
the plane equation has the form P(x, y)=A*(x−Seed_X)+B*(y−Seed_Y)+C;
P is a parameter of a two-dimensional surface which is interpolated at each location (x, y), wherein x is a distance in an x-direction and y is a distance in a y-direction;
A is a gradient per pixel (or other cell) in the x direction;
B is a gradient per pixel (or other cell) in the y direction; and
C is a value of P at a location (Seed_X, Seed_Y).

### Claim 12 (depends on 1)

The method of claim 1, wherein deriving the first-level child values comprises adding one or more of the first-level metadata to the first-level root value.

### Claim 13

(canceled)

### Claim 14

(canceled)

### Claim 15 (depends on 1)

The method of claim 1, further comprising rasterizing an image in response to the values of the attribute.

### Claim 16

(canceled)

### Claim 17

A method for interpolating values of an attribute for an image grid, the method comprising:
determining a root value of the attribute for a root node located centrally in the image grid;
pre-calculating metadata for multiple child nodes in one or more hierarchical levels based on one or more gradients of the attribute; and
deriving values of the attribute for each of the child nodes at each of the hierarchical levels based on the corresponding root value and metadata for the hierarchical level of each child node;
wherein each child node is used as a root node in the next hierarchical level.

### Claim 18 (depends on 17)

The method of claim 17, wherein each node at each level is used as a root node at the next hierarchical level.

### Claim 19 (depends on 17)

The method of claim 17, wherein:
the image grid has multiple outer cells arranged radially around a central cell; and
the root node is located in the central cell.

### Claim 20 (depends on 17)

The method of claim 17, wherein the root node is located in a first cell having one or more additional nodes, the method further comprising:
determining values of the attribute for the one or more additional nodes in the first cell; and
deriving values of the attribute for additional child nodes corresponding to each of the additional nodes in the first cell at each of the hierarchical levels, wherein the value of the attribute for each additional child node is derived based on the value of the attribute for the corresponding additional node in the first cell, and the metadata for the corresponding hierarchical level.

### Claim 21 (depends on 20)

The method of claim 20, wherein the values of the attribute for the additional child nodes are derived through a separate hierarchical tree for each of the nodes in the first cell.

### Claim 22

(canceled)

### Claim 23

(canceled)

### Claim 24

A system for interpolating values of an attribute for an image grid, the system comprising:
a root unit configured to determine a root value of the attribute for a root node located centrally in the image grid;
a metadata unit configured to pre-calculate metadata for multiple child nodes in one or more hierarchical levels based on one or more parameters of the attribute; and
a tree of one or more logic stages coupled to the root unit and metadata unit and configured to derive values of the attribute for each of the child nodes at each of the hierarchical levels based on the corresponding root value and metadata for the hierarchical level of each child node.

### Claim 25

(canceled)

### Claim 26 (depends on 24)

The system of claim 24, further comprising a redirection unit coupled between the root unit and the tree and configured to rearrange the manner in which samples are directed from the root unit to the tree based on an operating mode.

### Claim 27 (depends on 26)

The system of claim 26, wherein the logic stages are configured to handle multiple samples in a multi-sample operating mode.

### Claim at position 28

28-41. (canceled)
