Skip to main content

detect_dead_pixels

Function detect_dead_pixels 

Source
pub fn detect_dead_pixels(data: &Array3<f64>) -> Array2<bool>
Expand description

Detect dead pixels (zero counts across all TOF bins).

§Arguments

  • data — 3D array with shape (n_tof, height, width).

§Returns

2D boolean mask, shape (height, width). true = dead pixel.