# US 2014/0270562 A1 · Method and system for adaptive pixel replacement

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

- Number: US 2014/0270562 A1
- Document ID: US20140270562A1
- Status: Published application
- Kind: A1
- Application number: 14/208,901
- Filed: 2014-03-13
- Published: 2014-09-18
- Earliest claimed: 2013-03-14
- Assignees: DRS RSTA, Inc.
- Applicants: Drs Rsta, Inc.
- Inventors: Henry W. Neal; David C. Hutchison; Douglas A. Blettner
- Web page: https://patentgrep.com/patent/US20140270562A1

## CPC

- G06T 5/70: Denoising; Smoothing
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06T 5/20: using local operators
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 7/20: Analysis of motion (motion estimation for coding, decoding, compressing or decompressing digital video signals H04N19/43, H04N19/51)
- G06T 7/254: involving subtraction of images
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20216: Image averaging
- G06T 2207/20224: Image subtraction
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method of image processing is provided, including implementing adaptive pixel replacement techniques or reducing noise. The method includes obtaining a data map of an image frame, wherein the data map comprises good pixels and bad pixels at locations associated with the data map. The method also includes assigning different techniques to the bad pixels, wherein a first technique is assigned to a first bad pixel and a second technique is assigned to a second bad pixel. The method further includes adjusting information associated with the bad pixels for a chosen technique for each of the bad pixels.

## Claims

### Claim 1

A method of replacing a plurality of pixel values associated with an image frame, the method comprising:
obtaining a data map of the image frame, wherein the data map comprises good pixels at a first set of locations associated with the data map and bad pixels at a second set of locations associated with the data map, and wherein the bad pixels includes a first bad pixel and a second bad pixel;
identifying one or more pixel replacement techniques to generate the adaptive pixel replacement mask, wherein the one or more pixel replacement techniques includes a first pixel replacement technique and a second pixel replacement technique;
assigning the first pixel replacement technique to the first bad pixel in the adaptive pixel replacement mask;
assigning the second pixel replacement technique to the second bad pixel in the adaptive pixel replacement mask, wherein the second pixel replacement technique is different from the first pixel replacement technique;
adjusting a first pixel value associated with the first bad pixel using the first pixel replacement technique; and
adjusting a second pixel value associated with the second bad pixel using the second pixel replacement technique.

### Claim 2 (depends on 1)

The method of claim 1 wherein the first pixel replacement technique and the second bad pixel replacement technique comprise at least one of left good pixel, right good pixel, local average, spiral search, upper replacement, or lower replacement.

### Claim 3 (depends on 1)

The method of claim 1 wherein the first technique is a local average technique and the second technique is a spiral search technique.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
analyzing a plurality of pixels of the data map, wherein the plurality of pixels includes the first pixel and the second pixel in a single row, and the first pixel and a third pixel in a single column; and
when the first pixel, the second pixel, and the third pixel are bad pixels, assigning spiral search as the first pixel replacement technique for the first pixel.

### Claim 5 (depends on 1)

The method of claim 1 further comprising:
analyzing a plurality of pixels of the data map, wherein the plurality of pixels includes the first pixel and the second pixel in a single row, and the first pixel and a third pixel in a single column; and
when the first pixel and the second pixel are bad pixels and the third pixel is a good pixel, assigning local average as the first pixel replacement technique for the first pixel.

### Claim 6 (depends on 1)

The method of claim 1 further comprising:
analyzing a plurality of pixels of the data map, wherein the plurality of pixels includes the first pixel, the second pixel, a third pixel, and a fourth pixel, wherein the second pixel, the third pixel, and the fourth pixel are directly next to the first pixel; and
when the second pixel, the third pixel, and the fourth pixel are bad pixels, assigning spiral search as the first pixel replacement technique for the first pixel.

### Claim 7 (depends on 1)

