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

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static bool AdjustCurve(
	FIBITMAP dib,
	byte[] LUT,
	FREE_IMAGE_COLOR_CHANNEL channel
)
Visual Basic (Declaration)
Public Shared Function AdjustCurve ( _
	dib As FIBITMAP, _
	LUT As Byte(), _
	channel As FREE_IMAGE_COLOR_CHANNEL _
) As Boolean
Visual C++
public:
static bool AdjustCurve(
	FIBITMAP dib, 
	array<unsigned char>^ LUT, 
	FREE_IMAGE_COLOR_CHANNEL channel
)

Parameters

dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
LUT
Type: array< System..::.Byte >[]()[]
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