# US 2025/0166284 A1 · Rendering an image of a 3-d scene

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

- Number: US 2025/0166284 A1
- Document ID: US20250166284A1
- Status: Published application
- Kind: A1
- Application number: 18/906,356
- Filed: 2024-10-04
- Published: 2025-05-22
- Earliest claimed: 2023-10-04
- Applicants: Imagination Technologies Limited
- Inventors: Szabolcs Cséfalvay; Mathieu Einig
- Web page: https://patentgrep.com/patent/US20250166284A1

## CPC

- G06T 15/06: Ray-tracing
- G06T 5/70: Denoising; Smoothing
- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06T 15/005: {General purpose rendering architectures}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image of a 3-D scene is rendered by first rendering a noisy image at a first resolution. One or more guide channels at the first resolution and one or more corresponding guide channels at a second resolution are obtained. When the two resolutions are the same, the guide channels at the first resolution and the corresponding guide channels at the second resolution may be provided by a single set of guide channels. For each of a plurality of local neighborhoods, the parameters of a model that approximates the noisy image as a function of the one or more guide channels (at the first resolution) are calculated, and the calculated parameters are applied to the one or more guide channels (at the second resolution), to produce a denoised image at the second resolution. The one or more guide channels include at least one guide channel characterizing a spatial dependency of incident light on global lighting over the surface of one or more 3-D models in the scene.

## Claims

### Claim 1

A method of rendering an image of a 3-D scene, the method comprising:
rendering a noisy image;
obtaining one or more guide channels; and
for each of a plurality of local neighbourhoods:
calculating the parameters of a model that approximates the noisy image as a function of the one or more guide channels, and
applying the calculated parameters to the one or more guide channels, to produce a denoised image,
wherein the one or more guide channels include at least one guide channel characterising a spatial dependency of incident light on global lighting over the surface of one or more 3-D models in the scene.

### Claim 2

A method of rendering an image of a 3-D scene, the method comprising:
rendering a low-resolution noisy image;
obtaining one or more low-resolution guide channels and obtaining one or more corresponding full-resolution guide channels; and
for each of a plurality of local neighbourhoods:
calculating the parameters of a model that approximates the low-resolution noisy image as a function of the one or more low-resolution guide channels, and
applying the calculated parameters to the one or more full-resolution guide channels, to produce a full-resolution denoised image,
wherein the one or more low-resolution guide channels and the one or more corresponding full-resolution guide channels each include at least one guide channel characterising a spatial dependency of incident light on global lighting over the surface of one or more 3-D models in the scene.

### Claim 3 (depends on 1)

The method of claim 1, wherein said at least one guide channel comprises or consists of ambient occlusion data.

### Claim 4 (depends on 2)

The method of claim 2, wherein said at least one guide channel comprises or consists of ambient occlusion data.

### Claim 5 (depends on 1)

The method of claim 1, wherein obtaining said at least one guide channel comprises:
obtaining one or more ambient occlusion maps for respective one or more models in the scene; and
projecting the one or more ambient occlusion maps into screen space, to produce an ambient occlusion guide in screen space.

### Claim 6 (depends on 2)

The method of claim 2, wherein obtaining said at least one guide channel comprises:
obtaining one or more ambient occlusion maps for respective one or more models in the scene; and
projecting the one or more ambient occlusion maps into screen space, to produce an ambient occlusion guide in screen space.

### Claim 7 (depends on 1)

The method of claim 1, wherein rendering the noisy image comprises rendering by path tracing.

### Claim 8 (depends on 1)

The method of claim 1, wherein the noisy image comprises indirect lighting in the scene.

### Claim 9 (depends on 8)

The method of claim 8, wherein the method further comprises:
obtaining a direct lighting image; and
combining the denoised image with the direct lighting image to produce a global illumination image.

### Claim 10 (depends on 9)

The method of claim 9, wherein obtaining the direct lighting image comprises rendering it by ray-tracing or rendering it by rasterization.

### Claim 11 (depends on 8)

The method of claim 8, wherein the noisy image is a noisy global illumination image, comprising direct and indirect lighting in the scene, whereby the denoised image is a denoised global illumination image.

### Claim 12 (depends on 9)

The method of claim 9, further comprising combining the global illumination image or the denoised global illumination image with a surface reflectance image to produce a rendered image of the 3-D scene.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
defining a first tile, defining respective first contiguous portions of the noisy image and the one or more guide channels, each comprising a first plurality of pixels;
defining a second tile, defining respective second contiguous portions of the noisy image and the one or more guide channels, each comprising a second plurality of pixels;
calculating a first outer product (xTx) between each pixel (x) in the one or more guide channels and itself; and
calculating a second outer product (xTy) between each pixel (x) in the one or more guide channels and the corresponding pixel (y) in the noisy image,
wherein the first outer product and second outer product are calculated for pixels in the first tile either (i) before the second tile or (ii) concurrently with the second tile.

### Claim 14 (depends on 1)

The method of claim 1, wherein at least one of the noisy image, the one or more guide channels, and the denoised image are stored in a quantized low-bitdepth format.

### Claim 15 (depends on 14)

The method of claim 14, further comprising, after rendering the noisy image, quantizing it in a quantized low-bitdepth format with nonlinear quantization, such that darker regions of the image are quantized to a relatively greater density of quantization levels, and lighter regions of the image are quantized to a relatively lesser density of quantization levels, and storing the quantized low-bitdepth format in a memory, wherein the method further comprises, before calculating the parameters of the model, retrieving the quantized low-bitdepth value from the memory and performing inverse quantization.

### Claim 16 (depends on 1)

The method of claim 1, wherein calculating the parameters of the model comprises:
calculating a first outer product (xTx) between each pixel (x) in the one or more guide channels and itself;
calculating a second outer product (xTy) between each pixel (x) in the one or more guide channels and the corresponding pixel (y) in the noisy image;
blurring the first outer products to calculate a first moment matrix (XTX) for each local neighbourhood;
blurring the second outer products to calculate a second moment matrix (XTY) for each local neighbourhood; and
calculating the parameters (A) of the model for each local neighbourhood, comprising calculating an inverse matrix of the first moment matrix, and calculating a product of the inverse matrix and the second moment matrix.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
defining a first outer product tile, defining a first contiguous portion of the first outer product and a respective first contiguous portion of the second outer product, each comprising a first plurality of pixels; and
defining a second outer product tile, defining a second contiguous portion of the first outer product and a respective second contiguous portion of the second outer product, each comprising a second plurality of pixels,
wherein the first moment matrix and second moment matrix are calculated for the first tile either (i) before the second tile or (ii) concurrently with the second tile.

### Claim 18

A graphics processing unit configured to render an image of a 3-D scene, the graphics processing unit comprising:
a first rendering block, configured to render a noisy image;
a second rendering block, configured to render one or more guide channels;
a model fitting block, configured to, for each of a plurality of local neighbourhoods, calculate the parameters of a model that approximates the noisy image as a function of the one or more guide channels; and
a model application block, configured to, for each of the plurality of local neighbourhoods, apply the calculated parameters to the one or more guide channels, to produce a denoised image,
wherein the one or more guide channels include at least one guide channel characterising a spatial dependency of incident light on global lighting over the surface of one or more 3-D models in the scene.

### Claim 19 (depends on 1)

A non-transitory computer readable storage medium having stored thereon computer readable code configured to cause the method as set forth in claim 1 to be performed when the code is run.

### Claim 20 (depends on 2)

A non-transitory computer readable storage medium having stored thereon computer readable code configured to cause the method as set forth in claim 2 to be performed when the code is run.
