# US 2024/0177284 A1 · Image processing techniques to validate sensor cleaning

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

- Number: US 2024/0177284 A1
- Document ID: US20240177284A1
- Status: Published application
- Kind: A1
- Application number: 18/072,659
- Filed: 2022-11-30
- Published: 2024-05-30
- Earliest claimed: 2022-11-30
- Assignees: GM Cruise Holdings LLC
- Applicants: GM Cruise Holdings LLC
- Inventors: Kilian Leport; Jace Artichoker; Wesley Newhouse; Nicholas Decker; Chin-Kai Chang
- Web page: https://patentgrep.com/patent/US20240177284A1

## CPC

- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- B60S 1/56: specially adapted for cleaning other parts or devices than front windows or windscreens {(rear-view mirror arrangements mounted on vehicle exterior including cleaning devices B60R1/0602)}
- G02B 27/0006: {with means to keep optical surfaces clean, e.g. by preventing or removing dirt, stains, contamination, condensation (G02B1/18 takes precedence; cleaning in general B08B)}
- G06T 7/11: Region-based segmentation
- G06T 7/143: involving probabilistic approaches, e.g. Markov random field [MRF] modelling
- G06T 7/194: involving foreground-background segmentation
- G06T 2207/30168: Image quality inspection
- G06T 2207/30252: Vehicle exterior; Vicinity of vehicle
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- B60S: SERVICING, CLEANING, REPAIRING, SUPPORTING, LIFTING, OR MANOEUVRING OF VEHICLES, NOT OTHERWISE PROVIDED FOR
- G02B: OPTICAL ELEMENTS, SYSTEMS OR APPARATUS

## Abstract

The disclosed technology provides solutions for confirming a sensor cleaning event of a sensor mounted on an autonomous vehicle. A method of the disclosed technology can include steps for receiving a first plurality of image frames from an optical sensor; segmenting each of the first plurality of image frames into one or more interest regions; computing image statistics for each of the one or more interest regions; generating an image mask based on the image statistics for each of the one or more interest regions; receiving a second plurality of image frames from the optical sensor; applying the image mask to the second plurality of image frames; computing image statistics for each of the second plurality of image frames; and determining a status of a sensor cleaning event based on the image statistics for each of the second plurality of image frames. Systems and machine-readable media are also provided.

## Claims

### Claim 1

An apparatus comprising:
at least one memory; and
at least one processor coupled to the at least one memory, the at least one processor configured to:
receive a first plurality of image frames from an optical sensor;
segment each of the first plurality of image frames into one or more interest regions;
compute image statistics for each of the one or more interest regions;
generate an image mask based on the image statistics for each of the one or more interest regions;
receive a second plurality of image frames from the optical sensor;
apply the image mask to the second plurality of image frames to produce a plurality of masked image frames;
compute image statistics for each of the plurality of masked image frames; and
determine a status of a sensor cleaning event based on the image statistics for each of the plurality of masked image frames.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the second plurality of image frames are received in response to an indication that the sensor cleaning event has been initiated.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the sensor cleaning event is initiated in response to a determination that one or more interest regions of the second plurality of images are stable.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein to compute the image statistics for each of the first plurality of image frames based on the one or more interest regions, the at least one processor is further configured to:
generate a one-dimensional pixel array for each of the first plurality of image frames; and
compute the image statistics for each of the first plurality of image frames based on the corresponding one-dimensional pixel array.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the sensor cleaning event is associated with timestamp metadata.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the sensor cleaning event comprises applying a cleaning solution to an optical lens of the optical sensor.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the optical sensor is a camera sensor.

### Claim 8

A computer-implemented method for confirming a sensor cleaning event, comprising:
receiving a first plurality of image frames from an optical sensor;
segmenting each of the first plurality of image frames into one or more interest regions;
computing image statistics for each of the one or more interest regions;
generating an image mask based on the image statistics for each of the one or more interest regions;
receiving a second plurality of image frames from the optical sensor;
applying the image mask to the second plurality of image frames to produce a plurality of masked image frames;
computing image statistics for each of the plurality of masked image frames; and
determining a status of a sensor cleaning event based on the image statistics for each of the plurality of masked image frames.

### Claim 9 (depends on 8)

The method of claim 8, wherein the second plurality of image frames are received in response to an indication that the sensor cleaning event has been initiated.

### Claim 10 (depends on 8)

The method of claim 8, wherein the sensor cleaning event is initiated in response to a determination that one or more interest regions of the second plurality of images are stable.

### Claim 11 (depends on 8)

The method of claim 8, wherein computing the image statistics for each of the first plurality of image frames based on the one or more interest regions includes:
generating a one-dimensional pixel array for each of the first plurality of image frames; and
computing the image statistics for each of the first plurality of image frames based on the corresponding one-dimensional pixel array.

### Claim 12 (depends on 8)

The method of claim 8, wherein the sensor cleaning event is associated with timestamp metadata.

### Claim 13 (depends on 8)

The method of claim 8, wherein the sensor cleaning event comprises applying a cleaning solution to an optical lens of the optical sensor.

### Claim 14 (depends on 8)

The method of claim 8, wherein the optical sensor is a camera sensor.

### Claim 15

A non-transitory computer-readable storage medium comprising at least one instruction for causing a computer or processor to:
receive a first plurality of image frames from an optical sensor;
segment each of the first plurality of image frames into one or more interest regions;
compute image statistics for each of the one or more interest regions;
generate an image mask based on the image statistics for each of the one or more interest regions;
receive a second plurality of image frames from the optical sensor;
apply the image mask to the second plurality of image frames to produce a plurality of masked image frames;
compute image statistics for each of the plurality of masked image frames; and
determine a status of a sensor cleaning event based on the image statistics for each of the plurality of masked image frames.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the second plurality of image frames are received in response to an indication that the sensor cleaning event has been initiated.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the sensor cleaning event is initiated in response to a determination that one or more interest regions of the second plurality of images are stable.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein to compute the image statistics for each of the first plurality of image frames based on the one or more interest regions, the at least one processor is further configured to:
generate a one-dimensional pixel array for each of the first plurality of image frames; and
compute the image statistics for each of the first plurality of image frames based on the corresponding one-dimensional pixel array.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the sensor cleaning event is associated with timestamp metadata.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the sensor cleaning event comprises applying a cleaning solution to an optical lens of the optical sensor.
