Trait opencv::hub_prelude::SimpleWBConst
source · pub trait SimpleWBConst: WhiteBalancerConst {
fn as_raw_SimpleWB(&self) -> *const c_void;
fn get_input_min(&self) -> Result<f32> { ... }
fn get_input_max(&self) -> Result<f32> { ... }
fn get_output_min(&self) -> Result<f32> { ... }
fn get_output_max(&self) -> Result<f32> { ... }
fn get_p(&self) -> Result<f32> { ... }
}
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.