Class DefaultToneMapper

  • All Implemented Interfaces:
    ToneMapper

    public final class DefaultToneMapper
    extends java.lang.Object
    implements 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$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void map​(float[] rgb)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultToneMapper

        public DefaultToneMapper()
      • DefaultToneMapper

        public DefaultToneMapper​(float constant)
    • Method Detail

      • map

        public void map​(float[] rgb)
        Specified by:
        map in interface ToneMapper