Normalizes values in all bands of a raster between a given normalization range. The function maintains the data type of the raster values by ensuring that the normalized values are cast back to the original data type of each band in the raster. By default, the values are normalized to range [0, 255]. RS_NormalizeAll can take upto 7 of the following arguments.Documentation Index
Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
Use this file to discover all available pages before exploring further.
raster: The raster to be normalized.minLimandmaxLim(Optional): The lower and upper limits of the normalization range. By default, normalization range is set to [0, 255].normalizeAcrossBands(Optional): A boolean flag to determine the normalization method. If set to true (default), normalization is performed across all bands based on global min and max values. If false, each band is normalized individually based on its own min and max values.noDataValue(Optional): Defines the value to be used for missing or invalid data in raster bands. By default, noDataValue is set tomaxLimand Safety mode is triggered.minValueandmaxValue(Optional): Optionally, specific minimum and maximum values of the input raster can be provided. If not provided, these values are computed from the raster data.
noDataValue is not given. This sets noDataValue to maxLim and normalizes valid data values to the range [minLim, maxLim-1]. This is to avoid replacing valid data that might coincide with the new noDataValue.
Signatures
Parameters
The input raster.
The min lim value.
The max lim value.
The normalize across bands value.
The NoData value to use for pixels outside the raster extent.
The minimum value for normalization.
The maximum value for normalization.
Return type
The resulting raster.

