[−][src]Trait opencv::xphoto::SimpleWB
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.
Required methods
fn as_raw_SimpleWB(&self) -> *mut c_void
Provided methods
fn get_input_min(&self) -> Result<f32>
Input image range minimum value @see setInputMin
fn set_input_min(&mut self, val: f32) -> Result<()>
@copybrief getInputMin @see getInputMin
fn get_input_max(&self) -> Result<f32>
Input image range maximum value @see setInputMax
fn set_input_max(&mut self, val: f32) -> Result<()>
@copybrief getInputMax @see getInputMax
fn get_output_min(&self) -> Result<f32>
Output image range minimum value @see setOutputMin
fn set_output_min(&mut self, val: f32) -> Result<()>
@copybrief getOutputMin @see getOutputMin
fn get_output_max(&self) -> Result<f32>
Output image range maximum value @see setOutputMax
fn set_output_max(&mut self, val: f32) -> Result<()>
@copybrief getOutputMax @see getOutputMax
fn get_p(&self) -> Result<f32>
Percent of top/bottom values to ignore @see setP
fn set_p(&mut self, val: f32) -> Result<()>
@copybrief getP @see getP