ee.Image.signum

Computes the signum function (sign) of the input; 0 if the input is 0, 1 if the input is greater than 0, -1 if the input is less than 0.
Usage Returns
Image. signum () Image
Argument Type Details
this: value
Image The image to which the operation is applied.
Create a Mobile Website
View Site in Mobile | Classic
Share by: