cv.illuminationChange - MATLAB File Help |
Illumination Change
dst = cv.illuminationChange(src, mask)
dst = cv.illuminationChange(src, mask, 'OptionName',optionValue, ...)
src
.src
and mask
and output dst
, between MATLAB's RGB order and OpenCV's
BGR (input: RGB->BGR, output: BGR->RGB). default falseApplying 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.