Histogram modification can improve the contrast of an image. Histogram equalization has been the most popular histogram modification technique. However, the technique has the tendency to magnify local noise for images with large homogeneous regions. In this paper we suggest a new histogram modification technique which utilizes the intensity distribution of the edge pixels of an image. We first identify the edge pixels of an image. Then the intensity histogram of the edge pixels is constructed. An intensity transformation function is derived from the edge-pixel histogram and then applied to the entire image. In general, this transformation will increase the intensity difference between neighboring homogeneous regions. We also have suggested three tools to measure the performance of contrast-enhancing methods. The three measurements are image contrast value, image information loss value, and local intensity variance value. Our goal for enhancing is to significantly increase an image's contrast value while keeping both the information loss value and the local intensity variance value low. In the experiments, we have compared the performance of the suggested method with that of the ordinary histogram equalization technique and the local area histogram equalization (LAHE) technique using both synthetic and real images. The results were then evaluated by the three tools. The suggested method performed very well both analytically and visually.