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

Required Methods§

Provided Methods§

Input image range minimum value

See also

setInputMin

Input image range maximum value

See also

setInputMax

Output image range minimum value

See also

setOutputMin

Output image range maximum value

See also

setOutputMax

Percent of top/bottom values to ignore

See also

setP

Implementors§