[−][src]Function opencv::photo::illumination_change
pub fn illumination_change(
src: &dyn ToInputArray,
mask: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
alpha: f32,
beta: f32
) -> Result<()>
Applying an appropriate non-linear transformation to the gradient field inside the selection and then integrating back with a Poisson solver, modifies locally the apparent illumination of an image.
Parameters
- src: Input 8-bit 3-channel image.
- mask: Input 8-bit 1 or 3-channel image.
- dst: Output image with the same size and type as src.
- alpha: Value ranges between 0-2.
- beta: Value ranges between 0-2.
This is useful to highlight under-exposed foreground objects or to reduce specular reflections.
C++ default parameters
- alpha: 0.2f
- beta: 0.4f