---
title: "Histogram Constructor "
canonical: https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Histogram_ctor.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/)

# Histogram Constructor 
 
Creates new [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Histogram()](https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Histogram_ctor.htm.md) |  Creates empty [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Histogram(Bitmap)](https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Histogram_ctor_1_2766dd89.htm.md) |  Creates new [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance and builds the histogram for specified bitmap. Histogram is based on pixels luminosity. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Histogram(BitmapData)](https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Histogram_ctor_1_f7d58739.htm.md) |  Creates new [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance and builds the histogram for specified bitmap data. Histogram is based on pixels luminosity. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Histogram(Bitmap, Boolean)](https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Histogram_ctor_2_c487cc6e.htm.md) |  Creates new [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance and builds the histogram for specified bitmap. Histogram is based on average of pixel channels values (sum of these values divided at channels number). You can specify whether alpha channel should be included into this sum. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Histogram(Bitmap, Boolean\[\])](https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Histogram_ctor_2_e754e13a.htm.md) |  Creates new [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance and builds the histogram for specified bitmap. Histogram is based on average of pixel channels values (sum of these values divided at channels number). You can specify what channels to include into this sum via *channels* argument. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Histogram(Bitmap, Int32)](https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Histogram_ctor_2_ddc832d2.htm.md) |  Creates new [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance and builds the histogram for specified bitmap. Histogram is based on the value of channel at specified index. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Histogram(BitmapData, Boolean)](https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Histogram_ctor_2_3c7d82de.htm.md) |  Creates new [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance and builds the histogram for specified bitmap data. Histogram is based on average of pixel channels values (sum of these values divided at channels number). You can specify whether alpha channel should be included into this sum. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Histogram(BitmapData, Boolean\[\])](https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Histogram_ctor_2_b5587c4a.htm.md) |  Creates new [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance and builds the histogram for specified bitmap data. Histogram is based on average of pixel channels values (sum of these values divided at channels number). You can specify what channels to include into this sum via *channels* argument. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Histogram(BitmapData, Int32)](https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Histogram_ctor_2_fb2aa642.htm.md) |  Creates new [Histogram](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md) instance and builds the histogram for specified bitmap data. Histogram is based on the value of channel at specified index. |
   
## See Also

### Reference

- [Histogram Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Histogram.htm.md)
- [Histogram Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Histogram.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
