Method IlluminationChange
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
IlluminationChange(InputArray, InputArray, OutputArray, float, float)
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.
public static void IlluminationChange(InputArray src, InputArray mask, OutputArray dst, float alpha = 0.2, float beta = 0.4)
Parameters
srcInputArrayInput 8-bit 3-channel image.
maskInputArrayInput 8-bit 1 or 3-channel image.
dstOutputArrayOutput image with the same size and type as src.
alphafloatValue ranges between 0-2.
betafloatValue ranges between 0-2.
Remarks
This is useful to highlight under-exposed foreground objects or to reduce specular reflections.