# US 2015/0029364 A1 · Dynamic, local edge preserving defect pixel correction for image sensors

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

- Number: US 2015/0029364 A1
- Document ID: US20150029364A1
- Status: Published application
- Kind: A1
- Application number: 14/512,726
- Filed: 2014-10-13
- Published: 2015-01-29
- Earliest claimed: 2013-01-07
- Assignees: AltaSens, Inc.
- Applicants: AltaSens, Inc.
- Inventors: Naveen Kolli
- Web page: https://patentgrep.com/patent/US20150029364A1

## CPC

- H04N 25/683: by defect estimation performed on the scene signal, e.g. real time or on the fly detection
- H04N 25/134: {based on three different wavelength filter elements}
- H04N 2209/041: using solid-state devices
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Various technologies described herein pertain to defect pixel correction for image data collected by a pixel array of an image sensor. Neighborhood statistics for a given pixel from the image data are computed based on values of neighbor pixels of the given pixel from the image data. Whether the value of the given pixel is defective is detected based on the neighborhood statistics. The value of the given pixel is replaced when detected to be defective to output modified image data. Correction of the given pixel is a function of whether the given pixel is in a flat region or a non-flat region. When the given pixel is defective and in a non-flat region, a minimum edge across the given pixel is identified and the value of the given pixel is replaced with an average of values of neighbor pixels that belong to the minimum edge.

## Claims

### Claim 1

A defect pixel correction system for image data collected by a pixel array of an image sensor, comprising:
a defect detection component that detects whether a value of a given pixel from the image data is defective based upon neighborhood statistics for the given pixel, the neighborhood statistics being based on values of neighbor pixels of the given pixel from the image data, the neighbor pixels and the given pixel belong to a particular Bayer domain; and
a replacement component that replaces the value of the given pixel from the image data responsive to being detected to be defective.

### Claim 2 (depends on 1)

The defect pixel correction system of claim 1, further comprising a neighborhood analysis component that computes the neighborhood statistics for the given pixel from the image data.

### Claim 3 (depends on 1)

The defect pixel correction system of claim 1, each of the neighbor pixels of the given pixel are one of vertically, horizontally, or diagonally adjacent to the given pixel within the particular Bayer domain.

### Claim 4 (depends on 1)

The defect pixel correction system of claim 1, the neighborhood statistics comprise a standard deviation of the values of the neighbor pixels and a central tendency measure of the values of the neighbor pixels, and the central tendency measure of the values of the neighbor pixels is at least one of a mean of the values of the neighbor pixels or a median of the values of the neighbor pixels.

### Claim 5 (depends on 1)

The defect pixel correction system of claim 1, the defect detection component further comprises a comparison component that compares the value of the given pixel to a high threshold and a low threshold for the given pixel, the high threshold and the low threshold being based on a predefined parameter and the neighborhood statistics.

### Claim 6 (depends on 5)

The defect pixel correction system of claim 5, the predefined parameter being a function of whether the neighbor pixels cover a flat region or a non-flat region as detected based upon the neighborhood statistics.

### Claim 7 (depends on 5)

The defect pixel correction system of claim 5, the high threshold and the low threshold being more sensitive to a hot pixel as compared to a cold pixel.

### Claim 8 (depends on 1)

The defect pixel correction system of claim 1, the defect detection component further comprising a static identification component that checks whether the given pixel is specified as being defective in a static defect pixel map.

### Claim 9 (depends on 1)

The defect pixel correction system of claim 1, the replacement component further comprises a flat replacement component that replaces the value of the given pixel from the image data with a central tendency measure of the values of the neighbor pixels responsive to the neighbor pixels being detected to cover a flat region and the given pixel being detected to be defective.

### Claim 10 (depends on 1)

The defect pixel correction system of claim 1, the replacement component further comprising:
a neighbor comparison component that respectively determines whether a subset of the values of the neighbor pixels are defective based on a high threshold and a low threshold for the given pixel, the subset of the values of the neighbor pixels have yet to be processed, the neighbor comparison component determines whether the subset of the values of the neighbor pixels are defective responsive to the neighbor pixels being detected to cover a non-flat region and the given pixel being detected to be defective;
a neighbor replacement component that replaces the values of the neighbor pixels from the subset that are respectively determined to be defective with a predefined temporary value; and
a value exchange component that replaces the value of the given pixel from the image data with a value based on the values of the neighbor pixels subsequent to replacement of the values of the neighbor pixels from the subset that are respectively determined to be defective.

### Claim 11 (depends on 10)

