To increase the brightness by 10. F x as the source image pixels and g x as the output image pixels. The mat function changes each image pixel value to the target data type and the values are changed as per increase or decrease.