Class GammaToneMapper
java.lang.Object
com.twelvemonkeys.imageio.plugins.hdr.tonemap.GammaToneMapper
- All Implemented Interfaces:
ToneMapper
GammaToneMapper.
Normalizes values to range [0...1] using:
Vout = A Vinγ
Where A is constant and γ is the gamma. Values > 1 are clamped.
- Version:
- $Id: GammaToneMapper.java,v 1.0 28/07/15 harald.kuhr Exp$
- Author:
- Harald Kuhr, last modified by $Author: harald.kuhr$
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GammaToneMapper
public GammaToneMapper() -
GammaToneMapper
public GammaToneMapper(float constant, float gamma)
-
-
Method Details
-
map
public void map(float[] rgb) - Specified by:
map
in interfaceToneMapper
-