Apply the Gradient Domain High Dynamic Range Compression to a RGBF image and convert to 24-bit RGB.

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

Syntax

C#
public static FIBITMAP TmoFattal02(
	FIBITMAP src,
	double color_saturation,
	double attenuation
)
Visual Basic (Declaration)
Public Shared Function TmoFattal02 ( _
	src As FIBITMAP, _
	color_saturation As Double, _
	attenuation As Double _
) As FIBITMAP
Visual C++
public:
static FIBITMAP TmoFattal02(
	FIBITMAP src, 
	double color_saturation, 
	double attenuation
)

Parameters

src
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
color_saturation
Type: System..::.Double
Color saturation (s parameter in the paper) in [0.4..0.6]
attenuation
Type: System..::.Double
Atenuation factor (beta parameter in the paper) in [0.8..0.9]

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