Realm

oa::image::threshold_binary

Replace values above threshold with max_value and all others with zero.

FnRust public API

Function Documentation

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