pub trait TonemapDrago: Tonemap + TonemapDragoConst {
    // Required method
    fn as_raw_mut_TonemapDrago(&mut self) -> *mut c_void;

    // Provided methods
    fn set_saturation(&mut self, saturation: f32) -> Result<()> { ... }
    fn set_bias(&mut self, bias: f32) -> Result<()> { ... }
}
Expand description

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§

Provided Methods§

source

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

source

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

Implementors§