Perfoms an histogram transformation on a 8-, 24- or 32-bit image.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public bool AdjustCurve( byte[] lookUpTable, FREE_IMAGE_COLOR_CHANNEL channel ) |
Visual Basic (Declaration) |
---|
Public Function AdjustCurve ( _ lookUpTable As Byte(), _ channel As FREE_IMAGE_COLOR_CHANNEL _ ) As Boolean |
Visual C++ |
---|
public: bool AdjustCurve( array<unsigned char>^ lookUpTable, FREE_IMAGE_COLOR_CHANNEL channel ) |
Parameters
- lookUpTable
- Type: array<
System..::.Byte
>[]()[]
The lookup table (LUT). It's size is assumed to be 256 in length.
- channel
- Type: FreeImageAPI..::.FREE_IMAGE_COLOR_CHANNEL
The color channel to be transformed.