pub fn threshold_binary_inv( input: &Image, threshold: f32, max_value: f32, ) -> Result<Image>
Replace values at or below threshold with max_value and all others with zero.
threshold
max_value