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

pub trait TonemapDrago: Tonemap {
    pub fn as_raw_TonemapDrago(&self) -> *const c_void;
pub fn as_raw_mut_TonemapDrago(&mut self) -> *mut c_void; pub fn get_saturation(&self) -> Result<f32> { ... }
pub fn set_saturation(&mut self, saturation: f32) -> Result<()> { ... }
pub fn get_bias(&self) -> Result<f32> { ... }
pub 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

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

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

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

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

Loading content...

Implementors

Loading content...