FreeImage.NET Class Library Reference
FreeImageGetHistogram Method |
Computes the image histogram.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool GetHistogram( FIBITMAP dib, int[] histo, FREE_IMAGE_COLOR_CHANNEL channel )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - histo
- Type: SystemInt32
Array of integers with a size of 256. - channel
- Type: FreeImageAPIFREE_IMAGE_COLOR_CHANNEL
Channel to compute from.
Return Value
Type: BooleanReturns true on success, false on failure.
See Also