Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Computer Vision›Histogram Equalization
Machine learningImage enhancement

Histogram Equalization

Histogram Equalization for Image Contrast Enhancement · Also known as: Histogram stretching, Contrast enhancement

Histogram equalization is an image preprocessing technique that redistributes pixel intensities to improve contrast and visibility of details. By spreading the histogram of pixel values evenly across the available range, histogram equalization enhances images with poor contrast, making features more visually distinct and easier to process algorithmically.

ScholarGate
  1. Machine learning
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Histogram Equalization
Blob DetectionCanny Edge DetectionContour AnalysisImage Morphology Operati…Template MatchingBackground SubtractionStereo MatchingWatershed Segmentation

When to use it

Use histogram equalization as a preprocessing step before feature detection, segmentation, or classification when images have poor contrast or uneven illumination. Histogram equalization is particularly useful for medical images, satellite imagery, and surveillance footage. Avoid standard histogram equalization when images already have good contrast (it may introduce artifacts), or when the intensity distribution is meaningful for the task; in such cases, consider adaptive or selective histogram equalization alternatives.

Strengths & limitations

Strengths
  • Simple, fast, and computationally efficient; suitable for real-time preprocessing
  • Automatically adapts to image content; no manual parameter tuning required
  • Effective at improving visibility of details in underexposed or low-contrast images
  • Improves performance of downstream image processing algorithms (edge detection, feature extraction)
  • Reversible; the original intensity mapping can be recovered if needed
Limitations
  • Can introduce artifacts or unnatural appearance when applied to already-good contrast images
  • Amplifies noise in dark or flat regions where pixel values cluster
  • May over-enhance small details unrelated to objects of interest (noise, compression artifacts)
  • Not adaptive to local image regions; global equalization treats all areas uniformly

Frequently asked

What is the cumulative distribution function (CDF) and how does it relate to histogram equalization?

The CDF shows the proportion of pixels with intensity less than or equal to a given value. For histogram equalization, the normalized CDF directly provides the new intensity for each original intensity: bright intensities (high CDF values) are mapped to higher output values, and dim intensities (low CDF values) are mapped to lower output values, spreading the distribution evenly.

Why does histogram equalization amplify noise?

Histogram equalization stretches underutilized intensity ranges to fill the full range. If a region of the image contains clustered pixel values (e.g., a dark, noisy area), equalization spreads these values across a wider range, making noise more visible. This is a trade-off: improved contrast in underexposed regions comes at the cost of emphasizing noise.

What is the difference between global and adaptive histogram equalization?

Global histogram equalization uses a single histogram for the entire image, treating all regions uniformly. Adaptive histogram equalization (AHE) computes the histogram in small local neighborhoods for each pixel, which preserves local contrast and prevents over-enhancement. Contrast-limited adaptive histogram equalization (CLAHE) further limits the contrast enhancement to avoid noise amplification.

Can histogram equalization be applied to color images?

Yes, but care must be taken to preserve color balance. Applying equalization independently to R, G, and B channels can distort colors. Instead, convert to a color space where intensity and color are separated (e.g., HSV), equalize only the intensity channel, and convert back to RGB. Alternatively, use perceptually uniform color spaces for more natural results.

Sources

  1. Gonzalez, R. C., & Woods, R. E. (1992). Digital Image Processing. Addison-Wesley, 2nd edition, Chapter 3. link ↗
  2. Pizer, S. M., Amburn, E. P., Austin, J. D., et al. (1987). Adaptive histogram equalization and its variations. Computer Vision, Graphics, and Image Processing, 39(3), 355–368. DOI: 10.1016/S0734-189X(87)80186-X ↗

How to cite this page

ScholarGate. (2026, June 3). Histogram Equalization for Image Contrast Enhancement. ScholarGate. https://scholargate.app/en/computer-vision/histogram-equalization

Related methods

Blob DetectionCanny Edge DetectionContour AnalysisImage Morphology OperationsTemplate Matching

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Blob DetectionComputer Vision↔ compare
  • Canny Edge DetectionComputer Vision↔ compare
  • Contour AnalysisComputer Vision↔ compare
  • Image Morphology OperationsComputer Vision↔ compare
  • Template MatchingComputer Vision↔ compare
Compare side by side →

Referenced by

Background SubtractionImage Morphology OperationsStereo MatchingWatershed Segmentation

Similar methods

Canny Edge DetectionWatershed SegmentationContour AnalysisImage Morphology OperationsSemantic SegmentationBackground SubtractionImage ClassificationColor Palette Extraction

Related reference concepts

Image Filtering and EnhancementEdge and Contour DetectionImage Processing and AnalysisImage SegmentationTone Mapping and HDR ImagingAstronomical Image Processing

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Histogram Equalization (Histogram Equalization for Image Contrast Enhancement). Retrieved 2026-07-21 from https://scholargate.app/en/computer-vision/histogram-equalization · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Signal processing community
Subfamily
Image enhancement
Year
1970s
Type
Contrast enhancement and preprocessing
Related methods
Blob DetectionCanny Edge DetectionContour AnalysisImage Morphology OperationsTemplate Matching
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account