illuminationChange function

Mat illuminationChange(
  1. InputArray src,
  2. InputArray mask, {
  3. double alpha = 0.2,
  4. double beta = 0.4,
})

IlluminationChange modifies locally the apparent illumination of an image. For further details, please see: https://docs.opencv.org/master/df/da0/group__photo__clone.html#gac5025767cf2febd8029d474278e886c7

Implementation

//
/// For further details, please see:
/// https://docs.opencv.org/master/df/da0/group__photo__clone.html#gac5025767cf2febd8029d474278e886c7
Mat illuminationChange(
  InputArray src,
  InputArray mask, {
  double alpha = 0.2,
  double beta = 0.4,
}) {
  final dst = Mat.empty();
  cvRun(() => cphoto.IlluminationChange(src.ref, mask.ref, dst.ref, alpha, beta));
  return dst;
}