ee.Image.interpolate

Interpolates each point in the first band of the input image into the piecewise-linear function specified by the x and y arrays. The x values must be strictly increasing. If an input point is less than the first or greater than the last x value, then the output is specified by the "behavior" argument:
  1. "extrapolate" specifies the output value is extrapolated from the two nearest points.
  2. "clamp" specifies the output value is taken from the nearest point.
  3. "input" specifies the output value is copied from the input.
  4. "mask" specifies the output value is masked.

UtilizzoRestituisce
Image.interpolate(x, y, behavior)Immagine
ArgomentoTipoDettagli
this: imageImmagineL'immagine a cui viene applicata l'interpolazione.
xElencoI valori dell'asse x (input) nella funzione a tratti.
yElencoI valori dell'asse y (output) nella funzione a tratti.
behaviorStringa, valore predefinito: "extrapolate"Il comportamento per i punti che non rientrano nell'intervallo della funzione fornita. Le opzioni sono: "extrapolate", "clamp", "mask" o "input".