Computes the image histogram.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static bool GetHistogram( FIBITMAP dib, int[] histo, FREE_IMAGE_COLOR_CHANNEL channel ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetHistogram ( _ dib As FIBITMAP, _ histo As Integer(), _ channel As FREE_IMAGE_COLOR_CHANNEL _ ) As Boolean |
Visual C++ |
---|
public: static bool GetHistogram( FIBITMAP dib, array<int>^ histo, FREE_IMAGE_COLOR_CHANNEL channel ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- histo
- Type: array<
System..::.Int32
>[]()[]
Array of integers with a size of 256.
- channel
- Type: FreeImageAPI..::.FREE_IMAGE_COLOR_CHANNEL
Channel to compute from.