[−][src]Function opencv::photo::create_tonemap_reinhard
pub fn create_tonemap_reinhard(
gamma: f32,
intensity: f32,
light_adapt: f32,
color_adapt: f32
) -> Result<PtrOfTonemapReinhard>
Creates TonemapReinhard object
Parameters
- gamma: gamma value for gamma correction. See createTonemap
- intensity: result intensity in [-8, 8] range. Greater intensity produces brighter results.
- light_adapt: light adaptation in [0, 1] range. If 1 adaptation is based only on pixel value, if 0 it's global, otherwise it's a weighted mean of this two cases.
- color_adapt: chromatic adaptation in [0, 1] range. If 1 channels are treated independently, if 0 adaptation level is the same for each channel.
C++ default parameters
- gamma: 1.0f
- intensity: 0.0f
- light_adapt: 1.0f
- color_adapt: 0.0f