[][src]Trait opencv::xphoto::TonemapDurand

pub trait TonemapDurand: Tonemap {
    pub fn as_raw_TonemapDurand(&self) -> *const c_void;
pub fn as_raw_mut_TonemapDurand(&mut self) -> *mut c_void; pub fn get_saturation(&self) -> Result<f32> { ... }
pub fn set_saturation(&mut self, saturation: f32) -> Result<()> { ... }
pub fn get_contrast(&self) -> Result<f32> { ... }
pub fn set_contrast(&mut self, contrast: f32) -> Result<()> { ... }
pub fn get_sigma_space(&self) -> Result<f32> { ... }
pub fn set_sigma_space(&mut self, sigma_space: f32) -> Result<()> { ... }
pub fn get_sigma_color(&self) -> Result<f32> { ... }
pub fn set_sigma_color(&mut self, sigma_color: f32) -> Result<()> { ... } }

This algorithm decomposes image into two layers: base layer and detail layer using bilateral filter and compresses contrast of the base layer thus preserving all the details.

This implementation uses regular bilateral filter from OpenCV.

Saturation enhancement is possible as in cv::TonemapDrago.

For more information see DD02 .

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_contrast(&self) -> Result<f32>[src]

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

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

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

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

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

Loading content...

Implementors

Loading content...