public class HistScaler extends Scaler
Constructor and Description |
---|
HistScaler()
Provide default scaler that positive values will
scale the array logarithmically between 0-255.
|
HistScaler(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 and Description |
---|---|
protected void |
prepareScaling(double[] c)
Get ready for scaling in this particular instance.
|
protected byte |
scale(double val)
Scale a single number.
|
protected void |
setMinMax(double[] old) |
getMaxOutput, getMaxVal, getMinOutput, getMinVal, getUseDefault, scaleArray, setMaxVal, setMinVal
public HistScaler()
public HistScaler(double minVal, double maxVal, int minOutput, int maxOutput)
protected void prepareScaling(double[] c)
Scaler
prepareScaling
in class Scaler