This algorithm uses minimum and maximum values of
the histogram for calculating the gain-value. This value is
used for stretching the histogram to achieve the full
dynamic range [6]. Thus the image can be enhanced. The
image can also be enhanced by using the Retinex based
method [6]. In this method image is enhanced based on the
color perception of human eye.