# US 2020/0402212 A1 · Updating a fixed pattern noise matrix

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

- Number: US 2020/0402212 A1
- Document ID: US20200402212A1
- Status: Published application
- Kind: A1
- Application number: 16/905,064
- Filed: 2020-06-18
- Published: 2020-12-24
- Earliest claimed: 2019-06-18
- Assignees: Axis AB
- Applicants: Axis AB
- Inventors: Thomas Winzell; Jesper Bengtsson
- Web page: https://patentgrep.com/patent/US20200402212A1

## CPC

- G06T 5/70: Denoising; Smoothing
- H04N 25/674: based on the scene itself, e.g. defocusing
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- H04N 23/6812: {based on additional sensors, e.g. acceleration sensors}
- H04N 23/683: {performed by a processor, e.g. controlling the readout of an image memory}
- H04N 23/80: Camera processing pipelines; Components thereof
- H04N 25/677: for reducing the column or line fixed pattern noise
- G06T 2207/10016: Video; Image sequence
- G06T 2207/10048: Infrared image
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for updating a fixed pattern noise matrix comprises: calculating a first difference between a target and first different images in a video stream to obtain a first differential matrix; calculating a second difference between the target and second different images in the video stream to obtain a second differential matrix; identifying a set of candidate positions for fixed pattern noise by: locating first and second sets of positions in the first differential matrix at which a difference deviates from predetermined values, finding a set of overlapping positions between the first and second sets of positions, and adjusting the set of overlapping positions. The adjusted set of overlapping positions is used for fixed pattern noise. Furthermore, each position in the set of candidate positions is updated, wherein the updated fixed pattern noise value at each position is based on a value at a corresponding non-adjusted position in the differential matrix.

## Claims

### Claim 1

A method for updating a fixed pattern noise matrix, the method comprising:
calculating a first difference between pixel values of a target image in an electronic-image stabilized video stream and pixel values of a first different image in the electronic-image stabilized video stream, thereby obtaining a first differential matrix;
calculating a second difference between pixel values of the target image in the electronic-image stabilized video stream and pixel values of a second different image in the electronic-image stabilized video stream, thereby obtaining a second differential matrix;
identifying a set of candidate positions for fixed pattern noise in the fixed pattern noise matrix by:
locating a first set of positions in the first differential matrix at which a difference of pixel values deviates from a predetermined value,
locating a second set of positions in the second differential matrix at which a difference of pixel values deviates from the predetermined value,
finding a set of overlapping positions between the first set of positions and the second set of positions, and
adjusting the set of overlapping positions based on stabilization data of the target image, wherein the adjusted set of overlapping positions is used as the set of candidate positions for fixed pattern noise; and
updating, for each position in the set of candidate positions in the fixed pattern noise matrix, a fixed pattern noise value at the position, wherein the updated fixed pattern noise value at each position in the set of candidate positions is based on a value at a corresponding non-adjusted position in the first and/or second differential matrix.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the updated fixed pattern noise value at each candidate position in addition is based on a present fixed pattern noise value at the candidate position in the fixed pattern noise matrix.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the contribution to the updated fixed pattern noise value from the present fixed pattern noise value is scaled by a blend factor between 0 and 100%, and wherein the contribution to the updated fixed pattern noise value from the value at the corresponding non-adjusted position in the first and/or second differential matrix is scaled by a difference between 100% and the blend factor.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
updating, for each position not being part of the set of candidate positions in the fixed pattern noise matrix, a fixed pattern noise value at the position, wherein the updated fixed pattern noise value at each position not being part of the set of candidate positions is based on a present fixed pattern noise value scaled by the blend factor.

### Claim 5

A method for processing image data, the method comprising:
updating a fixed pattern noise matrix by the method comprising:
calculating a first difference between pixel values of a target image in an electronic-image stabilized video stream and pixel values of a first different image in the electronic-image stabilized video stream, thereby obtaining a first differential matrix;
calculating a second difference between pixel values of the target image in the electronic-image stabilized video stream and pixel values of a second different image in the electronic-image stabilized video stream, thereby obtaining a second differential matrix;
identifying a set of candidate positions for fixed pattern noise in the fixed pattern noise matrix by:
locating a first set of positions in the first differential matrix at which a difference of pixel values deviates from a predetermined value,
locating a second set of positions in the second differential matrix at which a difference of pixel values deviates from the predetermined value,
finding a set of overlapping positions between the first set of positions and the second set of positions, and
adjusting the set of overlapping positions based on stabilization data of the target image, wherein the adjusted set of overlapping positions is used as the set of candidate positions for fixed pattern noise; and
updating, for each position in the set of candidate positions in the fixed pattern noise matrix, a fixed pattern noise value at the position, wherein the updated fixed pattern noise value at each position in the set of candidate positions is based on a value at a corresponding non-adjusted position in the first and/or second differential matrix; and reducing fixed pattern noise from the image data by subtracting the fixed pattern noise values of the fixed pattern noise matrix from pixel values of the image data.

