pub trait SimpleWB: SimpleWBConst + WhiteBalancer {
// 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
A simple white balance algorithm that works by independently stretching
each of the input image channels to the specified range. For increased robustness
it ignores the top and bottom of pixel values.