MATLAB File Help: cv.illuminationChange Index
cv.illuminationChange

Illumination Change

dst = cv.illuminationChange(src, mask)
dst = cv.illuminationChange(src, mask, 'OptionName',optionValue, ...)

Input

Output

Options

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.

This is useful to highlight under-exposed foreground objects or to reduce specular reflections.