Click or drag to resize

HistogramGetChannelHistogram Method

Returns an array containing a histogram of color values from a particular channel in the image.

Namespace:  Atalasoft.Imaging.ImageProcessing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public int[] GetChannelHistogram(
	int channelIndex
)

Parameters

channelIndex
Type: SystemInt32
The zero based channel index to evaluate. (0 - 3)

Return Value

Type: Int32
An array containing a histogram of color values from a particular channel in the image.
Exceptions
ExceptionCondition
Thrown if the pixel format of the source image is colormapped.
Thrown if the Image property is null.
See Also