Blemish detection in camera production testing using fast difference filtering

In the camera manufacturing, special methods are needed to detect blemishes occurring on the camera sensor pixels. A blemish is referred as a region of pixels in the camera sensor that are somewhat darker than the background. The blemishes are difficult to detect accurately, but on the other hand, they cause a significant reduction in camera quality. We present a novel filtering method for the blemish detection. The method is based on image scaling, filtering, and difference image calculation that is very fast and accurate in the detection of blemishes. In addition, the algorithm can cope with unprocessed raw image data, in which various distortions, such as noise and vignetting, can be present.