pub fn intensity_to_od_u8(intensity: u8) -> u8Expand description
Map brightfield intensity to an 8-bit optical-density-like value.
OD ∝ −log10(I/I0) with I0 = 255. Dark stain → high OD.
Uses a fixed-point approximation filled at call time (no heap LUT stored).