[][src]Trait opencv::prelude::SimpleWB

pub trait SimpleWB: WhiteBalancer {
    pub fn as_raw_SimpleWB(&self) -> *const c_void;
pub fn as_raw_mut_SimpleWB(&mut self) -> *mut c_void; pub fn get_input_min(&self) -> Result<f32> { ... }
pub fn set_input_min(&mut self, val: f32) -> Result<()> { ... }
pub fn get_input_max(&self) -> Result<f32> { ... }
pub fn set_input_max(&mut self, val: f32) -> Result<()> { ... }
pub fn get_output_min(&self) -> Result<f32> { ... }
pub fn set_output_min(&mut self, val: f32) -> Result<()> { ... }
pub fn get_output_max(&self) -> Result<f32> { ... }
pub fn set_output_max(&mut self, val: f32) -> Result<()> { ... }
pub fn get_p(&self) -> Result<f32> { ... }
pub fn set_p(&mut self, val: f32) -> Result<()> { ... } }

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 inline formula of pixel values.

Required methods

Loading content...

Provided methods

pub fn get_input_min(&self) -> Result<f32>[src]

Input image range minimum value

See also

setInputMin

pub fn set_input_min(&mut self, val: f32) -> Result<()>[src]

Input image range minimum value

See also

setInputMin getInputMin

pub fn get_input_max(&self) -> Result<f32>[src]

Input image range maximum value

See also

setInputMax

pub fn set_input_max(&mut self, val: f32) -> Result<()>[src]

Input image range maximum value

See also

setInputMax getInputMax

pub fn get_output_min(&self) -> Result<f32>[src]

Output image range minimum value

See also

setOutputMin

pub fn set_output_min(&mut self, val: f32) -> Result<()>[src]

Output image range minimum value

See also

setOutputMin getOutputMin

pub fn get_output_max(&self) -> Result<f32>[src]

Output image range maximum value

See also

setOutputMax

pub fn set_output_max(&mut self, val: f32) -> Result<()>[src]

Output image range maximum value

See also

setOutputMax getOutputMax

pub fn get_p(&self) -> Result<f32>[src]

Percent of top/bottom values to ignore

See also

setP

pub fn set_p(&mut self, val: f32) -> Result<()>[src]

Percent of top/bottom values to ignore

See also

setP getP

Loading content...

Implementors

impl SimpleWB for PtrOfSimpleWB[src]

Loading content...