public class LogScaler extends Scaler
Constructor | Description |
---|---|
LogScaler() |
Provide default scaler that positive values will
scale the array logarithmically between 0-255.
|
LogScaler(double minVal,
double maxVal,
int minOutput,
int maxOutput,
boolean scaleNegative) |
Provide a scaler with a specified scaling
range to a specified range of bytes.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
prepareScaling(double[] c) |
Prepare to scale the data
|
protected byte |
scale(double val) |
Scale an value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaxOutput, getMaxVal, getMinOutput, getMinVal, getUseDefault, scaleArray, setMaxVal, setMinMax, setMinVal
public LogScaler()
public LogScaler(double minVal, double maxVal, int minOutput, int maxOutput, boolean scaleNegative)
protected void prepareScaling(double[] c)
prepareScaling
in class Scaler
c
- Array to be scaled.