Skip to main content

Module bad_pixel

Module bad_pixel 

Source
Expand description

Bad pixel correction for CFA sensor data.

Bad (hot or dead) pixels appear as abnormally bright or dark spots. This module provides detection and correction algorithms that operate directly on raw CFA data before demosaicing.

Enums§

BadPixelCorrectionMode
Bad pixel correction modes.

Functions§

apply_bad_pixel_correction
Detect and correct bad pixels in one pass.
correct_bad_pixels
Correct bad pixels in-place using the median replacement strategy.
detect_bad_pixels
Detect candidate bad pixels using a threshold relative to local median.