ee.Image.unitScale

Scales the input so that the range of input values [low, high] becomes [0, 1]. Values outside the range are NOT clamped. This algorithm always produces floating point pixels.

UsageReturns
Image.unitScale(low, high)Image
ArgumentTypeDetails
this: inputImage

The image to scale.

lowFloat

The value mapped to 0.

highFloat

The value mapped to 1.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!