Realm

oa::image::threshold_binary_inv

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

FnRust public API

Function Documentation

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.