# US 2025/0159365 A1 · Rgb-ir pixel pattern conversion via conversion engine

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

- Number: US 2025/0159365 A1
- Document ID: US20250159365A1
- Status: Published application
- Kind: A1
- Application number: 19/026,992
- Filed: 2025-01-17
- Published: 2025-05-15
- Earliest claimed: 2022-07-29
- Applicants: Texas Instruments Incorporated
- Inventors: Hrushikesh Garud; Rajasekhar Allu; Gang Hua; Pandy Kalimuthu
- Web page: https://patentgrep.com/patent/US20250159365A1

## CPC

- H04N 23/85: for matrixing
- H04N 23/11: for generating image signals from visible and infrared light wavelengths
- H04N 23/843: {Demosaicing, e.g. interpolating colour pixel values}
- H04N 25/131: including elements passing infrared wavelengths
- H04N 25/135: {based on four or more different wavelength filter elements}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed herein are improvements to pixel pattern conversion, upsampling, and IR decontamination processes. An example includes an image processing pipeline comprising an upstream component, a pattern conversion component downstream with respect to the upstream component in the image processing pipeline, and a downstream component relative to the pattern conversion component. The pattern conversion component is configured to obtain RGB-IR pixel data produced by the upstream component of the image processing pipeline and convert the RGB-IR pixel data into RGB pixel data and IR pixel data using a conversion engine. The conversion engine is configured to demosaic the RGB-IR pixel into the RGB pixel data and the IR pixel data, remosaic the RGB pixel data into an RGB pattern and the IR pixel data into an IR pattern and remove IR contamination from the RGB pixel data of the RGB pattern for use by the downstream component.

## Claims

### Claim 1

A system, comprising:
an upstream component configured to produce red, green, blue and infrared (RGB-IR) pixel data; and
a pattern conversion component configured to:
receive the RGB-IR pixel;
demosaic the RGB-IR pixel data into red, green and blue (RGB) pixel data and infrared (IR) pixel data;
remosaic the RGB pixel data into a RGB pattern and the IR pixel data into an IR pattern; and
remove IR contamination from the RGB pixel data of the RGB pattern.

### Claim 2 (depends on 1)

The system of claim 1, wherein to demosaic the RGB-IR pixel data into the RGB pixel data and the IR pixel data, the pattern conversion component is configured to:
for each pixel of the RGB-IR pixel data:
identify a context of the pixel;
interpolate, based on the context of the pixel, one of a red, green, or blue pixel value for the RGB pixel data; and
interpolate, based on the context of the pixel, an IR pixel value for the IR pixel data.

### Claim 3 (depends on 2)

The system of claim 2, wherein the context comprises information of the RGB-IR pixel data at a location associated with a pixel and information of neighboring pixels, with respect to the pixel, of the RGB-IR pixel data.

### Claim 4 (depends on 2)

The system of claim 2, wherein to remosaic the RGB pixel data into the RGB pattern and the IR pixel data into the IR pattern, the pattern conversion component is configured to:
map the interpolated red, green, and blue pixel values to locations in the RGB pattern; and
map the interpolated IR pixel values to locations in the IR pattern.

### Claim 5 (depends on 2)

The system of claim 2, wherein the pattern conversion component is further configured to determine, for each pixel of the RGB-IR pixel data, a first amount of the IR contamination of the pixel.

### Claim 6 (depends on 5)

The system of claim 5, wherein the pattern conversion component is further configured to determine, for each pixel of the RGB-IR pixel data, whether an interpolated pixel value of the pixel exceeds a threshold value.

### Claim 7 (depends on 6)

The system of claim 6, wherein the pattern conversion component is further configured to, for each pixel of the RGB-IR pixel data, subtract the first amount of the IR contamination from the interpolated pixel value of the pixel based on the interpolated pixel value not exceeding the threshold value, and subtract a second amount of the IR contamination from the interpolated pixel value based on the interpolated pixel value exceeding the threshold value, wherein the second amount is less than the first amount.

### Claim 8