### Claim 6 (depends on 5)

The method according to claim 5, the method further comprising:
forming an image based on the processed image data.

### Claim 7

A non-transitory computer-readable storage medium having stored thereon instructions for implementing a method, when executed on a device having processing capabilities, for updating a fixed pattern noise matrix, the method comprising:
calculating a first difference between pixel values of a target image in an electronic-image stabilized video stream and pixel values of a first different image in the electronic-image stabilized video stream, thereby obtaining a first differential matrix;
calculating a second difference between pixel values of the target image in the electronic-image stabilized video stream and pixel values of a second different image in the electronic-image stabilized video stream, thereby obtaining a second differential matrix;
identifying a set of candidate positions for fixed pattern noise in the fixed pattern noise matrix by:
locating a first set of positions in the first differential matrix at which a difference of pixel values deviates from a predetermined value,
locating a second set of positions in the second differential matrix at which a difference of pixel values deviates from the predetermined value,
finding a set of overlapping positions between the first set of positions and the second set of positions, and
adjusting the set of overlapping positions based on stabilization data of the target image, wherein the adjusted set of overlapping positions is used as the set of candidate positions for fixed pattern noise; and
updating, for each position in the set of candidate positions in the fixed pattern noise matrix, a fixed pattern noise value at the position, wherein the updated fixed pattern noise value at each position in the set of candidate positions is based on a value at a corresponding non-adjusted position in the first and/or second differential matrix.

### Claim 8

A camera comprising:
an image sensor configured to capture a video stream;
a motion sensor; and
a processor configured to:
electronically image stabilize the captured video stream based on data received from the motion sensor, and
update a fixed pattern noise matrix using a method comprising:
calculating a first difference between pixel values of a target image in an electronic-image stabilized video stream and pixel values of a first different image in the electronic-image stabilized video stream, thereby obtaining a first differential matrix;
calculating a second difference between pixel values of the target image in the electronic-image stabilized video stream and pixel values of a second different image in the electronic-image stabilized video stream, thereby obtaining a second differential matrix;
identifying a set of candidate positions for fixed pattern noise in the fixed pattern noise matrix by:
locating a first set of positions in the first differential matrix at which a difference of pixel values deviates from a predetermined value,
locating a second set of positions in the second differential matrix at which a difference of pixel values deviates from the predetermined value,
finding a set of overlapping positions between the first set of positions and the second set of positions, and
adjusting the set of overlapping positions based on stabilization data of the target image, wherein the adjusted set of overlapping positions is used as the set of candidate positions for fixed pattern noise; and
updating, for each position in the set of candidate positions in the fixed pattern noise matrix, a fixed pattern noise value at the position, wherein the updated fixed pattern noise value at each position in the set of candidate positions is based on a value at a corresponding non-adjusted position in the first and/or second differential matrix.

### Claim 9 (depends on 8)

The camera according to claim 8, wherein the motion sensor comprises a gyroscope, an accelerometer, and/or a three-axis compass.

### Claim 10 (depends on 8)

The camera according to claim 8, wherein the processor is further configured to:
reduce fixed pattern noise from image data associated with the electronically image stabilized video stream by subtracting the fixed pattern noise values of the fixed pattern noise matrix from pixel values of the image data.

### Claim 11 (depends on 8)

The camera according to claim 8, wherein the processor is further configured to:
form a processed image based on the image data having reduced fixed pattern noise.

### Claim 12 (depends on 8)

The camera according to claim 8, further comprising:
a non-transitory computer-readable storage medium configured to store the fixed pattern noise matrix.

### Claim 13 (depends on 8)

The camera according to claim 8, wherein the camera is a thermal camera.
