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.toUint8
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 non firmato a 8 bit in base agli elementi.
Utilizzo | Resi |
---|
Array.toUint8() | 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 function transforms the input array into an array of unsigned 8-bit integers.\u003c/p\u003e\n"],["\u003cp\u003eIt operates on each element of the array individually, converting it to its unsigned 8-bit integer equivalent.\u003c/p\u003e\n"],["\u003cp\u003eThe original array is used as input and a new array containing the converted values is returned.\u003c/p\u003e\n"]]],["The provided content details an operation that casts an input array to an array of unsigned 8-bit integers, operating element-wise. The `toUint8()` function, when used on an array, returns a new array with these type conversions. It accepts one argument, `input`, which represents the original array to be transformed. The operation changes each element of input array to an unsigned 8-bit number.\n"],null,["# ee.Array.toUint8\n\nOn an element-wise basis, casts the input value to an unsigned 8-bit integer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| Array.toUint8`()` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Array | The input array. |"]]