Scales the input so that the range of input values [min, max] becomes [0, 1]. Values outside the range are NOT clamped. If min == max, 0 is returned.
Usage | Returns |
---|---|
ee.Number.unitScale(number, min, max) | Float |
Argument | Type | Details |
---|---|---|
number | Float | |
min | Float | |
max | Float |
Examples
JavaScript
// Your example goes here!
Python
# Your example goes here!