display#

Display tools

Functions

scale(array[, perc])

Scale a raster given as a np.ndarray between 0 and 1.

scale_to_uint8(array[, perc])

Rescale array (read as rasterio arrays, which means the bands are the first dimension) to uint8.