Namespace for color.
- Source:
Classes
Members
(static, constant) ColormapNames
Enumerated values for color map names.
Methods
(static) buildPaletteColorLookupTable(options) → {color.PaletteColorLookupTable}
Build a palette color lookup table object from a colormap.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Returns:
Mapping of grayscale pixel values to RGB color triplets
(static) createColormap(options) → {Array.<Array.<number>>}
Create a color map.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Returns:
RGB triplet for each color
- Type
- Array.<Array.<number>>