This change can be done by either increasing or decreasing the pixel values of the image by any constant. F x as the source image pixels and g x as the output image pixels. If this value is negative the type will.