The defect pixel correction system of claim 10, the replacement component further comprising:
an edge computation component that computes magnitudes of a plurality of edges across the given pixel subsequent to the replacement of the values of the neighbor pixels from the subset that are respectively determined to be defective;
a minimum detection component that identifies a minimum edge having a minimum magnitude from the magnitudes of the plurality of edges; and
the value exchange component replaces the value of the given pixel from the image data with an average of the values of the neighbor pixels that belong to the minimum edge.

### Claim 12 (depends on 1)

The defect pixel correction system of claim 1 comprised in the image sensor.

### Claim 13 (depends on 1)

The defect pixel correction system of claim 1 comprised in an image signal processor.

### Claim 14

An image sensor, comprising:
a pixel array;
a buffer that retains image data collected by the pixel array; and
a defect pixel correction system, comprising:
a defect detection component that detects whether a value of a given pixel from the image data is defective based upon neighborhood statistics for the given pixel, the neighborhood statistics being based on values of neighbor pixels of the given pixel from the image data, the neighbor pixels and the given pixel belong to a particular Bayer domain; and
a replacement component that replaces the value of the given pixel from the image data responsive to being detected to be defective.

### Claim 15 (depends on 14)

The image sensor of claim 14, the defect detection component further comprises a comparison component that compares the value of the given pixel to a high threshold and a low threshold for the given pixel, the high threshold and the low threshold being based on a predefined parameter and the neighborhood statistics, the predefined parameter being a function of whether the neighbor pixels cover a flat region or a non-flat region as detected based upon the neighborhood statistics.

### Claim 16 (depends on 14)

The image sensor of claim 14, the replacement component further comprising:
a neighbor comparison component that respectively determines whether a subset of the values of the neighbor pixels are defective based on a high threshold and a low threshold for the given pixel, the subset of the values of the neighbor pixels have yet to be processed, the neighbor comparison component determines whether the subset of the values of the neighbor pixels are defective responsive to the neighbor pixels being detected to cover a non-flat region and the given pixel being detected to be defective;
a neighbor replacement component that replaces the values of the neighbor pixels from the subset that are respectively determined to be defective with a predefined temporary value; and
a value exchange component that replaces the value of the given pixel from the image data with a value based on the values of the neighbor pixels subsequent to replacement of the values of the neighbor pixels from the subset that are respectively determined to be defective.

### Claim 17 (depends on 16)

The image sensor of claim 16, the replacement component further comprising:
an edge computation component that computes magnitudes of a plurality of edges across the given pixel subsequent to the replacement of the values of the neighbor pixels from the subset that are respectively determined to be defective;
a minimum detection component that identifies a minimum edge having a minimum magnitude from the magnitudes of the plurality of edges; and
the value exchange component replaces the value of the given pixel from the image data with an average of the values of the neighbor pixels that belong to the minimum edge.

### Claim 18

An image signal processor, comprising:
a buffer that retains image data collected by a pixel array; and
a defect pixel correction system, comprising:
a defect detection component that detects whether a value of a given pixel from the image data is defective based upon neighborhood statistics for the given pixel, the neighborhood statistics being based on values of neighbor pixels of the given pixel from the image data, the neighbor pixels and the given pixel belong to a particular Bayer domain; and
a replacement component that replaces the value of the given pixel from the image data responsive to being detected to be defective.

### Claim 19 (depends on 18)

The image signal processor of claim 18, the defect detection component further comprises a comparison component that compares the value of the given pixel to a high threshold and a low threshold for the given pixel, the high threshold and the low threshold being based on a predefined parameter and the neighborhood statistics, the predefined parameter being a function of whether the neighbor pixels cover a flat region or a non-flat region as detected based upon the neighborhood statistics.

### Claim 20 (depends on 18)

The image signal processor of claim 18, the replacement component further comprising:
a neighbor comparison component that respectively determines whether a subset of the values of the neighbor pixels are defective based on a high threshold and a low threshold for the given pixel, the subset of the values of the neighbor pixels have yet to be processed, the neighbor comparison component determines whether the subset of the values of the neighbor pixels are defective responsive to the neighbor pixels being detected to cover a non-flat region and the given pixel being detected to be defective;
a neighbor replacement component that replaces the values of the neighbor pixels from the subset that are respectively determined to be defective with a predefined temporary value;
an edge computation component that computes magnitudes of a plurality of edges across the given pixel subsequent to replacement of the values of the neighbor pixels from the subset that are respectively determined to be defective;
a minimum detection component that identifies a minimum edge having a minimum magnitude from the magnitudes of the plurality of edges; and
a value exchange component that replaces the value of the given pixel from the image data with an average of the values of the neighbor pixels that belong to the minimum edge.
