Image.correctGamma Method¶
Module: Image
Definition¶
Applies a gamma correction to the image.
void correctGamma(int contrast, int brightness, double gamma)
Parameters
contrast intin Contrast coefficient, from -255 to 255, to be applied to the image.
brightness intin Brightness coefficient, from -255 to 255, to be applid to the image.
gamma doublein Gamma coefficient, from 0.25 to 2.50, to be applied to the image.
Exceptions
An error has occurred during Face Library execution.