A method and apparatus for enhancing electronic images allows for improved characteristics between light areas and dark areas, and is particularly effective for backlit images. A transition between light and dark image portions is detected. A determination is made from an analysis of spectral distributions as to whether an image portion is backlit. Upon detection, image data is adjusted to lighten or darken image portions to allow for improved image viewing. Use of cumulative probability distribution data associated with an electronic image facilitates isolation of backlit image portions and object image portions.