opencv::mod_prelude

Trait GrayworldWBTrait

Source
pub trait GrayworldWBTrait: GrayworldWBTraitConst + WhiteBalancerTrait {
    // Required method
    fn as_raw_mut_GrayworldWB(&mut self) -> *mut c_void;

    // Provided method
    fn set_saturation_threshold(&mut self, val: f32) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::xphoto::GrayworldWB

Required Methods§

Provided Methods§

Source

fn set_saturation_threshold(&mut self, val: f32) -> Result<()>

Maximum saturation for a pixel to be included in the gray-world assumption

§See also

setSaturationThreshold getSaturationThreshold

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§