pub fn threshold_binary_f32( input: &ImageF32, thresh: f32, max_val: f32, ) -> Option<ImageF32>
Binary threshold on f32 image. Binary threshold on single-channel f32 image. Pixels > thresh become max_val, otherwise 0.