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.
Usage Returns
Image. unitScale (low, high) Image
Argument Type Details
this: input
Image The image to scale.
low
Float The value mapped to 0.
high
Float The value mapped to 1.
Create a Mobile Website
View Site in Mobile | Classic
Share by: