This documentation is for the old version. Go to the latest Graphics Mill docs

Histogram Constructor

Creates new Histogram instance.

Overload List

Name Description
Public method Histogram()

Creates empty Histogram instance.

Public method Histogram(Bitmap)

Creates new Histogram instance and builds the histogram for specified bitmap. Histogram is based on pixels luminosity.

Public method Histogram(BitmapData)

Creates new Histogram instance and builds the histogram for specified bitmap data. Histogram is based on pixels luminosity.

Public method Histogram(Bitmap, Boolean)

Creates new Histogram 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 Histogram(Bitmap, Boolean[])

Creates new Histogram 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 Histogram(Bitmap, Int32)

Creates new Histogram instance and builds the histogram for specified bitmap. Histogram is based on the value of channel at specified index.

Public method Histogram(BitmapData, Boolean)

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.

Public method Histogram(BitmapData, Boolean[])

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.

Public method Histogram(BitmapData, Int32)

Creates new Histogram instance and builds the histogram for specified bitmap data. Histogram is based on the value of channel at specified index.

See Also

Reference