public class LinearScaler extends Scaler
| Constructor | Description |
|---|---|
LinearScaler() |
|
LinearScaler(double minVal,
double maxVal,
int minOutput,
int maxOutput) |
Provide a scaler with a specified scaling
range to a specified range of bytes.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
prepareScaling(double[] c) |
Set up the scaling.
|
protected byte |
scale(double val) |
Scale a single value
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxOutput, getMaxVal, getMinOutput, getMinVal, getUseDefault, scaleArray, setMaxVal, setMinMax, setMinValpublic LinearScaler()
public LinearScaler(double minVal,
double maxVal,
int minOutput,
int maxOutput)
protected void prepareScaling(double[] c)
prepareScaling in class Scalerc - The array to be scaled.