Creates new Histogram 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.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub New ( _ bitmapData As BitmapData, _ useAlpha As Boolean _ )
public Histogram( BitmapData bitmapData, bool useAlpha )
Type: Aurigma.GraphicsMill.BitmapData
BitmapData class instance to build the histogram for.Type: System.Boolean
If true, alpha channels is included (if available). Otherwise it is skipped. Typically alpha channel should be ignored when applying tone corrections.