お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Array.toShort
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
要素ごとに、入力値を符号付き 16 ビット整数にキャストします。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThe \u003ccode\u003etoShort()\u003c/code\u003e method converts each element of an input array to a signed 16-bit integer.\u003c/p\u003e\n"],["\u003cp\u003eIt operates on an element-by-element basis, transforming the original array into a new array containing the converted values.\u003c/p\u003e\n"],["\u003cp\u003eThe method takes the input array as an argument and returns a new array with the converted values, leaving the original array unchanged.\u003c/p\u003e\n"]]],["The input array is cast element-wise to a signed 16-bit integer. The `toShort()` method, when applied to an array, returns a new array with the converted values. The input array itself serves as the argument for this operation. The method operates on each element of the given array and convert it to a short type.\n"],null,["# ee.Array.toShort\n\nOn an element-wise basis, casts the input value to a signed 16-bit integer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| Array.toShort`()` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Array | The input array. |"]]