Package org.esa.snap.core.util.math
Class LogLinearTransform
java.lang.Object
org.esa.snap.core.util.math.LogLinearTransform
Math utils for transforming between log and linear.
- Version:
- $Revision$ $Date$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetLinearValue(double linearWeight, double min, double max) static doublegetLinearValueUsingLinearWeight(double linearWeight, double min, double max) static doublegetLinearWeightFromLogValue(double logValue, double min, double max) static doublegetLogarithmicValue(double linearValue, double min, double max) static doublegetLogarithmicValueUsingLinearWeight(double weight, double min, double max)
-
Constructor Details
-
LogLinearTransform
public LogLinearTransform()
-
-
Method Details
-
getLinearValueUsingLinearWeight
public static double getLinearValueUsingLinearWeight(double linearWeight, double min, double max) -
getLogarithmicValueUsingLinearWeight
public static double getLogarithmicValueUsingLinearWeight(double weight, double min, double max) -
getLogarithmicValue
public static double getLogarithmicValue(double linearValue, double min, double max) -
getLinearValue
public static double getLinearValue(double linearWeight, double min, double max) -
getLinearWeightFromLogValue
public static double getLinearWeightFromLogValue(double logValue, double min, double max)
-