If the brightness range is defined within the original image as a
- b and we require new brightness range within the output image from a' to b', there is possible to use the following equation for gama correction:
Within the following figure there are look-up-tables of gama corrections for different values of gama: