# US 2022/0284704 A1 · Anomaly detection method and system for image signal processor

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

- Number: US 2022/0284704 A1
- Document ID: US20220284704A1
- Status: Published application
- Kind: A1
- Application number: 17/686,168
- Filed: 2022-03-03
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: Black Sesame Technologies Inc.
- Applicants: Black Sesame Technologies Inc.
- Inventors: Zhijie Lei; Zhiqiang Qiu
- Web page: https://patentgrep.com/patent/US20220284704A1

## CPC

- G06V 10/98: Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns
- G06V 20/56: exterior to a vehicle by using sensors mounted on the vehicle
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An anomaly detection method and system for image signal processor are disclosed. The anomaly detection method includes the followings. A test image following a predetermined image configuration rule is generated. The test image is provided to an image signal processor. The predetermined first image processing parameters for processing the test image are provided to the image signal processor. And the processed test images are detected to determine whether there are anomalies in the image signal processor. The processed test images are an images output after the image signal processor processes the test image based on the first image processing parameters.

## Claims

### Claim 1

A method for detecting anomaly of image signal processor, comprising:
generating a test image, wherein the test image follows a predetermined image configuration rule;
providing the test image to an image signal processor;
providing first image processing parameters for processing the test image to the image signal processor, wherein the first image processing parameters are predetermined; and
detecting processed test images to determine whether there are anomalies in the image signal processor;
wherein the processed test images are images output after the test image being processed by the image signal processor based on the first image processing parameters.

### Claim 2 (depends on 1)

The method of claim 1, wherein the step of generating a test image comprises generating the test image based on predetermined image configuration parameters during a power-on reset of the image signal processor.

### Claim 3 (depends on 1)

The method of claim 1, wherein the step of generating a test image comprises generating the test image based on the image configuration parameters when a first normal image has been processed by the image signal processor while a second normal image has not yet reached the image signal processor; wherein the image configuration parameters is configured according to the predetermined image configuration rule and a time interval between an arrival time at which the first normal image reaches the image signal processor and an expected arrival time at which the second normal image reaches the image signal processor; and
the step of providing first image processing parameter for processing the test image to the image signal processor comprises switching the image processing parameters of the image signal processor from second image processing parameters for processing the first normal image to the first image processing parameters.

### Claim 4 (depends on 2)

The method of claim 2, wherein the image configuration parameters comprise a horizontal size and a vertical size of the test image, positions of a start of frame flag and a end of frame flag of the test image, a horizontal blank of the processed test images, and an initial value associated with a data stream of the test image.

### Claim 5 (depends on 1)

The method of claim 1, wherein the step of detecting processed test images comprises:
checking whether the processed test images violate the predetermined image configuration rule, and determining that there are anomalies in the image signal processor in a case where the processed test images violate the predetermined image configuration rule.

### Claim 6 (depends on 1)

The method of claim 1, wherein the predetermined image configuration rule comprises: the start of frame flag of the image being set before the end of frame flag of the image, the horizontal size and the vertical size of the image being an integer multiple of 8 or 16, and the horizontal blank of the image remaining unchanged.

### Claim 7 (depends on 1)

The method of claim 1, wherein the image signal processor comprises a plurality of parallel processing units;
the step of providing the test image to an image signal processor comprises providing the test image to each parallel processing unit of the image signal processor:
the processed test images comprise a plurality of processed test images obtained after being processed via each parallel processing unit;
and the step of detecting processed test images comprises comparing the plurality of processed test images, and determining there are anomalies in the image signal processor when the plurality of processed test images are inconsistent.

### Claim 8 (depends on 1)

The method of claim 1, wherein the step of detecting processed test images comprises:
calculating a cyclic redundancy check value of the processed test images;
comparing the cyclic redundancy check value with an expected cyclic redundancy check value, wherein the expected cyclic redundancy check value is determined based on the test image and the first image processing parameters; and
determining there are anomalies in the image signal processor when the cyclic redundancy check value is inconsistent with the expected cyclic redundancy check value.

### Claim 9

An anomaly detection system for an image signal processor, comprising a test image generation circuit, an image selection circuit, an image processing parameter selection circuit and an anomaly detection circuit;
wherein the test image generation circuit is configured to generate a test image, and the test image follows a predetermined image configuration rule;
the image selection circuit is configured to receive a normal image and the test image generated by the test image generation circuit, and is configured to select to provide the normal image or the test image to the image signal processor;
the image processing parameter selection circuit is configured to receive first image processing parameters for processing the test image and second image processing parameters for processing the normal image, and is configured to select to provide the first image processing parameters or the second image processing parameters to the image signal processor, wherein the first image processing parameters is predetermined;
the anomaly detection circuit is configured to receive the processed test images from the image signal processor, and is configured to detect the processed test images to determine whether any anomalies exist in the image signal processor; wherein the processed test images are images output by the image signal processor after processing the test image based on the first image processing parameters.

### Claim 10 (depends on 9)

The system of claim 9, wherein the test image generation circuit is configured to generate the test image based on predetermined image configuration parameters during power-on reset of the image signal processor, and the image selection circuit is configured to provide the generated test image to the image signal processor during a power-on reset of the image signal processor.

### Claim 11 (depends on 9)

The system of claim 9, wherein
the test image generation circuit is configured to generate the test image based on the image configuration parameters when a first normal image has been processed by the image signal processor but a second normal image has not yet reached the image signal processor, wherein the image configuration parameters are configured according to the predetermined image configuration rule and a time interval between an arrival time at which the first normal image reaches the image signal processor and an expected arrival time at which the second normal image reaches the image signal processor;
the image selection circuit is configured to provide the test image to the image signal processor between the first normal image and the second normal image; and
the image processing parameter selection circuit is configured to switch the image processing parameters of the image signal processor from second image processing parameters for processing the first normal image to the first image processing parameters while the test image is provided to the image signal processor.

### Claim 12 (depends on 9)

The system of claim 9, wherein the anomaly detection circuit comprises an image configuration rule violation detection circuit, and the image configuration rule violation detection circuit is configured to check whether the processed test images violate the predetermined image configuration rule, and determine that there are anomalies in the image signal processor in a case where the processed test images violate the predetermined image configuration rule.

### Claim 13 (depends on 9)

The system of claim 9, wherein the predetermined image configuration rule comprises: the start of frame flag of the image being set before the end of frame flag of the image, the horizontal size and the vertical size of the image being an integer multiple of 8 or 16, and a horizontal blank of the image remaining unchanged.

### Claim 14 (depends on 9)

The system of claim 9, wherein
the image signal processor comprises a plurality of parallel processing units:
the image selection circuit is configured to provide the test image to each parallel processing unit;
the image processing parameter selection circuit is configured to provide the first image processing parameters to each parallel processing unit;
the processed test images comprise a plurality of processed test images respectively obtained after being processed via each parallel processing unit; and
the anomaly detection circuit comprises parallel detection circuit, and the parallel detection circuit are configured to compare the plurality of processed test images, and determine that anomalies exist in the image signal processor when the plurality of processed test images are inconsistent.

### Claim 15 (depends on 9)

The system of claim 9, wherein the anomaly detection circuit comprises a cyclic redundancy check value detection circuit, and the cyclic redundancy check value detection circuit is configured to: calculate a cyclic redundancy check value of the processed test image; compare the cyclic redundancy check value with an expected cyclic redundancy check value, wherein the expected cyclic redundancy check value is determined based on the test image and the first image processing parameters; and determine that anomalies exist in the image signal processor when the cyclic redundancy check value is inconsistent with the expected cyclic redundancy check value.
