Systems and methods for defective pixel correction with neighboring pixels
First Claim
1. An image signal processing system comprising:
- an image sensor configured to receive image data;
an image processing pipeline configured to detect and correct a defective image pixel by;
receiving an input pixel of the image data acquired using the image sensor;
identifying a set of neighboring pixels having the same color component as the input pixel;
removing two neighboring pixels from the set of neighboring pixels thereby generating a modified set of neighboring pixels, wherein the two neighboring pixels correspond to a maximum pixel value and a minimum pixel value of the set of neighboring pixels;
determining a gradient for each neighboring pixel in the modified set of neighboring pixels; and
determining whether the input pixel comprises a speckle based at least in part on the gradient for each neighboring pixel in the modified set of neighboring pixels, wherein determining whether the input pixel comprises the speckle comprises;
determining an average pixel value based at least in part on each pixel value in the modified set of neighboring pixels;
determining an average gradient value based at least in part on a pixel value that corresponds to the input pixel and the average pixel value;
determining a despeckle threshold value by;
determining at least two brightness levels of a plurality of brightness levels, wherein the at least two brightness levels comprise a brightness level above and below a brightness value that corresponds to the average pixel value;
determining a first filter coefficient based at least in part on a first data array, the at least two brightness levels, at least two brightness values associated with the at least two brightness levels, and the average pixel value, wherein the first data array comprises a first plurality of threshold values indexed with respect to a color component of the input pixel and a brightness level of the plurality of brightness levels that corresponds to the average pixel value;
determining a second filter coefficient based at least in part on a second data array, the at least two brightness levels, the at least two brightness values associated with the at least two brightness levels, and the average pixel value, wherein the second data array comprises a second plurality of threshold values indexed with respect to the color component of the input pixel and the brightness level of the plurality of brightness levels that corresponds to the average pixel value; and
interpolating the first filter coefficient and the second filter coefficient;
comparing the average gradient value to the despeckle threshold value; and
identifying the input pixel as comprising the speckle if the average gradient value is greater than the despeckle threshold value.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure generally relates to systems and methods for image data processing. In certain embodiments, an image processing pipeline may detect and correct a defective pixel of image data acquired using an image sensor. The image processing pipeline may receive an input pixel of the image data acquired using the image sensor. The image processing pipeline may then identify a set of neighboring pixels having the same color component as the input pixel and remove two neighboring pixels from the set of neighboring pixels thereby generating a modified set of neighboring pixels. Here, the two neighboring pixels correspond to a maximum pixel value and a minimum pixel value of the set of neighboring pixels. The image processing pipeline may then determine a gradient for each neighboring pixel in the modified set of neighboring pixels and determine whether the input pixel includes a dynamic defect or a speckle based at least in part on the gradient for each neighboring pixel in the modified set of neighboring pixels.
266 Citations
21 Claims
-
1. An image signal processing system comprising:
-
an image sensor configured to receive image data; an image processing pipeline configured to detect and correct a defective image pixel by; receiving an input pixel of the image data acquired using the image sensor; identifying a set of neighboring pixels having the same color component as the input pixel; removing two neighboring pixels from the set of neighboring pixels thereby generating a modified set of neighboring pixels, wherein the two neighboring pixels correspond to a maximum pixel value and a minimum pixel value of the set of neighboring pixels; determining a gradient for each neighboring pixel in the modified set of neighboring pixels; and determining whether the input pixel comprises a speckle based at least in part on the gradient for each neighboring pixel in the modified set of neighboring pixels, wherein determining whether the input pixel comprises the speckle comprises; determining an average pixel value based at least in part on each pixel value in the modified set of neighboring pixels; determining an average gradient value based at least in part on a pixel value that corresponds to the input pixel and the average pixel value; determining a despeckle threshold value by; determining at least two brightness levels of a plurality of brightness levels, wherein the at least two brightness levels comprise a brightness level above and below a brightness value that corresponds to the average pixel value; determining a first filter coefficient based at least in part on a first data array, the at least two brightness levels, at least two brightness values associated with the at least two brightness levels, and the average pixel value, wherein the first data array comprises a first plurality of threshold values indexed with respect to a color component of the input pixel and a brightness level of the plurality of brightness levels that corresponds to the average pixel value; determining a second filter coefficient based at least in part on a second data array, the at least two brightness levels, the at least two brightness values associated with the at least two brightness levels, and the average pixel value, wherein the second data array comprises a second plurality of threshold values indexed with respect to the color component of the input pixel and the brightness level of the plurality of brightness levels that corresponds to the average pixel value; and interpolating the first filter coefficient and the second filter coefficient; comparing the average gradient value to the despeckle threshold value; and identifying the input pixel as comprising the speckle if the average gradient value is greater than the despeckle threshold value. - View Dependent Claims (2, 3, 4)
-
-
5. An image signal processing system comprising:
an image processing pipeline configured to detect and correct a defective image pixel by; receiving an input pixel of image data acquired using an image sensor; identifying a set of neighboring pixels having the same color component as the input pixel; removing two neighboring pixels from the set of neighboring pixels thereby generating a modified set of neighboring pixels, wherein the two neighboring pixels correspond to a maximum pixel value and a minimum pixel value of the set of neighboring pixels; determining a gradient for each neighboring pixel in the modified set of neighboring pixels; and determining whether the input pixel comprises a dynamic defect based at least in part on the gradient for each neighboring pixel in the modified set of neighboring pixels, wherein determining whether the input pixel comprises the dynamic defect comprises; comparing each gradient for each neighboring pixel in the modified set of neighboring pixels to an adaptive dynamic defect threshold value, wherein the adaptive dynamic defect threshold value is determined by; determining a third filter coefficient based at least in part on a third data array, the average pixel value, the at least two brightness levels, and the at least two brightness values associated with the at least two brightness levels, wherein the third data array comprises a third plurality of threshold values indexed with respect to the color component of the input pixel and the brightness level of the plurality of brightness levels that corresponds to the average pixel value; determining a fourth filter coefficient based at least in part on a fourth data array, the at least two brightness levels, the at least two brightness values associated with the at least two brightness levels, and the average pixel value, wherein the fourth data array comprises a fourth plurality of threshold values indexed with respect to the color component of the input pixel and the brightness level of the plurality of brightness levels that corresponds to the average pixel value; and interpolating the third filter coefficient and the fourth filter coefficient; counting a number of gradients that is less than or equal to the adaptive dynamic defect threshold value; comparing the number to a maximum value; and determining that the input pixel comprises the dynamic defect if the number is less than or equal to the maximum value. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13, 14)
-
15. A method for processing an image, comprising:
-
receiving an input pixel of image data acquired using an image sensor; identifying a set of eight neighboring pixels having the same color component as the input pixel; removing two neighboring pixels from the set of eight neighboring pixels thereby generating a modified set of neighboring pixels, wherein the two neighboring pixels correspond to a maximum pixel value and a minimum pixel value of the set of eight neighboring pixels; determining an average pixel value based at least in part on each pixel value in the modified set of neighboring pixels; determining an average gradient value based at least in part on a pixel value that corresponds to the input pixel and the average pixel value; determining a despeckle threshold value by; determining at least two brightness levels of a plurality of brightness levels, wherein the at least two brightness levels comprise a brightness level above and below a brightness value that corresponds to the average pixel value; determining a first filter coefficient based at least in part on a first data array, the at least two brightness levels, at least two brightness values associated with the at least two brightness levels, and the average pixel value, wherein the first data array comprises a first plurality of threshold values indexed with respect to a color component of the input pixel and a brightness level of the plurality of brightness levels that corresponds to the average pixel value; determining a second filter coefficient based at least in part on a second data array, the at least two brightness levels, the at least two brightness values associated with the at least two brightness levels, and the average pixel value, wherein the second data array comprises a second plurality of threshold values indexed with respect to the color component of the input pixel and the brightness level of the plurality of brightness levels that corresponds to the average pixel value; and interpolating the first filter coefficient and the second filter coefficient; comparing the average gradient value to the despeckle threshold value; and identifying the input pixel as speckled if the average gradient value is greater than the despeckle threshold value. - View Dependent Claims (16, 17)
-
-
18. A system comprising:
-
a display device for displaying one or more images; and an image signal processor configured to; receive an input pixel of image data acquired using an image sensor; identify a set of neighboring pixels having the same color component as the input pixel; remove two neighboring pixels from the set of neighboring pixels thereby generating a modified set of neighboring pixels, wherein the two neighboring pixels correspond to a maximum pixel value and a minimum pixel value of the set of neighboring pixels; determine a gradient for each neighboring pixel in the modified set of neighboring pixels; determine an adaptive dynamic defect threshold value by; determining a first filter coefficient based at least in part on a first data array, the at least two brightness levels, at least two brightness values associated with at least two brightness levels in a plurality of brightness levels, wherein the at least two brightness levels comprise a brightness level above and below a brightness value that corresponds to an average pixel value of the modified set of neighboring pixels, and the average pixel value, wherein the first data array comprises a first plurality of threshold values indexed with respect to a color component of the input pixel and a brightness level of the plurality of brightness levels that corresponds to the average pixel value; determining a second filter coefficient based at least in part on a second data array, the at least two brightness levels, the at least two brightness values associated with the at least two brightness levels, and the average pixel value, wherein the second data array comprises a second plurality of threshold values indexed with respect to the color component of the input pixel and the brightness level of the plurality of brightness levels that corresponds to the average pixel value; and interpolating the first filter coefficient and the second filter coefficient; compare each gradient for each neighboring pixel in the modified set of neighboring pixels to the adaptive dynamic defect threshold value; count a number of gradients that is less than or equal to the adaptive dynamic defect threshold value; and determine that the input pixel comprises a dynamic defect if the number is less than or equal to a maximum value. - View Dependent Claims (19, 20)
-
-
21. An electronic device, comprising:
-
a display configured to display one or more images; an image signal processor configured to; receive an input pixel of image data acquired using an image sensor; identify a set of neighboring pixels having the same color component as the input pixel; remove two neighboring pixels from the set of neighboring pixels thereby generating a modified set of neighboring pixels, wherein the two neighboring pixels correspond to a maximum pixel value and a minimum pixel value of the set of neighboring pixels; determine a gradient for each neighboring pixel in the modified set of neighboring pixels; and determine whether the input pixel comprises a dynamic defect by; determining an active dynamic threshold value based at least in part on; an average pixel value of the modified set of neighboring pixels; each pixel value in the set of neighboring pixels; and at least two brightness levels in a plurality of brightness levels, wherein between each adjacent brightness levels of the at least two brightness levels comprise a distinct portion of a set of brightness values that comprises a minimum brightness value and a maximum brightness value associated with the input pixel, and wherein the at least two brightness levels corresponds to a brightness level above and below a brightness value that corresponds to the average pixel value; comparing each gradient for each neighboring pixel in the modified set of neighboring pixels to the adaptive dynamic defect threshold value; counting a number of gradients that is less than or equal to the adaptive dynamic defect threshold value; comparing the number to a maximum value; and determining that the input pixel comprises the dynamic defect if the number is less than or equal to the maximum value.
-
Specification