Perfoms an histogram transformation on a 8-, 24- or 32-bit image.

Namespace:  FreeImageAPI
Assembly:  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.

Return Value

Returns true on success, false on failure.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also