Skip to main content

threshold_binary_inv

Function threshold_binary_inv 

Source
pub fn threshold_binary_inv(
    input: &Image,
    threshold: f32,
    max_value: f32,
) -> Result<Image>
Expand description

Replace values at or below threshold with max_value and all others with zero.