---
title: "HistogramEqualize Constructor (array&lt;Boolean&gt;[]()[], HistogramMode)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_HistogramEqualize_ctor_2_0a75922c.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# HistogramEqualize Constructor (Boolean[], HistogramMode)
 
Create and initializes new [HistogramEqualize](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_HistogramEqualize.htm.md) class instance. Here you can specify what channels to process with this transform. Besides of this, you can initialize [HistogramMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_HistogramEqualize_HistogramMode.htm.md) property.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _channels As Boolean(), _histogramMode As HistogramMode _
)
```
 
```csharp
public HistogramEqualize(bool[] channels,HistogramMode histogramMode
)
```
 
### Parameters
 
 - channels
     - Type:  [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) []
Array of flags specifying what channels to apply effect at. If array item is **true**, transform will be applied at channel with appropriate index. Otherwise this channel is skipped. You can change to this array later through the property [Channels](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_PerChannelBitmapTransform_Channels.htm.md).

 - histogramMode
     - Type: [Aurigma.GraphicsMill.HistogramMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_HistogramMode.htm.md)
 [HistogramMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_HistogramMode.htm.md) value specifying how to build the histogram. You can change it later using [HistogramMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_HistogramEqualize_HistogramMode.htm.md) property.
   
## See Also

### Reference

- [HistogramEqualize Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_HistogramEqualize.htm.md)
- [HistogramEqualize Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_HistogramEqualize_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
