“…Suppose our image has L different grey levels 0, 1, 2, 3,…, L-1, and that grey level i occurs n i times in the image. Suppose also that the total number of pixels in the image is n .To transform the grey levels to obtain a better contrasted image, we change grey level as shown in equation (1) and this number is rounded to the nearest integer [14,15].…”