# US 2023/0065837 A1 · Predictive color image processing

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

- Number: US 2023/0065837 A1
- Document ID: US20230065837A1
- Status: Published application
- Kind: A1
- Application number: 17/462,575
- Filed: 2021-08-31
- Published: 2023-03-02
- Earliest claimed: 2021-08-31
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corporation
- Inventors: Gopal Triplicane Venkatesan
- Web page: https://patentgrep.com/patent/US20230065837A1

## CPC

- G06T 3/4015: Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns
- G06T 3/4046: using neural networks
- G06T 5/20: using local operators
- G06T 2207/10024: Color image
- G06T 2207/20081: Training; Learning
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Apparatuses, systems, and techniques to process image data. In at least one embodiment, a neural network is trained to perform demosacing of two-dimensional image data obtained from an image sensor.

## Claims

### Claim 1

A processor comprising: one or more circuits to use one or more neural networks to cause one or more third images to be generated based, at least in part, on a first and second partially colored images, wherein the one or more third images is more completely colored than the first or second partially colored images.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the one or more neural networks includes a first neural network that generates one or more missing color values and a second neural network that removes an image artifact.

### Claim 3 (depends on 1)

The processor of claim 1, wherein:
the one or more third images is an RGB color image; and
each of the first and second partially colored images are red, green, or blue monochrome images.

### Claim 4 (depends on 1)

The processor of claim 1, wherein the first and second partially colored images are obtained using a two dimensional image sensor coupled to a Bayer filter.

### Claim 5 (depends on 1)

The processor of claim 1, wherein the first and second partially colored images are generated from a mosaic image.

### Claim 6 (depends on 1)

The processor of claim 1, wherein the one or more neural networks generate eight missing color values in a 2x2 quad based on a mosaic image that includes a 5x5 array of incomplete quads around the 2x2 quad.

### Claim 7 (depends on 6)

The processor of claim 6, wherein the 2x2 quad includes two green color values, one red color value, and one blue color value.

### Claim 8 (depends on 1)

The processor of claim 1, wherein the one or more neural networks are trained by at least:
applying a filter to a training image to produce a filtered image;
calculating color values for the filtered image;
calculating a loss based on differences between the color values and the training image; and
adjusting the one or more neural networks based at least in part on the loss.

### Claim 9 (depends on 1)

The processor of claim 1, wherein the one or more neural networks includes a first neural network trained to generate missing color values and a second neural network trained to refine the missing color values based at least on part on the first and second partially colored images.

### Claim 10 (depends on 1)

The processor of claim 1, wherein the one or more neural networks includes a first neural network that generates missing color values and a second neural network that removes one or more artifacts from the missing color values.

### Claim 11

A computer-implemented method, comprising generating one or more third images with one or more neural networks based, at least in part, on a first and second partially colored images, wherein the one or more third images is more completely colored than the first or second partially colored images.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein the one or more neural networks includes a first neural network that generates one or more missing color values and a second neural network that removes an image artifact.

### Claim 13 (depends on 11)

The computer-implemented method of claim 11, wherein:
the one or more third images is an RGB color image; and
each of the first and second partially colored images are red, green, or blue monochrome images.

### Claim 14 (depends on 11)

The computer-implemented method of claim 11, wherein the first and second partially colored images are obtained using a two dimensional image sensor coupled to a Bayer filter.

### Claim 15 (depends on 11)

The computer-implemented method of claim 11, wherein the first and second partially colored images are generated from a mosaic image.

### Claim 16 (depends on 11)

The computer-implemented method of claim 11, wherein the one or more neural networks generate eight missing color values in a 2x2 quad based on a mosaic image that includes a 5x5 array of incomplete quads around the 2x2 quad.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, wherein the 2x2 quad includes two green color values, one red color value, and one blue color value.

### Claim 18 (depends on 11)

The computer-implemented method of claim 11, wherein the one or more neural networks are trained by at least:
applying a filter to a training image to produce a filtered image;
calculating color values for the filtered image;
calculating a loss based on differences between the color values and the training image; and
adjusting the one or more neural networks based at least in part on the loss.

### Claim 19 (depends on 11)

The computer-implemented method of claim 11, wherein the one or more neural networks includes a first neural network trained to generate missing color values and a second neural network trained to refine the missing color values based at least on part on the first and second partially colored images.

