saturatecastcv
Saturates the image handle with a contrast and brightness.
Syntax
R = saturatecastcv(handle, contrast, brightness)
Inputs
- handle
- Handle of an image.
- contrast
- Gain to saturate the image, handle, must be nonnegative.
- brightness
- Bias to saturate the image, handle
Outputs
- R
- Handle of the output image.
Example
source = imreadcv('bird4.jpg');
contrast = 3;
brightness = 25;
R = saturatecastcv(source, contrast, brightness);