[][src]Trait opencv::photo::TonemapDrago

pub trait TonemapDrago: Tonemap {
    fn as_raw_TonemapDrago(&self) -> *mut c_void;

    fn get_saturation(&self) -> Result<f32> { ... }
fn set_saturation(&mut self, saturation: f32) -> Result<()> { ... }
fn get_bias(&self) -> Result<f32> { ... }
fn set_bias(&mut self, bias: f32) -> Result<()> { ... } }

Adaptive logarithmic mapping is a fast global tonemapping algorithm that scales the image in logarithmic domain.

Since it's a global operator the same function is applied to all the pixels, it is controlled by the bias parameter.

Optional saturation enhancement is possible as described in FL02 .

For more information see DM03 .

Required methods

Loading content...

Provided methods

fn get_saturation(&self) -> Result<f32>

fn set_saturation(&mut self, saturation: f32) -> Result<()>

fn get_bias(&self) -> Result<f32>

fn set_bias(&mut self, bias: f32) -> Result<()>

Loading content...

Implementors

Loading content...