FreeImage.NET Class Library Reference
FreeImageBitmapGetHistogram Method |
Computes the image histogram.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public bool GetHistogram( FREE_IMAGE_COLOR_CHANNEL channel, out int[] histogram )
Parameters
- channel
- Type: FreeImageAPIFREE_IMAGE_COLOR_CHANNEL
Channel to compute from. - histogram
- Type: SystemInt32
Array of integers containing the histogram.
Return Value
Type: BooleanReturns true on success, false on failure.
See Also