Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del
15 aprile 2025 devono
verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
ee.Array.toInt8
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Esegue il cast del valore di input a un numero intero a 8 bit con segno in base agli elementi.
Utilizzo | Resi |
---|
Array.toInt8() | Array |
Argomento | Tipo | Dettagli |
---|
questo: input | Array | L'array di input. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eThis operation transforms the input array's elements into signed 8-bit integers.\u003c/p\u003e\n"],["\u003cp\u003eThe function \u003ccode\u003eArray.toInt8()\u003c/code\u003e is utilized to perform this element-wise conversion, returning a new array.\u003c/p\u003e\n"],["\u003cp\u003eIt takes the input array as an argument, denoted as 'this: input'.\u003c/p\u003e\n"]]],["The provided content details how to convert an array's elements to signed 8-bit integers. The `toInt8()` method, when applied to an array (`input`), performs element-wise casting. It takes an array as its only argument and returns a new array where each element has been transformed into a signed 8-bit integer value.\n"],null,["# ee.Array.toInt8\n\nOn an element-wise basis, casts the input value to a signed 8-bit integer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------|---------|\n| Array.toInt8`()` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Array | The input array. |"]]