# US 11,120,620 B2 · Gradient approximation filtering mechanism

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

- Number: US 11,120,620 B2
- Document ID: US11120620B2
- Status: Granted
- Kind: B2
- Application number: 16/910,252
- Filed: 2020-06-24
- Published: 2021-01-14
- Granted: 2021-09-14
- Earliest claimed: 2019-07-10
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Filip Strugar; Trapper McFerron; Adam Lake
- Web page: https://patentgrep.com/patent/US11120620B2

## CPC

- G06T 15/005: {General purpose rendering architectures}
- G06T 15/80: Shading
- G06T 3/4007: based on interpolation, e.g. bilinear interpolation (image demosaicing G06T3/4015; edge-driven or edge-based scaling G06T3/403)
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- G06T 2207/20024: Filtering details
- G06T 2207/20224: Image subtraction
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An apparatus to facilitate variable rate shading is disclosed. The apparatus comprises one or more processors to generate a course pixel output value for a pixel block, generate a gradient value comprising a gradient of the course pixel output value using neighbor pixel data and process the pixels in the pixel block using the gradient value to generate a fine pixel value for one or more pixels.

## Claims

### Claim 1

An apparatus to facilitate variable rate shading, comprising:
one or more processors to:
generate a course pixel output value for a pixel block;
generate a gradient value comprising a gradient of the course pixel output value using neighbor pixel data; and
process the pixels in the pixel block using the gradient value to generate a fine pixel value for one or more pixels, wherein processing the pixels comprises approximating a bilinear filtering using the gradient value.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the neighbor pixel data comprises data used to compute partial difference derivative components.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the gradient value is determined over a size of the pixel block between horizontal or vertical neighbors in the pixel block.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the one or more processors further to identify pixels in the pixel block that are to be interpolated or extrapolated and classify the pixels as interpolation pixels and extrapolation pixels.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein processing the pixels comprises interpolating the interpolation pixels and extrapolating the extrapolation pixels.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the one or more processors further to apply color clamp values to horizontal and vertical color values of a fine pixel value for the one or more pixels.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein a color clamp value comprises an absolute threshold value.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the bilinear filtering is approximated for a pixel by adding horizontal and vertical gradients for a pixel to the course pixel output value.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the bilinear filtering is further approximated by approximated for a pixel by scaling the horizontal and vertical gradients scaled by an offset ratio.

### Claim 10

A method to facilitate variable rate shading, comprising:
generating a course pixel output value for a pixel block;
generating a gradient value comprising a gradient of the course pixel output value using neighbor pixel data; and
processing the pixels in the pixel block using the gradient value to generate a fine pixel value for one or more pixels, wherein processing the pixels comprises approximating a bilinear filtering using the gradient value.

### Claim 11 (depends on 10)

The method of claim 10, wherein the neighbor pixel data comprises data used to compute partial difference derivative components.

### Claim 12 (depends on 11)

The method of claim 11, wherein the gradient value is determined over a size of the pixel block between horizontal or vertical neighbors in the pixel block.

### Claim 13 (depends on 10)

The method of claim 10, further comprising:
identifying pixels in the pixel block that are to be interpolated or extrapolated; and
classifying the pixels as interpolation pixels and extrapolation pixels.

### Claim 14 (depends on 13)

The method of claim 13, wherein processing the pixels comprises:
interpolating the interpolation pixels; and
extrapolating the extrapolation pixels.

### Claim 15 (depends on 10)

The method of claim 10, wherein the bilinear filtering is approximated for a pixel by adding horizontal and vertical gradients for a pixel to the course pixel output value.

### Claim 16 (depends on 15)

The method of claim 15, wherein the bilinear filtering is further approximated by approximated for a pixel by scaling the horizontal and vertical gradients scaled by an offset ratio.

### Claim 17

At least one non-transitory computer readable medium having instructions stored thereon, which when executed by one or more processors, cause the processors to:
generate a course pixel output value for a pixel block;
generate a gradient value comprising a gradient of the course pixel output value using neighbor pixel data; and
process the pixels in the pixel block using the gradient value to generate a fine pixel value for one or more pixels, wherein processing the pixels comprises approximating a bilinear filtering using the gradient value.

### Claim 18 (depends on 17)

The computer readable medium of claim 17, having instructions stored thereon, which when executed by one or more processors, cause the processors to:
identify pixels in the pixel block that are to be interpolated or extrapolated; and
classify the pixels as interpolation pixels and extrapolation pixels.

### Claim 19 (depends on 18)

The computer readable medium of claim 18, wherein processing the pixels comprises:
interpolating the interpolation pixels; and
extrapolating the extrapolation pixels.

### Claim 20 (depends on 17)

The computer readable medium of claim 17, wherein the bilinear filtering is approximated for a pixel by adding horizontal and vertical gradients for a pixel to the course pixel output value.
