| CPC G06T 7/0002 (2013.01) [G06T 5/77 (2024.01); G06T 7/13 (2017.01); H04N 25/683 (2023.01); G06T 2207/10048 (2013.01)] | 19 Claims |

|
1. A method for on-the-fly detection of a defective pixel in an image, comprising:
receiving the image;
for each analyzed pixel in the image, selecting a shape of an analyzed cell, wherein the analyzed cell consists of a plurality of pixels that are immediately pixel-adjacent in the analyzed cell, wherein a shape of the analyzed cell is selected from the group consisting of a square of pixels, a rectangle of pixels, a cross-shape of pixels, a semicircular line of pixels, or a line of pixels;
detecting of sharp edge transitions in analyzed cell including performing a gradient analysis of the intensity of linear sets of pixels in various directions in the analyzed cell and when a sharp edge transition is detected, selecting a linear analyzed cell shape that conforms to the sharp edge transition;
performing statistical distribution analysis for the plurality of pixels in the analyzed cell;
determining an allowed statistical distance for the analyzed pixel relative to the analyzed cell, wherein the allowed statistical distance is a maximum value between an allowed statistical deviation and a predefined minimum distance; and
determining that the analyzed pixel is a defective pixel if a computed statistical distance of the analyzed pixel exceeds the allowed statistical distance.
|