1. A process for enhancing contrast of an image having pixels in different brightness intensities, the process comprising: generating a histogram in discrete bins, each bin representing a pixel population of at least one pixel brightness intensity; identifying a peak and a peak region of the histogram, wherein the peak region is a range of discrete bins around the peak; computing an average pixel population within the peak region; distributing the pixel populations of the discrete bins within the peak region that exceeds the average pixel population; and generating a transfer curve for mapping onto the image.