Converts a High Dynamic Range image to a 24-bit RGB image using a global operator based on logarithmic compression of luminance values, imitating the human response to light.

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

Syntax

C#
public static FIBITMAP TmoDrago03(
	FIBITMAP src,
	double gamma,
	double exposure
)
Visual Basic (Declaration)
Public Shared Function TmoDrago03 ( _
	src As FIBITMAP, _
	gamma As Double, _
	exposure As Double _
) As FIBITMAP
Visual C++
public:
static FIBITMAP TmoDrago03(
	FIBITMAP src, 
	double gamma, 
	double exposure
)

Parameters

src
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
gamma
Type: System..::.Double
A gamma correction that is applied after the tone mapping. A value of 1 means no correction.
exposure
Type: System..::.Double
Scale factor allowing to adjust the brightness of the output image.

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