Computes the image histogram.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public bool GetHistogram( FREE_IMAGE_COLOR_CHANNEL channel, out int[] histogram ) |
Visual Basic (Declaration) |
---|
Public Function GetHistogram ( _ channel As FREE_IMAGE_COLOR_CHANNEL, _ <OutAttribute> ByRef histogram As Integer() _ ) As Boolean |
Visual C++ |
---|
public: bool GetHistogram( FREE_IMAGE_COLOR_CHANNEL channel, [OutAttribute] array<int>^% histogram ) |
Parameters
- channel
- Type: FreeImageAPI..::.FREE_IMAGE_COLOR_CHANNEL
Channel to compute from.
- histogram
- Type:
array<
System..::.Int32
>[]()[]
%
Array of integers containing the histogram.