public class FromRGBColorMap extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
COLORMAP_MAX |
static int |
COLORMAP_SIZE
define colormap size
|
float[][] |
maps
normalized maps
|
Constructor and Description |
---|
FromRGBColorMap(int numComponents) |
Modifier and Type | Method and Description |
---|---|
float |
getFromRGBColor(int component,
float rgbValue)
Get normalized component intensity from a normalized input RGB value
|
float |
getFromRGBColor(int component,
int rgbValue)
Get normalized component intensity from a unnormalized input RGB value
|
void |
setFromRGBColor(int component,
float rgbValue,
float value)
Set normalized component intensity for a normalized input RGB value
|
public static final int COLORMAP_SIZE
public static final int COLORMAP_MAX
public final float[][] maps
public FromRGBColorMap(int numComponents)
public float getFromRGBColor(int component, float rgbValue)
public float getFromRGBColor(int component, int rgbValue)
public void setFromRGBColor(int component, float rgbValue, float value)