public class ColorMapper
extends java.lang.Object
Constructor and Description |
---|
ColorMapper() |
Modifier and Type | Method and Description |
---|---|
double[] |
getMinMax()
Returns the mapping bounds
|
void |
map(java.lang.String measurement,
net.imglib2.display.ColorTable colorTable) |
void |
setMinMax(double min,
double max)
Sets the LUT mapping bounds.
|
public void map(java.lang.String measurement, net.imglib2.display.ColorTable colorTable)
public void setMinMax(double min, double max)
min
- the mapping lower bound (i.e., the highest measurement value for
the LUT scale). It is automatically calculated (the default) when
set to Double.NaNmax
- the mapping upper bound (i.e., the highest measurement value for
the LUT scale).It is automatically calculated (the default) when
set to Double.NaN.public double[] getMinMax()