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 what channels to include into this sum via channels argument.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub New ( _ bitmapData As BitmapData, _ channels As Boolean() _ )
public Histogram( BitmapData bitmapData, bool[] channels )
Type: Aurigma.GraphicsMill.BitmapData
BitmapData class instance to build the histogram for.Type: System.Boolean []
Array of flags specifying what channels to use when calculating the histogram. If array item is true, the channel with appropriate index is used. Otherwise this channel is skipped.