FreeImage.AdjustCurve Method

FreeImage.NET

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

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool AdjustCurve(
	FIBITMAP dib,
	byte[] lookUpTable,
	FREE_IMAGE_COLOR_CHANNEL channel
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
lookUpTable
Type: SystemByte
The lookup table. It's size is assumed to be 256 in length.
channel
Type: FreeImageAPIFREE_IMAGE_COLOR_CHANNEL
The color channel to be transformed.

Return Value

Type: Boolean
Returns true on success, false on failure.
See Also