---
title: "ColorAdjustmentProvider.HistogramEqualize Method (HistogramMode)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorAdjustmentProvider_HistogramEqualize_1_5272b71b.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# ColorAdjustmentProvider.HistogramEqualize Method (HistogramMode)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Applies a histogram equalization to the bitmap using the specified histogram mode.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void HistogramEqualize(HistogramMode histogramMode
)
```
 
### Parameters
 
 - histogramMode
     - Type: [Aurigma.GraphicsMill.HistogramMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_HistogramMode.htm.md)
A [HistogramMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_HistogramMode.htm.md) specifying how to build histogram.
 
## Remarks
  
Histogram equalization algorithm is used for automatically enhancing the image contrast. The main idea of this algorithm is to build a look-up table (LUT) which makes the bitmap histogram equalized (all histogram entries are equal each other). Actually the histogram is never equalized absolutely, however this algorithm makes it as much as possible.
   
## See Also

### Reference

- [ColorAdjustmentProvider Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorAdjustmentProvider.htm.md)
- [HistogramEqualize Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_ColorAdjustmentProvider_HistogramEqualize.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