The method of claim 1 further comprising:
analyzing a plurality of pixels of the data map, wherein the plurality of pixels includes the first pixel, the second pixel, a third pixel, and a fourth pixel, wherein the first pixel, the second pixel, the third pixel, and the fourth pixel are horizontally aligned in a row on the data map, and wherein the first pixel is to the left of the second pixel, the second pixel is to the left of the third pixel, and the third pixel is to the left of the fourth pixel; and
when the first pixel is a good pixel and the second pixel, the third pixel, and the fourth pixel are bad pixels, and when the plurality of pixels of the data map that are above and below the second pixel are bad pixels, assigning left good pixel as the second pixel replacement technique for the second pixel.

### Claim 8 (depends on 1)

The method of claim 1 further comprising:
updating the data map in real time.

### Claim 9 (depends on 1)

The method of claim 1 wherein assigning the first pixel replacement technique to the first bad pixel and assigning the second pixel replacement technique to the second bad pixel is conducted during a calibration process.

### Claim 10

A system for adjusting one or more pixel values in a data map, the system comprising:
a processor; and
a computer readable medium coupled to the processor, the computer readable medium comprising instructions that cause the processor to implement a method comprising:
obtain the data map of an image frame, wherein the data map comprises good pixels at a first set of locations associated with the data map and bad pixels at a second set of locations associated with the data map;
for a current pixel in the data map, conduct a pixel analysis comprising:
identify that the current pixel is a bad pixel,
identify that all pixels directly next to the current pixel are bad pixels,
measure a first distance to a left good pixel,
measure a second distance to a right good pixel,
measure a third distance to a upper good pixel,
measure a fourth distance to a lower good pixel, and
compare the first distance, second distance, third distance, and fourth distance,
when the first distance to the left good pixel is the shortest distance, identify a left good pixel replacement technique for the current pixel; and
assign the left good pixel replacement technique for the current pixel in an adaptive pixel replacement mask.

### Claim 11 (depends on 10)

The system of claim 10, wherein the method further comprises:
adjust a first pixel value associated with the current pixel first to a second pixel value associated with the left good pixel.

### Claim 12 (depends on 10)

The system of claim 10, wherein the method further comprises:
after comparing the first distance, second distance, third distance, and fourth distance, when the second distance to the right good pixel is the shortest distance, identify a right good pixel replacement technique for the current pixel; and
assign the right good pixel replacement technique for the current pixel in the adaptive pixel replacement mask.

### Claim 13 (depends on 12)

The system of claim 12, wherein the method further comprises:
adjust a first pixel value associated with the current pixel first to a second pixel value associated with the right good pixel.

### Claim 14 (depends on 10)

The system of claim 10, wherein the method further comprises:
after comparing the first distance, second distance, third distance, and fourth distance, when the third distance to the upper good pixel is the shortest distance, identify an upper replacement technique for the current pixel; and
assign the upper replacement technique for the current pixel in the adaptive pixel replacement mask.

### Claim 15 (depends on 10)

The system of claim 10, wherein the method further comprises:
after comparing the first distance, second distance, third distance, and fourth distance, when the fourth distance to the lower good pixel is the shortest distance, identify a lower replacement technique for the current pixel; and
assign the lower replacement technique for the current pixel in the adaptive pixel replacement mask.

### Claim 16 (depends on 10)

The system of claim 10, wherein the pixel analysis further comprises:
identify that a next pixel after the current pixel is a good pixel;
assign a pixel value for the next pixel after the current pixel as an original pixel value received with the image frame.

### Claim 17 (depends on 10)

The system of claim 10, wherein the method further comprises:
determine that all pixels in a current row or column are not bad pixels; and
assign a spiral search to the bad pixels.

### Claim 18 (depends on 10)

The system of claim 10, wherein the method further comprises:
determine that all pixels in an upper row or lower row are not bad pixels; and
assign a spiral search to the bad pixels.

### Claim 19 (depends on 10)

The system of claim 10, wherein the method further comprises:
determine that all pixels in an upper row or lower row are bad pixels; and
assign a local average to the bad pixels.

### Claim 20 (depends on 10)

The system of claim 10, wherein the pixel analysis is conducted once when pixels are first created and mapped to a sensor.
