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; computing a smoothened line curve from the generated histogram; computing an average pixel population of the histogram; identifying a peak and a peak region of the histogram, wherein the peak region is a range of discrete bins around the peak bounded by intersection of the smoothened line curve with the computed average pixel population of the histogram; computing an average pixel population of the peak region; distributing the pixel populations of the discrete bins within the peak region that exceed the average pixel population of the peak region to produce a re-distributed histogram, wherein distributing is limited to the discrete bins within the peak region; and generating a transfer curve for mapping onto the image from the re-distributed histogram.