opencv::hub_prelude

Trait SimpleWBTrait

Source
pub trait SimpleWBTrait: SimpleWBTraitConst + WhiteBalancerTrait {
    // Required method
    fn as_raw_mut_SimpleWB(&mut self) -> *mut c_void;

    // Provided methods
    fn set_input_min(&mut self, val: f32) -> Result<()> { ... }
    fn set_input_max(&mut self, val: f32) -> Result<()> { ... }
    fn set_output_min(&mut self, val: f32) -> Result<()> { ... }
    fn set_output_max(&mut self, val: f32) -> Result<()> { ... }
    fn set_p(&mut self, val: f32) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::xphoto::SimpleWB

Required Methods§

Provided Methods§

Source

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

Input image range minimum value

§See also

setInputMin getInputMin

Source

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

Input image range maximum value

§See also

setInputMax getInputMax

Source

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

Output image range minimum value

§See also

setOutputMin getOutputMin

Source

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

Output image range maximum value

§See also

setOutputMax getOutputMax

Source

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

Percent of top/bottom values to ignore

§See also

setP getP

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§