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 pixels
Fits data -
updateColormap(transferFn, colormap, inverse)
-
Update colormap of current image
Parameters:
Name Type Description transferFn
Transfer function("linear", "log", "sqrt", "pow2", "asin") colormap
Colormap("grey", "rainbow", "fire", "stern", "eosb") inverse
Boolean indicating if colormap is inversed -
dispose()
-
Dispose textures