new DynamicImage(renderContext, pixels, format, dataType, width, height, options)
Parameters:
| Name | Type | Description |
|---|---|---|
renderContext |
||
pixels |
||
format |
||
dataType |
||
width |
||
height |
||
options |
Methods
-
computeMinMax(pixels)
-
Compute min/max of fits data
Parameters:
Name Type Description pixelsFits data -
updateColormap(transferFn, colormap, inverse)
-
Update colormap of current image
Parameters:
Name Type Description transferFnTransfer function("linear", "log", "sqrt", "pow2", "asin") colormapColormap("grey", "rainbow", "fire", "stern", "eosb") inverseBoolean indicating if colormap is inversed -
dispose()
-
Dispose textures
Documentation