[][src]Trait opencv::photo::TonemapMantiuk

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

    fn get_scale(&self) -> Result<f32> { ... }
fn set_scale(&mut self, scale: f32) -> Result<()> { ... }
fn get_saturation(&self) -> Result<f32> { ... }
fn set_saturation(&mut self, saturation: f32) -> Result<()> { ... } }

This algorithm transforms image to contrast using gradients on all levels of gaussian pyramid, transforms contrast values to HVS response and scales the response. After this the image is reconstructed from new contrast values.

For more information see MM06 .

Required methods

Loading content...

Provided methods

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

fn set_scale(&mut self, scale: f32) -> Result<()>

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

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

Loading content...

Implementors

Loading content...