Class DefaultToneMapper
java.lang.Object
com.twelvemonkeys.imageio.plugins.hdr.tonemap.DefaultToneMapper
- All Implemented Interfaces:
ToneMapper
DefaultToneMapper.
Normalizes values to range [0...1] using:
Vout = Vin / (Vin + C)
Where C is constant.
- Version:
- $Id: DefaultToneMapper.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
-
DefaultToneMapper
public DefaultToneMapper() -
DefaultToneMapper
public DefaultToneMapper(float constant)
-
-
Method Details
-
map
public void map(float[] rgb) - Specified by:
map
in interfaceToneMapper
-