Class LogarithmicMap

  • All Implemented Interfaces:
    QuantumMap

    public class LogarithmicMap
    extends java.lang.Object
    implements QuantumMap
    This class implements the QuantumMap interface. Each method is a wrapper around the Math.log(double) method, which returns the natural logarithm (base e) of a double value.
    Since:
    OME2.2
    • Constructor Summary

      Constructors 
      Constructor Description
      LogarithmicMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double transform​(double x, double k)
      Implemented as specified in QuantumMap.
      double transform​(float x, double k)
      Implemented as specified in QuantumMap.
      double transform​(int x, double k)
      Implemented as specified in QuantumMap.
      • Methods inherited from class java.lang.Object

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

      • LogarithmicMap

        public LogarithmicMap()
    • Method Detail

      • transform

        public double transform​(int x,
                                double k)
        Implemented as specified in QuantumMap. Note that in our case the specified coefficient is not taken into account.
        Specified by:
        transform in interface QuantumMap
        Parameters:
        x - The input value.
        k - The selected curve in the family.
        Returns:
        The mapped value.
        See Also:
        QuantumMap.transform(int, double)
      • transform

        public double transform​(double x,
                                double k)
        Implemented as specified in QuantumMap. Note that in our case the specified coefficient is not taken into account.
        Specified by:
        transform in interface QuantumMap
        Parameters:
        x - The input value.
        k - The selected curve in the family.
        Returns:
        The mapped value.
        See Also:
        QuantumMap.transform(double, double)
      • transform

        public double transform​(float x,
                                double k)
        Implemented as specified in QuantumMap. Note that in our case the specified coefficient is not taken into account.
        Specified by:
        transform in interface QuantumMap
        Parameters:
        x - The input value.
        k - The selected curve in the family.
        Returns:
        The mapped value.
        See Also:
        QuantumMap.transform(float, double)