A system, comprising:
an interface configured to receive red, green, blue and infrared (RGB-IR) pixel data; and
circuitry coupled to the interface and configured to:
demosaic the RGB-IR pixel data into red, green and blue (RGB) pixel data and infrared (IR) pixel data;
remosaic the RGB pixel data into a RGB pattern and the IR pixel data into an IR pattern; and
remove IR contamination from the RGB pixel data of the RGB pattern.

### Claim 9 (depends on 8)

The system of claim 8, wherein to demosaic the RGB-IR pixel data into the RGB pixel data and the IR pixel data, the circuitry is configured to:
for each pixel of the RGB-IR pixel data:
identify a context of the pixel;
interpolate, based on the context of the pixel, one of a red, green, or blue pixel value for the RGB pixel data; and
interpolate, based on the context of the pixel, an IR pixel value for the IR pixel data.

### Claim 10 (depends on 9)

The system of claim 9, wherein the context comprises information of the RGB-IR pixel data at a location associated with a pixel and information of neighboring pixels, with respect to the pixel, of the RGB-IR pixel data.

### Claim 11 (depends on 9)

The system of claim 9, wherein to remosaic the RGB pixel data into the RGB pattern and the IR pixel data into the IR pattern, the circuitry is configured to:
map the interpolated red, green, and blue pixel values to locations in the RGB pattern; and
map the interpolated IR pixel values to locations in the IR pattern.

### Claim 12 (depends on 9)

The system of claim 9, wherein the circuitry is further configured to determine, for each pixel of the RGB-IR pixel data, a first amount of the IR contamination of the pixel.

### Claim 13 (depends on 9)

The system of claim 9, wherein the circuitry is further configured to determine, for each pixel of the RGB-IR pixel data, whether an interpolated pixel value of the pixel exceeds a threshold value.

### Claim 14 (depends on 13)

The system of claim 13, wherein the circuitry is further configured to, for each pixel of the RGB-IR pixel data, subtract a first amount of the IR contamination from the interpolated pixel value of the pixel based on the interpolated pixel value not exceeding the threshold value, and subtract a second amount of the IR contamination from the interpolated pixel value based on the interpolated pixel value exceeding the threshold value, wherein the second amount is less than the first amount.

### Claim 15

A method, comprising:
obtaining, by an image processing system, red, green, blue and infrared (RGB-IR) pixel data;
demosaicing, by the image processing system, the RGB-IR pixel data into red, green and blue (RGB) pixel data and infrared (IR) pixel data;
remosaicing, by the image processing system, the RGB pixel data into a RGB pattern and the IR pixel data into an IR pattern; and
removing, by the image processing system, IR contamination from the RGB pixel data of the RGB pattern.

### Claim 16 (depends on 15)

The method of claim 15, wherein demosaicing the RGB-IR pixel data into the RGB pixel data and the IR pixel data comprises:
for each pixel of the RGB-IR pixel data:
identifying a context of the pixel;
interpolating, based on the context of the pixel, one of a red, green, or blue pixel value for the RGB pixel data; and
interpolating, based on the context of the pixel, an IR pixel value for the IR pixel data.

### Claim 17 (depends on 16)

The method of claim 16, wherein the context comprises information of the RGB-IR pixel data at a location associated with a pixel and information of neighboring pixels, with respect to the pixel, of the RGB-IR pixel data.

### Claim 18 (depends on 16)

The method of claim 16, wherein remosaicing the RGB pixel data into the RGB pattern and the IR pixel data into the IR pattern comprises:
mapping the interpolated red, green, and blue pixel values to locations in the RGB pattern; and
mapping the interpolated IR pixel values to locations in the IR pattern.

### Claim 19 (depends on 16)

The method of claim 16, further comprising, determining, for each pixel of the RGB-IR pixel data, a first amount of the IR contamination of the pixel.

### Claim 20 (depends on 19)

The method of claim 19, further comprising, subtracting, for each pixel of the RGB-IR pixel data, the first amount of the IR contamination from an interpolated pixel value of the pixel based on the interpolated pixel value not exceeding a threshold value, and subtracting a second amount of the IR contamination from the interpolated pixel value based on the interpolated pixel value exceeding the threshold value, wherein the second amount is less than the first amount.