### Claim 20 (depends on 11)

The computer-implemented method of claim 11, wherein the one or more neural networks includes a first neural network that generates missing color values and a second neural network that removes one or more artifacts from the missing color values.

### Claim 21

A computer system comprising one or more processors and memory storing executable instructions that, as a result of being executed by the one or more processors, cause the computer system to generate one or more third images with one or more neural networks based, at least in part, on a first or second partially colored images, wherein the one or more third images is more completely colored than the first or second partially colored images.

### Claim 22 (depends on 21)

The computer system of claim 21, wherein the one or more neural networks includes a first neural network that generates one or more missing color values and a second neural network that removes an image artifact.

### Claim 23 (depends on 21)

The computer system of claim 21, wherein:
the one or more third images is an RGB color image; and
each of the first and second partially colored images are red, green, or blue monochrome images.

### Claim 24 (depends on 21)

The computer system of claim 21, wherein the first and second partially colored images are obtained using a two dimensional image sensor coupled to a Bayer filter.

### Claim 25 (depends on 21)

The computer system of claim 21, wherein the first and second partially colored images are generated from a mosaic image.

### Claim 26 (depends on 21)

The computer system of claim 21, wherein the one or more neural networks generate eight missing color values in a 2x2 quad based on a mosaic image that includes a 5x5 array of incomplete quads around the 2x2 quad.

### Claim 27 (depends on 26)

The computer system of claim 26, wherein the 2x2 quad includes two green color values, one red color value, and one blue color value.

### Claim 28 (depends on 21)

The computer system of claim 21, wherein the one or more neural networks are trained by at least:
applying a filter to a training image to produce a filtered image;
calculating color values for the filtered image;
calculating a loss based on differences between the color values and the training image; and
adjusting the one or more neural networks based at least in part on the loss.

### Claim 29 (depends on 21)

The computer system of claim 21, wherein the one or more neural networks includes a first neural network trained to generate missing color values and a second neural network trained to refine the missing color values based at least on part on the first and second partially colored images.

### Claim 30 (depends on 21)

The computer system of claim 21, wherein the one or more neural networks includes a first neural network that generates missing color values and a second neural network that removes one or more artifacts from the missing color values.

### Claim 31

A machine-readable medium having stored thereon a set of instructions, which if performed by one or more processors, cause the one or more processors to generate one or more third images with one or more neural networks based, at least in part, on a first or second partially colored images, wherein the one or more third images is more completely colored than the first or second partially colored images.

### Claim 32 (depends on 31)

The machine-readable medium of claim 31, wherein the one or more neural networks includes a first neural network that generates one or more missing color values and a second neural network that removes an image artifact.

### Claim 33 (depends on 31)

The machine-readable medium of claim 31, wherein:
the one or more third images is an RGB color image; and
each of the first and second partially colored images are red, green, or blue monochrome images.

### Claim 34 (depends on 31)

The machine-readable medium of claim 31, wherein the first and second partially colored images are obtained using a two dimensional image sensor coupled to a Bayer filter.

### Claim 35 (depends on 31)

The machine-readable medium of claim 31, wherein the first and second partially colored images are generated from a mosaic image.

### Claim 36 (depends on 31)

The machine-readable medium of claim 31, wherein the one or more neural networks generate eight missing color values in a 2x2 quad based on a mosaic image that includes a 5x5 array of incomplete quads around the 2x2 quad.

### Claim 37 (depends on 36)

The machine-readable medium of claim 36, wherein the 2x2 quad includes two green color values, one red color value, and one blue color value.

### Claim 38 (depends on 31)

The machine-readable medium of claim 31, wherein the one or more neural networks are trained by at least:
applying a filter to a training image to produce a filtered image;
calculating color values for the filtered image;
calculating a loss based on differences between the color values and the training image; and
adjusting the one or more neural networks based at least in part on the loss.

### Claim 39 (depends on 31)

The machine-readable medium of claim 31, wherein the one or more neural networks includes a first neural network trained to generate missing color values and a second neural network trained to refine the missing color values based at least on part on the first and second partially colored images.

### Claim 40 (depends on 31)

The machine-readable medium of claim 31, wherein the one or more neural networks includes a first neural network that generates missing color values and a second neural network that removes one or more artifacts from the missing color values.
