Converts a High Dynamic Range image (48-bit RGB or 96-bit RGBF) to a 24-bit RGB image, suitable for display.

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

Syntax

C#
public static FIBITMAP ToneMapping(
	FIBITMAP dib,
	FREE_IMAGE_TMO tmo,
	double first_param,
	double second_param
)
Visual Basic (Declaration)
Public Shared Function ToneMapping ( _
	dib As FIBITMAP, _
	tmo As FREE_IMAGE_TMO, _
	first_param As Double, _
	second_param As Double _
) As FIBITMAP
Visual C++
public:
static FIBITMAP ToneMapping(
	FIBITMAP dib, 
	FREE_IMAGE_TMO tmo, 
	double first_param, 
	double second_param
)

Parameters

dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
tmo
Type: FreeImageAPI..::.FREE_IMAGE_TMO
The tone mapping operator to be used.
first_param
Type: System..::.Double
Parmeter depending on the used algorithm
second_param
Type: System..::.Double
Parmeter depending on the used algorithm

Return Value

Handle to a FreeImage bitmap.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also