Realm

oa::image::in_range

Produce true_value for values inside the inclusive interval and zero outside it.

FnRust public API

Function Documentation

pub fn in_range( input: &Image, low: f32, high: f32, true_value: f32 ) -> Result<Image>
Produce true_value for values inside the inclusive interval and zero outside it.