FreeImage.GetHistogram Method

FreeImage.NET

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: Boolean
Returns true on success, false on failure.
See Also